Fixed various property mapping issues

This commit is contained in:
Chomp
2025-08-21 14:05:14 +01:00
parent a59095f4c9
commit 93a074f907
4 changed files with 25 additions and 10 deletions
@@ -6,7 +6,6 @@
"Nickname": "BOTNAME",
"LowerNickname": "",
"Side": "Savage",
"Voice": "Scav_1",
"Level": 1,
"Experience": 0,
"RegistrationDate": 0,
@@ -22,11 +21,13 @@
"BotDifficulty": "normal",
"Experience": -1,
"StandingForKill": -0.04,
"AggressorBonus": 0.02
"AggressorBonus": 0.02,
"UseSimpleAnimator": false
},
"NicknameChangeDate": 0,
"NeedWipeOptions": [],
"lastCompletedWipe": null,
"lastWipeTimestamp": null,
"lastCompletedEvent": null,
"BannedState": false,
"BannedUntil": 0,
@@ -34,13 +35,15 @@
"SquadInviteRestriction": false,
"HasCoopExtension": false,
"isMigratedSkills": false,
"HasPveGame": false
"HasPveGame": false,
"PrestigeLevel": 0
},
"Customization": {
"Head": "5cc2e4d014c02e000d0115f8",
"Body": "5cc2e59214c02e000f16684e",
"Feet": "5cde9fb87d6c8b0474535da9",
"Hands": "5cc2e68f14c02e28b47de290"
"Hands": "5cc2e68f14c02e28b47de290",
"Voice": "67b877e7d2dc6a01d5059dd9"
},
"Health": {
"UpdateTime": 0,
@@ -85,6 +85,9 @@ public record LocationBase
[JsonPropertyName("BotMaxPlayer")]
public int? BotMaxPlayer { get; set; }
[JsonPropertyName("BotMaxPvE")]
public int? BotMaxPvE { get; set; }
/// <summary>
/// Is not used in 33420
/// </summary>
@@ -26,12 +26,21 @@ public record Achievement
[JsonPropertyName("conditions")]
public required AchievementQuestConditionTypes Conditions { get; set; }
[JsonPropertyName("instantComplete")]
public bool? InstantComplete { get; set; }
[JsonPropertyName("showNotificationsInGame")]
public bool? ShowNotificationsInGame { get; set; }
/// <summary>
/// Unused in the client
/// </summary>
[JsonPropertyName("showProgress")]
public bool? ShowProgress { get; set; }
[JsonPropertyName("prefab")]
public string? prefab { get; set; }
[JsonPropertyName("rarity")]
public required string Rarity { get; set; }
@@ -70,12 +70,12 @@ public record Reward
public record IllustrationConfig
{
[JsonPropertyName("Image")]
public string image { get; set; }
[JsonPropertyName("image")]
public string Image { get; set; }
[JsonPropertyName("BigImage")]
public string bigImage { get; set; }
[JsonPropertyName("bigImage")]
public string BigImage { get; set; }
[JsonPropertyName("IsBigImage")]
public bool isBigImage { get; set; }
[JsonPropertyName("isBigImage")]
public bool IsBigImage { get; set; }
}