update some types
This commit is contained in:
@@ -5,6 +5,8 @@ namespace Core.Models.Eft.Common;
|
|||||||
|
|
||||||
public class PmcData : BotBase
|
public class PmcData : BotBase
|
||||||
{
|
{
|
||||||
|
[JsonPropertyName("Prestige")]
|
||||||
|
public Tables.Prestige Prestige { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PostRaidPmcData : BotBase
|
public class PostRaidPmcData : BotBase
|
||||||
@@ -21,4 +23,4 @@ public class PostRaidStats
|
|||||||
/** Only found in profile we get from client post raid */
|
/** Only found in profile we get from client post raid */
|
||||||
[JsonPropertyName("Arena")]
|
[JsonPropertyName("Arena")]
|
||||||
public EftStats? Arena { get; set; }
|
public EftStats? Arena { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ public class BotBase
|
|||||||
|
|
||||||
/** Achievement id and timestamp */
|
/** Achievement id and timestamp */
|
||||||
[JsonPropertyName("Achievements")]
|
[JsonPropertyName("Achievements")]
|
||||||
|
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
|
||||||
public Dictionary<string, int>? Achievements { get; set; }
|
public Dictionary<string, int>? Achievements { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("RepeatableQuests")]
|
[JsonPropertyName("RepeatableQuests")]
|
||||||
@@ -781,4 +782,4 @@ public class Note
|
|||||||
{
|
{
|
||||||
public double? Time { get; set; }
|
public double? Time { get; set; }
|
||||||
public string? Text { get; set; }
|
public string? Text { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
using Core.Utils.Json.Converters;
|
||||||
|
|
||||||
namespace Core.Models.Eft.Common.Tables;
|
namespace Core.Models.Eft.Common.Tables;
|
||||||
|
|
||||||
@@ -20,25 +21,25 @@ public class TraderServerSettings
|
|||||||
public class TraderServices
|
public class TraderServices
|
||||||
{
|
{
|
||||||
[JsonPropertyName("ExUsecLoyalty")]
|
[JsonPropertyName("ExUsecLoyalty")]
|
||||||
public TraderServices? ExUsecLoyalty { get; set; }
|
public TraderService? ExUsecLoyalty { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("ZryachiyAid")]
|
[JsonPropertyName("ZryachiyAid")]
|
||||||
public TraderServices? ZryachiyAid { get; set; }
|
public TraderService? ZryachiyAid { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("CultistsAid")]
|
[JsonPropertyName("CultistsAid")]
|
||||||
public TraderServices? CultistsAid { get; set; }
|
public TraderService? CultistsAid { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("PlayerTaxi")]
|
[JsonPropertyName("PlayerTaxi")]
|
||||||
public TraderServices? PlayerTaxi { get; set; }
|
public TraderService? PlayerTaxi { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("BtrItemsDelivery")]
|
[JsonPropertyName("BtrItemsDelivery")]
|
||||||
public TraderServices? BtrItemsDelivery { get; set; }
|
public TraderService? BtrItemsDelivery { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("BtrBotCover")]
|
[JsonPropertyName("BtrBotCover")]
|
||||||
public TraderServices? BtrBotCover { get; set; }
|
public TraderService? BtrBotCover { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("TransitItemsDelivery")]
|
[JsonPropertyName("TransitItemsDelivery")]
|
||||||
public TraderServices? TransitItemsDelivery { get; set; }
|
public TraderService? TransitItemsDelivery { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TraderService
|
public class TraderService
|
||||||
@@ -53,6 +54,7 @@ public class TraderService
|
|||||||
public ServiceRequirements? Requirements { get; set; }
|
public ServiceRequirements? Requirements { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("ServiceItemCost")]
|
[JsonPropertyName("ServiceItemCost")]
|
||||||
|
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
|
||||||
public Dictionary<string, ServiceItemCostDetails>? ServiceItemCost { get; set; }
|
public Dictionary<string, ServiceItemCostDetails>? ServiceItemCost { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("UniqueItems")]
|
[JsonPropertyName("UniqueItems")]
|
||||||
@@ -65,6 +67,7 @@ public class ServiceRequirements
|
|||||||
public List<CompletedQuest>? CompletedQuests { get; set; }
|
public List<CompletedQuest>? CompletedQuests { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("Standings")]
|
[JsonPropertyName("Standings")]
|
||||||
|
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
|
||||||
public Dictionary<string, StandingRequirement>? Standings { get; set; }
|
public Dictionary<string, StandingRequirement>? Standings { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -77,7 +80,7 @@ public class CompletedQuest
|
|||||||
public class StandingRequirement
|
public class StandingRequirement
|
||||||
{
|
{
|
||||||
[JsonPropertyName("Value")]
|
[JsonPropertyName("Value")]
|
||||||
public int? Value { get; set; }
|
public double? Value { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ServiceItemCostDetails
|
public class ServiceItemCostDetails
|
||||||
@@ -180,4 +183,4 @@ public class ServerMapBtrsettings
|
|||||||
|
|
||||||
[JsonPropertyName("BodySwingIntensity")]
|
[JsonPropertyName("BodySwingIntensity")]
|
||||||
public float? BodySwingIntensity { get; set; }
|
public float? BodySwingIntensity { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ using System.Text.Json.Serialization;
|
|||||||
public class Prestige
|
public class Prestige
|
||||||
{
|
{
|
||||||
[JsonPropertyName("elements")]
|
[JsonPropertyName("elements")]
|
||||||
public PretigeElement? Elements { get; set; }
|
public List<PrestigeElement>? Elements { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PretigeElement
|
public class PrestigeElement
|
||||||
{
|
{
|
||||||
[JsonPropertyName("id")]
|
[JsonPropertyName("id")]
|
||||||
public string? Id { get; set; }
|
public string? Id { get; set; }
|
||||||
@@ -65,11 +65,11 @@ public class StashPrestigeFilters
|
|||||||
public class PrestigeSkillConfig
|
public class PrestigeSkillConfig
|
||||||
{
|
{
|
||||||
[JsonPropertyName("transferMultiplier")]
|
[JsonPropertyName("transferMultiplier")]
|
||||||
public int? TransferMultiplier { get; set; }
|
public double? TransferMultiplier { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PrestigeMasteringConfig
|
public class PrestigeMasteringConfig
|
||||||
{
|
{
|
||||||
[JsonPropertyName("transferMultiplier")]
|
[JsonPropertyName("transferMultiplier")]
|
||||||
public int? TransferMultiplier { get; set; }
|
public double? TransferMultiplier { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -169,7 +169,7 @@ public class DefaultEquipmentPreset : UserBuild
|
|||||||
public string? Root { get; set; }
|
public string? Root { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("BuildType")]
|
[JsonPropertyName("BuildType")]
|
||||||
public EquipmentBuildType? BuildType { get; set; }
|
public string? BuildType { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("type")]
|
[JsonPropertyName("type")]
|
||||||
public string? Type { get; set; }
|
public string? Type { get; set; }
|
||||||
@@ -559,4 +559,4 @@ public class MessageContentRagfair
|
|||||||
|
|
||||||
[JsonPropertyName("handbookId")]
|
[JsonPropertyName("handbookId")]
|
||||||
public string? HandbookId { get; set; }
|
public string? HandbookId { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user