Format Style Fixes

This commit is contained in:
sp-tarkov-bot
2025-08-21 09:46:00 +00:00
parent d14e7cc155
commit 48b00a2814
260 changed files with 26 additions and 1783 deletions
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Common;
public record IdWithCount
{
/// <summary>
/// ID of stack to take money from
/// </summary>
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Common;
public record MinMax<T>
where T : IMinMaxValue<T>
{
public MinMax(T min, T max)
{
Min = min;
@@ -5,16 +5,12 @@ namespace SPTarkov.Server.Core.Models.Eft.Bot;
public record GenerateBotsRequestData : IRequestData
{
[JsonPropertyName("conditions")]
public List<GenerateCondition>? Conditions { get; set; }
}
public record GenerateCondition
{
/// <summary>
/// e.g. assault/pmcBot/bossKilla
/// </summary>
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Bot;
public record RandomisedBotLevelResult
{
[JsonPropertyName("level")]
public int? Level { get; set; }
@@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Builds;
public record SetMagazineRequest : IRequestData
{
[JsonPropertyName("Id")]
public MongoId Id { get; set; }
@@ -3,7 +3,4 @@ using SPTarkov.Server.Core.Models.Utils;
namespace SPTarkov.Server.Core.Models.Eft.Common;
public record EmptyRequestData : IRequestData
{
}
public record EmptyRequestData : IRequestData { }
File diff suppressed because it is too large Load Diff
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
public record Location
{
/// <summary>
/// Map meta-data
/// </summary>
@@ -50,8 +48,6 @@ public record Location
public record StaticContainer
{
[JsonPropertyName("containersGroups")]
public Dictionary<string, ContainerMinMax>? ContainersGroups { get; set; }
@@ -61,8 +57,6 @@ public record StaticContainer
public record ContainerMinMax
{
[JsonPropertyName("minContainers")]
public int? MinContainers { get; set; }
@@ -78,16 +72,12 @@ public record ContainerMinMax
public record ContainerData
{
[JsonPropertyName("groupId")]
public string? GroupId { get; set; }
}
public record StaticLootDetails
{
[JsonPropertyName("itemcountDistribution")]
public ItemCountDistribution[] ItemCountDistribution { get; set; }
@@ -97,8 +87,6 @@ public record StaticLootDetails
public record ItemCountDistribution
{
[JsonPropertyName("count")]
public int? Count { get; set; }
@@ -108,8 +96,6 @@ public record ItemCountDistribution
public record ItemDistribution
{
[JsonPropertyName("tpl")]
public MongoId Tpl { get; set; }
@@ -119,8 +105,6 @@ public record ItemDistribution
public record StaticContainerDetails
{
[JsonPropertyName("staticWeapons")]
public IEnumerable<SpawnpointTemplate> StaticWeapons { get; set; }
@@ -133,8 +117,6 @@ public record StaticContainerDetails
public record StaticForced
{
[JsonPropertyName("containerId")]
public string ContainerId { get; set; }
@@ -144,8 +126,6 @@ public record StaticForced
public record StaticContainerData
{
[JsonPropertyName("probability")]
public float? Probability { get; set; }
@@ -155,8 +135,6 @@ public record StaticContainerData
public record StaticAmmoDetails
{
[JsonPropertyName("tpl")]
public MongoId? Tpl { get; set; }
@@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
public record LocationBase
{
[JsonPropertyName("AccessKeys")]
public IEnumerable<string>? AccessKeys { get; set; }
@@ -374,8 +372,6 @@ public record LocationBase
public record EventTrapsData
{
public double MaxBarbedWires { get; set; }
public double MaxTrapDoors { get; set; }
@@ -387,8 +383,6 @@ public record EventTrapsData
public record Transit
{
[JsonPropertyName("activateAfterSec")]
public int? ActivateAfterSeconds { get; set; }
@@ -425,8 +419,6 @@ public record Transit
public record NonWaveGroupScenario
{
[JsonPropertyName("Chance")]
public double? Chance { get; set; }
@@ -448,8 +440,6 @@ public record Limit : MinMax<int>
public record AirdropParameter
{
[JsonPropertyName("AirdropPointDeactivateDistance")]
public int? AirdropPointDeactivateDistance { get; set; }
@@ -483,8 +473,6 @@ public record AirdropParameter
public record Banner
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -494,8 +482,6 @@ public record Banner
public record Pic
{
[JsonPropertyName("file")]
public string? File { get; set; }
@@ -511,8 +497,6 @@ public record Pic
public record BossLocationSpawn
{
[JsonPropertyName("BossChance")]
public double? BossChance { get; set; }
@@ -583,8 +567,6 @@ public record BossLocationSpawn
public record BossSupport
{
[JsonPropertyName("BossEscortAmount")]
public string? BossEscortAmount { get; set; }
@@ -597,8 +579,6 @@ public record BossSupport
public record BotLocationModifier
{
[JsonPropertyName("AccuracySpeed")]
public double? AccuracySpeed { get; set; }
@@ -683,8 +663,6 @@ public record BotLocationModifier
public record AdditionalHostilitySettings
{
[JsonPropertyName("AlwaysEnemies")]
public HashSet<string>? AlwaysEnemies { get; set; }
@@ -724,8 +702,6 @@ public record AdditionalHostilitySettings
public record ChancedEnemy
{
[JsonPropertyName("EnemyChance")]
public int? EnemyChance { get; set; }
@@ -741,8 +717,6 @@ public record MinMaxBot : MinMax<int>
public record MinPlayerWaitTime
{
[JsonPropertyName("minPlayers")]
public int? MinPlayers { get; set; }
@@ -752,8 +726,6 @@ public record MinPlayerWaitTime
public record Preview
{
[JsonPropertyName("path")]
public string? Path { get; set; }
@@ -763,8 +735,6 @@ public record Preview
public record Scene
{
[JsonPropertyName("path")]
public string? Path { get; set; }
@@ -774,8 +744,6 @@ public record Scene
public record SpawnPointParam
{
[JsonPropertyName("BotZoneName")]
public string? BotZoneName { get; set; }
@@ -809,8 +777,6 @@ public record SpawnPointParam
public record ColliderParams
{
private string? _parent;
[JsonPropertyName("_parent")]
@@ -826,8 +792,6 @@ public record ColliderParams
public record ColliderProps
{
[JsonPropertyName("Center")]
public XYZ? Center { get; set; }
@@ -840,8 +804,6 @@ public record ColliderProps
public record Exit
{
/// <summary>
/// % Chance out of 100 exit will appear in raid
/// </summary>
@@ -935,8 +897,6 @@ public record Exit
public record MaxItemCountInLocation
{
[JsonPropertyName("TemplateId")]
public string? TemplateId { get; set; }
@@ -946,8 +906,6 @@ public record MaxItemCountInLocation
public record Wave
{
[JsonPropertyName("BotPreset")]
public string? BotPreset { get; set; }
@@ -1003,8 +961,6 @@ public record Wave
public record LocationEvents
{
[JsonPropertyName("Halloween2024")]
public Halloween2024? Halloween2024 { get; set; }
@@ -1013,15 +969,11 @@ public record LocationEvents
public record Khorovod
{
public double? Chance { get; set; }
}
public record Halloween2024
{
[JsonPropertyName("CrowdAttackBlockRadius")]
public double? CrowdAttackBlockRadius { get; set; }
@@ -1069,8 +1021,6 @@ public record Halloween2024
public record CrowdAttackSpawnParam
{
[JsonPropertyName("Difficulty")]
public string? Difficulty { get; set; }
@@ -1083,8 +1033,6 @@ public record CrowdAttackSpawnParam
public record Area
{
[JsonPropertyName("center")]
public XYZ? Center { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
public record LooseLoot
{
[JsonPropertyName("spawnpointCount")]
public SpawnpointCount? SpawnpointCount { get; set; }
@@ -19,8 +17,6 @@ public record LooseLoot
public record SpawnpointCount
{
[JsonPropertyName("mean")]
public required double Mean { get; set; }
@@ -30,8 +26,6 @@ public record SpawnpointCount
public record SpawnpointTemplate
{
private string? _root;
/// <summary>
@@ -77,16 +71,12 @@ public record SpawnpointTemplate
public record SptLootItem : Item
{
[JsonPropertyName("composedKey")]
public string? ComposedKey { get; set; }
}
public record GroupPosition
{
private string? _name;
[JsonPropertyName("Name")]
@@ -108,8 +98,6 @@ public record GroupPosition
public record Spawnpoint
{
[JsonPropertyName("locationId")]
public string? LocationId { get; set; }
@@ -125,8 +113,6 @@ public record Spawnpoint
public record LooseLootItemDistribution
{
[JsonPropertyName("composedKey")]
public ComposedKey? ComposedKey { get; set; }
@@ -136,8 +122,6 @@ public record LooseLootItemDistribution
public record ComposedKey
{
private string? _key;
[JsonPropertyName("key")]
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
public record MetricsTableData
{
[JsonPropertyName("Keys")]
public List<int>? Keys { get; set; }
@@ -22,8 +22,6 @@ public record PostRaidPmcData : PmcData { }
public record PostRaidStats
{
[JsonPropertyName("Eft")]
public EftStats? Eft { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Request;
public record BaseInteractionRequestData
{
[JsonPropertyName("Action")]
public string? Action { get; set; }
@@ -19,8 +17,6 @@ public record BaseInteractionRequestData
public record OwnerInfo
{
[JsonPropertyName("id")]
public MongoId? Id { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Request;
public record UIDRequestData : IRequestData
{
[JsonPropertyName("uid")]
public string? Uid { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record Achievement
{
[JsonPropertyName("index")]
public required int Index { get; set; }
@@ -52,8 +50,6 @@ public record Achievement
public record AchievementQuestConditionTypes
{
[JsonPropertyName("started")]
public List<QuestCondition>? Started { get; set; }
@@ -9,8 +9,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record BotBase
{
[JsonPropertyName("_id")]
public MongoId? Id { get; set; }
@@ -117,8 +115,6 @@ public record BotBase
public record MoneyTransferLimits
{
// Resets every 24 hours in live
/// <summary>
/// TODO: Implement
@@ -140,8 +136,6 @@ public record TaskConditionCounter
{
private string? _type;
[JsonPropertyName("id")]
public MongoId? Id { get; set; }
@@ -164,16 +158,12 @@ public record TaskConditionCounter
public record UnlockedInfo
{
[JsonPropertyName("unlockedProductionRecipe")]
public HashSet<MongoId>? UnlockedProductionRecipe { get; set; }
}
public record Info
{
private string? _side;
public string? EntryPoint { get; set; }
@@ -262,8 +252,6 @@ public record Info
public record BotInfoSettings
{
private string? _botDifficulty;
private string? _role;
@@ -291,8 +279,6 @@ public record BotInfoSettings
public record Ban
{
[JsonPropertyName("banType")]
public BanType? BanType { get; set; }
@@ -313,8 +299,6 @@ public enum BanType
public record Customization
{
public MongoId? Head { get; set; }
public MongoId? Body { get; set; }
@@ -330,8 +314,6 @@ public record Customization
public record BotBaseHealth
{
public CurrentMinMax? Hydration { get; set; }
public CurrentMinMax? Energy { get; set; }
@@ -351,8 +333,6 @@ public record BotBaseHealth
public record BodyPartHealth
{
public CurrentMinMax? Health { get; set; }
public Dictionary<string, BodyPartEffectProperties?>? Effects { get; set; } // TODO: change key to DamageEffectType enum
@@ -360,8 +340,6 @@ public record BodyPartHealth
public record BodyPartEffectProperties
{
// TODO: this was any, what actual type is it?
public object? ExtraData { get; set; }
@@ -370,8 +348,6 @@ public record BodyPartEffectProperties
public record CurrentMinMax
{
public double? Current { get; set; }
public double? Minimum { get; set; }
@@ -385,8 +361,6 @@ public record CurrentMinMax
public record BotBaseInventory
{
[JsonPropertyName("items")]
public List<Item>? Items { get; set; }
@@ -432,8 +406,6 @@ public record BotBaseInventory
public record Skills
{
public IEnumerable<CommonSkill> Common { get; set; }
public IEnumerable<MasterySkill>? Mastering { get; set; }
@@ -443,8 +415,6 @@ public record Skills
public record MasterySkill
{
public string Id { get; set; }
public double Progress { get; set; }
@@ -452,8 +422,6 @@ public record MasterySkill
public record CommonSkill
{
public double PointsEarnedDuringSession { get; set; }
public long LastAccess { get; set; }
@@ -472,15 +440,11 @@ public record CommonSkill
public record Stats
{
public EftStats? Eft { get; set; }
}
public record EftStats
{
public IEnumerable<string>? CarriedQuestItems { get; set; }
public IEnumerable<Victim>? Victims { get; set; }
@@ -521,8 +485,6 @@ public record EftStats
public record DroppedItem
{
public MongoId QuestId { get; set; }
public MongoId? ItemId { get; set; }
@@ -532,8 +494,6 @@ public record DroppedItem
public record FoundInRaidItem
{
public MongoId QuestId { get; set; }
public MongoId? ItemId { get; set; }
@@ -541,8 +501,6 @@ public record FoundInRaidItem
public record Victim
{
public string? AccountId { get; set; }
public MongoId? ProfileId { get; set; }
@@ -572,22 +530,16 @@ public record Victim
public record SessionCounters
{
public IEnumerable<CounterKeyValue>? Items { get; set; }
}
public record OverallCounters
{
public List<CounterKeyValue>? Items { get; set; }
}
public record CounterKeyValue
{
public HashSet<string>? Key { get; set; }
public double? Value { get; set; }
@@ -595,8 +547,6 @@ public record CounterKeyValue
public record Aggressor
{
public double? PrestigeLevel { get; set; }
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
@@ -627,8 +577,6 @@ public record Aggressor
public record DamageHistory
{
public string? LethalDamagePart { get; set; }
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
@@ -641,8 +589,6 @@ public record DamageHistory
public record BodyPartsDamageHistory
{
public List<DamageStats>? Head { get; set; }
public List<DamageStats>? Chest { get; set; }
@@ -664,8 +610,6 @@ public record DamageStats
{
private string? _type;
public double? Amount { get; set; }
public string? Type
@@ -686,8 +630,6 @@ public record DamageStats
public record DeathCause
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public DamageType? DamageType { get; set; }
@@ -702,8 +644,6 @@ public record DeathCause
public record LastPlayerState
{
public LastPlayerStateInfo? Info { get; set; }
public Dictionary<string, string>? Customization { get; set; }
@@ -714,8 +654,6 @@ public record LastPlayerState
public record LastPlayerStateInfo
{
public string? Nickname { get; set; }
public string? Side { get; set; }
@@ -727,8 +665,6 @@ public record LastPlayerStateInfo
public record BackendCounter
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -741,8 +677,6 @@ public record BackendCounter
public record InsuredItem
{
/// <summary>
/// Trader ID item was insured by
/// </summary>
@@ -755,8 +689,6 @@ public record InsuredItem
public record Hideout
{
public Dictionary<MongoId, Production?>? Production { get; set; }
public List<BotHideoutArea>? Areas { get; set; }
@@ -781,8 +713,6 @@ public record Hideout
public record HideoutCounters
{
[JsonPropertyName("fuelCounter")]
public double? FuelCounter { get; set; }
@@ -798,8 +728,6 @@ public record HideoutCounters
public record HideoutImprovement
{
[JsonPropertyName("completed")]
public bool? Completed { get; set; }
@@ -809,8 +737,6 @@ public record HideoutImprovement
public record Production // use this instead of productive and scavcase
{
public List<Item>? Products { get; set; }
/// <summary>
@@ -885,8 +811,6 @@ public record Production // use this instead of productive and scavcase
public record BotHideoutArea
{
[JsonPropertyName("type")]
public HideoutAreas Type { get; set; }
@@ -917,8 +841,6 @@ public record BotHideoutArea
public record HideoutSlot
{
/// <summary>
/// SPT specific value to keep track of what index this slot is (0,1,2,3 etc.)
/// </summary>
@@ -931,16 +853,12 @@ public record HideoutSlot
public record LastCompleted
{
[JsonPropertyName("$oid")]
public string? OId { get; set; }
}
public record Notes
{
[JsonPropertyName("Notes")]
public List<Note>? DataNotes { get; set; }
}
@@ -956,8 +874,6 @@ public enum SurvivorClass
public record TraderInfo
{
[JsonPropertyName("loyaltyLevel")]
public int? LoyaltyLevel { get; set; }
@@ -979,8 +895,6 @@ public record TraderInfo
public record RagfairInfo
{
[JsonPropertyName("rating")]
public double? Rating { get; set; }
@@ -999,8 +913,6 @@ public record RagfairInfo
public record Bonus
{
[JsonPropertyName("id")]
public MongoId Id { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record BotCore
{
[JsonPropertyName("SAVAGE_KILL_DIST")]
public double? SavageKillDistance { get; set; }
@@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record BotType
{
[JsonPropertyName("appearance")]
public Appearance BotAppearance { get; set; }
@@ -42,8 +40,6 @@ public record BotType
public record Appearance
{
[JsonPropertyName("body")]
public Dictionary<MongoId, double> Body { get; set; }
@@ -65,8 +61,6 @@ public record Appearance
public record Chances
{
[JsonPropertyName("equipment")]
public Dictionary<string, double> EquipmentChances { get; set; }
@@ -246,8 +240,6 @@ public double? ModPistol_Grip { get; set; }
public record DifficultyCategories
{
public Dictionary<string, object>? Aiming { get; set; } // TODO: string | number | boolean
public Dictionary<string, object>? Boss { get; set; } // TODO: string | number | boolean
@@ -279,8 +271,6 @@ public record DifficultyCategories
public record Experience
{
/// <summary>
/// key = bot difficulty
/// </summary>
@@ -308,16 +298,12 @@ public record Experience
public record Generation
{
[JsonPropertyName("items")]
public GenerationWeightingItems Items { get; set; }
}
public record GenerationData
{
/// <summary>
/// key: number of items, value: weighting
/// </summary>
@@ -334,8 +320,6 @@ public record GenerationData
public record GenerationWeightingItems
{
[JsonPropertyName("grenades")]
public GenerationData Grenades { get; set; }
@@ -378,8 +362,6 @@ public record GenerationWeightingItems
public record BotTypeHealth
{
public IEnumerable<BodyPart> BodyParts { get; set; }
public MinMax<double> Energy { get; set; }
@@ -391,8 +373,6 @@ public record BotTypeHealth
public record BodyPart
{
public MinMax<double> Chest { get; set; }
public MinMax<double> Head { get; set; }
@@ -410,8 +390,6 @@ public record BodyPart
public record BotTypeInventory
{
[JsonPropertyName("equipment")]
public Dictionary<EquipmentSlots, Dictionary<MongoId, double>> Equipment { get; set; }
@@ -426,8 +404,6 @@ public record BotTypeInventory
public record ItemPools
{
public Dictionary<MongoId, double> Backpack { get; set; }
public Dictionary<MongoId, double> Pockets { get; set; }
@@ -441,8 +417,6 @@ public record ItemPools
public record BotDbSkills
{
public Dictionary<string, MinMax<double>> Common { get; set; }
public Dictionary<string, MinMax<double>>? Mastering { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record CustomisationStorage
{
// Customisation.json/itemId
[JsonPropertyName("id")]
public MongoId Id { get; set; }
@@ -20,8 +18,6 @@ public record CustomisationStorage
public record CustomisationType
{
public const string SUITE = "suite";
public const string DOG_TAG = "dogTag";
public const string HEAD = "head";
@@ -40,8 +36,6 @@ public record CustomisationType
public record CustomisationTypeId
{
public const string CUSTOMIZATION = "5cbdb4a2e2b501000d352ae2";
public const string BODY_PARTS = "5cd943c31388ce000a659df5";
public const string BODY = "5cc0868e14c02e000c6bea68";
@@ -68,8 +62,6 @@ public record CustomisationTypeId
public record CustomisationSource
{
public const string QUEST = "quest";
public const string PRESTIGE = "prestige";
public const string ACHIEVEMENT = "achievement";
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record CustomizationItem
{
[JsonPropertyName("_id")]
public MongoId Id { get; set; }
@@ -28,8 +26,6 @@ public record CustomizationItem
public class CustomizationProps
{
[JsonPropertyName("Prefab")]
public object? Prefab { get; set; } // Prefab object or string
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record HandbookBase
{
[JsonPropertyName("Categories")]
public List<HandbookCategory> Categories { get; set; }
@@ -16,8 +14,6 @@ public record HandbookBase
public record HandbookCategory
{
[JsonPropertyName("Id")]
public MongoId Id { get; set; }
@@ -38,8 +34,6 @@ public record HandbookCategory
public record HandbookItem
{
[JsonPropertyName("Id")]
public MongoId Id { get; set; }
@@ -7,7 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record Item
{
private string? _parentId;
private string? _slotId;
@@ -46,8 +45,6 @@ public record Item
public record HideoutItem
{
/// <summary>
/// Hideout inventory id that was used by improvement action
/// </summary>
@@ -83,8 +80,6 @@ public record HideoutItem
public record ItemLocation
{
[JsonPropertyName("x")]
public int? X { get; set; }
@@ -116,8 +111,6 @@ public enum ItemRotation
public record Upd
{
public UpdBuff? Buff { get; set; }
public double? OriginalStackObjectsCount { get; set; }
@@ -182,16 +175,12 @@ public record Upd
public record LockableKeyComponent
{
public float? RelativeValue { get; set; }
public int? NumberOfUsages { get; set; }
}
public record LockableComponent
{
public IEnumerable<string>? KeyIds { get; set; }
public bool? Locked { get; set; }
public LockableKeyComponent? KeyComponent { get; set; }
@@ -206,8 +195,6 @@ public enum PinLockState
public record UpdBuff
{
[JsonPropertyName("Rarity")]
public string? Rarity { get; set; }
@@ -224,24 +211,18 @@ public record UpdBuff
public record UpdTogglable
{
[JsonPropertyName("On")]
public bool? On { get; set; }
}
public record UpdMap
{
[JsonPropertyName("Markers")]
public List<MapMarker>? Markers { get; set; }
}
public record MapMarker
{
[JsonPropertyName("Type")]
public string? Type { get; set; }
@@ -257,8 +238,6 @@ public record MapMarker
public record UpdTag
{
[JsonPropertyName("Color")]
public int? Color { get; set; }
@@ -268,8 +247,6 @@ public record UpdTag
public record UpdFaceShield
{
[JsonPropertyName("Hits")]
public int? Hits { get; set; }
@@ -279,8 +256,6 @@ public record UpdFaceShield
public record UpdRepairable
{
[JsonPropertyName("Durability")]
public double? Durability { get; set; }
@@ -290,24 +265,18 @@ public record UpdRepairable
public record UpdRecodableComponent
{
[JsonPropertyName("IsEncoded")]
public bool? IsEncoded { get; set; }
}
public record UpdMedKit
{
[JsonPropertyName("HpResource")]
public double? HpResource { get; set; }
}
public record UpdSight
{
[JsonPropertyName("ScopesCurrentCalibPointIndexes")]
public IEnumerable<int>? ScopesCurrentCalibPointIndexes { get; set; }
@@ -322,32 +291,24 @@ public record UpdSight
public record UpdFoldable
{
[JsonPropertyName("Folded")]
public bool? Folded { get; set; }
}
public record UpdFireMode
{
[JsonPropertyName("FireMode")]
public string? FireMode { get; set; }
}
public record UpdFoodDrink
{
[JsonPropertyName("HpPercent")]
public double? HpPercent { get; set; }
}
public record UpdKey
{
// Checked in client
[JsonPropertyName("NumberOfUsages")]
public int? NumberOfUsages { get; set; }
@@ -355,8 +316,6 @@ public record UpdKey
public record UpdResource
{
[JsonPropertyName("Value")]
public double? Value { get; set; }
@@ -366,8 +325,6 @@ public record UpdResource
public record UpdLight
{
[JsonPropertyName("IsActive")]
public bool? IsActive { get; set; }
@@ -377,8 +334,6 @@ public record UpdLight
public record UpdDogtag
{
[JsonPropertyName("AccountId")]
public string? AccountId { get; set; }
@@ -427,24 +382,18 @@ public record UpdDogtag
public record UpdSideEffect
{
[JsonPropertyName("Value")]
public double? Value { get; set; }
}
public record UpdRepairKit
{
[JsonPropertyName("Resource")]
public double? Resource { get; set; }
}
public record UpdCultistAmulet
{
[JsonPropertyName("NumberOfUsages")]
public double? NumberOfUsages { get; set; }
}
@@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record LocationServices
{
[JsonPropertyName("TraderServerSettings")]
public TraderServerSettings TraderServerSettings { get; set; }
@@ -18,16 +16,12 @@ public record LocationServices
public record TraderServerSettings
{
[JsonPropertyName("TraderServices")]
public TraderServices TraderServices { get; set; }
}
public record TraderServices
{
[JsonPropertyName("ExUsecLoyalty")]
public TraderService ExUsecLoyalty { get; set; }
@@ -52,8 +46,6 @@ public record TraderServices
public record TraderService
{
[JsonPropertyName("TraderId")]
public string TraderId { get; set; }
@@ -74,8 +66,6 @@ public record TraderService
public record ServiceRequirements
{
[JsonPropertyName("CompletedQuests")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
public List<CompletedQuest> CompletedQuests { get; set; }
@@ -88,32 +78,24 @@ public record ServiceRequirements
public record CompletedQuest
{
[JsonPropertyName("QuestId")]
public string QuestId { get; set; }
}
public record StandingRequirement
{
[JsonPropertyName("Value")]
public double Value { get; set; }
}
public record ServiceItemCostDetails
{
[JsonPropertyName("Count")]
public int Count { get; set; }
}
public record BtrServerSettings
{
[JsonPropertyName("ChanceSpawn")]
public double ChanceSpawn { get; set; }
@@ -162,8 +144,6 @@ public record BtrServerSettings
public record ServerMapBtrsettings
{
[JsonPropertyName("MapID")]
public string MapID { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record LocationsBase
{
[JsonPropertyName("locations")]
public Locations? Locations { get; set; }
@@ -16,14 +14,11 @@ public record LocationsBase
public record Locations
{
// Add properties as necessary
}
public record Path
{
[JsonPropertyName("Source")]
public string? Source { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record LocationsGenerateAllResponse
{
[JsonPropertyName("locations")]
public Dictionary<MongoId, LocationBase> Locations { get; set; }
@@ -4,16 +4,12 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record Match
{
[JsonPropertyName("metrics")]
public Metrics Metrics { get; set; }
}
public record Metrics
{
[JsonPropertyName("Keys")]
public List<int> Keys { get; set; }
@@ -5,16 +5,12 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record Prestige
{
[JsonPropertyName("elements")]
public List<PrestigeElement> Elements { get; set; }
}
public record PrestigeElement
{
[JsonPropertyName("id")]
public string Id { get; set; }
@@ -36,8 +32,6 @@ public record PrestigeElement
public record TransferConfigs
{
[JsonPropertyName("stashConfig")]
public StashPrestigeConfig StashConfig { get; set; }
@@ -50,8 +44,6 @@ public record TransferConfigs
public record StashPrestigeConfig
{
[JsonPropertyName("xCellCount")]
public int? XCellCount { get; set; }
@@ -64,8 +56,6 @@ public record StashPrestigeConfig
public record StashPrestigeFilters
{
[JsonPropertyName("includedItems")]
public List<MongoId> IncludedItems { get; set; }
@@ -75,16 +65,12 @@ public record StashPrestigeFilters
public record PrestigeSkillConfig
{
[JsonPropertyName("transferMultiplier")]
public double TransferMultiplier { get; set; }
}
public record PrestigeMasteringConfig
{
[JsonPropertyName("transferMultiplier")]
public double TransferMultiplier { get; set; }
}
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record ProfileSides
{
[JsonPropertyName("descriptionLocaleKey")]
public string? DescriptionLocaleKey { get; set; }
@@ -20,8 +18,6 @@ public record ProfileSides
public record TemplateSide
{
[JsonPropertyName("character")]
public PmcData? Character { get; set; }
@@ -46,8 +42,6 @@ public record TemplateSide
public record ProfileTraderTemplate
{
[JsonPropertyName("initialLoyaltyLevel")]
public Dictionary<MongoId, int?>? InitialLoyaltyLevel { get; set; }
@@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record Quest
{
/// <summary>
/// SPT addition - human readable quest name
/// </summary>
@@ -128,8 +126,6 @@ public record Quest
/// </summary>
public record QuestStatus
{
[JsonPropertyName("qid")]
public required MongoId QId { get; set; }
@@ -151,8 +147,6 @@ public record QuestStatus
public record QuestConditionTypes
{
[JsonPropertyName("Started")]
public List<QuestCondition>? Started { get; set; }
@@ -173,8 +167,6 @@ public record QuestCondition
{
private string _conditionType;
[JsonPropertyName("id")]
public required MongoId Id { get; set; }
@@ -320,8 +312,6 @@ public record QuestCondition
public record QuestConditionCounter
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -331,8 +321,6 @@ public record QuestConditionCounter
public record QuestConditionCounterCondition
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -423,8 +411,6 @@ public record QuestConditionCounterCondition
public record EnemyHealthEffect
{
[JsonPropertyName("bodyParts")]
public List<string>? BodyParts { get; set; }
@@ -434,8 +420,6 @@ public record EnemyHealthEffect
public record ValueCompare
{
[JsonPropertyName("compareMethod")]
public string? CompareMethod { get; set; }
@@ -445,8 +429,6 @@ public record ValueCompare
public record CounterConditionDistance
{
[JsonPropertyName("value")]
public double? Value { get; set; }
@@ -456,8 +438,6 @@ public record CounterConditionDistance
public record DaytimeCounter
{
[JsonPropertyName("from")]
public int? From { get; set; }
@@ -467,8 +447,6 @@ public record DaytimeCounter
public record VisibilityCondition
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -23,8 +23,6 @@ public record RepeatableQuest : Quest
public record RepeatableQuestDatabase
{
[JsonPropertyName("templates")]
public RepeatableTemplates? Templates { get; set; }
@@ -40,8 +38,6 @@ public record RepeatableQuestDatabase
public record RepeatableQuestStatus
{
[JsonPropertyName("id")]
public MongoId Id { get; set; }
@@ -63,8 +59,6 @@ public record RepeatableQuestStatus
public record RepeatableTemplates
{
[JsonPropertyName("Elimination")]
public RepeatableQuest? Elimination { get; set; }
@@ -80,8 +74,6 @@ public record RepeatableTemplates
public record PmcDataRepeatableQuest
{
[JsonPropertyName("id")]
public MongoId? Id { get; set; }
@@ -116,8 +108,6 @@ public record PmcDataRepeatableQuest
public record ChangeRequirement
{
[JsonPropertyName("changeCost")]
public List<ChangeCost?>? ChangeCost { get; set; }
@@ -127,8 +117,6 @@ public record ChangeRequirement
public record ChangeCost
{
/// <summary>
/// What item it will take to reset daily
/// </summary>
@@ -146,24 +134,18 @@ public record ChangeCost
public record RewardOptions
{
[JsonPropertyName("itemsBlacklist")]
public List<string>? ItemsBlacklist { get; set; }
}
public record Options
{
[JsonPropertyName("Completion")]
public CompletionFilter? Completion { get; set; }
}
public record CompletionFilter
{
[JsonPropertyName("itemsBlacklist")]
public List<ItemsBlacklist>? ItemsBlacklist { get; set; }
@@ -173,8 +155,6 @@ public record CompletionFilter
public record ItemsBlacklist
{
[JsonPropertyName("minPlayerLevel")]
public int? MinPlayerLevel { get; set; }
@@ -184,8 +164,6 @@ public record ItemsBlacklist
public record ItemsWhitelist
{
[JsonPropertyName("minPlayerLevel")]
public int? MinPlayerLevel { get; set; }
@@ -195,8 +173,6 @@ public record ItemsWhitelist
public record SampleQuests
{
[JsonPropertyName("_id")]
public string? Id { get; set; }
@@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record Reward
{
[JsonPropertyName("value")]
[JsonConverter(typeof(StringToNumberFactoryConverter))]
public double? Value { get; set; }
@@ -72,8 +70,6 @@ public record Reward
public record IllustrationConfig
{
[JsonPropertyName("Image")]
public string image { get; set; }
@@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record TemplateItem
{
private Dictionary<string, bool>? _blocks;
private string? _name;
@@ -72,8 +70,6 @@ public record TemplateItem
public record Props
{
private string? _backgroundColor;
private string? _itemSound;
@@ -1576,8 +1572,6 @@ public record Props
public record WeaponRecoilSettings
{
[JsonPropertyName("Enable")]
public bool? Enable { get; set; }
@@ -1587,8 +1581,6 @@ public record WeaponRecoilSettings
public record WeaponRecoilSettingValues
{
[JsonPropertyName("Enable")]
public bool? Enable { get; set; }
@@ -1601,8 +1593,6 @@ public record WeaponRecoilSettingValues
public record WeaponRecoilProcess
{
[JsonPropertyName("ComponentType")]
public string? ComponentType { get; set; }
@@ -1621,16 +1611,12 @@ public record WeaponRecoilProcess
public record WeaponRecoilTransformationCurve
{
[JsonPropertyName("Keys")]
public IEnumerable<WeaponRecoilTransformationCurveKey>? Keys { get; set; }
}
public record WeaponRecoilTransformationCurveKey
{
[JsonPropertyName("inTangent")]
public double? InTangent { get; set; }
@@ -1646,8 +1632,6 @@ public record WeaponRecoilTransformationCurveKey
public record HealthEffect
{
[JsonPropertyName("type")]
public string? Type { get; set; }
@@ -1657,8 +1641,6 @@ public record HealthEffect
public record Prefab
{
[JsonPropertyName("path")]
public string? Path { get; set; }
@@ -1668,8 +1650,6 @@ public record Prefab
public record Grid
{
[JsonPropertyName("_name")]
public string? Name { get; set; }
@@ -1688,8 +1668,6 @@ public record Grid
public record GridProps
{
[JsonPropertyName("filters")]
public IEnumerable<GridFilter>? Filters { get; set; }
@@ -1714,8 +1692,6 @@ public record GridProps
public record GridFilter
{
[JsonPropertyName("Filter")]
public HashSet<MongoId>? Filter { get; set; }
@@ -1728,8 +1704,6 @@ public record GridFilter
public record Slot
{
private string? _name;
private string? _proto;
@@ -1769,8 +1743,6 @@ public record Slot
public record SlotProps
{
[JsonPropertyName("filters")]
public IEnumerable<SlotFilter>? Filters { get; set; }
@@ -1780,8 +1752,6 @@ public record SlotProps
public record SlotFilter
{
[JsonPropertyName("Shift")]
public double? Shift { get; set; }
@@ -1812,8 +1782,6 @@ public record SlotFilter
public record StackSlot
{
[JsonPropertyName("_name")]
public string? Name { get; set; }
@@ -1838,16 +1806,12 @@ public record StackSlot
public record StackSlotProps
{
[JsonPropertyName("filters")]
public IEnumerable<SlotFilter>? Filters { get; set; }
}
public record RandomLootSettings
{
[JsonPropertyName("allowToSpawnIdenticalItems")]
public bool? AllowToSpawnIdenticalItems { get; set; }
@@ -1875,8 +1839,6 @@ public record RandomLootSettings
public record RandomLootExcluded
{
[JsonPropertyName("categoryTemplates")]
public IEnumerable<object>? CategoryTemplates { get; set; } // TODO: object here
@@ -1889,8 +1851,6 @@ public record RandomLootExcluded
public record EffectsHealth
{
[JsonPropertyName("Energy")]
public EffectsHealthProps? Energy { get; set; }
@@ -1900,8 +1860,6 @@ public record EffectsHealth
public record EffectsHealthProps
{
[JsonPropertyName("value")]
public double? Value { get; set; }
@@ -1914,8 +1872,6 @@ public record EffectsHealthProps
public record EffectsDamage
{
[JsonPropertyName("Pain")]
public EffectDamageProps? Pain { get; set; }
@@ -1940,8 +1896,6 @@ public record EffectsDamage
public record EffectDamageProps
{
[JsonPropertyName("value")]
public double? Value { get; set; }
@@ -1966,8 +1920,6 @@ public record EffectDamageProps
public record Color
{
[JsonPropertyName("r")]
public double? R { get; set; }
@@ -1983,8 +1935,6 @@ public record Color
public record ShotsGroupSettings
{
[JsonPropertyName("EndShotIndex")]
public double? EndShotIndex { get; set; }
@@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record Trader
{
[JsonPropertyName("assort")]
public required TraderAssort Assort { get; set; }
@@ -31,8 +29,6 @@ public record Trader
public record TraderBase
{
[JsonPropertyName("refreshTraderRagfairOffers")]
public bool? RefreshTraderRagfairOffers { get; set; }
@@ -131,8 +127,6 @@ public record TraderBase
public record ItemBuyData
{
// MongoId
[JsonPropertyName("category")]
public required HashSet<MongoId> Category { get; set; }
@@ -144,8 +138,6 @@ public record ItemBuyData
public record ItemSellData
{
[JsonPropertyName("category")]
public required HashSet<MongoId> Category { get; set; }
@@ -155,8 +147,6 @@ public record ItemSellData
public record TraderInsurance
{
[JsonPropertyName("availability")]
public bool? Availability { get; set; }
@@ -182,8 +172,6 @@ public record TraderInsurance
public record TraderLoyaltyLevel
{
[JsonPropertyName("buy_price_coef")]
public double? BuyPriceCoefficient { get; set; }
@@ -213,8 +201,6 @@ public record TraderLoyaltyLevel
public record TraderRepair
{
[JsonPropertyName("availability")]
public bool? Availability { get; set; }
@@ -243,8 +229,6 @@ public record TraderRepair
public record TraderAssort
{
[JsonPropertyName("nextResupply")]
public double? NextResupply { get; set; }
@@ -260,8 +244,6 @@ public record TraderAssort
public record BarterScheme
{
// Confirmed in client
[JsonPropertyName("count")]
public double? Count { get; set; }
@@ -285,8 +267,6 @@ public record BarterScheme
public record Suit
{
[JsonPropertyName("_id")]
public MongoId Id { get; set; }
@@ -317,8 +297,6 @@ public record Suit
public record SuitRequirements
{
[JsonPropertyName("achievementRequirements")]
public List<string>? AchievementRequirements { get; set; }
@@ -350,8 +328,6 @@ public record SuitRequirements
public record ItemRequirement
{
[JsonPropertyName("count")]
public double? Count { get; set; }
@@ -5,7 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables;
public record TraderDialogs
{
[JsonPropertyName("elements")]
public required List<TraderDialogElements> Elements;
}
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
public record XY
{
[JsonPropertyName("x")]
public double? X { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common;
public record XYZ
{
[JsonPropertyName("x")]
public double? X { get; set; }
@@ -15,8 +15,6 @@ public record BuyClothingRequestData : InventoryBaseActionRequestData
public record PaymentItemForClothing
{
[JsonPropertyName("del")]
public bool? Del { get; set; }
@@ -12,8 +12,6 @@ public record CustomizationSetRequest : InventoryBaseActionRequestData
public record CustomizationSetOption
{
[JsonPropertyName("id")]
public MongoId Id { get; set; }
@@ -2,7 +2,4 @@ using System.Text.Json.Serialization;
namespace SPTarkov.Server.Core.Models.Eft.Customization;
public record WearClothingRequestData
{
}
public record WearClothingRequestData { }
@@ -11,8 +11,6 @@ public record DeclineFriendRequestData : BaseFriendRequest { }
public record BaseFriendRequest : IRequestData
{
[JsonPropertyName("profileId")]
public string? ProfileId { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record AddUserGroupMailRequest : IRequestData
{
[JsonPropertyName("dialogId")]
public string? DialogId { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record ChangeGroupMailOwnerRequest : IRequestData
{
[JsonPropertyName("dialogId")]
public string? DialogId { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record ChatServer
{
[JsonPropertyName("_id")]
public MongoId Id { get; set; }
@@ -40,8 +38,6 @@ public record ChatServer
public record Chat
{
[JsonPropertyName("_id")]
public string? Id { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record ClearMailMessageRequest : IRequestData
{
[JsonPropertyName("dialogId")]
public required MongoId DialogId { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record CreateGroupMailRequest : IRequestData
{
[JsonPropertyName("Name")]
public string? Name { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record DeleteFriendRequest : IRequestData
{
[JsonPropertyName("friend_id")]
public MongoId FriendId { get; set; }
}
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record FriendRequestData : IRequestData
{
[JsonPropertyName("status")]
public int? Status { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record FriendRequestSendResponse
{
[JsonPropertyName("status")]
public BackendErrorCodes? Status { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record GetAllAttachmentsRequestData : IRequestData
{
[JsonPropertyName("dialogId")]
public string DialogId { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record GetAllAttachmentsResponse
{
[JsonPropertyName("messages")]
public List<Message>? Messages { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record GetChatServerListRequestData : IRequestData
{
[JsonPropertyName("VersionId")]
public string? VersionId { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record GetFriendListDataResponse
{
[JsonPropertyName("Friends")]
public List<UserDialogInfo>? Friends { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record GetMailDialogInfoRequestData : IRequestData
{
[JsonPropertyName("dialogId")]
public MongoId? DialogId { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record GetMailDialogListRequestData : IRequestData
{
[JsonPropertyName("limit")]
public int? Limit { get; set; }
@@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record GetMailDialogViewRequestData : IRequestData
{
[JsonPropertyName("type")]
public MessageType? Type { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record GetMailDialogViewResponseData
{
[JsonPropertyName("messages")]
public List<Message>? Messages { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record PinDialogRequestData : IRequestData
{
[JsonPropertyName("dialogId")]
public MongoId? DialogId { get; set; }
}
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record RemoveDialogRequestData : IRequestData
{
[JsonPropertyName("dialogId")]
public MongoId? DialogId { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record RemoveMailMessageRequest : IRequestData
{
[JsonPropertyName("dialogId")]
public string? DialogId { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record RemoveUserGroupMailRequest : IRequestData
{
[JsonPropertyName("dialogId")]
public string? DialogId { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record SendMessageRequest : IRequestData
{
[JsonPropertyName("dialogId")]
public required string DialogId { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record SetDialogReadRequestData : IRequestData
{
[JsonPropertyName("dialogs")]
public List<MongoId>? Dialogs { get; set; }
}
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record CheckVersionResponse
{
[JsonPropertyName("isvalid")]
public bool? IsValid { get; set; }
@@ -5,16 +5,12 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record CurrentGroupResponse
{
[JsonPropertyName("squad")]
public List<CurrentGroupSquadMember>? Squad { get; set; }
}
public record CurrentGroupSquadMember
{
[JsonPropertyName("_id")]
public string? Id { get; set; }
@@ -33,8 +29,6 @@ public record CurrentGroupSquadMember
public record CurrentGroupMemberInfo
{
[JsonPropertyName("Nickname")]
public string? Nickname { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record GameConfigResponse
{
[JsonPropertyName("aid")]
public double? Aid { get; set; }
@@ -57,8 +55,6 @@ public record GameConfigResponse
public record PurchasedGames
{
[JsonPropertyName("eft")]
public bool? IsEftPurchased { get; set; }
@@ -68,8 +64,6 @@ public record PurchasedGames
public record Backend
{
[JsonPropertyName("Lobby")]
public string? Lobby { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record GameEmptyCrcRequestData : IRequestData
{
[JsonPropertyName("crc")]
public int? Crc { get; set; }
}
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record GameKeepAliveResponse
{
[JsonPropertyName("msg")]
public string? Message { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record GameLogoutResponseData
{
[JsonPropertyName("status")]
public string? Status { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record GameModeRequestData : IRequestData
{
[JsonPropertyName("sessionMode")]
public string? SessionMode { get; set; }
}
@@ -10,8 +10,6 @@ public enum SessionMode
public record GameModeResponse
{
[JsonPropertyName("gameMode")]
public string? GameMode { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record GameStartResponse
{
[JsonPropertyName("utc_time")]
public double UtcTime { get; set; }
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record GetItemPricesResponse
{
[JsonPropertyName("supplyNextTime")]
public double? SupplyNextTime { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record GetRaidTimeRequest : IRequestData
{
[JsonPropertyName("Side")]
public string? Side { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record GetRaidTimeResponse
{
[JsonPropertyName("NewSurviveTimeSeconds")]
public double? NewSurviveTimeSeconds { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record SendClientModsRequest : IRequestData
{
[JsonPropertyName("activeClientMods")]
public List<ProfileActiveClientMods> ActiveClientMods { get; set; } = [];
}
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record SendSurveyOpinionRequest : IRequestData
{
[JsonPropertyName("resultJson")]
public string? ResultJson { get; set; }
@@ -19,8 +17,6 @@ public record SendSurveyOpinionRequest : IRequestData
public record SurveyOpinionAnswer
{
[JsonPropertyName("questionId")]
public int? QuestionId { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record ServerDetails
{
[JsonPropertyName("ip")]
public string? Ip { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record SurveyResponseData
{
[JsonPropertyName("locale")]
public Dictionary<string, Dictionary<string, string>>? Locale { get; set; }
@@ -15,8 +13,6 @@ public record SurveyResponseData
public record Survey
{
[JsonPropertyName("id")]
public int? Id { get; set; }
@@ -38,8 +34,6 @@ public record Survey
public record WelcomePageData
{
[JsonPropertyName("titleLocaleKey")]
public string? TitleLocaleKey { get; set; }
@@ -52,16 +46,12 @@ public record WelcomePageData
public record FarewellPageData
{
[JsonPropertyName("textLocaleKey")]
public string? TextLocaleKey { get; set; }
}
public record SurveyQuestion
{
[JsonPropertyName("id")]
public int? Id { get; set; }
@@ -86,8 +76,6 @@ public record SurveyQuestion
public record SurveyAnswer
{
[JsonPropertyName("id")]
public int? Id { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game;
public record VersionValidateRequestData : IRequestData
{
[JsonPropertyName("version")]
public Version? Version { get; set; }
@@ -16,8 +14,6 @@ public record VersionValidateRequestData : IRequestData
public record Version
{
[JsonPropertyName("major")]
public string? Major { get; set; }
@@ -25,8 +25,6 @@ public record HealthTreatmentRequestData : InventoryBaseActionRequestData
public record Difference
{
[JsonPropertyName("BodyParts")]
public Dictionary<string, BodyPartValues>? BodyParts { get; set; }
@@ -39,8 +37,6 @@ public record Difference
public record BodyPartValues
{
public double Health { get; set; }
/// <summary>
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Health;
public record SyncHealthRequestData
{
[JsonPropertyName("Health")]
public List<BodyPartHealth>? Health { get; set; }
@@ -24,8 +22,6 @@ public record SyncHealthRequestData
public record BodyPartCollection
{
[JsonPropertyName("Head")]
public BodyPartHealth? Head { get; set; }
@@ -50,8 +46,6 @@ public record BodyPartCollection
public record BodyPartHealth
{
[JsonPropertyName("Maximum")]
public int? Maximum { get; set; }
@@ -7,16 +7,12 @@ namespace SPTarkov.Server.Core.Models.Eft.Health;
public class WorkoutData : IRequestData
{
[JsonPropertyName("skills")]
public WorkoutSkills? Skills { get; set; }
}
public record WorkoutSkills
{
[JsonPropertyName("Common")]
public List<CommonSkill> Common { get; set; }
@@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
public record HideoutArea
{
[JsonPropertyName("_id")]
public MongoId Id { get; set; }
@@ -45,8 +43,6 @@ public record HideoutArea
public record HideoutAreaRequirement
{
[JsonPropertyName("areaType")]
public int? AreaType { get; set; }
@@ -59,8 +55,6 @@ public record HideoutAreaRequirement
public record Stage
{
[JsonPropertyName("autoUpgrade")]
public bool? AutoUpgrade { get; set; }
@@ -97,8 +91,6 @@ public record Stage
public record StageImprovement
{
[JsonPropertyName("id")]
public MongoId Id { get; set; }
@@ -114,8 +106,6 @@ public record StageImprovement
public record StageImprovementBonus
{
[JsonPropertyName("id")]
public MongoId Id { get; set; }
@@ -140,8 +130,6 @@ public record StageImprovementBonus
public record StageImprovementRequirement
{
[JsonPropertyName("count")]
public int? Count { get; set; }
@@ -163,8 +151,6 @@ public record StageImprovementRequirement
public record StageRequirement
{
[JsonPropertyName("areaType")]
public int? AreaType { get; set; }
@@ -15,8 +15,6 @@ public record HideoutContinuousProductionStartRequestData : InventoryBaseActionR
public record HideoutProperties
{
public int? BtcFarmGcs { get; set; }
public bool IsGeneratorOn { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
public record HideoutCustomisation
{
[JsonPropertyName("globals")]
public List<HideoutCustomisationGlobal>? Globals { get; set; }
@@ -17,8 +15,6 @@ public record HideoutCustomisation
public record HideoutCustomisationGlobal
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -43,8 +39,6 @@ public record HideoutCustomisationGlobal
public record HideoutCustomisationSlot
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
public record HideoutProductionData
{
[JsonPropertyName("recipes")]
public List<HideoutProduction>? Recipes { get; set; }
@@ -20,8 +18,6 @@ public record HideoutProductionData
public record HideoutProduction
{
[JsonPropertyName("_id")]
public MongoId Id { get; set; }
@@ -64,8 +60,6 @@ public record HideoutProduction
public record Requirement
{
[JsonPropertyName("templateId")]
public MongoId? TemplateId { get; set; }
@@ -102,8 +96,6 @@ public record Requirement
public record ScavRecipe
{
[JsonPropertyName("_id")]
public MongoId Id { get; set; }
@@ -119,8 +111,6 @@ public record ScavRecipe
public record EndProducts
{
[JsonPropertyName("Common")]
public MinMax<int>? Common { get; set; }
@@ -133,8 +123,6 @@ public record EndProducts
public record CultistRecipe
{
[JsonPropertyName("_id")]
public MongoId Id { get; set; }
}
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
public record HideoutSettingsBase
{
[JsonPropertyName("generatorSpeedWithoutFuel")]
public double? GeneratorSpeedWithoutFuel { get; set; }
@@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout;
public record QteData
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -47,8 +45,6 @@ public record QteData
public record QuickTimeEvent
{
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public QteType? EventType { get; set; }
@@ -74,16 +70,12 @@ public record QuickTimeEvent
public record QteRequirement
{
[JsonPropertyName("type")]
public RequirementType? RequirementType { get; set; }
}
public record QteResult
{
[JsonPropertyName("energy")]
public int? Energy { get; set; }
@@ -96,8 +88,6 @@ public record QteResult
public record QteEffect
{
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public QteRewardType? Type { get; set; }
@@ -122,8 +112,6 @@ public record QteEffect
public record SkillLevelMultiplier
{
[JsonPropertyName("level")]
public int? Level { get; set; }
@@ -133,8 +121,6 @@ public record SkillLevelMultiplier
public record Position
{
[JsonPropertyName("x")]
public float? X { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.HttpResponse;
public record GetBodyResponseData<T>
{
[JsonPropertyName("err")]
public BackendErrorCodes? Err { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.HttpResponse;
public record NullResponseData
{
[JsonPropertyName("err")]
public int? Err { get; set; }
@@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.InRaid;
public record InsuredItemsData
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.InRaid;
public record ItemDeliveryRequestData
{
[JsonPropertyName("items")]
public List<Item>? Items { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.InRaid;
public record RegisterPlayerRequestData : IRequestData
{
[JsonPropertyName("crc")]
public int? Crc { get; set; }
@@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Insurance;
public record GetInsuranceCostRequestData : IRequestData
{
[JsonPropertyName("traders")]
public List<MongoId>? Traders { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory;
public record AddItemDirectRequest
{
/// <summary>
/// Item and child mods to add to player inventory
/// </summary>
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory;
public record AddItemRequestData
{
/// <summary>
/// Trader id
/// </summary>
@@ -19,8 +17,6 @@ public record AddItemRequestData
public record ItemToAdd
{
[JsonPropertyName("count")]
public int? Count { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory;
public record AddItemTempObject
{
[JsonPropertyName("itemRef")]
public Item? ItemReference { get; set; }
@@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory;
public record AddItemsDirectRequest
{
/// <summary>
/// Item and child mods to add to player inventory
/// </summary>
@@ -7,8 +7,6 @@ public abstract record InventoryBaseActionRequestData : BaseInteractionRequestDa
public record To
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -24,8 +22,6 @@ public record To
public record Container
{
[JsonPropertyName("id")]
public string? Id { get; set; }
@@ -38,8 +34,6 @@ public record Container
public record Location
{
[JsonPropertyName("x")]
public double? X { get; set; }
@@ -11,8 +11,6 @@ public record RedeemProfileRequestData : InventoryBaseActionRequestData
public record RedeemProfileRequestEvent
{
[JsonPropertyName("MessageId")]
public MongoId MessageId { get; set; }

Some files were not shown because too many files have changed in this diff Show More