Added ceciler patch to add jsonextensiondata (#565)
Co-authored-by: Alex <clodanSPT@hotmail.com> Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
This commit is contained in:
@@ -340,7 +340,7 @@ public static class ItemExtensions
|
||||
SlotId = item.SlotId,
|
||||
Location = item.Location,
|
||||
Desc = item.Desc,
|
||||
ExtensionData = item.ExtensionData,
|
||||
// TODO: re-enable ExtensionData = item.ExtensionData,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Common;
|
||||
|
||||
public record IdWithCount
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ID of stack to take money from
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Common;
|
||||
public record MinMax<T>
|
||||
where T : IMinMaxValue<T>
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public MinMax(T min, T max)
|
||||
{
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Bot;
|
||||
|
||||
public record GenerateBotsRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("conditions")]
|
||||
public List<GenerateCondition>? Conditions { get; set; }
|
||||
@@ -14,8 +13,7 @@ public record GenerateBotsRequestData : IRequestData
|
||||
|
||||
public record GenerateCondition
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// e.g. assault/pmcBot/bossKilla
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Bot;
|
||||
|
||||
public record RandomisedBotLevelResult
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("level")]
|
||||
public int? Level { get; set; }
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Builds;
|
||||
|
||||
public record SetMagazineRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Id")]
|
||||
public MongoId Id { get; set; }
|
||||
|
||||
@@ -5,6 +5,5 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
|
||||
|
||||
public record EmptyRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
|
||||
|
||||
public record Location
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Map meta-data
|
||||
@@ -51,8 +50,7 @@ public record Location
|
||||
|
||||
public record StaticContainer
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("containersGroups")]
|
||||
public Dictionary<string, ContainerMinMax>? ContainersGroups { get; set; }
|
||||
@@ -63,8 +61,7 @@ public record StaticContainer
|
||||
|
||||
public record ContainerMinMax
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("minContainers")]
|
||||
public int? MinContainers { get; set; }
|
||||
@@ -81,8 +78,7 @@ public record ContainerMinMax
|
||||
|
||||
public record ContainerData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("groupId")]
|
||||
public string? GroupId { get; set; }
|
||||
@@ -90,8 +86,7 @@ public record ContainerData
|
||||
|
||||
public record StaticLootDetails
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("itemcountDistribution")]
|
||||
public ItemCountDistribution[] ItemCountDistribution { get; set; }
|
||||
@@ -102,8 +97,7 @@ public record StaticLootDetails
|
||||
|
||||
public record ItemCountDistribution
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("count")]
|
||||
public int? Count { get; set; }
|
||||
@@ -114,8 +108,7 @@ public record ItemCountDistribution
|
||||
|
||||
public record ItemDistribution
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("tpl")]
|
||||
public MongoId Tpl { get; set; }
|
||||
@@ -126,8 +119,7 @@ public record ItemDistribution
|
||||
|
||||
public record StaticContainerDetails
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("staticWeapons")]
|
||||
public IEnumerable<SpawnpointTemplate> StaticWeapons { get; set; }
|
||||
@@ -141,8 +133,7 @@ public record StaticContainerDetails
|
||||
|
||||
public record StaticForced
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("containerId")]
|
||||
public string ContainerId { get; set; }
|
||||
@@ -153,8 +144,7 @@ public record StaticForced
|
||||
|
||||
public record StaticContainerData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("probability")]
|
||||
public float? Probability { get; set; }
|
||||
@@ -165,8 +155,7 @@ public record StaticContainerData
|
||||
|
||||
public record StaticAmmoDetails
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("tpl")]
|
||||
public MongoId? Tpl { get; set; }
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
|
||||
|
||||
public record LocationBase
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("AccessKeys")]
|
||||
public IEnumerable<string>? AccessKeys { get; set; }
|
||||
@@ -375,8 +374,7 @@ public record LocationBase
|
||||
|
||||
public record EventTrapsData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public double MaxBarbedWires { get; set; }
|
||||
|
||||
@@ -389,8 +387,7 @@ public record EventTrapsData
|
||||
|
||||
public record Transit
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("activateAfterSec")]
|
||||
public int? ActivateAfterSeconds { get; set; }
|
||||
@@ -428,8 +425,7 @@ public record Transit
|
||||
|
||||
public record NonWaveGroupScenario
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Chance")]
|
||||
public double? Chance { get; set; }
|
||||
@@ -452,8 +448,7 @@ public record Limit : MinMax<int>
|
||||
|
||||
public record AirdropParameter
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("AirdropPointDeactivateDistance")]
|
||||
public int? AirdropPointDeactivateDistance { get; set; }
|
||||
@@ -488,8 +483,7 @@ public record AirdropParameter
|
||||
|
||||
public record Banner
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -500,8 +494,7 @@ public record Banner
|
||||
|
||||
public record Pic
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("file")]
|
||||
public string? File { get; set; }
|
||||
@@ -518,8 +511,7 @@ public record Pic
|
||||
|
||||
public record BossLocationSpawn
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("BossChance")]
|
||||
public double? BossChance { get; set; }
|
||||
@@ -591,8 +583,7 @@ public record BossLocationSpawn
|
||||
|
||||
public record BossSupport
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("BossEscortAmount")]
|
||||
public string? BossEscortAmount { get; set; }
|
||||
@@ -606,8 +597,7 @@ public record BossSupport
|
||||
|
||||
public record BotLocationModifier
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("AccuracySpeed")]
|
||||
public double? AccuracySpeed { get; set; }
|
||||
@@ -693,8 +683,7 @@ public record BotLocationModifier
|
||||
|
||||
public record AdditionalHostilitySettings
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("AlwaysEnemies")]
|
||||
public HashSet<string>? AlwaysEnemies { get; set; }
|
||||
@@ -735,8 +724,7 @@ public record AdditionalHostilitySettings
|
||||
|
||||
public record ChancedEnemy
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("EnemyChance")]
|
||||
public int? EnemyChance { get; set; }
|
||||
@@ -753,8 +741,7 @@ public record MinMaxBot : MinMax<int>
|
||||
|
||||
public record MinPlayerWaitTime
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("minPlayers")]
|
||||
public int? MinPlayers { get; set; }
|
||||
@@ -765,8 +752,7 @@ public record MinPlayerWaitTime
|
||||
|
||||
public record Preview
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("path")]
|
||||
public string? Path { get; set; }
|
||||
@@ -777,8 +763,7 @@ public record Preview
|
||||
|
||||
public record Scene
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("path")]
|
||||
public string? Path { get; set; }
|
||||
@@ -789,8 +774,7 @@ public record Scene
|
||||
|
||||
public record SpawnPointParam
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("BotZoneName")]
|
||||
public string? BotZoneName { get; set; }
|
||||
@@ -825,8 +809,7 @@ public record SpawnPointParam
|
||||
|
||||
public record ColliderParams
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
private string? _parent;
|
||||
|
||||
@@ -843,8 +826,7 @@ public record ColliderParams
|
||||
|
||||
public record ColliderProps
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Center")]
|
||||
public XYZ? Center { get; set; }
|
||||
@@ -858,8 +840,7 @@ public record ColliderProps
|
||||
|
||||
public record Exit
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// % Chance out of 100 exit will appear in raid
|
||||
@@ -954,8 +935,7 @@ public record Exit
|
||||
|
||||
public record MaxItemCountInLocation
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("TemplateId")]
|
||||
public string? TemplateId { get; set; }
|
||||
@@ -966,8 +946,7 @@ public record MaxItemCountInLocation
|
||||
|
||||
public record Wave
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("BotPreset")]
|
||||
public string? BotPreset { get; set; }
|
||||
@@ -1024,8 +1003,7 @@ public record Wave
|
||||
|
||||
public record LocationEvents
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Halloween2024")]
|
||||
public Halloween2024? Halloween2024 { get; set; }
|
||||
@@ -1035,16 +1013,14 @@ public record LocationEvents
|
||||
|
||||
public record Khorovod
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public double? Chance { get; set; }
|
||||
}
|
||||
|
||||
public record Halloween2024
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("CrowdAttackBlockRadius")]
|
||||
public double? CrowdAttackBlockRadius { get; set; }
|
||||
@@ -1093,8 +1069,7 @@ public record Halloween2024
|
||||
|
||||
public record CrowdAttackSpawnParam
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Difficulty")]
|
||||
public string? Difficulty { get; set; }
|
||||
@@ -1108,8 +1083,7 @@ public record CrowdAttackSpawnParam
|
||||
|
||||
public record Area
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("center")]
|
||||
public XYZ? Center { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
|
||||
|
||||
public record LooseLoot
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("spawnpointCount")]
|
||||
public SpawnpointCount? SpawnpointCount { get; set; }
|
||||
@@ -20,8 +19,7 @@ public record LooseLoot
|
||||
|
||||
public record SpawnpointCount
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("mean")]
|
||||
public required double Mean { get; set; }
|
||||
@@ -32,8 +30,7 @@ public record SpawnpointCount
|
||||
|
||||
public record SpawnpointTemplate
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
private string? _root;
|
||||
|
||||
@@ -80,8 +77,7 @@ public record SpawnpointTemplate
|
||||
|
||||
public record SptLootItem : Item
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("composedKey")]
|
||||
public string? ComposedKey { get; set; }
|
||||
@@ -89,8 +85,7 @@ public record SptLootItem : Item
|
||||
|
||||
public record GroupPosition
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
private string? _name;
|
||||
|
||||
@@ -113,8 +108,7 @@ public record GroupPosition
|
||||
|
||||
public record Spawnpoint
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("locationId")]
|
||||
public string? LocationId { get; set; }
|
||||
@@ -131,8 +125,7 @@ public record Spawnpoint
|
||||
|
||||
public record LooseLootItemDistribution
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("composedKey")]
|
||||
public ComposedKey? ComposedKey { get; set; }
|
||||
@@ -143,8 +136,7 @@ public record LooseLootItemDistribution
|
||||
|
||||
public record ComposedKey
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
private string? _key;
|
||||
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
|
||||
|
||||
public record MetricsTableData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Keys")]
|
||||
public List<int>? Keys { get; set; }
|
||||
|
||||
@@ -22,8 +22,7 @@ public record PostRaidPmcData : PmcData { }
|
||||
|
||||
public record PostRaidStats
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Eft")]
|
||||
public EftStats? Eft { get; set; }
|
||||
|
||||
+2
-4
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Request;
|
||||
|
||||
public record BaseInteractionRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Action")]
|
||||
public string? Action { get; set; }
|
||||
@@ -20,8 +19,7 @@ public record BaseInteractionRequestData
|
||||
|
||||
public record OwnerInfo
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public MongoId? Id { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Request;
|
||||
|
||||
public record UIDRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("uid")]
|
||||
public string? Uid { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record Achievement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("index")]
|
||||
public required int Index { get; set; }
|
||||
@@ -53,8 +52,7 @@ public record Achievement
|
||||
|
||||
public record AchievementQuestConditionTypes
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("started")]
|
||||
public List<QuestCondition>? Started { get; set; }
|
||||
|
||||
@@ -9,8 +9,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record BotBase
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public MongoId? Id { get; set; }
|
||||
@@ -118,8 +117,7 @@ public record BotBase
|
||||
|
||||
public record MoneyTransferLimits
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
// Resets every 24 hours in live
|
||||
/// <summary>
|
||||
@@ -142,8 +140,7 @@ public record TaskConditionCounter
|
||||
{
|
||||
private string? _type;
|
||||
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public MongoId? Id { get; set; }
|
||||
@@ -167,8 +164,7 @@ public record TaskConditionCounter
|
||||
|
||||
public record UnlockedInfo
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("unlockedProductionRecipe")]
|
||||
public HashSet<MongoId>? UnlockedProductionRecipe { get; set; }
|
||||
@@ -176,8 +172,7 @@ public record UnlockedInfo
|
||||
|
||||
public record Info
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
private string? _side;
|
||||
|
||||
@@ -267,8 +262,7 @@ public record Info
|
||||
|
||||
public record BotInfoSettings
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
private string? _botDifficulty;
|
||||
private string? _role;
|
||||
@@ -297,8 +291,7 @@ public record BotInfoSettings
|
||||
|
||||
public record Ban
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("banType")]
|
||||
public BanType? BanType { get; set; }
|
||||
@@ -320,8 +313,7 @@ public enum BanType
|
||||
|
||||
public record Customization
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public MongoId? Head { get; set; }
|
||||
|
||||
@@ -338,8 +330,7 @@ public record Customization
|
||||
|
||||
public record BotBaseHealth
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public CurrentMinMax? Hydration { get; set; }
|
||||
|
||||
@@ -360,8 +351,7 @@ public record BotBaseHealth
|
||||
|
||||
public record BodyPartHealth
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public CurrentMinMax? Health { get; set; }
|
||||
|
||||
@@ -370,8 +360,7 @@ public record BodyPartHealth
|
||||
|
||||
public record BodyPartEffectProperties
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
// TODO: this was any, what actual type is it?
|
||||
public object? ExtraData { get; set; }
|
||||
@@ -381,8 +370,7 @@ public record BodyPartEffectProperties
|
||||
|
||||
public record CurrentMinMax
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public double? Current { get; set; }
|
||||
|
||||
@@ -397,8 +385,7 @@ public record CurrentMinMax
|
||||
|
||||
public record BotBaseInventory
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("items")]
|
||||
public List<Item>? Items { get; set; }
|
||||
@@ -445,8 +432,7 @@ public record BotBaseInventory
|
||||
|
||||
public record Skills
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public IEnumerable<CommonSkill> Common { get; set; }
|
||||
|
||||
@@ -457,8 +443,7 @@ public record Skills
|
||||
|
||||
public record MasterySkill
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public string Id { get; set; }
|
||||
|
||||
@@ -467,8 +452,7 @@ public record MasterySkill
|
||||
|
||||
public record CommonSkill
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public double PointsEarnedDuringSession { get; set; }
|
||||
|
||||
@@ -488,16 +472,14 @@ public record CommonSkill
|
||||
|
||||
public record Stats
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public EftStats? Eft { get; set; }
|
||||
}
|
||||
|
||||
public record EftStats
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public IEnumerable<string>? CarriedQuestItems { get; set; }
|
||||
|
||||
@@ -539,8 +521,7 @@ public record EftStats
|
||||
|
||||
public record DroppedItem
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public MongoId QuestId { get; set; }
|
||||
|
||||
@@ -551,8 +532,7 @@ public record DroppedItem
|
||||
|
||||
public record FoundInRaidItem
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public MongoId QuestId { get; set; }
|
||||
|
||||
@@ -561,8 +541,7 @@ public record FoundInRaidItem
|
||||
|
||||
public record Victim
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public string? AccountId { get; set; }
|
||||
|
||||
@@ -593,24 +572,21 @@ public record Victim
|
||||
|
||||
public record SessionCounters
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public IEnumerable<CounterKeyValue>? Items { get; set; }
|
||||
}
|
||||
|
||||
public record OverallCounters
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public List<CounterKeyValue>? Items { get; set; }
|
||||
}
|
||||
|
||||
public record CounterKeyValue
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public HashSet<string>? Key { get; set; }
|
||||
|
||||
@@ -619,8 +595,7 @@ public record CounterKeyValue
|
||||
|
||||
public record Aggressor
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public double? PrestigeLevel { get; set; }
|
||||
|
||||
@@ -652,8 +627,7 @@ public record Aggressor
|
||||
|
||||
public record DamageHistory
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public string? LethalDamagePart { get; set; }
|
||||
|
||||
@@ -667,8 +641,7 @@ public record DamageHistory
|
||||
|
||||
public record BodyPartsDamageHistory
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public List<DamageStats>? Head { get; set; }
|
||||
|
||||
@@ -691,8 +664,7 @@ public record DamageStats
|
||||
{
|
||||
private string? _type;
|
||||
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public double? Amount { get; set; }
|
||||
|
||||
@@ -714,8 +686,7 @@ public record DamageStats
|
||||
|
||||
public record DeathCause
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public DamageType? DamageType { get; set; }
|
||||
@@ -731,8 +702,7 @@ public record DeathCause
|
||||
|
||||
public record LastPlayerState
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public LastPlayerStateInfo? Info { get; set; }
|
||||
|
||||
@@ -744,8 +714,7 @@ public record LastPlayerState
|
||||
|
||||
public record LastPlayerStateInfo
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public string? Nickname { get; set; }
|
||||
|
||||
@@ -758,8 +727,7 @@ public record LastPlayerStateInfo
|
||||
|
||||
public record BackendCounter
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -773,8 +741,7 @@ public record BackendCounter
|
||||
|
||||
public record InsuredItem
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Trader ID item was insured by
|
||||
@@ -788,8 +755,7 @@ public record InsuredItem
|
||||
|
||||
public record Hideout
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public Dictionary<MongoId, Production?>? Production { get; set; }
|
||||
|
||||
@@ -815,8 +781,7 @@ public record Hideout
|
||||
|
||||
public record HideoutCounters
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("fuelCounter")]
|
||||
public double? FuelCounter { get; set; }
|
||||
@@ -833,8 +798,7 @@ public record HideoutCounters
|
||||
|
||||
public record HideoutImprovement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("completed")]
|
||||
public bool? Completed { get; set; }
|
||||
@@ -845,8 +809,7 @@ public record HideoutImprovement
|
||||
|
||||
public record Production // use this instead of productive and scavcase
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public List<Item>? Products { get; set; }
|
||||
|
||||
@@ -922,8 +885,7 @@ public record Production // use this instead of productive and scavcase
|
||||
|
||||
public record BotHideoutArea
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public HideoutAreas Type { get; set; }
|
||||
@@ -955,8 +917,7 @@ public record BotHideoutArea
|
||||
|
||||
public record HideoutSlot
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// SPT specific value to keep track of what index this slot is (0,1,2,3 etc.)
|
||||
@@ -970,8 +931,7 @@ public record HideoutSlot
|
||||
|
||||
public record LastCompleted
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("$oid")]
|
||||
public string? OId { get; set; }
|
||||
@@ -979,8 +939,7 @@ public record LastCompleted
|
||||
|
||||
public record Notes
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Notes")]
|
||||
public List<Note>? DataNotes { get; set; }
|
||||
@@ -997,8 +956,7 @@ public enum SurvivorClass
|
||||
|
||||
public record TraderInfo
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("loyaltyLevel")]
|
||||
public int? LoyaltyLevel { get; set; }
|
||||
@@ -1021,8 +979,7 @@ public record TraderInfo
|
||||
|
||||
public record RagfairInfo
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("rating")]
|
||||
public double? Rating { get; set; }
|
||||
@@ -1042,8 +999,7 @@ public record RagfairInfo
|
||||
|
||||
public record Bonus
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public MongoId Id { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record BotCore
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("SAVAGE_KILL_DIST")]
|
||||
public double? SavageKillDistance { get; set; }
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record BotType
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("appearance")]
|
||||
public Appearance BotAppearance { get; set; }
|
||||
@@ -43,8 +42,7 @@ public record BotType
|
||||
|
||||
public record Appearance
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("body")]
|
||||
public Dictionary<MongoId, double> Body { get; set; }
|
||||
@@ -67,8 +65,7 @@ public record Appearance
|
||||
|
||||
public record Chances
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("equipment")]
|
||||
public Dictionary<string, double> EquipmentChances { get; set; }
|
||||
@@ -87,8 +84,7 @@ public record Chances
|
||||
GenerateWeaponRequest.ModSpawnChances
|
||||
public record ModsChances
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("mod_charge")]
|
||||
public double? ModCharge { get; set; }
|
||||
@@ -250,8 +246,7 @@ public double? ModPistol_Grip { get; set; }
|
||||
|
||||
public record DifficultyCategories
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public Dictionary<string, object>? Aiming { get; set; } // TODO: string | number | boolean
|
||||
|
||||
@@ -284,8 +279,7 @@ public record DifficultyCategories
|
||||
|
||||
public record Experience
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// key = bot difficulty
|
||||
@@ -314,8 +308,7 @@ public record Experience
|
||||
|
||||
public record Generation
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("items")]
|
||||
public GenerationWeightingItems Items { get; set; }
|
||||
@@ -323,8 +316,7 @@ public record Generation
|
||||
|
||||
public record GenerationData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// key: number of items, value: weighting
|
||||
@@ -342,8 +334,7 @@ public record GenerationData
|
||||
|
||||
public record GenerationWeightingItems
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("grenades")]
|
||||
public GenerationData Grenades { get; set; }
|
||||
@@ -387,8 +378,7 @@ public record GenerationWeightingItems
|
||||
|
||||
public record BotTypeHealth
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public IEnumerable<BodyPart> BodyParts { get; set; }
|
||||
|
||||
@@ -401,8 +391,7 @@ public record BotTypeHealth
|
||||
|
||||
public record BodyPart
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public MinMax<double> Chest { get; set; }
|
||||
|
||||
@@ -421,8 +410,7 @@ public record BodyPart
|
||||
|
||||
public record BotTypeInventory
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("equipment")]
|
||||
public Dictionary<EquipmentSlots, Dictionary<MongoId, double>> Equipment { get; set; }
|
||||
@@ -438,8 +426,7 @@ public record BotTypeInventory
|
||||
|
||||
public record ItemPools
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public Dictionary<MongoId, double> Backpack { get; set; }
|
||||
|
||||
@@ -454,8 +441,7 @@ public record ItemPools
|
||||
|
||||
public record BotDbSkills
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public Dictionary<string, MinMax<double>> Common { get; set; }
|
||||
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record CustomisationStorage
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
// Customisation.json/itemId
|
||||
[JsonPropertyName("id")]
|
||||
@@ -21,8 +20,7 @@ public record CustomisationStorage
|
||||
|
||||
public record CustomisationType
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public const string SUITE = "suite";
|
||||
public const string DOG_TAG = "dogTag";
|
||||
@@ -42,8 +40,7 @@ public record CustomisationType
|
||||
|
||||
public record CustomisationTypeId
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public const string CUSTOMIZATION = "5cbdb4a2e2b501000d352ae2";
|
||||
public const string BODY_PARTS = "5cd943c31388ce000a659df5";
|
||||
@@ -71,8 +68,7 @@ public record CustomisationTypeId
|
||||
|
||||
public record CustomisationSource
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public const string QUEST = "quest";
|
||||
public const string PRESTIGE = "prestige";
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record CustomizationItem
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -29,8 +28,7 @@ public record CustomizationItem
|
||||
|
||||
public class CustomizationProps
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Prefab")]
|
||||
public object? Prefab { get; set; } // Prefab object or string
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record HandbookBase
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Categories")]
|
||||
public List<HandbookCategory> Categories { get; set; }
|
||||
@@ -17,8 +16,7 @@ public record HandbookBase
|
||||
|
||||
public record HandbookCategory
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -40,8 +38,7 @@ public record HandbookCategory
|
||||
|
||||
public record HandbookItem
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Id")]
|
||||
public MongoId Id { get; set; }
|
||||
|
||||
@@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record Item
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
private string? _parentId;
|
||||
|
||||
@@ -48,8 +46,7 @@ public record Item
|
||||
|
||||
public record HideoutItem
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Hideout inventory id that was used by improvement action
|
||||
@@ -86,8 +83,7 @@ public record HideoutItem
|
||||
|
||||
public record ItemLocation
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("x")]
|
||||
public int? X { get; set; }
|
||||
@@ -120,8 +116,7 @@ public enum ItemRotation
|
||||
|
||||
public record Upd
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public UpdBuff? Buff { get; set; }
|
||||
|
||||
@@ -187,8 +182,7 @@ public record Upd
|
||||
|
||||
public record LockableKeyComponent
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public float? RelativeValue { get; set; }
|
||||
public int? NumberOfUsages { get; set; }
|
||||
@@ -196,8 +190,7 @@ public record LockableKeyComponent
|
||||
|
||||
public record LockableComponent
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public IEnumerable<string>? KeyIds { get; set; }
|
||||
public bool? Locked { get; set; }
|
||||
@@ -213,8 +206,7 @@ public enum PinLockState
|
||||
|
||||
public record UpdBuff
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Rarity")]
|
||||
public string? Rarity { get; set; }
|
||||
@@ -232,8 +224,7 @@ public record UpdBuff
|
||||
|
||||
public record UpdTogglable
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("On")]
|
||||
public bool? On { get; set; }
|
||||
@@ -241,8 +232,7 @@ public record UpdTogglable
|
||||
|
||||
public record UpdMap
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Markers")]
|
||||
public List<MapMarker>? Markers { get; set; }
|
||||
@@ -250,8 +240,7 @@ public record UpdMap
|
||||
|
||||
public record MapMarker
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Type")]
|
||||
public string? Type { get; set; }
|
||||
@@ -268,8 +257,7 @@ public record MapMarker
|
||||
|
||||
public record UpdTag
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Color")]
|
||||
public int? Color { get; set; }
|
||||
@@ -280,8 +268,7 @@ public record UpdTag
|
||||
|
||||
public record UpdFaceShield
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Hits")]
|
||||
public int? Hits { get; set; }
|
||||
@@ -292,8 +279,7 @@ public record UpdFaceShield
|
||||
|
||||
public record UpdRepairable
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Durability")]
|
||||
public double? Durability { get; set; }
|
||||
@@ -304,8 +290,7 @@ public record UpdRepairable
|
||||
|
||||
public record UpdRecodableComponent
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("IsEncoded")]
|
||||
public bool? IsEncoded { get; set; }
|
||||
@@ -313,8 +298,7 @@ public record UpdRecodableComponent
|
||||
|
||||
public record UpdMedKit
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("HpResource")]
|
||||
public double? HpResource { get; set; }
|
||||
@@ -322,8 +306,7 @@ public record UpdMedKit
|
||||
|
||||
public record UpdSight
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("ScopesCurrentCalibPointIndexes")]
|
||||
public IEnumerable<int>? ScopesCurrentCalibPointIndexes { get; set; }
|
||||
@@ -339,8 +322,7 @@ public record UpdSight
|
||||
|
||||
public record UpdFoldable
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Folded")]
|
||||
public bool? Folded { get; set; }
|
||||
@@ -348,8 +330,7 @@ public record UpdFoldable
|
||||
|
||||
public record UpdFireMode
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("FireMode")]
|
||||
public string? FireMode { get; set; }
|
||||
@@ -357,8 +338,7 @@ public record UpdFireMode
|
||||
|
||||
public record UpdFoodDrink
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("HpPercent")]
|
||||
public double? HpPercent { get; set; }
|
||||
@@ -366,8 +346,7 @@ public record UpdFoodDrink
|
||||
|
||||
public record UpdKey
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
// Checked in client
|
||||
[JsonPropertyName("NumberOfUsages")]
|
||||
@@ -376,8 +355,7 @@ public record UpdKey
|
||||
|
||||
public record UpdResource
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Value")]
|
||||
public double? Value { get; set; }
|
||||
@@ -388,8 +366,7 @@ public record UpdResource
|
||||
|
||||
public record UpdLight
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("IsActive")]
|
||||
public bool? IsActive { get; set; }
|
||||
@@ -400,8 +377,7 @@ public record UpdLight
|
||||
|
||||
public record UpdDogtag
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("AccountId")]
|
||||
public string? AccountId { get; set; }
|
||||
@@ -451,8 +427,7 @@ public record UpdDogtag
|
||||
|
||||
public record UpdSideEffect
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Value")]
|
||||
public double? Value { get; set; }
|
||||
@@ -460,8 +435,7 @@ public record UpdSideEffect
|
||||
|
||||
public record UpdRepairKit
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Resource")]
|
||||
public double? Resource { get; set; }
|
||||
@@ -469,8 +443,7 @@ public record UpdRepairKit
|
||||
|
||||
public record UpdCultistAmulet
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("NumberOfUsages")]
|
||||
public double? NumberOfUsages { get; set; }
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record LocationServices
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("TraderServerSettings")]
|
||||
public TraderServerSettings TraderServerSettings { get; set; }
|
||||
@@ -19,8 +18,7 @@ public record LocationServices
|
||||
|
||||
public record TraderServerSettings
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("TraderServices")]
|
||||
public TraderServices TraderServices { get; set; }
|
||||
@@ -28,8 +26,7 @@ public record TraderServerSettings
|
||||
|
||||
public record TraderServices
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("ExUsecLoyalty")]
|
||||
public TraderService ExUsecLoyalty { get; set; }
|
||||
@@ -55,8 +52,7 @@ public record TraderServices
|
||||
|
||||
public record TraderService
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("TraderId")]
|
||||
public string TraderId { get; set; }
|
||||
@@ -78,8 +74,7 @@ public record TraderService
|
||||
|
||||
public record ServiceRequirements
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("CompletedQuests")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
||||
@@ -93,8 +88,7 @@ public record ServiceRequirements
|
||||
|
||||
public record CompletedQuest
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("QuestId")]
|
||||
public string QuestId { get; set; }
|
||||
@@ -102,8 +96,7 @@ public record CompletedQuest
|
||||
|
||||
public record StandingRequirement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Value")]
|
||||
public double Value { get; set; }
|
||||
@@ -111,8 +104,7 @@ public record StandingRequirement
|
||||
|
||||
public record ServiceItemCostDetails
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Count")]
|
||||
public int Count { get; set; }
|
||||
@@ -120,8 +112,7 @@ public record ServiceItemCostDetails
|
||||
|
||||
public record BtrServerSettings
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("ChanceSpawn")]
|
||||
public double ChanceSpawn { get; set; }
|
||||
@@ -171,8 +162,7 @@ public record BtrServerSettings
|
||||
|
||||
public record ServerMapBtrsettings
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("MapID")]
|
||||
public string MapID { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record LocationsBase
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("locations")]
|
||||
public Locations? Locations { get; set; }
|
||||
@@ -16,16 +15,14 @@ public record LocationsBase
|
||||
|
||||
public record Locations
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
// Add properties as necessary
|
||||
}
|
||||
|
||||
public record Path
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Source")]
|
||||
public string? Source { get; set; }
|
||||
|
||||
+1
-2
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record LocationsGenerateAllResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("locations")]
|
||||
public Dictionary<MongoId, LocationBase> Locations { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record Match
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("metrics")]
|
||||
public Metrics Metrics { get; set; }
|
||||
@@ -13,8 +12,7 @@ public record Match
|
||||
|
||||
public record Metrics
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Keys")]
|
||||
public List<int> Keys { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record Prestige
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("elements")]
|
||||
public List<PrestigeElement> Elements { get; set; }
|
||||
@@ -14,8 +13,7 @@ public record Prestige
|
||||
|
||||
public record PrestigeElement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; }
|
||||
@@ -38,8 +36,7 @@ public record PrestigeElement
|
||||
|
||||
public record TransferConfigs
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("stashConfig")]
|
||||
public StashPrestigeConfig StashConfig { get; set; }
|
||||
@@ -53,8 +50,7 @@ public record TransferConfigs
|
||||
|
||||
public record StashPrestigeConfig
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("xCellCount")]
|
||||
public int? XCellCount { get; set; }
|
||||
@@ -68,8 +64,7 @@ public record StashPrestigeConfig
|
||||
|
||||
public record StashPrestigeFilters
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("includedItems")]
|
||||
public List<MongoId> IncludedItems { get; set; }
|
||||
@@ -80,8 +75,7 @@ public record StashPrestigeFilters
|
||||
|
||||
public record PrestigeSkillConfig
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("transferMultiplier")]
|
||||
public double TransferMultiplier { get; set; }
|
||||
@@ -89,8 +83,7 @@ public record PrestigeSkillConfig
|
||||
|
||||
public record PrestigeMasteringConfig
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("transferMultiplier")]
|
||||
public double TransferMultiplier { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record ProfileSides
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("descriptionLocaleKey")]
|
||||
public string? DescriptionLocaleKey { get; set; }
|
||||
@@ -21,8 +20,7 @@ public record ProfileSides
|
||||
|
||||
public record TemplateSide
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("character")]
|
||||
public PmcData? Character { get; set; }
|
||||
@@ -48,8 +46,7 @@ public record TemplateSide
|
||||
|
||||
public record ProfileTraderTemplate
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("initialLoyaltyLevel")]
|
||||
public Dictionary<MongoId, int?>? InitialLoyaltyLevel { get; set; }
|
||||
|
||||
@@ -8,8 +8,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record Quest
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// SPT addition - human readable quest name
|
||||
@@ -129,8 +128,7 @@ public record Quest
|
||||
/// </summary>
|
||||
public record QuestStatus
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("qid")]
|
||||
public required MongoId QId { get; set; }
|
||||
@@ -153,8 +151,7 @@ public record QuestStatus
|
||||
|
||||
public record QuestConditionTypes
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Started")]
|
||||
public List<QuestCondition>? Started { get; set; }
|
||||
@@ -176,8 +173,7 @@ public record QuestCondition
|
||||
{
|
||||
private string _conditionType;
|
||||
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public required MongoId Id { get; set; }
|
||||
@@ -324,8 +320,7 @@ public record QuestCondition
|
||||
|
||||
public record QuestConditionCounter
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -336,8 +331,7 @@ public record QuestConditionCounter
|
||||
|
||||
public record QuestConditionCounterCondition
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -429,8 +423,7 @@ public record QuestConditionCounterCondition
|
||||
|
||||
public record EnemyHealthEffect
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("bodyParts")]
|
||||
public List<string>? BodyParts { get; set; }
|
||||
@@ -441,8 +434,7 @@ public record EnemyHealthEffect
|
||||
|
||||
public record ValueCompare
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("compareMethod")]
|
||||
public string? CompareMethod { get; set; }
|
||||
@@ -453,8 +445,7 @@ public record ValueCompare
|
||||
|
||||
public record CounterConditionDistance
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("value")]
|
||||
public double? Value { get; set; }
|
||||
@@ -465,8 +456,7 @@ public record CounterConditionDistance
|
||||
|
||||
public record DaytimeCounter
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("from")]
|
||||
public int? From { get; set; }
|
||||
@@ -477,8 +467,7 @@ public record DaytimeCounter
|
||||
|
||||
public record VisibilityCondition
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
|
||||
@@ -23,8 +23,7 @@ public record RepeatableQuest : Quest
|
||||
|
||||
public record RepeatableQuestDatabase
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("templates")]
|
||||
public RepeatableTemplates? Templates { get; set; }
|
||||
@@ -41,8 +40,7 @@ public record RepeatableQuestDatabase
|
||||
|
||||
public record RepeatableQuestStatus
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -65,8 +63,7 @@ public record RepeatableQuestStatus
|
||||
|
||||
public record RepeatableTemplates
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Elimination")]
|
||||
public RepeatableQuest? Elimination { get; set; }
|
||||
@@ -83,8 +80,7 @@ public record RepeatableTemplates
|
||||
|
||||
public record PmcDataRepeatableQuest
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public MongoId? Id { get; set; }
|
||||
@@ -120,8 +116,7 @@ public record PmcDataRepeatableQuest
|
||||
|
||||
public record ChangeRequirement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("changeCost")]
|
||||
public List<ChangeCost?>? ChangeCost { get; set; }
|
||||
@@ -132,8 +127,7 @@ public record ChangeRequirement
|
||||
|
||||
public record ChangeCost
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// What item it will take to reset daily
|
||||
@@ -152,8 +146,7 @@ public record ChangeCost
|
||||
|
||||
public record RewardOptions
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("itemsBlacklist")]
|
||||
public List<string>? ItemsBlacklist { get; set; }
|
||||
@@ -161,8 +154,7 @@ public record RewardOptions
|
||||
|
||||
public record Options
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Completion")]
|
||||
public CompletionFilter? Completion { get; set; }
|
||||
@@ -170,8 +162,7 @@ public record Options
|
||||
|
||||
public record CompletionFilter
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("itemsBlacklist")]
|
||||
public List<ItemsBlacklist>? ItemsBlacklist { get; set; }
|
||||
@@ -182,8 +173,7 @@ public record CompletionFilter
|
||||
|
||||
public record ItemsBlacklist
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("minPlayerLevel")]
|
||||
public int? MinPlayerLevel { get; set; }
|
||||
@@ -194,8 +184,7 @@ public record ItemsBlacklist
|
||||
|
||||
public record ItemsWhitelist
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("minPlayerLevel")]
|
||||
public int? MinPlayerLevel { get; set; }
|
||||
@@ -206,8 +195,7 @@ public record ItemsWhitelist
|
||||
|
||||
public record SampleQuests
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public string? Id { get; set; }
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record Reward
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("value")]
|
||||
[JsonConverter(typeof(StringToNumberFactoryConverter))]
|
||||
@@ -73,8 +72,7 @@ public record Reward
|
||||
|
||||
public record IllustrationConfig
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Image")]
|
||||
public string image { get; set; }
|
||||
|
||||
@@ -8,8 +8,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record TemplateItem
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
private Dictionary<string, bool>? _blocks;
|
||||
|
||||
@@ -73,8 +72,7 @@ public record TemplateItem
|
||||
|
||||
public record Props
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
private string? _backgroundColor;
|
||||
|
||||
@@ -1578,8 +1576,7 @@ public record Props
|
||||
|
||||
public record WeaponRecoilSettings
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Enable")]
|
||||
public bool? Enable { get; set; }
|
||||
@@ -1590,8 +1587,7 @@ public record WeaponRecoilSettings
|
||||
|
||||
public record WeaponRecoilSettingValues
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Enable")]
|
||||
public bool? Enable { get; set; }
|
||||
@@ -1605,8 +1601,7 @@ public record WeaponRecoilSettingValues
|
||||
|
||||
public record WeaponRecoilProcess
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("ComponentType")]
|
||||
public string? ComponentType { get; set; }
|
||||
@@ -1626,8 +1621,7 @@ public record WeaponRecoilProcess
|
||||
|
||||
public record WeaponRecoilTransformationCurve
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Keys")]
|
||||
public IEnumerable<WeaponRecoilTransformationCurveKey>? Keys { get; set; }
|
||||
@@ -1635,8 +1629,7 @@ public record WeaponRecoilTransformationCurve
|
||||
|
||||
public record WeaponRecoilTransformationCurveKey
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("inTangent")]
|
||||
public double? InTangent { get; set; }
|
||||
@@ -1653,8 +1646,7 @@ public record WeaponRecoilTransformationCurveKey
|
||||
|
||||
public record HealthEffect
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public string? Type { get; set; }
|
||||
@@ -1665,8 +1657,7 @@ public record HealthEffect
|
||||
|
||||
public record Prefab
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("path")]
|
||||
public string? Path { get; set; }
|
||||
@@ -1677,8 +1668,7 @@ public record Prefab
|
||||
|
||||
public record Grid
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_name")]
|
||||
public string? Name { get; set; }
|
||||
@@ -1698,8 +1688,7 @@ public record Grid
|
||||
|
||||
public record GridProps
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("filters")]
|
||||
public IEnumerable<GridFilter>? Filters { get; set; }
|
||||
@@ -1725,8 +1714,7 @@ public record GridProps
|
||||
|
||||
public record GridFilter
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Filter")]
|
||||
public HashSet<MongoId>? Filter { get; set; }
|
||||
@@ -1740,8 +1728,7 @@ public record GridFilter
|
||||
|
||||
public record Slot
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
private string? _name;
|
||||
|
||||
@@ -1782,8 +1769,7 @@ public record Slot
|
||||
|
||||
public record SlotProps
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("filters")]
|
||||
public IEnumerable<SlotFilter>? Filters { get; set; }
|
||||
@@ -1794,8 +1780,7 @@ public record SlotProps
|
||||
|
||||
public record SlotFilter
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Shift")]
|
||||
public double? Shift { get; set; }
|
||||
@@ -1827,8 +1812,7 @@ public record SlotFilter
|
||||
|
||||
public record StackSlot
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_name")]
|
||||
public string? Name { get; set; }
|
||||
@@ -1854,8 +1838,7 @@ public record StackSlot
|
||||
|
||||
public record StackSlotProps
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("filters")]
|
||||
public IEnumerable<SlotFilter>? Filters { get; set; }
|
||||
@@ -1863,8 +1846,7 @@ public record StackSlotProps
|
||||
|
||||
public record RandomLootSettings
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("allowToSpawnIdenticalItems")]
|
||||
public bool? AllowToSpawnIdenticalItems { get; set; }
|
||||
@@ -1893,8 +1875,7 @@ public record RandomLootSettings
|
||||
|
||||
public record RandomLootExcluded
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("categoryTemplates")]
|
||||
public IEnumerable<object>? CategoryTemplates { get; set; } // TODO: object here
|
||||
@@ -1908,8 +1889,7 @@ public record RandomLootExcluded
|
||||
|
||||
public record EffectsHealth
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Energy")]
|
||||
public EffectsHealthProps? Energy { get; set; }
|
||||
@@ -1920,8 +1900,7 @@ public record EffectsHealth
|
||||
|
||||
public record EffectsHealthProps
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("value")]
|
||||
public double? Value { get; set; }
|
||||
@@ -1935,8 +1914,7 @@ public record EffectsHealthProps
|
||||
|
||||
public record EffectsDamage
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Pain")]
|
||||
public EffectDamageProps? Pain { get; set; }
|
||||
@@ -1962,8 +1940,7 @@ public record EffectsDamage
|
||||
|
||||
public record EffectDamageProps
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("value")]
|
||||
public double? Value { get; set; }
|
||||
@@ -1989,8 +1966,7 @@ public record EffectDamageProps
|
||||
|
||||
public record Color
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("r")]
|
||||
public double? R { get; set; }
|
||||
@@ -2007,8 +1983,7 @@ public record Color
|
||||
|
||||
public record ShotsGroupSettings
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("EndShotIndex")]
|
||||
public double? EndShotIndex { get; set; }
|
||||
|
||||
@@ -8,8 +8,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record Trader
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("assort")]
|
||||
public required TraderAssort Assort { get; set; }
|
||||
@@ -32,8 +31,7 @@ public record Trader
|
||||
|
||||
public record TraderBase
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("refreshTraderRagfairOffers")]
|
||||
public bool? RefreshTraderRagfairOffers { get; set; }
|
||||
@@ -133,8 +131,7 @@ public record TraderBase
|
||||
|
||||
public record ItemBuyData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
// MongoId
|
||||
[JsonPropertyName("category")]
|
||||
@@ -147,8 +144,7 @@ public record ItemBuyData
|
||||
|
||||
public record ItemSellData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("category")]
|
||||
public required HashSet<MongoId> Category { get; set; }
|
||||
@@ -159,8 +155,7 @@ public record ItemSellData
|
||||
|
||||
public record TraderInsurance
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("availability")]
|
||||
public bool? Availability { get; set; }
|
||||
@@ -187,8 +182,7 @@ public record TraderInsurance
|
||||
|
||||
public record TraderLoyaltyLevel
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("buy_price_coef")]
|
||||
public double? BuyPriceCoefficient { get; set; }
|
||||
@@ -219,8 +213,7 @@ public record TraderLoyaltyLevel
|
||||
|
||||
public record TraderRepair
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("availability")]
|
||||
public bool? Availability { get; set; }
|
||||
@@ -250,8 +243,7 @@ public record TraderRepair
|
||||
|
||||
public record TraderAssort
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("nextResupply")]
|
||||
public double? NextResupply { get; set; }
|
||||
@@ -268,8 +260,7 @@ public record TraderAssort
|
||||
|
||||
public record BarterScheme
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
// Confirmed in client
|
||||
[JsonPropertyName("count")]
|
||||
@@ -294,8 +285,7 @@ public record BarterScheme
|
||||
|
||||
public record Suit
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -327,8 +317,7 @@ public record Suit
|
||||
|
||||
public record SuitRequirements
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("achievementRequirements")]
|
||||
public List<string>? AchievementRequirements { get; set; }
|
||||
@@ -361,8 +350,7 @@ public record SuitRequirements
|
||||
|
||||
public record ItemRequirement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("count")]
|
||||
public double? Count { get; set; }
|
||||
|
||||
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
public record TraderDialogs
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
[JsonPropertyName("elements")]
|
||||
public required List<TraderDialogElements> Elements;
|
||||
@@ -14,9 +12,6 @@ public record TraderDialogs
|
||||
|
||||
public record TraderDialogElements
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
[JsonPropertyName("CanBeFirstDialogue")]
|
||||
public bool CanBeFirstDialog { get; set; } = true;
|
||||
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
|
||||
|
||||
public record XY
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("x")]
|
||||
public double? X { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
|
||||
|
||||
public record XYZ
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("x")]
|
||||
public double? X { get; set; }
|
||||
|
||||
@@ -15,8 +15,7 @@ public record BuyClothingRequestData : InventoryBaseActionRequestData
|
||||
|
||||
public record PaymentItemForClothing
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("del")]
|
||||
public bool? Del { get; set; }
|
||||
|
||||
@@ -12,8 +12,7 @@ public record CustomizationSetRequest : InventoryBaseActionRequestData
|
||||
|
||||
public record CustomizationSetOption
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public MongoId Id { get; set; }
|
||||
|
||||
@@ -4,6 +4,5 @@ namespace SPTarkov.Server.Core.Models.Eft.Customization;
|
||||
|
||||
public record WearClothingRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
}
|
||||
|
||||
@@ -11,8 +11,7 @@ public record DeclineFriendRequestData : BaseFriendRequest { }
|
||||
|
||||
public record BaseFriendRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("profileId")]
|
||||
public string? ProfileId { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record AddUserGroupMailRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record ChangeGroupMailOwnerRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record ChatServer
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -41,8 +40,7 @@ public record ChatServer
|
||||
|
||||
public record Chat
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public string? Id { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record ClearMailMessageRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public required MongoId DialogId { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record CreateGroupMailRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Name")]
|
||||
public string? Name { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record DeleteFriendRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("friend_id")]
|
||||
public MongoId FriendId { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record FriendRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("status")]
|
||||
public int? Status { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record FriendRequestSendResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("status")]
|
||||
public BackendErrorCodes? Status { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record GetAllAttachmentsRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string DialogId { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record GetAllAttachmentsResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("messages")]
|
||||
public List<Message>? Messages { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record GetChatServerListRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("VersionId")]
|
||||
public string? VersionId { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record GetFriendListDataResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Friends")]
|
||||
public List<UserDialogInfo>? Friends { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record GetMailDialogInfoRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public MongoId? DialogId { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record GetMailDialogListRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("limit")]
|
||||
public int? Limit { get; set; }
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record GetMailDialogViewRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public MessageType? Type { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record GetMailDialogViewResponseData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("messages")]
|
||||
public List<Message>? Messages { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record PinDialogRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public MongoId? DialogId { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record RemoveDialogRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public MongoId? DialogId { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record RemoveMailMessageRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record RemoveUserGroupMailRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record SendMessageRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogId")]
|
||||
public required string DialogId { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
|
||||
|
||||
public record SetDialogReadRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("dialogs")]
|
||||
public List<MongoId>? Dialogs { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record CheckVersionResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("isvalid")]
|
||||
public bool? IsValid { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record CurrentGroupResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("squad")]
|
||||
public List<CurrentGroupSquadMember>? Squad { get; set; }
|
||||
@@ -14,8 +13,7 @@ public record CurrentGroupResponse
|
||||
|
||||
public record CurrentGroupSquadMember
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -35,8 +33,7 @@ public record CurrentGroupSquadMember
|
||||
|
||||
public record CurrentGroupMemberInfo
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Nickname")]
|
||||
public string? Nickname { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record GameConfigResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("aid")]
|
||||
public double? Aid { get; set; }
|
||||
@@ -58,8 +57,7 @@ public record GameConfigResponse
|
||||
|
||||
public record PurchasedGames
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("eft")]
|
||||
public bool? IsEftPurchased { get; set; }
|
||||
@@ -70,8 +68,7 @@ public record PurchasedGames
|
||||
|
||||
public record Backend
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Lobby")]
|
||||
public string? Lobby { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record GameEmptyCrcRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("crc")]
|
||||
public int? Crc { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record GameKeepAliveResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("msg")]
|
||||
public string? Message { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record GameLogoutResponseData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("status")]
|
||||
public string? Status { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record GameModeRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("sessionMode")]
|
||||
public string? SessionMode { get; set; }
|
||||
|
||||
@@ -10,8 +10,7 @@ public enum SessionMode
|
||||
|
||||
public record GameModeResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("gameMode")]
|
||||
public string? GameMode { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record GameStartResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("utc_time")]
|
||||
public double UtcTime { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record GetItemPricesResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("supplyNextTime")]
|
||||
public double? SupplyNextTime { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record GetRaidTimeRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Side")]
|
||||
public string? Side { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record GetRaidTimeResponse
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("NewSurviveTimeSeconds")]
|
||||
public double? NewSurviveTimeSeconds { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record SendClientModsRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("activeClientMods")]
|
||||
public List<ProfileActiveClientMods> ActiveClientMods { get; set; } = [];
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record SendSurveyOpinionRequest : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("resultJson")]
|
||||
public string? ResultJson { get; set; }
|
||||
@@ -20,8 +19,7 @@ public record SendSurveyOpinionRequest : IRequestData
|
||||
|
||||
public record SurveyOpinionAnswer
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("questionId")]
|
||||
public int? QuestionId { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record ServerDetails
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("ip")]
|
||||
public string? Ip { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record SurveyResponseData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("locale")]
|
||||
public Dictionary<string, Dictionary<string, string>>? Locale { get; set; }
|
||||
@@ -16,8 +15,7 @@ public record SurveyResponseData
|
||||
|
||||
public record Survey
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public int? Id { get; set; }
|
||||
@@ -40,8 +38,7 @@ public record Survey
|
||||
|
||||
public record WelcomePageData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("titleLocaleKey")]
|
||||
public string? TitleLocaleKey { get; set; }
|
||||
@@ -55,8 +52,7 @@ public record WelcomePageData
|
||||
|
||||
public record FarewellPageData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("textLocaleKey")]
|
||||
public string? TextLocaleKey { get; set; }
|
||||
@@ -64,8 +60,7 @@ public record FarewellPageData
|
||||
|
||||
public record SurveyQuestion
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public int? Id { get; set; }
|
||||
@@ -91,8 +86,7 @@ public record SurveyQuestion
|
||||
|
||||
public record SurveyAnswer
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public int? Id { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
|
||||
|
||||
public record VersionValidateRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("version")]
|
||||
public Version? Version { get; set; }
|
||||
@@ -17,8 +16,7 @@ public record VersionValidateRequestData : IRequestData
|
||||
|
||||
public record Version
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("major")]
|
||||
public string? Major { get; set; }
|
||||
|
||||
@@ -25,8 +25,7 @@ public record HealthTreatmentRequestData : InventoryBaseActionRequestData
|
||||
|
||||
public record Difference
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("BodyParts")]
|
||||
public Dictionary<string, BodyPartValues>? BodyParts { get; set; }
|
||||
@@ -40,8 +39,7 @@ public record Difference
|
||||
|
||||
public record BodyPartValues
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public double Health { get; set; }
|
||||
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Health;
|
||||
|
||||
public record SyncHealthRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Health")]
|
||||
public List<BodyPartHealth>? Health { get; set; }
|
||||
@@ -25,8 +24,7 @@ public record SyncHealthRequestData
|
||||
|
||||
public record BodyPartCollection
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Head")]
|
||||
public BodyPartHealth? Head { get; set; }
|
||||
@@ -52,8 +50,7 @@ public record BodyPartCollection
|
||||
|
||||
public record BodyPartHealth
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Maximum")]
|
||||
public int? Maximum { get; set; }
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Health;
|
||||
|
||||
public class WorkoutData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("skills")]
|
||||
public WorkoutSkills? Skills { get; set; }
|
||||
@@ -16,8 +15,7 @@ public class WorkoutData : IRequestData
|
||||
|
||||
public record WorkoutSkills
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Common")]
|
||||
public List<CommonSkill> Common { get; set; }
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
|
||||
|
||||
public record HideoutArea
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -46,8 +45,7 @@ public record HideoutArea
|
||||
|
||||
public record HideoutAreaRequirement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("areaType")]
|
||||
public int? AreaType { get; set; }
|
||||
@@ -61,8 +59,7 @@ public record HideoutAreaRequirement
|
||||
|
||||
public record Stage
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("autoUpgrade")]
|
||||
public bool? AutoUpgrade { get; set; }
|
||||
@@ -100,8 +97,7 @@ public record Stage
|
||||
|
||||
public record StageImprovement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -118,8 +114,7 @@ public record StageImprovement
|
||||
|
||||
public record StageImprovementBonus
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -145,8 +140,7 @@ public record StageImprovementBonus
|
||||
|
||||
public record StageImprovementRequirement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("count")]
|
||||
public int? Count { get; set; }
|
||||
@@ -169,8 +163,7 @@ public record StageImprovementRequirement
|
||||
|
||||
public record StageRequirement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("areaType")]
|
||||
public int? AreaType { get; set; }
|
||||
|
||||
+1
-2
@@ -15,8 +15,7 @@ public record HideoutContinuousProductionStartRequestData : InventoryBaseActionR
|
||||
|
||||
public record HideoutProperties
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
public int? BtcFarmGcs { get; set; }
|
||||
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
|
||||
|
||||
public record HideoutCustomisation
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("globals")]
|
||||
public List<HideoutCustomisationGlobal>? Globals { get; set; }
|
||||
@@ -18,8 +17,7 @@ public record HideoutCustomisation
|
||||
|
||||
public record HideoutCustomisationGlobal
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -45,8 +43,7 @@ public record HideoutCustomisationGlobal
|
||||
|
||||
public record HideoutCustomisationSlot
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
|
||||
|
||||
public record HideoutProductionData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("recipes")]
|
||||
public List<HideoutProduction>? Recipes { get; set; }
|
||||
@@ -21,8 +20,7 @@ public record HideoutProductionData
|
||||
|
||||
public record HideoutProduction
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -66,8 +64,7 @@ public record HideoutProduction
|
||||
|
||||
public record Requirement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("templateId")]
|
||||
public MongoId? TemplateId { get; set; }
|
||||
@@ -105,8 +102,7 @@ public record Requirement
|
||||
|
||||
public record ScavRecipe
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public MongoId Id { get; set; }
|
||||
@@ -123,8 +119,7 @@ public record ScavRecipe
|
||||
|
||||
public record EndProducts
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("Common")]
|
||||
public MinMax<int>? Common { get; set; }
|
||||
@@ -138,8 +133,7 @@ public record EndProducts
|
||||
|
||||
public record CultistRecipe
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public MongoId Id { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
|
||||
|
||||
public record HideoutSettingsBase
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("generatorSpeedWithoutFuel")]
|
||||
public double? GeneratorSpeedWithoutFuel { get; set; }
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
|
||||
|
||||
public record QteData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -48,8 +47,7 @@ public record QteData
|
||||
|
||||
public record QuickTimeEvent
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
@@ -76,8 +74,7 @@ public record QuickTimeEvent
|
||||
|
||||
public record QteRequirement
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public RequirementType? RequirementType { get; set; }
|
||||
@@ -85,8 +82,7 @@ public record QteRequirement
|
||||
|
||||
public record QteResult
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("energy")]
|
||||
public int? Energy { get; set; }
|
||||
@@ -100,8 +96,7 @@ public record QteResult
|
||||
|
||||
public record QteEffect
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
@@ -127,8 +122,7 @@ public record QteEffect
|
||||
|
||||
public record SkillLevelMultiplier
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("level")]
|
||||
public int? Level { get; set; }
|
||||
@@ -139,8 +133,7 @@ public record SkillLevelMultiplier
|
||||
|
||||
public record Position
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("x")]
|
||||
public float? X { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.HttpResponse;
|
||||
|
||||
public record GetBodyResponseData<T>
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("err")]
|
||||
public BackendErrorCodes? Err { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.HttpResponse;
|
||||
|
||||
public record NullResponseData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("err")]
|
||||
public int? Err { get; set; }
|
||||
|
||||
@@ -4,8 +4,7 @@ namespace SPTarkov.Server.Core.Models.Eft.InRaid;
|
||||
|
||||
public record InsuredItemsData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.InRaid;
|
||||
|
||||
public record ItemDeliveryRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("items")]
|
||||
public List<Item>? Items { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.InRaid;
|
||||
|
||||
public record RegisterPlayerRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("crc")]
|
||||
public int? Crc { get; set; }
|
||||
|
||||
@@ -6,8 +6,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Insurance;
|
||||
|
||||
public record GetInsuranceCostRequestData : IRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("traders")]
|
||||
public List<MongoId>? Traders { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory;
|
||||
|
||||
public record AddItemDirectRequest
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Item and child mods to add to player inventory
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory;
|
||||
|
||||
public record AddItemRequestData
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Trader id
|
||||
@@ -20,8 +19,7 @@ public record AddItemRequestData
|
||||
|
||||
public record ItemToAdd
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("count")]
|
||||
public int? Count { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory;
|
||||
|
||||
public record AddItemTempObject
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("itemRef")]
|
||||
public Item? ItemReference { get; set; }
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory;
|
||||
|
||||
public record AddItemsDirectRequest
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Item and child mods to add to player inventory
|
||||
|
||||
+3
-6
@@ -7,8 +7,7 @@ public abstract record InventoryBaseActionRequestData : BaseInteractionRequestDa
|
||||
|
||||
public record To
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -25,8 +24,7 @@ public record To
|
||||
|
||||
public record Container
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -40,8 +38,7 @@ public record Container
|
||||
|
||||
public record Location
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
||||
|
||||
|
||||
[JsonPropertyName("x")]
|
||||
public double? X { get; set; }
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user