Skip to content

Commit 2c5b325

Browse files
Mikkel Sørensenkirre-bylund
authored andcommitted
set the jsonheader of the _new variable
1 parent 89d0fdf commit 2c5b325

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Runtime/Game/Requests/MessagesRequest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ public class LootLockerGMMessage
1818
public string summary { get; set; }
1919
public string category { get; set; }
2020
public bool alert { get; set; }
21+
#if LOOTLOCKER_USE_NEWTONSOFTJSON
22+
[JsonProperty("new")]
23+
#else
24+
[Json(Name = "new")]
25+
#endif
2126
public bool _new { get; set; }
2227
public string action { get; set; }
2328
public string image { get; set; }

0 commit comments

Comments
 (0)