diff --git a/Core/Models/Eft/Customization/GetSuitsResponse.cs b/Core/Models/Eft/Customization/GetSuitsResponse.cs index 9565c089..f7efeffe 100644 --- a/Core/Models/Eft/Customization/GetSuitsResponse.cs +++ b/Core/Models/Eft/Customization/GetSuitsResponse.cs @@ -8,5 +8,5 @@ public class GetSuitsResponse public string Id { get; set; } [JsonPropertyName("suites")] - public string[] Suites { get; set; } + public List Suites { get; set; } } \ No newline at end of file diff --git a/Core/Models/Eft/ItemEvent/ItemEventRouterBase.cs b/Core/Models/Eft/ItemEvent/ItemEventRouterBase.cs index aeadcf82..c2a0bf81 100644 --- a/Core/Models/Eft/ItemEvent/ItemEventRouterBase.cs +++ b/Core/Models/Eft/ItemEvent/ItemEventRouterBase.cs @@ -10,24 +10,26 @@ public class ItemEventRouterBase { [JsonPropertyName("warnings")] public List Warnings { get; set; } - + [JsonPropertyName("profileChanges")] - public object ProfileChanges { get; set; } // Note: using object to accommodate string or TProfileChanges + public object ProfileChanges { get; set; } // TODO: Types given TProfileChanges | "" } -public class TProfileChanges : Dictionary { } +public class TProfileChanges : Dictionary +{ +} public class Warning { [JsonPropertyName("index")] public int Index { get; set; } - + [JsonPropertyName("errmsg")] public string ErrorMessage { get; set; } - + [JsonPropertyName("code")] public string Code { get; set; } - + [JsonPropertyName("data")] public object Data { get; set; } } @@ -36,53 +38,53 @@ public class ProfileChange { [JsonPropertyName("_id")] public string Id { get; set; } - + [JsonPropertyName("experience")] public int Experience { get; set; } - + [JsonPropertyName("quests")] public List Quests { get; set; } - + [JsonPropertyName("ragFairOffers")] public List RagFairOffers { get; set; } - + [JsonPropertyName("weaponBuilds")] public List WeaponBuilds { get; set; } - + [JsonPropertyName("equipmentBuilds")] public List EquipmentBuilds { get; set; } - + [JsonPropertyName("items")] public ItemChanges Items { get; set; } - + [JsonPropertyName("production")] public Dictionary Production { get; set; } - + /** Hideout area improvement id */ [JsonPropertyName("improvements")] public Dictionary Improvements { get; set; } - + [JsonPropertyName("skills")] public Skills Skills { get; set; } - + [JsonPropertyName("health")] public Common.Health Health { get; set; } - + [JsonPropertyName("traderRelations")] public Dictionary TraderRelations { get; set; } - + [JsonPropertyName("moneyTransferLimitData")] public MoneyTransferLimits MoneyTransferLimitData { get; set; } - + [JsonPropertyName("repeatableQuests")] public List RepeatableQuests { get; set; } - + [JsonPropertyName("recipeUnlocked")] public Dictionary RecipeUnlocked { get; set; } - + [JsonPropertyName("changedHideoutStashes")] public Dictionary ChangedHideoutStashes { get; set; } - + [JsonPropertyName("questsStatus")] public List QuestsStatus { get; set; } } @@ -91,7 +93,7 @@ public class HideoutStashItem { [JsonPropertyName("id")] public string Id { get; set; } - + [JsonPropertyName("tpl")] public string Template { get; set; } } @@ -100,13 +102,13 @@ public class WeaponBuildChange { [JsonPropertyName("id")] public string Id { get; set; } - + [JsonPropertyName("name")] public string Name { get; set; } - + [JsonPropertyName("root")] public string Root { get; set; } - + [JsonPropertyName("items")] public List Items { get; set; } } @@ -115,22 +117,22 @@ public class EquipmentBuildChange { [JsonPropertyName("id")] public string Id { get; set; } - + [JsonPropertyName("name")] public string Name { get; set; } - + [JsonPropertyName("root")] public string Root { get; set; } - + [JsonPropertyName("items")] public List Items { get; set; } - + [JsonPropertyName("type")] public string Type { get; set; } - + [JsonPropertyName("fastpanel")] public List FastPanel { get; set; } - + [JsonPropertyName("buildType")] public EquipmentBuildType BuildType { get; set; } } @@ -139,10 +141,10 @@ public class ItemChanges { [JsonPropertyName("new")] public List NewItems { get; set; } - + [JsonPropertyName("change")] public List ChangedItems { get; set; } - + [JsonPropertyName("del")] public List DeletedItems { get; set; } // Only needs _id property } @@ -152,16 +154,16 @@ public class TraderData { [JsonPropertyName("salesSum")] public double SalesSum { get; set; } - + [JsonPropertyName("standing")] public double Standing { get; set; } - + [JsonPropertyName("loyalty")] public double Loyalty { get; set; } - + [JsonPropertyName("unlocked")] public bool Unlocked { get; set; } - + [JsonPropertyName("disabled")] public bool Disabled { get; set; } } @@ -170,19 +172,19 @@ public class Product { [JsonPropertyName("_id")] public string Id { get; set; } - + [JsonPropertyName("_tpl")] public string Template { get; set; } - + [JsonPropertyName("parentId")] public string ParentId { get; set; } - + [JsonPropertyName("slotId")] public string SlotId { get; set; } - + [JsonPropertyName("location")] public ItemLocation Location { get; set; } - + [JsonPropertyName("upd")] public Upd Upd { get; set; } } \ No newline at end of file