From 48b00a2814bbe0c29ddf09065d0d7200b6ea06e9 Mon Sep 17 00:00:00 2001 From: sp-tarkov-bot Date: Thu, 21 Aug 2025 09:46:00 +0000 Subject: [PATCH] Format Style Fixes --- .../Models/Common/IdWithCount.cs | 2 - .../Models/Common/MinMax.cs | 2 - .../Models/Eft/Bot/GenerateBotsRequestData.cs | 4 - .../Eft/Bot/RandomisedBotLevelResult.cs | 2 - .../Models/Eft/Builds/SetMagazineRequest.cs | 2 - .../Models/Eft/Common/EmptyRequestData.cs | 5 +- .../Models/Eft/Common/Globals.cs | 388 ------------------ .../Models/Eft/Common/Location.cs | 22 - .../Models/Eft/Common/LocationBase.cs | 52 --- .../Models/Eft/Common/LooseLoot.cs | 16 - .../Models/Eft/Common/MetricsTableData.cs | 2 - .../Models/Eft/Common/PmcData.cs | 2 - .../Request/BaseInteractionRequestData.cs | 4 - .../Eft/Common/Request/UIDRequestData.cs | 2 - .../Models/Eft/Common/Tables/Achievement.cs | 4 - .../Models/Eft/Common/Tables/BotBase.cs | 88 ---- .../Models/Eft/Common/Tables/BotCore.cs | 2 - .../Models/Eft/Common/Tables/BotType.cs | 26 -- .../Eft/Common/Tables/CustomisationStorage.cs | 8 - .../Eft/Common/Tables/CustomizationItem.cs | 4 - .../Models/Eft/Common/Tables/HandbookBase.cs | 6 - .../Models/Eft/Common/Tables/Item.cs | 51 --- .../Eft/Common/Tables/LocationServices.cs | 20 - .../Models/Eft/Common/Tables/LocationsBase.cs | 5 - .../Tables/LocationsGenerateAllResponse.cs | 2 - .../Models/Eft/Common/Tables/Match.cs | 4 - .../Models/Eft/Common/Tables/Prestige.cs | 14 - .../Eft/Common/Tables/ProfileTemplate.cs | 6 - .../Models/Eft/Common/Tables/Quest.cs | 22 - .../Eft/Common/Tables/RepeatableQuests.cs | 24 -- .../Models/Eft/Common/Tables/Reward.cs | 4 - .../Models/Eft/Common/Tables/TemplateItem.cs | 50 --- .../Models/Eft/Common/Tables/Trader.cs | 24 -- .../Models/Eft/Common/Tables/TraderDialogs.cs | 1 - .../Models/Eft/Common/XY.cs | 2 - .../Models/Eft/Common/XYZ.cs | 2 - .../Customization/BuyClothingRequestData.cs | 2 - .../Customization/CustomizationSetRequest.cs | 2 - .../Customization/WearClothingRequestData.cs | 5 +- .../Eft/Dialog/AcceptFriendRequestData.cs | 2 - .../Eft/Dialog/AddUserGroupMailRequest.cs | 2 - .../Eft/Dialog/ChangeGroupMailOwnerRequest.cs | 2 - .../Models/Eft/Dialog/ChatServer.cs | 4 - .../Eft/Dialog/ClearMailMessageRequest.cs | 2 - .../Eft/Dialog/CreateGroupMailRequest.cs | 2 - .../Models/Eft/Dialog/DeleteFriendRequest.cs | 2 - .../Models/Eft/Dialog/FriendRequestData.cs | 2 - .../Eft/Dialog/FriendRequestSendResponse.cs | 2 - .../Dialog/GetAllAttachmentsRequestData.cs | 2 - .../Eft/Dialog/GetAllAttachmentsResponse.cs | 2 - .../Dialog/GetChatServerListRequestData.cs | 2 - .../Eft/Dialog/GetFriendListDataResponse.cs | 2 - .../Dialog/GetMailDialogInfoRequestData.cs | 2 - .../Dialog/GetMailDialogListRequestData.cs | 2 - .../Dialog/GetMailDialogViewRequestData.cs | 2 - .../Dialog/GetMailDialogViewResponseData.cs | 2 - .../Models/Eft/Dialog/PinDialogRequestData.cs | 2 - .../Eft/Dialog/RemoveDialogRequestData.cs | 2 - .../Eft/Dialog/RemoveMailMessageRequest.cs | 2 - .../Eft/Dialog/RemoveUserGroupMailRequest.cs | 2 - .../Models/Eft/Dialog/SendMessageRequest.cs | 2 - .../Eft/Dialog/SetDialogReadRequestData.cs | 2 - .../Models/Eft/Game/CheckVersionResponse.cs | 2 - .../Models/Eft/Game/CurrentGroupResponse.cs | 6 - .../Models/Eft/Game/GameConfigResponse.cs | 6 - .../Eft/Game/GameEmptyCrcRequestData.cs | 2 - .../Models/Eft/Game/GameKeepAliveResponse.cs | 2 - .../Models/Eft/Game/GameLogoutResponseData.cs | 2 - .../Models/Eft/Game/GameModeRequestData.cs | 2 - .../Models/Eft/Game/GameModeResponse.cs | 2 - .../Models/Eft/Game/GameStartResponse.cs | 2 - .../Models/Eft/Game/GetItemPricesResponse.cs | 2 - .../Models/Eft/Game/GetRaidTimeRequest.cs | 2 - .../Models/Eft/Game/GetRaidTimeResponse.cs | 2 - .../Models/Eft/Game/SendClientModsRequest.cs | 2 - .../Eft/Game/SendSurveyOpinionRequest.cs | 4 - .../Models/Eft/Game/ServerDetails.cs | 2 - .../Models/Eft/Game/SurveyResponseData.cs | 12 - .../Eft/Game/VersionValidateRequestData.cs | 4 - .../Eft/Health/HealthTreatmentRequestData.cs | 4 - .../Eft/Health/SyncHealthRequestData.cs | 6 - .../Models/Eft/Health/WorkoutData.cs | 4 - .../Models/Eft/Hideout/HideoutArea.cs | 14 - ...outContinuousProductionStartRequestData.cs | 2 - .../Eft/Hideout/HideoutCustomisation.cs | 6 - .../Models/Eft/Hideout/HideoutProduction.cs | 12 - .../Models/Eft/Hideout/HideoutSettingsBase.cs | 2 - .../Models/Eft/Hideout/QteData.cs | 14 - .../Eft/HttpResponse/GetBodyResponseData.cs | 2 - .../Eft/HttpResponse/NullResponseData.cs | 2 - .../Models/Eft/InRaid/InsuredItemsData.cs | 2 - .../Eft/InRaid/ItemDeliveryRequestData.cs | 2 - .../Eft/InRaid/RegisterPlayerRequestData.cs | 2 - .../Insurance/GetInsuranceCostRequestData.cs | 2 - .../Eft/Inventory/AddItemDirectRequest.cs | 2 - .../Eft/Inventory/AddItemRequestData.cs | 4 - .../Models/Eft/Inventory/AddItemTempObject.cs | 2 - .../Eft/Inventory/AddItemsDirectRequest.cs | 2 - .../InventoryBaseActionRequestData.cs | 6 - .../Eft/Inventory/RedeemProfileRequestData.cs | 2 - .../ItemEvent/EmptyItemEventRouterResponse.cs | 2 - .../Eft/ItemEvent/ItemEventRouterBase.cs | 18 - .../Eft/ItemEvent/ItemEventRouterRequest.cs | 10 - .../Eft/ItemEvent/ItemEventRouterResponse.cs | 5 +- .../Eft/Launcher/GetMiniProfileRequestData.cs | 2 - .../Models/Eft/Launcher/LoginRequestData.cs | 2 - .../Models/Eft/Launcher/MiniProfile.cs | 2 - .../Models/Eft/Location/AirdropLootResult.cs | 2 - .../Eft/Location/GetAirdropLootRequest.cs | 2 - .../Eft/Location/GetAirdropLootResponse.cs | 2 - .../Eft/Location/GetLocationRequestData.cs | 2 - .../Eft/Match/EndLocalRaidRequestData.cs | 8 - .../Eft/Match/EndOfflineRaidRequestData.cs | 2 - .../Models/Eft/Match/GroupCharacter.cs | 12 - .../Eft/Match/MatchGroupCurrentResponse.cs | 2 - .../Eft/Match/MatchGroupInviteSendRequest.cs | 2 - .../Models/Eft/Match/MatchGroupJoinRequest.cs | 4 - .../Match/MatchGroupPlayerRemoveRequest.cs | 2 - .../Eft/Match/MatchGroupStartGameRequest.cs | 2 - .../Eft/Match/MatchGroupStatusRequest.cs | 2 - .../Eft/Match/MatchGroupStatusResponse.cs | 2 - .../Eft/Match/MatchGroupTransferRequest.cs | 2 - .../Models/Eft/Match/ProfileStatusRequest.cs | 2 - .../Models/Eft/Match/ProfileStatusResponse.cs | 2 - .../Models/Eft/Match/PutMetricsRequestData.cs | 8 - .../Models/Eft/Match/RaidSettings.cs | 8 - .../Models/Eft/Match/RequestIdRequest.cs | 2 - .../Models/Eft/Match/Server.cs | 2 - .../Models/Eft/Match/SessionStatus.cs | 2 - .../Eft/Match/StartLocalRaidRequestData.cs | 2 - .../Eft/Match/StartLocalRaidResponseData.cs | 6 - .../Models/Eft/Match/UpdatePingRequestData.cs | 2 - .../Models/Eft/Notes/NoteActionRequest.cs | 2 - .../Models/Eft/Notifier/Notifier.cs | 2 - .../Eft/Notifier/SelectProfileResponse.cs | 2 - .../PresetBuildActionRequestData.cs | 2 - .../Eft/PresetBuild/RemoveBuildRequestData.cs | 2 - .../Eft/Prestige/GetPrestigeResponse.cs | 2 - .../Eft/Prestige/ObtainPrestigeRequest.cs | 4 - .../Profile/CompletedAchievementsResponse.cs | 2 - .../Models/Eft/Profile/ConnectResponse.cs | 2 - .../Eft/Profile/CreateProfileResponse.cs | 2 - .../Eft/Profile/GetAchievementsResponse.cs | 2 - .../Eft/Profile/GetOtherProfileRequest.cs | 2 - .../Eft/Profile/GetOtherProfileResponse.cs | 12 - .../Eft/Profile/GetProfileSettingsRequest.cs | 2 - .../Profile/GetProfileStatusResponseData.cs | 4 - .../Eft/Profile/MessageContentRagfair.cs | 2 - .../ProfileChangeNicknameRequestData.cs | 2 - .../Profile/ProfileChangeVoiceRequestData.cs | 2 - .../Eft/Profile/ProfileCreateRequestData.cs | 2 - .../Eft/Profile/SearchFriendResponse.cs | 2 - .../Eft/Profile/SearchProfilesRequestData.cs | 2 - .../Models/Eft/Profile/SptProfile.cs | 44 -- .../Models/Eft/Profile/SystemData.cs | 2 - .../Models/Eft/Profile/UserDialogInfo.cs | 4 - .../Profile/ValidateNicknameRequestData.cs | 2 - .../Eft/Quests/ListQuestsRequestData.cs | 2 - .../Models/Eft/Ragfair/AddOfferRequestData.cs | 2 - .../Eft/Ragfair/GetMarketPriceRequestData.cs | 2 - .../Models/Eft/Ragfair/GetOffersResult.cs | 2 - .../Eft/Ragfair/GetRagfairOfferByIdRequest.cs | 2 - .../Models/Eft/Ragfair/RagfairOffer.cs | 8 - .../Models/Eft/Ragfair/SearchRequestData.cs | 2 - .../Ragfair/SendRagfairReportRequestData.cs | 2 - .../StorePlayerOfferTaxAmountRequestData.cs | 2 - .../Eft/Repair/BaseRepairActionDataRequest.cs | 2 - .../Eft/Repair/RepairActionDataRequest.cs | 2 - .../Repair/TraderRepairActionDataRequest.cs | 2 - .../Trade/ProcessRagfairTradeRequestData.cs | 2 - .../Eft/Trade/ProcessSellTradeRequestData.cs | 2 - .../Models/Eft/Weather/WeatherData.cs | 4 - .../Models/Eft/Ws/WsNotificationEvent.cs | 2 - .../Models/Enums/AccountTypes.cs | 2 - .../Models/Enums/GameEditions.cs | 2 - .../Models/Enums/HideoutEventActions.cs | 2 - .../Models/Enums/ItemEventActions.cs | 2 - .../Models/Enums/Money.cs | 2 - .../Spt/Bots/BotDetailsForChatMessages.cs | 2 - .../Models/Spt/Bots/BotGenerationDetails.cs | 2 - .../Models/Spt/Bots/BotLootCache.cs | 4 - .../Models/Spt/Bots/Bots.cs | 2 - .../Bots/ChooseRandomCompatibleModResult.cs | 2 - .../FilterPlateModsForSlotByLevelResult.cs | 2 - .../Spt/Bots/GenerateEquipmentProperties.cs | 2 - .../Models/Spt/Bots/GenerateWeaponRequest.cs | 10 - .../Models/Spt/Bots/GenerateWeaponResult.cs | 2 - .../Models/Spt/Bots/ItemSpawnLimitSettings.cs | 2 - .../Models/Spt/Bots/ModToSpawnRequest.cs | 2 - .../Models/Spt/Config/AirdropConfig.cs | 2 - .../Models/Spt/Config/BackupConfig.cs | 2 - .../Models/Spt/Config/BaseConfig.cs | 2 - .../Models/Spt/Config/BotConfig.cs | 24 -- .../Models/Spt/Config/BotDurability.cs | 12 - .../Models/Spt/Config/CoreConfig.cs | 12 - .../Models/Spt/Config/GiftsConfig.cs | 2 - .../Models/Spt/Config/HealthConfig.cs | 4 - .../Models/Spt/Config/HideoutConfig.cs | 6 - .../Models/Spt/Config/InRaidConfig.cs | 2 - .../Models/Spt/Config/InventoryConfig.cs | 4 - .../Models/Spt/Config/ItemConfig.cs | 2 - .../Models/Spt/Config/LocationConfig.cs | 18 - .../Models/Spt/Config/LostOnDeathConfig.cs | 2 - .../Models/Spt/Config/PlayerScavConfig.cs | 4 - .../Models/Spt/Config/PmcChatResponse.cs | 2 - .../Models/Spt/Config/PmcConfig.cs | 10 - .../Models/Spt/Config/QuestConfig.cs | 20 - .../Models/Spt/Config/RagfairConfig.cs | 26 -- .../Models/Spt/Config/RepairConfig.cs | 12 - .../Models/Spt/Config/ScavCaseConfig.cs | 6 - .../Models/Spt/Config/SeasonalEventConfig.cs | 8 - .../Models/Spt/Config/TraderConfig.cs | 10 - .../Models/Spt/Config/WeatherConfig.cs | 10 - .../Models/Spt/Dialog/SendMessageDetails.cs | 4 - .../Spt/Fence/CreateFenceAssortsResult.cs | 2 - .../Spt/Fence/FenceAssortGenerationValues.cs | 4 - .../Models/Spt/Helper/WeightedRandomResult.cs | 2 - .../Models/Spt/Hideout/CircleCraftDetails.cs | 2 - .../Models/Spt/Hideout/Hideout.cs | 2 - .../Hideout/ScavCaseRewardCountsAndPrices.cs | 4 - .../Models/Spt/Inventory/FindSlotResult.cs | 2 - .../Models/Spt/Inventory/ItemSize.cs | 2 - .../Spt/Inventory/OwnerInventoryItems.cs | 2 - .../Launcher/LauncherV2CompatibleVersion.cs | 2 - .../Spt/Launcher/LauncherV2LoginResponse.cs | 2 - .../Spt/Launcher/LauncherV2ModsResponse.cs | 2 - .../LauncherV2PasswordChangeResponse.cs | 2 - .../Spt/Launcher/LauncherV2PingResponse.cs | 2 - .../Spt/Launcher/LauncherV2ProfileResponse.cs | 2 - .../Launcher/LauncherV2ProfilesResponse.cs | 2 - .../Launcher/LauncherV2RegisterResponse.cs | 2 - .../Spt/Launcher/LauncherV2RemoveResponse.cs | 2 - .../Spt/Launcher/LauncherV2TypesResponse.cs | 2 - .../Spt/Launcher/LauncherV2VersionResponse.cs | 2 - .../Models/Spt/Location/RaidChanges.cs | 4 - .../Models/Spt/Logging/ClientLogRequest.cs | 2 - .../Models/Spt/Mod/ModOrder.cs | 2 - .../Models/Spt/Mod/NewItemDetails.cs | 6 - .../Models/Spt/Mod/SptMod.cs | 2 - .../Models/Spt/Presets/PresetCacheDetails.cs | 2 - .../Spt/Quests/GetRepeatableByIdResult.cs | 2 - .../Spt/Ragfair/CreateFleaOfferDetails.cs | 2 - .../Models/Spt/Ragfair/RagfairServerPrices.cs | 2 - .../Models/Spt/Ragfair/TplWithFleaPrice.cs | 2 - .../Spt/Repeatable/QuestRewardValues.cs | 2 - .../Models/Spt/Repeatable/QuestTypePool.cs | 10 - .../Models/Spt/Server/DatabaseTables.cs | 2 - .../Models/Spt/Server/LocaleBase.cs | 2 - .../Models/Spt/Server/Locations.cs | 2 - .../Models/Spt/Server/ServerBase.cs | 2 - .../Models/Spt/Server/SettingsBase.cs | 30 -- .../Spt/Services/InsuranceEquipmentPkg.cs | 2 - .../Models/Spt/Services/LootItem.cs | 2 - .../Models/Spt/Services/LootRequest.cs | 2 - .../Spt/Services/ProfileActivityData.cs | 6 - .../Models/Spt/Services/TraderServiceModel.cs | 4 - .../Models/Spt/Templates/Templates.cs | 2 - .../Weather/GetLocalWeatherResponseData.cs | 2 - .../Models/Trader/Traders.cs | 22 - .../JsonExtensionDataPatch.cs | 45 +- 260 files changed, 26 insertions(+), 1783 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Models/Common/IdWithCount.cs b/Libraries/SPTarkov.Server.Core/Models/Common/IdWithCount.cs index 1fce05e2..0c712cc9 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Common/IdWithCount.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Common/IdWithCount.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Common; public record IdWithCount { - - /// /// ID of stack to take money from /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Common/MinMax.cs b/Libraries/SPTarkov.Server.Core/Models/Common/MinMax.cs index 79dcd141..75ef058a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Common/MinMax.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Common/MinMax.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Common; public record MinMax where T : IMinMaxValue { - - public MinMax(T min, T max) { Min = min; diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Bot/GenerateBotsRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Bot/GenerateBotsRequestData.cs index 9abd7a02..23c8968e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Bot/GenerateBotsRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Bot/GenerateBotsRequestData.cs @@ -5,16 +5,12 @@ namespace SPTarkov.Server.Core.Models.Eft.Bot; public record GenerateBotsRequestData : IRequestData { - - [JsonPropertyName("conditions")] public List? Conditions { get; set; } } public record GenerateCondition { - - /// /// e.g. assault/pmcBot/bossKilla /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Bot/RandomisedBotLevelResult.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Bot/RandomisedBotLevelResult.cs index 1fd2025e..e61af80d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Bot/RandomisedBotLevelResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Bot/RandomisedBotLevelResult.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Bot; public record RandomisedBotLevelResult { - - [JsonPropertyName("level")] public int? Level { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Builds/SetMagazineRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Builds/SetMagazineRequest.cs index b9750170..eee31845 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Builds/SetMagazineRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Builds/SetMagazineRequest.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Builds; public record SetMagazineRequest : IRequestData { - - [JsonPropertyName("Id")] public MongoId Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/EmptyRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/EmptyRequestData.cs index 400dd74a..b61abc3e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/EmptyRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/EmptyRequestData.cs @@ -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 { } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Globals.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Globals.cs index fa0aebbc..9c61949c 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Globals.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Globals.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common; public record Globals { - - [JsonPropertyName("config")] public required Config Configuration { get; init; } @@ -28,8 +26,6 @@ public record Globals public record PlayerSettings { - - [JsonPropertyName("BaseMaxMovementRolloff")] public double BaseMaxMovementRolloff { get; set; } @@ -57,8 +53,6 @@ public record PlayerSettings public record SearchSoundVolumeSettings { - - public double FpVolume { get; set; } public double TpVolume { get; set; } @@ -66,8 +60,6 @@ public record SearchSoundVolumeSettings public record MovementRolloffMultiplier { - - [JsonPropertyName("MovementState")] public string MovementState { get; set; } @@ -77,8 +69,6 @@ public record MovementRolloffMultiplier public record RadioBroadcastSettings { - - [JsonPropertyName("EnabledBroadcast")] public bool EnabledBroadcast { get; set; } @@ -88,8 +78,6 @@ public record RadioBroadcastSettings public record RadioStation { - - [JsonPropertyName("Enabled")] public bool Enabled { get; set; } @@ -99,8 +87,6 @@ public record RadioStation public record LocationInfection { - - [JsonPropertyName("Interchange")] public double Interchange { get; set; } @@ -134,8 +120,6 @@ public record LocationInfection public record ArtilleryShelling { - - [JsonPropertyName("ArtilleryMapsConfigs")] public Dictionary ArtilleryMapsConfigs { get; set; } @@ -148,8 +132,6 @@ public record ArtilleryShelling public record ArtilleryMapSettings { - - [JsonPropertyName("PlanedShellingOn")] public bool PlanedShellingOn { get; set; } @@ -186,8 +168,6 @@ public record ArtilleryMapSettings public record ShellingZone { - - [JsonPropertyName("ID")] public double ID { get; set; } @@ -242,16 +222,12 @@ public record ShellingZone public record AlarmStage { - - [JsonPropertyName("Value")] public Position Value { get; set; } } public record Brigade { - - [JsonPropertyName("ID")] public double Id { get; set; } @@ -261,16 +237,12 @@ public record Brigade public record ArtilleryGun { - - [JsonPropertyName("Position")] public XYZ Position { get; set; } } public record ArtilleryShellingAirDropSettings { - - [JsonPropertyName("UseAirDrop")] public bool UseAirDrop { get; set; } @@ -286,8 +258,6 @@ public record ArtilleryShellingAirDropSettings public record ProjectileExplosionParams { - - [JsonPropertyName("Blindness")] public XYZ Blindness { get; set; } @@ -338,8 +308,6 @@ public record ProjectileExplosionParams public record Config { - - [JsonPropertyName("ArtilleryShelling")] public ArtilleryShelling ArtilleryShelling { get; set; } @@ -663,23 +631,17 @@ public record Config public record GlobalAudioSettings { - - [JsonPropertyName("RadioBroadcastSettings")] public RadioBroadcastSettings RadioBroadcastSettings { get; set; } } public record Triggers { - - public Dictionary> HandlerDamage { get; set; } } public record DamageData { - - public int Amount { get; set; } [JsonConverter(typeof(JsonStringEnumConverter))] @@ -688,8 +650,6 @@ public record DamageData public record HandlerDamageObject { - - public int Amount { get; set; } public string BodyPartColliderType { get; set; } @@ -697,8 +657,6 @@ public record HandlerDamageObject public record PveSettings { - - public IEnumerable AvailableVersions { get; set; } public bool ModeEnabled { get; set; } @@ -706,15 +664,11 @@ public record PveSettings public record CoopSettings { - - public IEnumerable AvailableVersions { get; set; } } public record RunddansSettings { - - [JsonPropertyName("accessKeys")] public IEnumerable AccessKeys { get; set; } @@ -772,16 +726,12 @@ public record RunddansSettings public record SeasonActivity { - - [JsonPropertyName("InfectionHalloween")] public SeasonActivityHalloween InfectionHalloween { get; set; } } public record SeasonActivityHalloween { - - [JsonPropertyName("DisplayUIEnabled")] public bool DisplayUIEnabled { get; set; } @@ -794,22 +744,16 @@ public record SeasonActivityHalloween public record EnvironmentUISettings { - - public EnvironmentUIData EnvironmentUIData { get; set; } } public record EnvironmentUIData { - - public required string[] TheUnheardEditionEnvironmentUiType { get; set; } } public record BodyPartColliderSettings { - - public BodyPartColliderPart BackHead { get; set; } public BodyPartColliderPart Ears { get; set; } @@ -865,8 +809,6 @@ public record BodyPartColliderSettings public record BodyPartColliderPart { - - [JsonPropertyName("PenetrationChance")] public double PenetrationChance { get; set; } @@ -879,8 +821,6 @@ public record BodyPartColliderPart public record WeaponFastDrawSettings { - - [JsonPropertyName("HandShakeCurveFrequency")] public double HandShakeCurveFrequency { get; set; } @@ -908,8 +848,6 @@ public record WeaponFastDrawSettings public record EventSettings { - - [JsonPropertyName("EventActive")] public bool EventActive { get; set; } @@ -937,8 +875,6 @@ public record EventSettings public record EventWeather { - - [JsonPropertyName("Cloudness")] public double Cloudness { get; set; } @@ -969,8 +905,6 @@ public record EventWeather public record TransitSettings { - - [JsonPropertyName("BearPriceMod")] public double BearPriceMod { get; set; } @@ -1013,8 +947,6 @@ public record TransitSettings public record TripwiresSettings { - - [JsonPropertyName("CollisionCapsuleCheckCoef")] public double CollisionCapsuleCheckCoef { get; set; } @@ -1060,8 +992,6 @@ public record TripwiresSettings public record MountingSettings { - - [JsonPropertyName("MovementSettings")] public MountingMovementSettings MovementSettings { get; set; } @@ -1071,8 +1001,6 @@ public record MountingSettings public record MountingMovementSettings { - - [JsonPropertyName("ApproachTime")] public double ApproachTime { get; set; } @@ -1121,8 +1049,6 @@ public record MountingMovementSettings public record MountingPointDetectionSettings { - - [JsonPropertyName("CheckHorizontalSecondaryOffset")] public double CheckHorizontalSecondaryOffset { get; set; } @@ -1189,16 +1115,12 @@ public record MountingPointDetectionSettings public record GraphicSettings { - - [JsonPropertyName("ExperimentalFogInCity")] public bool ExperimentalFogInCity { get; set; } } public record BufferZone { - - [JsonPropertyName("CustomerAccessTime")] public double CustomerAccessTime { get; set; } @@ -1211,8 +1133,6 @@ public record BufferZone public record ItemsCommonSettings { - - [JsonPropertyName("ItemRemoveAfterInterruptionTime")] public double ItemRemoveAfterInterruptionTime { get; set; } @@ -1222,8 +1142,6 @@ public record ItemsCommonSettings public record TradingSettings { - - [JsonPropertyName("BuyRestrictionMaxBonus")] public Dictionary BuyRestrictionMaxBonus { get; set; } @@ -1233,16 +1151,12 @@ public record TradingSettings public record BuyRestrictionMaxBonus { - - [JsonPropertyName("multiplier")] public double Multiplier { get; set; } } public record BuyoutRestrictions { - - [JsonPropertyName("MinDurability")] public double MinDurability { get; set; } @@ -1255,8 +1169,6 @@ public record BuyoutRestrictions public record Content { - - [JsonPropertyName("ip")] public string Ip { get; set; } @@ -1269,8 +1181,6 @@ public record Content public record Exp { - - [JsonPropertyName("heal")] public Heal Heal { get; set; } @@ -1304,8 +1214,6 @@ public record Exp public record Heal { - - [JsonPropertyName("expForHeal")] public double ExpForHeal { get; set; } @@ -1318,8 +1226,6 @@ public record Heal public record MatchEnd { - - [JsonPropertyName("README")] public string ReadMe { get; set; } @@ -1366,8 +1272,6 @@ public record MatchEnd public record Kill { - - [JsonPropertyName("combo")] public required Combo[] Combos { get; set; } @@ -1404,16 +1308,12 @@ public record Kill public record Combo { - - [JsonPropertyName("percent")] public double Percentage { get; set; } } public record Level { - - [JsonPropertyName("exp_table")] public required ExpTable[] ExperienceTable { get; set; } @@ -1435,32 +1335,24 @@ public record Level public record ExpTable { - - [JsonPropertyName("exp")] public int Experience { get; set; } } public record LootAttempt { - - [JsonPropertyName("k_exp")] public double ExperiencePoints { get; set; } } public record Armor { - - [JsonPropertyName("class")] public IEnumerable Classes { get; set; } } public record Class { - - // Checked in client [JsonPropertyName("resistance")] public int Resistance { get; set; } @@ -1468,8 +1360,6 @@ public record Class public record Mastering { - - [JsonPropertyName("Name")] public string Name { get; set; } @@ -1490,8 +1380,6 @@ public record Mastering public record Customization { - - [JsonPropertyName("SavageHead")] public Dictionary Head { get; set; } @@ -1510,8 +1398,6 @@ public record Customization public record WildHead { - - [JsonPropertyName("head")] public string Head { get; set; } @@ -1527,8 +1413,6 @@ public record WildHead public record WildBody { - - [JsonPropertyName("body")] public MongoId Body { get; set; } @@ -1544,8 +1428,6 @@ public record WildBody public record WildFeet { - - [JsonPropertyName("feet")] public string Feet { get; set; } @@ -1561,8 +1443,6 @@ public record WildFeet public record CustomizationVoice { - - [JsonPropertyName("voice")] public string Voice { get; set; } @@ -1575,8 +1455,6 @@ public record CustomizationVoice public record BodyParts { - - public string Head { get; set; } public string Body { get; set; } @@ -1588,8 +1466,6 @@ public record BodyParts public record AirdropGlobalSettings { - - public string AirdropViewType { get; set; } public double ParachuteEndOpenHeight { get; set; } @@ -1615,8 +1491,6 @@ public record AirdropGlobalSettings public record KarmaCalculationSettings { - - [JsonPropertyName("defaultPveKarmaValue")] public double DefaultPveKarmaValue { get; set; } @@ -1638,8 +1512,6 @@ public record KarmaCalculationSettings public record ArenaEftTransferSettings { - - public double ArenaManagerReputationTaxMultiplier { get; set; } public double CharismaTaxMultiplier { get; set; } @@ -1655,8 +1527,6 @@ public record ArenaEftTransferSettings public record ArmorType { - - [JsonPropertyName("Destructibility")] public double Destructibility { get; set; } @@ -1678,8 +1548,6 @@ public record ArmorType public record Health { - - [JsonPropertyName("Falling")] public Falling Falling { get; set; } @@ -1695,8 +1563,6 @@ public record Health public record Falling { - - [JsonPropertyName("DamagePerMeter")] public double DamagePerMeter { get; set; } @@ -1706,8 +1572,6 @@ public record Falling public record Effects { - - [JsonPropertyName("Existence")] public Existence Existence { get; set; } @@ -1795,8 +1659,6 @@ public record Effects public record ZombieInfection { - - [JsonPropertyName("Dehydration")] public double Dehydration { get; set; } @@ -1811,8 +1673,6 @@ public record ZombieInfection public record Existence { - - [JsonPropertyName("EnergyLoopTime")] public double EnergyLoopTime { get; set; } @@ -1834,8 +1694,6 @@ public record Existence public record Dehydration { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -1860,8 +1718,6 @@ public record Dehydration public record BreakPart { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -1892,24 +1748,18 @@ public record BreakPart public record Contusion { - - [JsonPropertyName("Dummy")] public double Dummy { get; set; } } public record Disorientation { - - [JsonPropertyName("Dummy")] public double Dummy { get; set; } } public record Exhaustion { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -1925,8 +1775,6 @@ public record Exhaustion public record LowEdgeHealth { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -1939,8 +1787,6 @@ public record LowEdgeHealth public record RadExposure { - - [JsonPropertyName("Damage")] public double Damage { get; set; } @@ -1950,16 +1796,12 @@ public record RadExposure public record Stun { - - [JsonPropertyName("Dummy")] public double Dummy { get; set; } } public record Intoxication { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -1990,8 +1832,6 @@ public record Intoxication public record Regeneration { - - [JsonPropertyName("LoopTime")] public double LoopTime { get; set; } @@ -2013,8 +1853,6 @@ public record Regeneration public record BodyHealth { - - [JsonPropertyName("Head")] public BodyHealthValue Head { get; set; } @@ -2039,16 +1877,12 @@ public record BodyHealth public record BodyHealthValue { - - [JsonPropertyName("Value")] public double Value { get; set; } } public record Influences { - - [JsonPropertyName("LightBleeding")] public Influence LightBleeding { get; set; } @@ -2067,8 +1901,6 @@ public record Influences public record Influence { - - [JsonPropertyName("HealthSlowDownPercentage")] public double HealthSlowDownPercentage { get; set; } @@ -2081,8 +1913,6 @@ public record Influence public record Wound { - - [JsonPropertyName("WorkingTime")] public double WorkingTime { get; set; } @@ -2095,8 +1925,6 @@ public record Wound public record Berserk { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -2109,16 +1937,12 @@ public record Berserk public record Flash { - - [JsonPropertyName("Dummy")] public double Dummy { get; set; } } public record MedEffect { - - [JsonPropertyName("LoopTime")] public double LoopTime { get; set; } @@ -2146,8 +1970,6 @@ public record MedEffect public record Pain { - - [JsonPropertyName("TremorDelay")] public double TremorDelay { get; set; } @@ -2157,22 +1979,16 @@ public record Pain public record PainKiller { - - public double Dummy { get; set; } } public record SandingScreen { - - public double Dummy { get; set; } } public record MusclePainEffect { - - public double GymEffectivity { get; set; } public double OfflineDurationMax { get; set; } @@ -2184,8 +2000,6 @@ public record MusclePainEffect public record Stimulator { - - public double BuffLoopTime { get; set; } public Dictionary> Buffs { get; set; } @@ -2193,8 +2007,6 @@ public record Stimulator public record Buff { - - [JsonPropertyName("BuffType")] public string BuffType { get; set; } @@ -2221,8 +2033,6 @@ public record Buff public record Tremor { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -2232,8 +2042,6 @@ public record Tremor public record ChronicStaminaFatigue { - - [JsonPropertyName("EnergyRate")] public double EnergyRate { get; set; } @@ -2249,8 +2057,6 @@ public record ChronicStaminaFatigue public record Fracture { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -2281,8 +2087,6 @@ public record Fracture public record HeavyBleeding { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -2334,8 +2138,6 @@ public record HeavyBleeding public record Probability { - - [JsonPropertyName("FunctionType")] public string FunctionType { get; set; } @@ -2351,8 +2153,6 @@ public record Probability public record LightBleeding { - - [JsonPropertyName("DefaultDelay")] public double DefaultDelay { get; set; } @@ -2404,8 +2204,6 @@ public record LightBleeding public record BodyTemperature { - - [JsonPropertyName("DefaultBuildUpTime")] public double DefaultBuildUpTime { get; set; } @@ -2418,8 +2216,6 @@ public record BodyTemperature public record HealPrice { - - [JsonPropertyName("HealthPointPrice")] public double HealthPointPrice { get; set; } @@ -2438,8 +2234,6 @@ public record HealPrice public record ProfileHealthSettings { - - [JsonPropertyName("BodyPartsSettings")] public BodyPartsSettings BodyPartsSettings { get; set; } @@ -2452,8 +2246,6 @@ public record ProfileHealthSettings public record BodyPartsSettings { - - [JsonPropertyName("Head")] public BodyPartsSetting Head { get; set; } @@ -2478,8 +2270,6 @@ public record BodyPartsSettings public record BodyPartsSetting { - - [JsonPropertyName("Minimum")] public double Minimum { get; set; } @@ -2498,8 +2288,6 @@ public record BodyPartsSetting public record HealthFactorsSettings { - - [JsonPropertyName("Energy")] public HealthFactorSetting Energy { get; set; } @@ -2518,8 +2306,6 @@ public record HealthFactorsSettings public record HealthFactorSetting { - - [JsonPropertyName("Minimum")] public double Minimum { get; set; } @@ -2532,8 +2318,6 @@ public record HealthFactorSetting public record Rating { - - [JsonPropertyName("levelRequired")] public double LevelRequired { get; set; } @@ -2546,8 +2330,6 @@ public record Rating public record Categories { - - [JsonPropertyName("experience")] public bool Experience { get; set; } @@ -2581,8 +2363,6 @@ public record Categories public record Tournament { - - [JsonPropertyName("categories")] public TournamentCategories Categories { get; set; } @@ -2595,16 +2375,12 @@ public record Tournament public record TournamentCategories { - - [JsonPropertyName("dogtags")] public bool Dogtags { get; set; } } public record RagFair { - - [JsonPropertyName("enabled")] public bool Enabled { get; set; } @@ -2721,8 +2497,6 @@ public record RagFair public record ItemGlobalRestrictions { - - [JsonPropertyName("MaxFlea")] public double MaxFlea { get; set; } @@ -2735,8 +2509,6 @@ public record ItemGlobalRestrictions public record MaxActiveOfferCount { - - [JsonPropertyName("from")] public double From { get; set; } @@ -2752,8 +2524,6 @@ public record MaxActiveOfferCount public record MaxSumForRarity { - - [JsonPropertyName("Common")] public RarityMaxSum Common { get; set; } @@ -2769,24 +2539,18 @@ public record MaxSumForRarity public record RarityMaxSum { - - [JsonPropertyName("value")] public double Value { get; set; } } public record Handbook { - - [JsonPropertyName("defaultCategory")] public string DefaultCategory { get; set; } } public record Stamina { - - [JsonPropertyName("Capacity")] public double Capacity { get; set; } @@ -2947,8 +2711,6 @@ public record Stamina public record StaminaRestoration { - - [JsonPropertyName("LowerLeftPoint")] public double LowerLeftPoint { get; set; } @@ -2970,8 +2732,6 @@ public record StaminaRestoration public record StaminaDrain { - - [JsonPropertyName("LowerLeftPoint")] public double LowerLeftPoint { get; set; } @@ -2993,16 +2753,12 @@ public record StaminaDrain public record RequirementReferences { - - [JsonPropertyName("Alpinist")] public IEnumerable Alpinists { get; set; } } public record Alpinist { - - [JsonPropertyName("Requirement")] public string Requirement { get; set; } @@ -3021,8 +2777,6 @@ public record Alpinist public record RestrictionsInRaid { - - [JsonPropertyName("MaxInLobby")] public double MaxInLobby { get; set; } @@ -3035,8 +2789,6 @@ public record RestrictionsInRaid public record FavoriteItemsSettings { - - [JsonPropertyName("WeaponStandMaxItemsCount")] public double WeaponStandMaxItemsCount { get; set; } @@ -3046,8 +2798,6 @@ public record FavoriteItemsSettings public record VaultingSettings { - - [JsonPropertyName("IsActive")] public bool IsActive { get; set; } @@ -3063,8 +2813,6 @@ public record VaultingSettings public record VaultingGridSettings { - - [JsonPropertyName("GridSizeX")] public double GridSizeX { get; set; } @@ -3098,8 +2846,6 @@ public record VaultingGridSettings public record VaultingMovesSettings { - - [JsonPropertyName("VaultSettings")] public VaultingSubMoveSettings VaultSettings { get; set; } @@ -3109,8 +2855,6 @@ public record VaultingMovesSettings public record VaultingSubMoveSettings { - - [JsonPropertyName("IsActive")] public bool IsActive { get; set; } @@ -3131,8 +2875,6 @@ public record VaultingSubMoveSettings public record MoveRestrictions { - - [JsonPropertyName("IsActive")] public bool IsActive { get; set; } @@ -3154,8 +2896,6 @@ public record MoveRestrictions public record BTRSettings { - - [JsonPropertyName("LocationsWithBTR")] public IEnumerable LocationsWithBTR { get; set; } @@ -3222,8 +2962,6 @@ public record BTRSettings public record BtrMapConfig { - - [JsonPropertyName("BtrSkin")] public string BtrSkin { get; set; } @@ -3272,8 +3010,6 @@ public record BtrMapConfig public record PathConfig { - - [JsonPropertyName("active")] public bool Active { get; set; } @@ -3307,8 +3043,6 @@ public record PathConfig public record SquadSettings { - - [JsonPropertyName("CountOfRequestsToOnePlayer")] public double CountOfRequestsToOnePlayer { get; set; } @@ -3321,8 +3055,6 @@ public record SquadSettings public record Insurance { - - [JsonPropertyName("ChangeForReturnItemsInOfflineRaid")] public double ChangeForReturnItemsInOfflineRaid { get; set; } @@ -3344,16 +3076,12 @@ public record Insurance public record MessageSendTimeMultiplier { - - [JsonPropertyName("multiplier")] public double Multiplier { get; set; } } public record SkillsSettings { - - [JsonPropertyName("SkillProgressRate")] public double SkillProgressRate { get; set; } @@ -3564,15 +3292,11 @@ public record SkillsSettings public record MeleeSkill { - - public BuffSettings BuffSettings { get; set; } } public record ArmorSkills { - - public double BluntThroughputDamageHVestsReducePerLevel { get; set; } public double WearAmountRepairHVestsReducePerLevel { get; set; } @@ -3604,16 +3328,12 @@ public record ArmorSkills public record ArmorCounters { - - [JsonPropertyName("armorDurability")] public SkillCounter ArmorDurability { get; set; } } public record HideoutManagement { - - public double SkillPointsPerAreaUpgrade { get; set; } public double SkillPointsPerCraft { get; set; } @@ -3631,8 +3351,6 @@ public record HideoutManagement public record SkillPointsRate { - - public SkillPointRate Generator { get; set; } public SkillPointRate AirFilteringUnit { get; set; } @@ -3644,8 +3362,6 @@ public record SkillPointsRate public record SkillPointRate { - - public double ResourceSpent { get; set; } public double PointsGained { get; set; } @@ -3653,8 +3369,6 @@ public record SkillPointRate public record EliteSlots { - - public EliteSlot Generator { get; set; } public EliteSlot AirFilteringUnit { get; set; } @@ -3666,8 +3380,6 @@ public record EliteSlots public record EliteSlot { - - public double Slots { get; set; } public double Container { get; set; } @@ -3675,8 +3387,6 @@ public record EliteSlot public record Crafting { - - [JsonPropertyName("DependentSkillRatios")] public IEnumerable DependentSkillRatios { get; set; } @@ -3708,8 +3418,6 @@ public record Crafting public record Metabolism { - - [JsonPropertyName("HydrationRecoveryRate")] public double HydrationRecoveryRate { get; set; } @@ -3728,8 +3436,6 @@ public record Metabolism public record Immunity { - - [JsonPropertyName("ImmunityMiscEffects")] public double ImmunityMiscEffects { get; set; } @@ -3748,8 +3454,6 @@ public record Immunity public record Endurance { - - [JsonPropertyName("MovementAction")] public double MovementAction { get; set; } @@ -3768,8 +3472,6 @@ public record Endurance public record Strength { - - [JsonPropertyName("DependentSkillRatios")] public IEnumerable DependentSkillRatios { get; set; } @@ -3803,8 +3505,6 @@ public record Strength public record DependentSkillRatio { - - [JsonPropertyName("Ratio")] public double Ratio { get; set; } @@ -3814,8 +3514,6 @@ public record DependentSkillRatio public record QTELevelMultiplier { - - [JsonPropertyName("Level")] public double Level { get; set; } @@ -3825,8 +3523,6 @@ public record QTELevelMultiplier public record Vitality { - - [JsonPropertyName("DamageTakenAction")] public double DamageTakenAction { get; set; } @@ -3836,16 +3532,12 @@ public record Vitality public record HealthSkillProgress { - - [JsonPropertyName("SkillProgress")] public double SkillProgress { get; set; } } public record StressResistance { - - [JsonPropertyName("HealthNegativeEffect")] public double HealthNegativeEffect { get; set; } @@ -3855,16 +3547,12 @@ public record StressResistance public record Throwing { - - [JsonPropertyName("ThrowAction")] public double ThrowAction { get; set; } } public record RecoilControl { - - [JsonPropertyName("RecoilAction")] public double RecoilAction { get; set; } @@ -3874,8 +3562,6 @@ public record RecoilControl public record WeaponSkills { - - [JsonPropertyName("WeaponReloadAction")] public double WeaponReloadAction { get; set; } @@ -3891,16 +3577,12 @@ public record WeaponSkills public record CovertMovement { - - [JsonPropertyName("MovementAction")] public double MovementAction { get; set; } } public record Search { - - [JsonPropertyName("SearchAction")] public double SearchAction { get; set; } @@ -3910,8 +3592,6 @@ public record Search public record WeaponTreatment { - - [JsonPropertyName("BuffMaxCount")] public double BuffMaxCount { get; set; } @@ -3939,16 +3619,12 @@ public record WeaponTreatment public record WeaponTreatmentCounters { - - [JsonPropertyName("firearmsDurability")] public SkillCounter FirearmsDurability { get; set; } } public record BuffSettings { - - [JsonPropertyName("CommonBuffChanceLevelBonus")] public double CommonBuffChanceLevelBonus { get; set; } @@ -3970,8 +3646,6 @@ public record BuffSettings public record MagDrills { - - [JsonPropertyName("RaidLoadedAmmoAction")] public double RaidLoadedAmmoAction { get; set; } @@ -3984,8 +3658,6 @@ public record MagDrills public record Perception { - - [JsonPropertyName("DependentSkillRatios")] public IEnumerable DependentSkillRatios { get; set; } @@ -3998,8 +3670,6 @@ public record Perception public record SkillRatio { - - [JsonPropertyName("Ratio")] public double Ratio { get; set; } @@ -4009,8 +3679,6 @@ public record SkillRatio public record Intellect { - - public required SkillRatio[] DependentSkillRatios { get; set; } [JsonPropertyName("Counters")] @@ -4037,8 +3705,6 @@ public record Intellect public record IntellectCounters { - - [JsonPropertyName("armorDurability")] public SkillCounter ArmorDurability { get; set; } @@ -4051,8 +3717,6 @@ public record IntellectCounters public record SkillCounter { - - [JsonPropertyName("divisor")] public double Divisor { get; set; } @@ -4062,8 +3726,6 @@ public record SkillCounter public record Attention { - - [JsonPropertyName("DependentSkillRatios")] public required SkillRatio[] DependentSkillRatios { get; set; } @@ -4079,8 +3741,6 @@ public record Attention public record Charisma { - - [JsonPropertyName("BonusSettings")] public BonusSettings BonusSettings { get; set; } @@ -4099,8 +3759,6 @@ public record Charisma public record CharismaSkillCounters { - - [JsonPropertyName("insuranceCost")] public SkillCounter InsuranceCost { get; set; } @@ -4119,8 +3777,6 @@ public record CharismaSkillCounters public record BonusSettings { - - [JsonPropertyName("EliteBonusSettings")] public EliteBonusSettings EliteBonusSettings { get; set; } @@ -4130,8 +3786,6 @@ public record BonusSettings public record EliteBonusSettings { - - [JsonPropertyName("FenceStandingLossDiscount")] public double FenceStandingLossDiscount { get; set; } @@ -4144,8 +3798,6 @@ public record EliteBonusSettings public record LevelBonusSettings { - - [JsonPropertyName("HealthRestoreDiscount")] public double HealthRestoreDiscount { get; set; } @@ -4167,8 +3819,6 @@ public record LevelBonusSettings public record Memory { - - [JsonPropertyName("AnySkillUp")] public double AnySkillUp { get; set; } @@ -4178,8 +3828,6 @@ public record Memory public record Surgery { - - [JsonPropertyName("SurgeryAction")] public double SurgeryAction { get; set; } @@ -4189,16 +3837,12 @@ public record Surgery public record AimDrills { - - [JsonPropertyName("WeaponShotAction")] public double WeaponShotAction { get; set; } } public record TroubleShooting { - - [JsonPropertyName("MalfRepairSpeedBonusPerLevel")] public double MalfRepairSpeedBonusPerLevel { get; set; } @@ -4217,8 +3861,6 @@ public record TroubleShooting public record Aiming { - - [JsonPropertyName("ProceduralIntensityByPose")] public XYZ ProceduralIntensityByPose { get; set; } @@ -4279,8 +3921,6 @@ public record Aiming public record Malfunction { - - [JsonPropertyName("AmmoMalfChanceMult")] public double AmmoMalfChanceMult { get; set; } @@ -4359,8 +3999,6 @@ public record Malfunction public record Overheat { - - [JsonPropertyName("MinOverheat")] public double MinimumOverheat { get; set; } @@ -4448,8 +4086,6 @@ public record Overheat public record FenceSettings { - - // MongoId [JsonPropertyName("FenceId")] public string FenceIdentifier { get; set; } @@ -4466,8 +4102,6 @@ public record FenceSettings public record FenceLevel { - - [JsonPropertyName("ReachOnMarkOnUnknowns")] public bool CanReachOnMarkOnUnknowns { get; set; } @@ -4549,8 +4183,6 @@ public record FenceLevel public record Inertia { - - [JsonPropertyName("InertiaLimits")] public XYZ InertiaLimits { get; set; } @@ -4670,16 +4302,12 @@ public record Inertia public record Ballistic { - - [JsonPropertyName("GlobalDamageDegradationCoefficient")] public double GlobalDamageDegradationCoefficient { get; set; } } public record RepairSettings { - - [JsonPropertyName("ItemEnhancementSettings")] public ItemEnhancementSettings ItemEnhancementSettings { get; set; } @@ -4701,8 +4329,6 @@ public record RepairSettings public record ItemEnhancementSettings { - - [JsonPropertyName("DamageReduction")] public PriceModifier DamageReduction { get; set; } @@ -4715,16 +4341,12 @@ public record ItemEnhancementSettings public record PriceModifier { - - [JsonPropertyName("PriceModifier")] public double PriceModifierValue { get; set; } } public record RepairStrategies { - - [JsonPropertyName("Armor")] public RepairStrategy Armor { get; set; } @@ -4734,8 +4356,6 @@ public record RepairStrategies public record RepairStrategy { - - [JsonPropertyName("BuffTypes")] public IEnumerable BuffTypes { get; set; } @@ -4745,8 +4365,6 @@ public record RepairStrategy public record BotPreset { - - [JsonPropertyName("UseThis")] public bool UseThis { get; set; } @@ -4783,8 +4401,6 @@ public record BotPreset public record BotWeaponScattering { - - [JsonPropertyName("Name")] public string Name { get; set; } @@ -4800,8 +4416,6 @@ public record BotWeaponScattering public record Preset { - - [JsonPropertyName("_id")] public MongoId Id { get; set; } @@ -4829,8 +4443,6 @@ public record Preset public record QuestSettings { - - [JsonPropertyName("GlobalRewardRepModifierDailyQuestPvE")] public double GlobalRewardRepModifierDailyQuestPvE { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Location.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Location.cs index f86b2a7f..53dbc30e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Location.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Location.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common; public record Location { - - /// /// Map meta-data /// @@ -50,8 +48,6 @@ public record Location public record StaticContainer { - - [JsonPropertyName("containersGroups")] public Dictionary? 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 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/LocationBase.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/LocationBase.cs index 0e908097..e50331f4 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/LocationBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/LocationBase.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common; public record LocationBase { - - [JsonPropertyName("AccessKeys")] public IEnumerable? 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 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? 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 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 { - - /// /// % Chance out of 100 exit will appear in raid /// @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/LooseLoot.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/LooseLoot.cs index e2606c4b..d2c12f4e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/LooseLoot.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/LooseLoot.cs @@ -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; /// @@ -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")] diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/MetricsTableData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/MetricsTableData.cs index fad483cd..ba1c7a56 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/MetricsTableData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/MetricsTableData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common; public record MetricsTableData { - - [JsonPropertyName("Keys")] public List? Keys { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/PmcData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/PmcData.cs index 1a72821d..c416c76a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/PmcData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/PmcData.cs @@ -22,8 +22,6 @@ public record PostRaidPmcData : PmcData { } public record PostRaidStats { - - [JsonPropertyName("Eft")] public EftStats? Eft { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Request/BaseInteractionRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Request/BaseInteractionRequestData.cs index afed92a1..31b6a5c2 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Request/BaseInteractionRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Request/BaseInteractionRequestData.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Request/UIDRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Request/UIDRequestData.cs index c2a0b354..ec4380dc 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Request/UIDRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Request/UIDRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Request; public record UIDRequestData : IRequestData { - - [JsonPropertyName("uid")] public string? Uid { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Achievement.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Achievement.cs index 173ee684..f6f8f0a1 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Achievement.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Achievement.cs @@ -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? Started { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotBase.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotBase.cs index 83229631..a5baa655 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotBase.cs @@ -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 /// /// 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? 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? 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? Items { get; set; } @@ -432,8 +406,6 @@ public record BotBaseInventory public record Skills { - - public IEnumerable Common { get; set; } public IEnumerable? 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? CarriedQuestItems { get; set; } public IEnumerable? 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? Items { get; set; } } public record OverallCounters { - - public List? Items { get; set; } } public record CounterKeyValue { - - public HashSet? 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? Head { get; set; } public List? 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? 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 { - - /// /// Trader ID item was insured by /// @@ -755,8 +689,6 @@ public record InsuredItem public record Hideout { - - public Dictionary? Production { get; set; } public List? 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? Products { get; set; } /// @@ -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 { - - /// /// SPT specific value to keep track of what index this slot is (0,1,2,3 etc.) /// @@ -931,16 +853,12 @@ public record HideoutSlot public record LastCompleted { - - [JsonPropertyName("$oid")] public string? OId { get; set; } } public record Notes { - - [JsonPropertyName("Notes")] public List? 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotCore.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotCore.cs index e97b28c4..9a3a776f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotCore.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotCore.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record BotCore { - - [JsonPropertyName("SAVAGE_KILL_DIST")] public double? SavageKillDistance { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotType.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotType.cs index 6c211740..e2c947eb 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotType.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/BotType.cs @@ -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 Body { get; set; } @@ -65,8 +61,6 @@ public record Appearance public record Chances { - - [JsonPropertyName("equipment")] public Dictionary EquipmentChances { get; set; } @@ -246,8 +240,6 @@ public double? ModPistol_Grip { get; set; } public record DifficultyCategories { - - public Dictionary? Aiming { get; set; } // TODO: string | number | boolean public Dictionary? Boss { get; set; } // TODO: string | number | boolean @@ -279,8 +271,6 @@ public record DifficultyCategories public record Experience { - - /// /// key = bot difficulty /// @@ -308,16 +298,12 @@ public record Experience public record Generation { - - [JsonPropertyName("items")] public GenerationWeightingItems Items { get; set; } } public record GenerationData { - - /// /// key: number of items, value: weighting /// @@ -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 BodyParts { get; set; } public MinMax Energy { get; set; } @@ -391,8 +373,6 @@ public record BotTypeHealth public record BodyPart { - - public MinMax Chest { get; set; } public MinMax Head { get; set; } @@ -410,8 +390,6 @@ public record BodyPart public record BotTypeInventory { - - [JsonPropertyName("equipment")] public Dictionary> Equipment { get; set; } @@ -426,8 +404,6 @@ public record BotTypeInventory public record ItemPools { - - public Dictionary Backpack { get; set; } public Dictionary Pockets { get; set; } @@ -441,8 +417,6 @@ public record ItemPools public record BotDbSkills { - - public Dictionary> Common { get; set; } public Dictionary>? Mastering { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/CustomisationStorage.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/CustomisationStorage.cs index 73df4e93..c7da8f50 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/CustomisationStorage.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/CustomisationStorage.cs @@ -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"; diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/CustomizationItem.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/CustomizationItem.cs index 8182fa22..8d784135 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/CustomizationItem.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/CustomizationItem.cs @@ -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 diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/HandbookBase.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/HandbookBase.cs index 3eaada7a..1194c375 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/HandbookBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/HandbookBase.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record HandbookBase { - - [JsonPropertyName("Categories")] public List 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Item.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Item.cs index c4bbf741..9dd62da2 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Item.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Item.cs @@ -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 { - - /// /// Hideout inventory id that was used by improvement action /// @@ -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? 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? 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? 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; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationServices.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationServices.cs index 9e26b0d0..dd18efe5 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationServices.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationServices.cs @@ -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 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationsBase.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationsBase.cs index 475cc7a2..7b9fa040 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationsBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationsBase.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationsGenerateAllResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationsGenerateAllResponse.cs index d77af074..3fc15867 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationsGenerateAllResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/LocationsGenerateAllResponse.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record LocationsGenerateAllResponse { - - [JsonPropertyName("locations")] public Dictionary Locations { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Match.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Match.cs index 1da5cf54..88f01b2f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Match.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Match.cs @@ -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 Keys { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Prestige.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Prestige.cs index 405bd042..fb959b5d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Prestige.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Prestige.cs @@ -5,16 +5,12 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record Prestige { - - [JsonPropertyName("elements")] public List 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 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; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/ProfileTemplate.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/ProfileTemplate.cs index 699318cd..d61fb67b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/ProfileTemplate.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/ProfileTemplate.cs @@ -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? InitialLoyaltyLevel { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Quest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Quest.cs index 16b0da93..394f4a35 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Quest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Quest.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record Quest { - - /// /// SPT addition - human readable quest name /// @@ -128,8 +126,6 @@ public record Quest /// 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? 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? 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/RepeatableQuests.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/RepeatableQuests.cs index 4170ce9d..de01bbe5 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/RepeatableQuests.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/RepeatableQuests.cs @@ -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 { get; set; } @@ -127,8 +117,6 @@ public record ChangeRequirement public record ChangeCost { - - /// /// What item it will take to reset daily /// @@ -146,24 +134,18 @@ public record ChangeCost public record RewardOptions { - - [JsonPropertyName("itemsBlacklist")] public List? ItemsBlacklist { get; set; } } public record Options { - - [JsonPropertyName("Completion")] public CompletionFilter? Completion { get; set; } } public record CompletionFilter { - - [JsonPropertyName("itemsBlacklist")] public List? 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Reward.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Reward.cs index ddf385f7..e8ff36b6 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Reward.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Reward.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TemplateItem.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TemplateItem.cs index c14b3805..d8297921 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TemplateItem.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TemplateItem.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record TemplateItem { - - private Dictionary? _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? 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? Filters { get; set; } @@ -1714,8 +1692,6 @@ public record GridProps public record GridFilter { - - [JsonPropertyName("Filter")] public HashSet? 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? 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? 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? 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Trader.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Trader.cs index e27ab81d..fedf6d90 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Trader.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/Trader.cs @@ -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 Category { get; set; } @@ -144,8 +138,6 @@ public record ItemBuyData public record ItemSellData { - - [JsonPropertyName("category")] public required HashSet 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? AchievementRequirements { get; set; } @@ -350,8 +328,6 @@ public record SuitRequirements public record ItemRequirement { - - [JsonPropertyName("count")] public double? Count { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TraderDialogs.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TraderDialogs.cs index 3c1e221b..c65d15cf 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TraderDialogs.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/Tables/TraderDialogs.cs @@ -5,7 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common.Tables; public record TraderDialogs { - [JsonPropertyName("elements")] public required List Elements; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/XY.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/XY.cs index ad98f09c..b193442c 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/XY.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/XY.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common; public record XY { - - [JsonPropertyName("x")] public double? X { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/XYZ.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/XYZ.cs index 5d7c300e..8e3a014e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Common/XYZ.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Common/XYZ.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Common; public record XYZ { - - [JsonPropertyName("x")] public double? X { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/BuyClothingRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/BuyClothingRequestData.cs index 68d76d92..5cda7445 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/BuyClothingRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/BuyClothingRequestData.cs @@ -15,8 +15,6 @@ public record BuyClothingRequestData : InventoryBaseActionRequestData public record PaymentItemForClothing { - - [JsonPropertyName("del")] public bool? Del { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/CustomizationSetRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/CustomizationSetRequest.cs index d7f4224f..cc8744fc 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/CustomizationSetRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/CustomizationSetRequest.cs @@ -12,8 +12,6 @@ public record CustomizationSetRequest : InventoryBaseActionRequestData public record CustomizationSetOption { - - [JsonPropertyName("id")] public MongoId Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/WearClothingRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/WearClothingRequestData.cs index 5fc9fb0a..b6436c50 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/WearClothingRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Customization/WearClothingRequestData.cs @@ -2,7 +2,4 @@ using System.Text.Json.Serialization; namespace SPTarkov.Server.Core.Models.Eft.Customization; -public record WearClothingRequestData -{ - -} +public record WearClothingRequestData { } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/AcceptFriendRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/AcceptFriendRequestData.cs index a43296b7..879ff6eb 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/AcceptFriendRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/AcceptFriendRequestData.cs @@ -11,8 +11,6 @@ public record DeclineFriendRequestData : BaseFriendRequest { } public record BaseFriendRequest : IRequestData { - - [JsonPropertyName("profileId")] public string? ProfileId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/AddUserGroupMailRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/AddUserGroupMailRequest.cs index 0ba4b119..c0340fa2 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/AddUserGroupMailRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/AddUserGroupMailRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record AddUserGroupMailRequest : IRequestData { - - [JsonPropertyName("dialogId")] public string? DialogId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ChangeGroupMailOwnerRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ChangeGroupMailOwnerRequest.cs index e9ed3ddb..78b060f8 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ChangeGroupMailOwnerRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ChangeGroupMailOwnerRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record ChangeGroupMailOwnerRequest : IRequestData { - - [JsonPropertyName("dialogId")] public string? DialogId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ChatServer.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ChatServer.cs index e2d76d65..efd2ba35 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ChatServer.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ChatServer.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ClearMailMessageRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ClearMailMessageRequest.cs index 1b7b9b88..75ad0950 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ClearMailMessageRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/ClearMailMessageRequest.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record ClearMailMessageRequest : IRequestData { - - [JsonPropertyName("dialogId")] public required MongoId DialogId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/CreateGroupMailRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/CreateGroupMailRequest.cs index 4e906965..4a27f20c 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/CreateGroupMailRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/CreateGroupMailRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record CreateGroupMailRequest : IRequestData { - - [JsonPropertyName("Name")] public string? Name { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/DeleteFriendRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/DeleteFriendRequest.cs index 37a6073d..beeb034f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/DeleteFriendRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/DeleteFriendRequest.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record DeleteFriendRequest : IRequestData { - - [JsonPropertyName("friend_id")] public MongoId FriendId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/FriendRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/FriendRequestData.cs index 81dd9de7..90343173 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/FriendRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/FriendRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record FriendRequestData : IRequestData { - - [JsonPropertyName("status")] public int? Status { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/FriendRequestSendResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/FriendRequestSendResponse.cs index 17465390..b87884de 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/FriendRequestSendResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/FriendRequestSendResponse.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record FriendRequestSendResponse { - - [JsonPropertyName("status")] public BackendErrorCodes? Status { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetAllAttachmentsRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetAllAttachmentsRequestData.cs index 0a7d4201..534ee94a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetAllAttachmentsRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetAllAttachmentsRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record GetAllAttachmentsRequestData : IRequestData { - - [JsonPropertyName("dialogId")] public string DialogId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetAllAttachmentsResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetAllAttachmentsResponse.cs index cb753b40..1858301b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetAllAttachmentsResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetAllAttachmentsResponse.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record GetAllAttachmentsResponse { - - [JsonPropertyName("messages")] public List? Messages { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetChatServerListRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetChatServerListRequestData.cs index d54db71b..0004f989 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetChatServerListRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetChatServerListRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record GetChatServerListRequestData : IRequestData { - - [JsonPropertyName("VersionId")] public string? VersionId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetFriendListDataResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetFriendListDataResponse.cs index d5ee4d4b..f45d6d36 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetFriendListDataResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetFriendListDataResponse.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record GetFriendListDataResponse { - - [JsonPropertyName("Friends")] public List? Friends { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogInfoRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogInfoRequestData.cs index 219c3033..9eed1e80 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogInfoRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogInfoRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record GetMailDialogInfoRequestData : IRequestData { - - [JsonPropertyName("dialogId")] public MongoId? DialogId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogListRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogListRequestData.cs index a4164267..955965cb 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogListRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogListRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record GetMailDialogListRequestData : IRequestData { - - [JsonPropertyName("limit")] public int? Limit { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogViewRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogViewRequestData.cs index 3cc3b610..0254bf39 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogViewRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogViewRequestData.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record GetMailDialogViewRequestData : IRequestData { - - [JsonPropertyName("type")] public MessageType? Type { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogViewResponseData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogViewResponseData.cs index eca18cc3..1776526a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogViewResponseData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/GetMailDialogViewResponseData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record GetMailDialogViewResponseData { - - [JsonPropertyName("messages")] public List? Messages { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/PinDialogRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/PinDialogRequestData.cs index ab70b843..d60538ab 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/PinDialogRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/PinDialogRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record PinDialogRequestData : IRequestData { - - [JsonPropertyName("dialogId")] public MongoId? DialogId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveDialogRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveDialogRequestData.cs index 849cbf44..4d5a772b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveDialogRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveDialogRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record RemoveDialogRequestData : IRequestData { - - [JsonPropertyName("dialogId")] public MongoId? DialogId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveMailMessageRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveMailMessageRequest.cs index a7efa6b4..6697fefb 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveMailMessageRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveMailMessageRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record RemoveMailMessageRequest : IRequestData { - - [JsonPropertyName("dialogId")] public string? DialogId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveUserGroupMailRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveUserGroupMailRequest.cs index 041af2d1..087f2674 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveUserGroupMailRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/RemoveUserGroupMailRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record RemoveUserGroupMailRequest : IRequestData { - - [JsonPropertyName("dialogId")] public string? DialogId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/SendMessageRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/SendMessageRequest.cs index 534faef0..524fc983 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/SendMessageRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/SendMessageRequest.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record SendMessageRequest : IRequestData { - - [JsonPropertyName("dialogId")] public required string DialogId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/SetDialogReadRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/SetDialogReadRequestData.cs index 0f05d235..c88dbc31 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/SetDialogReadRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Dialog/SetDialogReadRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Dialog; public record SetDialogReadRequestData : IRequestData { - - [JsonPropertyName("dialogs")] public List? Dialogs { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/CheckVersionResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/CheckVersionResponse.cs index 3fc3bc33..0a6dfa7c 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/CheckVersionResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/CheckVersionResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record CheckVersionResponse { - - [JsonPropertyName("isvalid")] public bool? IsValid { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/CurrentGroupResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/CurrentGroupResponse.cs index ccc124d3..3c3b933a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/CurrentGroupResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/CurrentGroupResponse.cs @@ -5,16 +5,12 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record CurrentGroupResponse { - - [JsonPropertyName("squad")] public List? 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameConfigResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameConfigResponse.cs index 41c7d1c7..575a73ce 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameConfigResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameConfigResponse.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameEmptyCrcRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameEmptyCrcRequestData.cs index 6d4ba6fd..876b71e2 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameEmptyCrcRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameEmptyCrcRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record GameEmptyCrcRequestData : IRequestData { - - [JsonPropertyName("crc")] public int? Crc { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameKeepAliveResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameKeepAliveResponse.cs index 2d1c62a3..821bcad5 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameKeepAliveResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameKeepAliveResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record GameKeepAliveResponse { - - [JsonPropertyName("msg")] public string? Message { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameLogoutResponseData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameLogoutResponseData.cs index fa08e92e..6fa0c46b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameLogoutResponseData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameLogoutResponseData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record GameLogoutResponseData { - - [JsonPropertyName("status")] public string? Status { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameModeRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameModeRequestData.cs index 80d97693..365bfab2 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameModeRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameModeRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record GameModeRequestData : IRequestData { - - [JsonPropertyName("sessionMode")] public string? SessionMode { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameModeResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameModeResponse.cs index d77a4810..6fd580ac 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameModeResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameModeResponse.cs @@ -10,8 +10,6 @@ public enum SessionMode public record GameModeResponse { - - [JsonPropertyName("gameMode")] public string? GameMode { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameStartResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameStartResponse.cs index 29450f02..b1794d81 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameStartResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GameStartResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record GameStartResponse { - - [JsonPropertyName("utc_time")] public double UtcTime { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetItemPricesResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetItemPricesResponse.cs index 0138f1f7..30c6eb2a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetItemPricesResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetItemPricesResponse.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record GetItemPricesResponse { - - [JsonPropertyName("supplyNextTime")] public double? SupplyNextTime { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetRaidTimeRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetRaidTimeRequest.cs index c08edc0a..c8640155 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetRaidTimeRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetRaidTimeRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record GetRaidTimeRequest : IRequestData { - - [JsonPropertyName("Side")] public string? Side { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetRaidTimeResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetRaidTimeResponse.cs index bfff4695..cd61a339 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetRaidTimeResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/GetRaidTimeResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record GetRaidTimeResponse { - - [JsonPropertyName("NewSurviveTimeSeconds")] public double? NewSurviveTimeSeconds { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SendClientModsRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SendClientModsRequest.cs index 2fd32df9..ebe06c68 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SendClientModsRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SendClientModsRequest.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record SendClientModsRequest : IRequestData { - - [JsonPropertyName("activeClientMods")] public List ActiveClientMods { get; set; } = []; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SendSurveyOpinionRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SendSurveyOpinionRequest.cs index b3a600cd..b01c5b0f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SendSurveyOpinionRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SendSurveyOpinionRequest.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/ServerDetails.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/ServerDetails.cs index ca436eaf..7eed3bfe 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/ServerDetails.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/ServerDetails.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record ServerDetails { - - [JsonPropertyName("ip")] public string? Ip { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SurveyResponseData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SurveyResponseData.cs index 0486f0ea..8153e5ba 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SurveyResponseData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/SurveyResponseData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Game; public record SurveyResponseData { - - [JsonPropertyName("locale")] public Dictionary>? 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/VersionValidateRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/VersionValidateRequestData.cs index 61d8dbdb..fda67b13 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Game/VersionValidateRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Game/VersionValidateRequestData.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Health/HealthTreatmentRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Health/HealthTreatmentRequestData.cs index 2c7971d3..66d17936 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Health/HealthTreatmentRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Health/HealthTreatmentRequestData.cs @@ -25,8 +25,6 @@ public record HealthTreatmentRequestData : InventoryBaseActionRequestData public record Difference { - - [JsonPropertyName("BodyParts")] public Dictionary? BodyParts { get; set; } @@ -39,8 +37,6 @@ public record Difference public record BodyPartValues { - - public double Health { get; set; } /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Health/SyncHealthRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Health/SyncHealthRequestData.cs index d3449a0f..803b9ba8 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Health/SyncHealthRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Health/SyncHealthRequestData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Health; public record SyncHealthRequestData { - - [JsonPropertyName("Health")] public List? 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Health/WorkoutData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Health/WorkoutData.cs index acdd1654..509c1f6c 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Health/WorkoutData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Health/WorkoutData.cs @@ -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 Common { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutArea.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutArea.cs index 17580672..07bad2f7 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutArea.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutArea.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutContinuousProductionStartRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutContinuousProductionStartRequestData.cs index 5042c72f..096ca3e5 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutContinuousProductionStartRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutContinuousProductionStartRequestData.cs @@ -15,8 +15,6 @@ public record HideoutContinuousProductionStartRequestData : InventoryBaseActionR public record HideoutProperties { - - public int? BtcFarmGcs { get; set; } public bool IsGeneratorOn { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutCustomisation.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutCustomisation.cs index 874ed9c2..377f3b66 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutCustomisation.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutCustomisation.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout; public record HideoutCustomisation { - - [JsonPropertyName("globals")] public List? 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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutProduction.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutProduction.cs index 5d943834..82d4cdbd 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutProduction.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutProduction.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout; public record HideoutProductionData { - - [JsonPropertyName("recipes")] public List? 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? Common { get; set; } @@ -133,8 +123,6 @@ public record EndProducts public record CultistRecipe { - - [JsonPropertyName("_id")] public MongoId Id { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutSettingsBase.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutSettingsBase.cs index 49a54edb..8b696412 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutSettingsBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/HideoutSettingsBase.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Hideout; public record HideoutSettingsBase { - - [JsonPropertyName("generatorSpeedWithoutFuel")] public double? GeneratorSpeedWithoutFuel { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/QteData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/QteData.cs index 1d3dddfa..7fad91c4 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/QteData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Hideout/QteData.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/HttpResponse/GetBodyResponseData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/HttpResponse/GetBodyResponseData.cs index fa78e4f8..43a5c6bb 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/HttpResponse/GetBodyResponseData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/HttpResponse/GetBodyResponseData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.HttpResponse; public record GetBodyResponseData { - - [JsonPropertyName("err")] public BackendErrorCodes? Err { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/HttpResponse/NullResponseData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/HttpResponse/NullResponseData.cs index 5edd65cb..e1f48dda 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/HttpResponse/NullResponseData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/HttpResponse/NullResponseData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.HttpResponse; public record NullResponseData { - - [JsonPropertyName("err")] public int? Err { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/InsuredItemsData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/InsuredItemsData.cs index b9192a8d..d251973e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/InsuredItemsData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/InsuredItemsData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.InRaid; public record InsuredItemsData { - - [JsonPropertyName("id")] public string? Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/ItemDeliveryRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/ItemDeliveryRequestData.cs index 38ea093c..32f7d681 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/ItemDeliveryRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/ItemDeliveryRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.InRaid; public record ItemDeliveryRequestData { - - [JsonPropertyName("items")] public List? Items { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/RegisterPlayerRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/RegisterPlayerRequestData.cs index ee97efb5..2b1ada17 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/RegisterPlayerRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/InRaid/RegisterPlayerRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.InRaid; public record RegisterPlayerRequestData : IRequestData { - - [JsonPropertyName("crc")] public int? Crc { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Insurance/GetInsuranceCostRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Insurance/GetInsuranceCostRequestData.cs index d7bd2776..904cc73a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Insurance/GetInsuranceCostRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Insurance/GetInsuranceCostRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Insurance; public record GetInsuranceCostRequestData : IRequestData { - - [JsonPropertyName("traders")] public List? Traders { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemDirectRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemDirectRequest.cs index efb27510..97ff8a50 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemDirectRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemDirectRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory; public record AddItemDirectRequest { - - /// /// Item and child mods to add to player inventory /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemRequestData.cs index cd05a264..25a04189 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory; public record AddItemRequestData { - - /// /// Trader id /// @@ -19,8 +17,6 @@ public record AddItemRequestData public record ItemToAdd { - - [JsonPropertyName("count")] public int? Count { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemTempObject.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemTempObject.cs index bca677d1..ee887645 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemTempObject.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemTempObject.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory; public record AddItemTempObject { - - [JsonPropertyName("itemRef")] public Item? ItemReference { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemsDirectRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemsDirectRequest.cs index 23970f72..6d850d90 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemsDirectRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/AddItemsDirectRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Inventory; public record AddItemsDirectRequest { - - /// /// Item and child mods to add to player inventory /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/InventoryBaseActionRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/InventoryBaseActionRequestData.cs index 40b6c12f..c7b4f83f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/InventoryBaseActionRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/InventoryBaseActionRequestData.cs @@ -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; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/RedeemProfileRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/RedeemProfileRequestData.cs index e1d1b9ff..0e755daa 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/RedeemProfileRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Inventory/RedeemProfileRequestData.cs @@ -11,8 +11,6 @@ public record RedeemProfileRequestData : InventoryBaseActionRequestData public record RedeemProfileRequestEvent { - - [JsonPropertyName("MessageId")] public MongoId MessageId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/EmptyItemEventRouterResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/EmptyItemEventRouterResponse.cs index c487f362..ff228ffe 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/EmptyItemEventRouterResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/EmptyItemEventRouterResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.ItemEvent; public record EmptyItemEventRouterResponse : ItemEventRouterBase { - - [JsonPropertyName("profileChanges")] public new string? ProfileChanges { get; set; } = string.Empty; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterBase.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterBase.cs index b2c325a6..b739319e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterBase.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Eft.ItemEvent; public record ItemEventRouterBase { - - [JsonIgnore(Condition = JsonIgnoreCondition.Never)] [JsonPropertyName("warnings")] public List? Warnings { get; set; } @@ -20,8 +18,6 @@ public record ItemEventRouterBase public record Warning { - - [JsonPropertyName("index")] public int? Index { get; set; } @@ -37,8 +33,6 @@ public record Warning public record ProfileChange { - - [JsonPropertyName("_id")] public string? Id { get; set; } @@ -99,8 +93,6 @@ public record ProfileChange public record HideoutStashItem { - - [JsonPropertyName("id")] public MongoId Id { get; set; } @@ -110,8 +102,6 @@ public record HideoutStashItem public record WeaponBuildChange { - - [JsonPropertyName("id")] public string? Id { get; set; } @@ -127,8 +117,6 @@ public record WeaponBuildChange public record EquipmentBuildChange { - - [JsonPropertyName("id")] public string? Id { get; set; } @@ -153,8 +141,6 @@ public record EquipmentBuildChange public record ItemChanges { - - [JsonPropertyName("new")] public List? NewItems { get; set; } @@ -167,8 +153,6 @@ public record ItemChanges public record DeletedItem { - - [JsonPropertyName("_id")] public MongoId Id { get; set; } } @@ -178,8 +162,6 @@ public record DeletedItem /// public record TraderData { - - [JsonPropertyName("salesSum")] public double? SalesSum { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterRequest.cs index 67ff230d..fbdf6549 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterRequest.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Eft.ItemEvent; public record ItemEventRouterRequest : IRequestData { - - [JsonPropertyName("data")] public List? Data { get; set; } @@ -22,8 +20,6 @@ public record ItemEventRouterRequest : IRequestData public record Daum { - - [JsonPropertyName("Action")] public string? Action { get; set; } @@ -51,8 +47,6 @@ public record Daum public record FromOwner { - - [JsonPropertyName("id")] public string? Id { get; set; } @@ -62,8 +56,6 @@ public record FromOwner public record To { - - [JsonPropertyName("id")] public string? Id { get; set; } @@ -76,8 +68,6 @@ public record To public record Location { - - [JsonPropertyName("x")] public int? X { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterResponse.cs index 049ef443..c941ebff 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/ItemEvent/ItemEventRouterResponse.cs @@ -5,7 +5,4 @@ namespace SPTarkov.Server.Core.Models.Eft.ItemEvent; /// /// An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync /// -public record ItemEventRouterResponse : ItemEventRouterBase -{ - -} +public record ItemEventRouterResponse : ItemEventRouterBase { } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/GetMiniProfileRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/GetMiniProfileRequestData.cs index e73ec7c5..1e06c564 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/GetMiniProfileRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/GetMiniProfileRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Launcher; public record GetMiniProfileRequestData : IRequestData { - - [JsonPropertyName("username")] public string? Username { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/LoginRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/LoginRequestData.cs index c8ff4602..fe80f328 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/LoginRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/LoginRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Launcher; public record LoginRequestData : IRequestData { - - [JsonPropertyName("username")] public string? Username { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/MiniProfile.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/MiniProfile.cs index 59d9d27c..bf4eb150 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/MiniProfile.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Launcher/MiniProfile.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Launcher; public record MiniProfile { - - [JsonPropertyName("username")] public string? Username { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Location/AirdropLootResult.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Location/AirdropLootResult.cs index fdf200e9..3def065b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Location/AirdropLootResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Location/AirdropLootResult.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Location; public record AirdropLootResult { - - [JsonPropertyName("dropType")] public string? DropType { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetAirdropLootRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetAirdropLootRequest.cs index 9907c88b..ff8fd8a3 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetAirdropLootRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetAirdropLootRequest.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Location; public record GetAirdropLootRequest : IRequestData { - - [JsonPropertyName("containerId")] public MongoId ContainerId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetAirdropLootResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetAirdropLootResponse.cs index 8ca9c10a..54e70ccd 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetAirdropLootResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetAirdropLootResponse.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Location; public record GetAirdropLootResponse { - - /// /// The type of airdrop /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetLocationRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetLocationRequestData.cs index 1b5b45ec..ae4121d5 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetLocationRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Location/GetLocationRequestData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Location; public record GetLocationRequestData { - - [JsonPropertyName("crc")] public int? Crc { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/EndLocalRaidRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/EndLocalRaidRequestData.cs index 9389751f..25644728 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/EndLocalRaidRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/EndLocalRaidRequestData.cs @@ -9,8 +9,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record EndLocalRaidRequestData : IRequestData { - - /// /// ID of server player just left /// @@ -38,8 +36,6 @@ public record EndLocalRaidRequestData : IRequestData public record EndRaidResult { - - [JsonPropertyName("profile")] public PmcData? Profile { get; set; } @@ -77,8 +73,6 @@ public record EndRaidResult public record LocationTransit { - - [JsonPropertyName("hash")] public string? Hash { get; set; } @@ -121,8 +115,6 @@ public record LocationTransit public record TransitProfile { - - [JsonPropertyName("_id")] public string? Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/EndOfflineRaidRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/EndOfflineRaidRequestData.cs index e8de124e..f365ab93 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/EndOfflineRaidRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/EndOfflineRaidRequestData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record EndOfflineRaidRequestData { - - [JsonPropertyName("crc")] public int? Crc { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/GroupCharacter.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/GroupCharacter.cs index 8e33268a..fff37469 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/GroupCharacter.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/GroupCharacter.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record GroupCharacter { - - [JsonPropertyName("_id")] public string? Id { get; set; } @@ -35,8 +33,6 @@ public record GroupCharacter public record CharacterInfo { - - [JsonPropertyName("Nickname")] public string? Nickname { get; set; } @@ -64,8 +60,6 @@ public record CharacterInfo public record PlayerVisualRepresentation { - - [JsonPropertyName("Info")] public VisualInfo? Info { get; set; } @@ -78,8 +72,6 @@ public record PlayerVisualRepresentation public record VisualInfo { - - [JsonPropertyName("Side")] public string? Side { get; set; } @@ -98,8 +90,6 @@ public record VisualInfo public record Customization { - - [JsonPropertyName("Head")] public string? Head { get; set; } @@ -115,8 +105,6 @@ public record Customization public record Equipment { - - [JsonPropertyName("Id")] public string? Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupCurrentResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupCurrentResponse.cs index cee8ba87..f2c9bf60 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupCurrentResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupCurrentResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record MatchGroupCurrentResponse { - - [JsonPropertyName("squad")] public List? Squad { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupInviteSendRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupInviteSendRequest.cs index ef31f2ca..fdb42eb2 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupInviteSendRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupInviteSendRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record MatchGroupInviteSendRequest : IRequestData { - - [JsonPropertyName("to")] public string? To { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupJoinRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupJoinRequest.cs index b75fb080..8695c26f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupJoinRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupJoinRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record MatchGroupJoinRequest : IRequestData { - - [JsonPropertyName("location")] public string? Location { get; set; } @@ -25,8 +23,6 @@ public record MatchGroupJoinRequest : IRequestData public record JoinServer { - - [JsonPropertyName("ping")] public int? Ping { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupPlayerRemoveRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupPlayerRemoveRequest.cs index e3a7085e..299c2800 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupPlayerRemoveRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupPlayerRemoveRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record MatchGroupPlayerRemoveRequest : IRequestData { - - [JsonPropertyName("aidToKick")] public string? AidToKick { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStartGameRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStartGameRequest.cs index c2b59cb5..28423b5a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStartGameRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStartGameRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record MatchGroupStartGameRequest : IRequestData { - - [JsonPropertyName("groupId")] public string? GroupId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStatusRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStatusRequest.cs index 98f0c473..3e36c12b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStatusRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStatusRequest.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record MatchGroupStatusRequest : IRequestData { - - [JsonPropertyName("location")] public string? Location { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStatusResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStatusResponse.cs index 003e09c2..1464d8d9 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStatusResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupStatusResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record MatchGroupStatusResponse { - - [JsonPropertyName("players")] public List? Players { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupTransferRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupTransferRequest.cs index 43189163..308d903d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupTransferRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupTransferRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record MatchGroupTransferRequest : IRequestData { - - [JsonPropertyName("aidToChange")] public string? AidToChange { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/ProfileStatusRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/ProfileStatusRequest.cs index 52027a82..89cabf3b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/ProfileStatusRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/ProfileStatusRequest.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record ProfileStatusRequest { - - [JsonPropertyName("groupId")] public int? GroupId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/ProfileStatusResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/ProfileStatusResponse.cs index 40a5dd69..1e26365f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/ProfileStatusResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/ProfileStatusResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record ProfileStatusResponse { - - [JsonPropertyName("maxPveCountExceeded")] public bool? MaxPveCountExceeded { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/PutMetricsRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/PutMetricsRequestData.cs index 664022f2..dd68ac95 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/PutMetricsRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/PutMetricsRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record PutMetricsRequestData : IRequestData { - - [JsonPropertyName("sid")] public string? SessionId { get; set; } @@ -37,16 +35,12 @@ public record PutMetricsRequestData : IRequestData public record SharedSettings { - - [JsonPropertyName("StatedFieldOfView")] public double? StatedFieldOfView { get; set; } } public record HardwareDescription { - - [JsonPropertyName("deviceUniqueIdentifier")] public string? DeviceUniqueIdentifier { get; set; } @@ -101,8 +95,6 @@ public record HardwareDescription public record ClientEvents { - - [JsonPropertyName("MatchingCompleted")] public double? MatchingCompleted { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/RaidSettings.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/RaidSettings.cs index f7f69211..73659448 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/RaidSettings.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/RaidSettings.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record RaidSettings { - - [JsonPropertyName("keyId")] public string? KeyId { get; set; } @@ -54,8 +52,6 @@ public record RaidSettings public record TimeAndWeatherSettings { - - [JsonPropertyName("isRandomTime")] public bool? IsRandomTime { get; set; } @@ -88,8 +84,6 @@ public record TimeAndWeatherSettings public record BotSettings { - - [JsonPropertyName("isScavWars")] public bool? IsScavWars { get; set; } @@ -100,8 +94,6 @@ public record BotSettings public record WavesSettings { - - [JsonPropertyName("botAmount")] [JsonConverter(typeof(JsonStringEnumConverter))] public BotAmount? BotAmount { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/RequestIdRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/RequestIdRequest.cs index 84eb46cb..82e33133 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/RequestIdRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/RequestIdRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record RequestIdRequest : IRequestData { - - [JsonPropertyName("requestId")] public string? RequestId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/Server.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/Server.cs index 25626580..92e28120 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/Server.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/Server.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record Server { - - [JsonPropertyName("ping")] public int? Ping { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/SessionStatus.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/SessionStatus.cs index 6b7afc99..4acd778a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/SessionStatus.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/SessionStatus.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record SessionStatus { - - [JsonPropertyName("profileid")] public string? ProfileId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/StartLocalRaidRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/StartLocalRaidRequestData.cs index 4a1760b5..b76d42b1 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/StartLocalRaidRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/StartLocalRaidRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record StartLocalRaidRequestData : IRequestData { - - [JsonPropertyName("serverId")] public string? ServerId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/StartLocalRaidResponseData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/StartLocalRaidResponseData.cs index 81bfe548..71697e20 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/StartLocalRaidResponseData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/StartLocalRaidResponseData.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record StartLocalRaidResponseData { - - [JsonPropertyName("serverId")] public string? ServerId { get; set; } @@ -34,16 +32,12 @@ public record StartLocalRaidResponseData public record ProfileInsuredItems { - - [JsonPropertyName("insuredItems")] public List? InsuredItems { get; set; } } public record Transition { - - [JsonPropertyName("transitionType")] public TransitionType? TransitionType { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/UpdatePingRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/UpdatePingRequestData.cs index 173a3020..e1fdc498 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Match/UpdatePingRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Match/UpdatePingRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Match; public record UpdatePingRequestData : IRequestData { - - [JsonPropertyName("servers")] public List? servers { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Notes/NoteActionRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Notes/NoteActionRequest.cs index b6a6d3c7..109fd26c 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Notes/NoteActionRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Notes/NoteActionRequest.cs @@ -14,8 +14,6 @@ public record NoteActionRequest : BaseInteractionRequestData public record Note { - - [JsonPropertyName("Time")] public double? Time { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Notifier/Notifier.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Notifier/Notifier.cs index 9fa2b410..571dc343 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Notifier/Notifier.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Notifier/Notifier.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Notifier; public record NotifierChannel { - - [JsonPropertyName("server")] public string? Server { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Notifier/SelectProfileResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Notifier/SelectProfileResponse.cs index e10e40d1..7a926360 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Notifier/SelectProfileResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Notifier/SelectProfileResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Notifier; public record SelectProfileResponse { - - [JsonPropertyName("status")] public string? Status { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/PresetBuild/PresetBuildActionRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/PresetBuild/PresetBuildActionRequestData.cs index 02076f3b..d666eba4 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/PresetBuild/PresetBuildActionRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/PresetBuild/PresetBuildActionRequestData.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.PresetBuild; public record PresetBuildActionRequestData : IRequestData { - - [JsonPropertyName("Action")] public string? Action { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/PresetBuild/RemoveBuildRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/PresetBuild/RemoveBuildRequestData.cs index 17614652..8a58d136 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/PresetBuild/RemoveBuildRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/PresetBuild/RemoveBuildRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.PresetBuild; public record RemoveBuildRequestData : IRequestData { - - [JsonPropertyName("id")] public MongoId Id { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Prestige/GetPrestigeResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Prestige/GetPrestigeResponse.cs index 78741790..95e61dd8 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Prestige/GetPrestigeResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Prestige/GetPrestigeResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Prestige; public record GetPrestigeResponse { - - [JsonPropertyName("elements")] public List? Elements { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Prestige/ObtainPrestigeRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Prestige/ObtainPrestigeRequest.cs index 08bb9454..55e4e5c1 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Prestige/ObtainPrestigeRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Prestige/ObtainPrestigeRequest.cs @@ -8,8 +8,6 @@ public class ObtainPrestigeRequestList : List, IRequestDa public record ObtainPrestigeRequest : IRequestData { - - [JsonPropertyName("id")] public MongoId Id { get; set; } @@ -19,8 +17,6 @@ public record ObtainPrestigeRequest : IRequestData public record Location { - - [JsonPropertyName("x")] public int X { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/CompletedAchievementsResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/CompletedAchievementsResponse.cs index dc7ffc8b..a99c3776 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/CompletedAchievementsResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/CompletedAchievementsResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record CompletedAchievementsResponse { - - [JsonPropertyName("elements")] public Dictionary? Elements { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ConnectResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ConnectResponse.cs index 687542f2..9006740d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ConnectResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ConnectResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record ConnectResponse { - - [JsonPropertyName("backendUrl")] public string? BackendUrl { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/CreateProfileResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/CreateProfileResponse.cs index eb045b86..eec5fd4b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/CreateProfileResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/CreateProfileResponse.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record CreateProfileResponse { - - [JsonPropertyName("uid")] public string? UserId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetAchievementsResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetAchievementsResponse.cs index b37b2645..c61c92e1 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetAchievementsResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetAchievementsResponse.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record GetAchievementsResponse { - - [JsonPropertyName("elements")] public List? Elements { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetOtherProfileRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetOtherProfileRequest.cs index e4add254..80e4059f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetOtherProfileRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetOtherProfileRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record GetOtherProfileRequest : IRequestData { - - [JsonPropertyName("accountId")] public string? AccountId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetOtherProfileResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetOtherProfileResponse.cs index 064ee7b7..b44f96ef 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetOtherProfileResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetOtherProfileResponse.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record GetOtherProfileResponse { - - [JsonPropertyName("id")] public MongoId? Id { get; set; } @@ -53,8 +51,6 @@ public record GetOtherProfileResponse public record OtherProfileInfo { - - [JsonPropertyName("nickname")] public string? Nickname { get; set; } @@ -79,8 +75,6 @@ public record OtherProfileInfo public record OtherProfileCustomization { - - [JsonPropertyName("head")] public string? Head { get; set; } @@ -102,8 +96,6 @@ public record OtherProfileCustomization public record OtherProfileEquipment { - - [JsonPropertyName("Id")] public string? Id { get; set; } @@ -113,16 +105,12 @@ public record OtherProfileEquipment public record OtherProfileStats { - - [JsonPropertyName("eft")] public OtherProfileSubStats? Eft { get; set; } } public record OtherProfileSubStats { - - [JsonPropertyName("totalInGameTime")] public long? TotalInGameTime { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetProfileSettingsRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetProfileSettingsRequest.cs index 2d5ffa38..1d13f3fc 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetProfileSettingsRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetProfileSettingsRequest.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record GetProfileSettingsRequest : IRequestData { - - /// /// Chosen value for profile.Info.SelectedMemberCategory /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetProfileStatusResponseData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetProfileStatusResponseData.cs index fb7b6b1b..1e685555 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetProfileStatusResponseData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/GetProfileStatusResponseData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record GetProfileStatusResponseData { - - [JsonPropertyName("maxPveCountExceeded")] public bool? MaxPveCountExceeded { get; set; } = false; @@ -15,8 +13,6 @@ public record GetProfileStatusResponseData public record ProfileStatusData { - - [JsonPropertyName("profileid")] public string? ProfileId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/MessageContentRagfair.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/MessageContentRagfair.cs index 0e6f1caf..e66de0b1 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/MessageContentRagfair.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/MessageContentRagfair.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record MessageContentRagfair { - - [JsonPropertyName("offerId")] public string? OfferId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileChangeNicknameRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileChangeNicknameRequestData.cs index 44e969be..a099e3f0 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileChangeNicknameRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileChangeNicknameRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record ProfileChangeNicknameRequestData : IRequestData { - - [JsonPropertyName("nickname")] public string? Nickname { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileChangeVoiceRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileChangeVoiceRequestData.cs index ad77937b..598aa47a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileChangeVoiceRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileChangeVoiceRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record ProfileChangeVoiceRequestData : IRequestData { - - [JsonPropertyName("voice")] public MongoId Voice { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileCreateRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileCreateRequestData.cs index 552d0be7..03664107 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileCreateRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ProfileCreateRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record ProfileCreateRequestData : IRequestData { - - [JsonPropertyName("side")] public string? Side { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SearchFriendResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SearchFriendResponse.cs index dc042aa1..40d84eec 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SearchFriendResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SearchFriendResponse.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; /// public record SearchFriendResponse { - - [JsonPropertyName("_id")] public MongoId Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SearchProfilesRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SearchProfilesRequestData.cs index 689d867d..c635de3f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SearchProfilesRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SearchProfilesRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record SearchProfilesRequestData : IRequestData { - - [JsonPropertyName("nickname")] public string? Nickname { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SptProfile.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SptProfile.cs index ea485d9f..dca28509 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SptProfile.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SptProfile.cs @@ -10,8 +10,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record SptProfile { - - [JsonPropertyName("info")] public Info? ProfileInfo { get; set; } @@ -64,8 +62,6 @@ public record SptProfile public record TraderPurchaseData { - - [JsonPropertyName("count")] public double? PurchaseCount { get; set; } @@ -75,8 +71,6 @@ public record TraderPurchaseData public record Info { - - /// /// main profile id /// @@ -108,8 +102,6 @@ public record Info public record Characters { - - [JsonPropertyName("pmc")] public PmcData? PmcData { get; set; } @@ -122,8 +114,6 @@ public record Characters /// public record UserBuilds { - - [JsonPropertyName("weaponBuilds")] public List? WeaponBuilds { get; set; } @@ -136,8 +126,6 @@ public record UserBuilds public record UserBuild { - - [JsonPropertyName("Id")] public MongoId Id { get; set; } @@ -184,8 +172,6 @@ public record MagazineBuild : UserBuild public record MagazineTemplateAmmoItem { - - [JsonPropertyName("TemplateId")] public MongoId TemplateId { get; set; } @@ -204,8 +190,6 @@ public record DefaultEquipmentPreset : EquipmentBuild public record Dialogue { - - [JsonPropertyName("attachmentsNew")] public int? AttachmentsNew { get; set; } @@ -231,8 +215,6 @@ public record Dialogue //TODO: @Cleanup: Maybe the same as Dialogue? public record DialogueInfo { - - [JsonPropertyName("attachmentsNew")] public int? AttachmentsNew { get; set; } @@ -257,8 +239,6 @@ public record DialogueInfo public record Message { - - [JsonPropertyName("_id")] public MongoId Id { get; set; } @@ -307,8 +287,6 @@ public record Message public record ReplyTo { - - [JsonPropertyName("_id")] public string? Id { get; set; } @@ -327,8 +305,6 @@ public record ReplyTo public record MessagePreview { - - [JsonPropertyName("uid")] public string? UserId { get; set; } @@ -350,8 +326,6 @@ public record MessagePreview public record MessageItems { - - [JsonPropertyName("stash")] public MongoId? Stash { get; set; } @@ -361,8 +335,6 @@ public record MessageItems public record UpdatableChatMember { - - [JsonPropertyName("Nickname")] public string? Nickname { get; set; } @@ -384,8 +356,6 @@ public record UpdatableChatMember public record Spt { - - /// /// What version of SPT was this profile made with /// @@ -437,8 +407,6 @@ public record Spt public record AcceptedCultistReward { - - [JsonPropertyName("timestamp")] public long? Timestamp { get; set; } @@ -451,8 +419,6 @@ public record AcceptedCultistReward public record PendingPrestige { - - [JsonPropertyName("prestigeLevel")] public int? PrestigeLevel { get; set; } @@ -462,8 +428,6 @@ public record PendingPrestige public record ModDetails { - - [JsonPropertyName("name")] public string? Name { get; set; } @@ -482,8 +446,6 @@ public record ModDetails public record ReceivedGift { - - [JsonPropertyName("giftId")] public string? GiftId { get; set; } @@ -496,8 +458,6 @@ public record ReceivedGift public record Inraid { - - [JsonPropertyName("location")] public string? Location { get; set; } @@ -507,8 +467,6 @@ public record Inraid public record Insurance { - - [JsonPropertyName("scheduledTime")] public int? ScheduledTime { get; set; } @@ -533,8 +491,6 @@ public record Insurance public record BtrDelivery { - - [JsonPropertyName("_id")] public MongoId Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SystemData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SystemData.cs index 8a577447..0d05eea5 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SystemData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/SystemData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record SystemData { - - [JsonPropertyName("date")] public string? Date { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/UserDialogInfo.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/UserDialogInfo.cs index ca90412c..7abb8762 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/UserDialogInfo.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/UserDialogInfo.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record UserDialogInfo { - - /// /// _id /// @@ -23,8 +21,6 @@ public record UserDialogInfo public record UserDialogDetails { - - [JsonPropertyName("Nickname")] public string? Nickname { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ValidateNicknameRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ValidateNicknameRequestData.cs index 1bf715bd..407cfef1 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ValidateNicknameRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Profile/ValidateNicknameRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Profile; public record ValidateNicknameRequestData : IRequestData { - - [JsonPropertyName("nickname")] public string? Nickname { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Quests/ListQuestsRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Quests/ListQuestsRequestData.cs index 6db18847..ea078e24 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Quests/ListQuestsRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Quests/ListQuestsRequestData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Quests; public record ListQuestsRequestData : IRequestData { - - [JsonPropertyName("completed")] public bool? Completed { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/AddOfferRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/AddOfferRequestData.cs index 21c0bfe2..81aac4fc 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/AddOfferRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/AddOfferRequestData.cs @@ -18,8 +18,6 @@ public record AddOfferRequestData : InventoryBaseActionRequestData public record Requirement { - - [JsonPropertyName("_tpl")] public MongoId Template { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetMarketPriceRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetMarketPriceRequestData.cs index 98978f5b..7ef71f1d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetMarketPriceRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetMarketPriceRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Ragfair; public record GetMarketPriceRequestData : IRequestData { - - [JsonPropertyName("templateId")] public MongoId TemplateId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetOffersResult.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetOffersResult.cs index 92268021..ab2f7381 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetOffersResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetOffersResult.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Ragfair; public record GetOffersResult { - - [JsonPropertyName("categories")] public Dictionary? Categories { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetRagfairOfferByIdRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetRagfairOfferByIdRequest.cs index 3a6d02d3..dde32b2c 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetRagfairOfferByIdRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/GetRagfairOfferByIdRequest.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Ragfair; public record GetRagfairOfferByIdRequest { - - [JsonPropertyName("id")] public int? Id { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/RagfairOffer.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/RagfairOffer.cs index 4c20f146..bc4528c8 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/RagfairOffer.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/RagfairOffer.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Ragfair; public record RagfairOffer { - - [JsonPropertyName("sellResult")] public List? SellResults { get; set; } @@ -94,8 +92,6 @@ public record RagfairOffer public record OfferRequirement { - - [JsonPropertyName("_tpl")] public required MongoId TemplateId { get; set; } @@ -116,8 +112,6 @@ public record RagfairOfferUser { private string? _nickname; - - [JsonPropertyName("id")] public MongoId Id { get; set; } @@ -149,8 +143,6 @@ public record RagfairOfferUser public record SellResult { - - [JsonPropertyName("sellTime")] public long? SellTime { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/SearchRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/SearchRequestData.cs index 13fa3394..e153c617 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/SearchRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/SearchRequestData.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Ragfair; public record SearchRequestData : IRequestData { - - [JsonPropertyName("page")] public int? Page { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/SendRagfairReportRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/SendRagfairReportRequestData.cs index f3ca5e06..0e7a44ac 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/SendRagfairReportRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/SendRagfairReportRequestData.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Ragfair; public record SendRagfairReportRequestData { - - [JsonPropertyName("offerId")] public int? OfferId { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/StorePlayerOfferTaxAmountRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/StorePlayerOfferTaxAmountRequestData.cs index bf1a90da..fb128892 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/StorePlayerOfferTaxAmountRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Ragfair/StorePlayerOfferTaxAmountRequestData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Ragfair; public record StorePlayerOfferTaxAmountRequestData : IRequestData { - - [JsonPropertyName("id")] public MongoId? Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/BaseRepairActionDataRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/BaseRepairActionDataRequest.cs index bf1e6818..c0f30e4e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/BaseRepairActionDataRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/BaseRepairActionDataRequest.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Repair; public record BaseRepairActionDataRequest { - - [JsonPropertyName("Action")] public string? Action { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/RepairActionDataRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/RepairActionDataRequest.cs index b72a1cbf..cc9fe3bd 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/RepairActionDataRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/RepairActionDataRequest.cs @@ -18,8 +18,6 @@ public record RepairActionDataRequest : InventoryBaseActionRequestData public record RepairKitsInfo { - - /// /// id of repair kit to use /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/TraderRepairActionDataRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/TraderRepairActionDataRequest.cs index f8eaa50c..8ba5b163 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/TraderRepairActionDataRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Repair/TraderRepairActionDataRequest.cs @@ -15,8 +15,6 @@ public record TraderRepairActionDataRequest : InventoryBaseActionRequestData public record RepairItem { - - [JsonPropertyName("_id")] public MongoId Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Trade/ProcessRagfairTradeRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Trade/ProcessRagfairTradeRequestData.cs index ffdaf3b0..b144b729 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Trade/ProcessRagfairTradeRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Trade/ProcessRagfairTradeRequestData.cs @@ -12,8 +12,6 @@ public record ProcessRagfairTradeRequestData : InventoryBaseActionRequestData public record OfferRequest { - - [JsonPropertyName("id")] public string? Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Trade/ProcessSellTradeRequestData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Trade/ProcessSellTradeRequestData.cs index 805a6801..86f60462 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Trade/ProcessSellTradeRequestData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Trade/ProcessSellTradeRequestData.cs @@ -14,8 +14,6 @@ public record ProcessSellTradeRequestData : ProcessBaseTradeRequestData public record SoldItem { - - [JsonPropertyName("id")] public MongoId Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Weather/WeatherData.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Weather/WeatherData.cs index 2501e598..83d4addb 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Weather/WeatherData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Weather/WeatherData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Weather; public record WeatherData { - - [JsonPropertyName("acceleration")] public double? Acceleration { get; set; } @@ -25,8 +23,6 @@ public record WeatherData public record Weather { - - [JsonPropertyName("pressure")] public double? Pressure { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Eft/Ws/WsNotificationEvent.cs b/Libraries/SPTarkov.Server.Core/Models/Eft/Ws/WsNotificationEvent.cs index 8d19163c..ccb33586 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Eft/Ws/WsNotificationEvent.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Eft/Ws/WsNotificationEvent.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Eft.Ws; public record WsNotificationEvent { - - [JsonPropertyName("type")] [JsonConverter(typeof(JsonStringEnumConverter))] public NotificationEventType? EventType { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Enums/AccountTypes.cs b/Libraries/SPTarkov.Server.Core/Models/Enums/AccountTypes.cs index 4987fb20..3df3c380 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Enums/AccountTypes.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Enums/AccountTypes.cs @@ -4,7 +4,5 @@ namespace SPTarkov.Server.Core.Models.Enums; public record AccountTypes { - - public const string SPT_DEVELOPER = "spt developer"; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Enums/GameEditions.cs b/Libraries/SPTarkov.Server.Core/Models/Enums/GameEditions.cs index f90a4314..a34c2ec9 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Enums/GameEditions.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Enums/GameEditions.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Enums; public record GameEditions { - - public const string STANDARD = "standard"; public const string LEFT_BEHIND = "left_behind"; public const string PREPARE_FOR_ESCAPE = "prepare_for_escape"; diff --git a/Libraries/SPTarkov.Server.Core/Models/Enums/HideoutEventActions.cs b/Libraries/SPTarkov.Server.Core/Models/Enums/HideoutEventActions.cs index 40d9c94c..b5b9e5a0 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Enums/HideoutEventActions.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Enums/HideoutEventActions.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Enums; public record HideoutEventActions { - - public const string HIDEOUT_UPGRADE = "HideoutUpgrade"; public const string HIDEOUT_UPGRADE_COMPLETE = "HideoutUpgradeComplete"; public const string HIDEOUT_PUT_ITEMS_IN_AREA_SLOTS = "HideoutPutItemsInAreaSlots"; diff --git a/Libraries/SPTarkov.Server.Core/Models/Enums/ItemEventActions.cs b/Libraries/SPTarkov.Server.Core/Models/Enums/ItemEventActions.cs index 9b892d49..80161d2f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Enums/ItemEventActions.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Enums/ItemEventActions.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Enums; public record ItemEventActions { - - public const string MOVE = "Move"; public const string REMOVE = "Remove"; public const string SPLIT = "Split"; diff --git a/Libraries/SPTarkov.Server.Core/Models/Enums/Money.cs b/Libraries/SPTarkov.Server.Core/Models/Enums/Money.cs index 90f5e9fa..efa277f0 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Enums/Money.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Enums/Money.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Enums; public record Money { - - public static readonly MongoId ROUBLES = new("5449016a4bdc2d6f028b456f"); public static readonly MongoId EUROS = new("569668774bdc2da2298b4568"); public static readonly MongoId DOLLARS = new("5696686a4bdc2da3298b456a"); diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotDetailsForChatMessages.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotDetailsForChatMessages.cs index 78eba1e0..4f2bc470 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotDetailsForChatMessages.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotDetailsForChatMessages.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record BotDetailsForChatMessages { - - public string Nickname { get; set; } = string.Empty; public DogtagSide Side { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotGenerationDetails.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotGenerationDetails.cs index ed54cbbe..d0321a7c 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotGenerationDetails.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotGenerationDetails.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record BotGenerationDetails { - - /// /// Should the bot be generated as a PMC /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotLootCache.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotLootCache.cs index 587be4cd..0406e96a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotLootCache.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/BotLootCache.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record BotLootCache { - - [JsonPropertyName("backpackLoot")] public Dictionary BackpackLoot { get; set; } = []; @@ -49,8 +47,6 @@ public record BotLootCache public record LootCacheType { - - public const string Special = "Special"; public const string Backpack = "Backpack"; public const string Pocket = "Pocket"; diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/Bots.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/Bots.cs index b06e04f5..fa8be9f1 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/Bots.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/Bots.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record Bots { - - [JsonPropertyName("types")] public required Dictionary Types { get; init; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ChooseRandomCompatibleModResult.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ChooseRandomCompatibleModResult.cs index 2b7ac140..008a89f4 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ChooseRandomCompatibleModResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ChooseRandomCompatibleModResult.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record ChooseRandomCompatibleModResult { - - [JsonPropertyName("incompatible")] public bool? Incompatible { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/FilterPlateModsForSlotByLevelResult.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/FilterPlateModsForSlotByLevelResult.cs index 9f21ece9..3931a161 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/FilterPlateModsForSlotByLevelResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/FilterPlateModsForSlotByLevelResult.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record FilterPlateModsForSlotByLevelResult { - - [JsonPropertyName("result")] public Result? Result { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateEquipmentProperties.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateEquipmentProperties.cs index 2fde6572..0acbd9ce 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateEquipmentProperties.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateEquipmentProperties.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record GenerateEquipmentProperties { - - public MongoId BotId { get; set; } /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateWeaponRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateWeaponRequest.cs index 00a0e780..887ca418 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateWeaponRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateWeaponRequest.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record GenerateWeaponRequest { - - /// /// Weapon to add mods to / result that is returned /// @@ -71,8 +69,6 @@ public record GenerateWeaponRequest public record BotData { - - /// /// Role of bot weapon is generated for /// @@ -94,8 +90,6 @@ public record BotData public record WeaponStats { - - [JsonPropertyName("hasOptic")] public bool? HasOptic { get; set; } @@ -108,8 +102,6 @@ public record WeaponStats public record BotModLimits { - - [JsonPropertyName("scope")] public ItemCount? Scope { get; set; } @@ -131,8 +123,6 @@ public record BotModLimits public record ItemCount { - - [JsonPropertyName("count")] public int? Count { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateWeaponResult.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateWeaponResult.cs index 32e5e763..0513626f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateWeaponResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/GenerateWeaponResult.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record GenerateWeaponResult { - - [JsonPropertyName("weapon")] public List? Weapon { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ItemSpawnLimitSettings.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ItemSpawnLimitSettings.cs index f2660164..28412128 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ItemSpawnLimitSettings.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ItemSpawnLimitSettings.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record ItemSpawnLimitSettings { - - [JsonPropertyName("currentLimits")] public Dictionary? CurrentLimits { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ModToSpawnRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ModToSpawnRequest.cs index 495d86ad..5ca41ae4 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ModToSpawnRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Bots/ModToSpawnRequest.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Bots; public record ModToSpawnRequest { - - /// /// Slot mod will fit into /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/AirdropConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/AirdropConfig.cs index 7792a9db..c7f653ca 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/AirdropConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/AirdropConfig.cs @@ -27,8 +27,6 @@ public record AirdropConfig : BaseConfig /// public record AirdropLoot { - - [JsonPropertyName("icon")] [JsonConverter(typeof(JsonStringEnumConverter))] public required AirdropTypeEnum Icon { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BackupConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BackupConfig.cs index c965d6b1..0692ae0b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BackupConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BackupConfig.cs @@ -22,8 +22,6 @@ public record BackupConfig : BaseConfig public record BackupConfigInterval { - - [JsonPropertyName("enabled")] public bool Enabled { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BaseConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BaseConfig.cs index f050273c..07fedf66 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BaseConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BaseConfig.cs @@ -10,8 +10,6 @@ public abstract record BaseConfig public record RunIntervalValues { - - [JsonPropertyName("inRaid")] public int InRaid { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BotConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BotConfig.cs index 270eadb4..ec707916 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BotConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BotConfig.cs @@ -135,8 +135,6 @@ public record BotConfig : BaseConfig public record WeeklyBossSettings { - - /// /// Should a weekly boss be picked to 100% spawn /// @@ -159,8 +157,6 @@ public record WeeklyBossSettings public record WalletLootSettings { - - /// /// Chance wallets have loot in them /// @@ -185,8 +181,6 @@ public record WalletLootSettings public record EquipmentFilters { - - /// /// Limits for mod types per weapon .e.g. scopes /// @@ -289,8 +283,6 @@ public record EquipmentFilters public record ModLimits { - - /// /// How many scopes are allowed on a weapon - hard coded to work with OPTIC_SCOPE, ASSAULT_SCOPE, COLLIMATOR, COMPACT_COLLIMATOR /// @@ -306,8 +298,6 @@ public record ModLimits public record RandomisationDetails { - - /// /// Between what levels do these randomisation setting apply to /// @@ -359,8 +349,6 @@ public record RandomisationDetails public record NighttimeChanges { - - /// /// Applies changes to values stored in equipmentMods /// @@ -370,8 +358,6 @@ public record NighttimeChanges public record EquipmentFilterDetails { - - /// /// Between what levels do these equipment filter setting apply to /// @@ -393,8 +379,6 @@ public record EquipmentFilterDetails public record WeightingAdjustmentDetails { - - /// /// Between what levels do these weight settings apply to /// @@ -422,8 +406,6 @@ public record WeightingAdjustmentDetails public record AdjustmentDetails { - - [JsonPropertyName("add")] public Dictionary>? Add { get; set; } @@ -433,8 +415,6 @@ public record AdjustmentDetails public class ArmorPlateWeights { - - [JsonPropertyName("levelRange")] public required MinMax LevelRange { get; set; } @@ -444,8 +424,6 @@ public class ArmorPlateWeights public record RandomisedResourceDetails { - - [JsonPropertyName("food")] public RandomisedResourceValues? Food { get; set; } @@ -455,8 +433,6 @@ public record RandomisedResourceDetails public record RandomisedResourceValues { - - /// /// Minimum percent of item to randomized between min and max resource /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BotDurability.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BotDurability.cs index f10b2c2f..beb207f1 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BotDurability.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/BotDurability.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Config; public record BotDurability { - - [JsonPropertyName("default")] public required DefaultDurability Default { get; set; } @@ -21,8 +19,6 @@ public record BotDurability /// public record DefaultDurability { - - [JsonPropertyName("armor")] public required ArmorDurability Armor { get; set; } @@ -32,8 +28,6 @@ public record DefaultDurability public record PmcDurability { - - [JsonPropertyName("armor")] public required PmcDurabilityArmor Armor { get; set; } @@ -43,8 +37,6 @@ public record PmcDurability public record PmcDurabilityArmor { - - [JsonPropertyName("lowestMaxPercent")] public int LowestMaxPercent { get; set; } @@ -63,8 +55,6 @@ public record PmcDurabilityArmor public record ArmorDurability { - - [JsonPropertyName("maxDelta")] public int MaxDelta { get; set; } @@ -83,8 +73,6 @@ public record ArmorDurability public record WeaponDurability { - - [JsonPropertyName("lowestMax")] public int LowestMax { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/CoreConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/CoreConfig.cs index 8612af95..8e1596f4 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/CoreConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/CoreConfig.cs @@ -69,8 +69,6 @@ public record CoreConfig : BaseConfig public record BsgLogging { - - /// /// verbosity of what to log, yes I know this is backwards, but its how nlog deals with ordinals.
/// complain to them about it! In all cases, better exceptions will be logged.
@@ -95,8 +93,6 @@ public record BsgLogging public record Release { - - /// /// Disclaimer outlining the intended usage of bleeding edge /// @@ -178,8 +174,6 @@ public record Release public record GameFixes { - - /// /// Shotguns use a different value than normal guns causing huge pellet dispersion /// @@ -207,8 +201,6 @@ public record GameFixes public record ServerFeatures { - - [JsonPropertyName("compressProfile")] public bool CompressProfile { get; set; } @@ -230,8 +222,6 @@ public record ServerFeatures public record ChatbotFeatures { - - [JsonPropertyName("sptFriendGiftsEnabled")] public bool SptFriendGiftsEnabled { get; set; } @@ -256,8 +246,6 @@ public record ChatbotFeatures public record CommandoFeatures { - - [JsonPropertyName("giveCommandEnabled")] public bool GiveCommandEnabled { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/GiftsConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/GiftsConfig.cs index e298252e..f8a12c42 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/GiftsConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/GiftsConfig.cs @@ -18,8 +18,6 @@ public record GiftsConfig : BaseConfig public record Gift { - - /// /// Items to send to player /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/HealthConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/HealthConfig.cs index 16a54945..069fd882 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/HealthConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/HealthConfig.cs @@ -16,16 +16,12 @@ public record HealthConfig : BaseConfig public record HealthMultipliers { - - [JsonPropertyName("blacked")] public double Blacked { get; set; } } public record HealthSave { - - [JsonPropertyName("health")] public bool Health { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/HideoutConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/HideoutConfig.cs index 713507cf..93ed7bda 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/HideoutConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/HideoutConfig.cs @@ -48,8 +48,6 @@ public record HideoutConfig : BaseConfig public record HideoutCraftToAdd { - - /// /// The new mongoId for the craft to use /// @@ -68,8 +66,6 @@ public record HideoutCraftToAdd public record CultistCircleSettings { - - [JsonPropertyName("maxRewardItemCount")] public int MaxRewardItemCount { get; set; } @@ -145,8 +141,6 @@ public record CraftTimeThreshold : MinMax public record DirectRewardSettings { - - [JsonPropertyName("reward")] public required List Reward { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/InRaidConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/InRaidConfig.cs index 263f78a0..2fdf04fb 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/InRaidConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/InRaidConfig.cs @@ -64,8 +64,6 @@ public record InRaidConfig : BaseConfig public record RaidMenuSettings { - - [JsonPropertyName("aiAmount")] public required string AiAmount { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/InventoryConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/InventoryConfig.cs index ef49de14..4982e259 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/InventoryConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/InventoryConfig.cs @@ -35,8 +35,6 @@ public record InventoryConfig : BaseConfig public record RewardDetails { - - [JsonPropertyName("_type")] public string? Type { get; set; } @@ -55,8 +53,6 @@ public record RewardDetails public record SealedAirdropContainerSettings { - - [JsonPropertyName("weaponRewardWeight")] public required Dictionary WeaponRewardWeight { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/ItemConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/ItemConfig.cs index 4848ee97..ac83950d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/ItemConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/ItemConfig.cs @@ -51,8 +51,6 @@ public record ItemConfig : BaseConfig public record HandbookPriceOverride { - - /// /// Price in roubles /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LocationConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LocationConfig.cs index bf1b3ce7..19185e95 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LocationConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LocationConfig.cs @@ -144,8 +144,6 @@ public record LocationConfig : BaseConfig public record TransitSettings { - - [JsonPropertyName("effectsToRemove")] public HashSet? EffectsToRemove { get; set; } @@ -158,8 +156,6 @@ public record TransitSettings public record ReserveRaiderSpawnChanceOverrides { - - [JsonPropertyName("nonTriggered")] public int NonTriggered { get; set; } @@ -169,8 +165,6 @@ public record ReserveRaiderSpawnChanceOverrides public record EquipmentLootSettings { - - /// /// Percentage chance item will be added to equipment /// @@ -180,8 +174,6 @@ public record EquipmentLootSettings public record RogueLighthouseSpawnTimeSettings { - - [JsonPropertyName("enabled")] public bool Enabled { get; set; } @@ -191,8 +183,6 @@ public record RogueLighthouseSpawnTimeSettings public record CustomWaves { - - /// /// Bosses spawn on raid start /// @@ -211,8 +201,6 @@ public record BotTypeLimit : MinMax public record ContainerRandomisationSettings { - - [JsonPropertyName("enabled")] public bool Enabled { get; set; } @@ -237,8 +225,6 @@ public record ContainerRandomisationSettings public record ScavRaidTimeSettings { - - [JsonPropertyName("settings")] public required ScavRaidTimeConfigSettings Settings { get; set; } @@ -248,16 +234,12 @@ public record ScavRaidTimeSettings public record ScavRaidTimeConfigSettings { - - [JsonPropertyName("trainArrivalDelayObservedSeconds")] public int TrainArrivalDelayObservedSeconds { get; set; } } public record ScavRaidTimeLocationSettings { - - /// /// Should loot be reduced by same percent length of raid is reduced by /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LostOnDeathConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LostOnDeathConfig.cs index 38f999f8..8f98f594 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LostOnDeathConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/LostOnDeathConfig.cs @@ -31,8 +31,6 @@ public record LostOnDeathConfig : BaseConfig public record LostEquipment { - - [JsonPropertyName("ArmBand")] public bool ArmBand { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PlayerScavConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PlayerScavConfig.cs index 8372451d..9bd77407 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PlayerScavConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PlayerScavConfig.cs @@ -16,8 +16,6 @@ public record PlayerScavConfig : BaseConfig public record KarmaLevel { - - [JsonPropertyName("botTypeForLoot")] public required string BotTypeForLoot { get; set; } @@ -36,8 +34,6 @@ public record KarmaLevel public record Modifiers { - - [JsonPropertyName("equipment")] public required Dictionary Equipment { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcChatResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcChatResponse.cs index 5c8aa36d..155cc4dc 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcChatResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcChatResponse.cs @@ -16,8 +16,6 @@ public record PmcChatResponse : BaseConfig public record ResponseSettings { - - [JsonPropertyName("responseChancePercent")] public double ResponseChancePercent { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcConfig.cs index ae873aa2..75b20765 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/PmcConfig.cs @@ -151,8 +151,6 @@ public record PmcConfig : BaseConfig public record ForceArmbandSettings { - - [JsonPropertyName("enabled")] public bool Enabled { get; set; } @@ -165,8 +163,6 @@ public record ForceArmbandSettings public record PmcLootSettings { - - [JsonPropertyName("pocket")] public LootContainerSettings Pocket { get; set; } @@ -179,8 +175,6 @@ public record PmcLootSettings public record LootContainerSettings { - - [JsonPropertyName("totalRubByLevel")] public List TotalRubByLevel { get; set; } @@ -190,8 +184,6 @@ public record LootContainerSettings public record HostilitySettings { - - /// /// Bot roles that are 100% an enemy /// @@ -225,8 +217,6 @@ public record HostilitySettings public record SlotLootSettings { - - /// /// Item Type whitelist /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/QuestConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/QuestConfig.cs index ee532111..24beed00 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/QuestConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/QuestConfig.cs @@ -74,8 +74,6 @@ public record QuestConfig : BaseConfig public record RepeatableQuestTemplates { - - /// /// Pmc repeatable quest template ids keyed by type of quest /// Keys: elimination, completion, exploration @@ -93,8 +91,6 @@ public record RepeatableQuestTemplates public record EventQuestData { - - /// /// Name of the event quest /// @@ -129,8 +125,6 @@ public record EventQuestData public record RepeatableQuestConfig { - - /// /// Id for type of repeatable quest /// @@ -244,8 +238,6 @@ public record RepeatableQuestConfig public record RewardScaling { - - /// /// Levels at which to increase to the next level of reward potential /// @@ -303,8 +295,6 @@ public record RewardScaling public record TraderWhitelist { - - /// /// Trader Id /// @@ -344,8 +334,6 @@ public record TraderWhitelist public record RepeatableQuestTypesConfig { - - /// /// Defines exploration repeatable task generation parameters /// @@ -394,8 +382,6 @@ public record Exploration : BaseQuestConfig public record SpecificExits { - - /// /// Chance that an operational task is generated with a specific extract /// @@ -485,8 +471,6 @@ public record Pickup : BaseQuestConfig public record PickupTypeWithMaxCount { - - [JsonPropertyName("itemType")] public string? ItemType { get; set; } @@ -616,8 +600,6 @@ public record EliminationConfig : BaseQuestConfig public record BaseQuestConfig { - - /// /// Possible skills that can be rewarded expirence points /// @@ -627,8 +609,6 @@ public record BaseQuestConfig public record BossInfo { - - /// /// Is this target a boss /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/RagfairConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/RagfairConfig.cs index de6b6683..d454dde0 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/RagfairConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/RagfairConfig.cs @@ -41,8 +41,6 @@ public record RagfairConfig : BaseConfig public record Sell { - - /// /// Should a fee be deducted from player when listing an item for sale /// @@ -70,8 +68,6 @@ public record Sell public record Chance { - - /// /// Base chance percent to sell an item /// @@ -99,8 +95,6 @@ public record Chance public record Dynamic { - - /// /// Should a purchased dynamic offers items be flagged as found in raid /// @@ -237,8 +231,6 @@ public record Dynamic public record PriceRanges { - - [JsonPropertyName("default")] public required MinMax Default { get; set; } @@ -251,8 +243,6 @@ public record PriceRanges public record BarterDetails { - - /// /// Percentage change an offer is listed as a barter /// @@ -298,8 +288,6 @@ public record BarterDetails public record PackDetails { - - /// /// Percentage change an offer is listed as a pack /// @@ -327,8 +315,6 @@ public record PackDetails public record OfferAdjustment { - - /// /// Shuld offer price be adjusted when below handbook price /// @@ -356,8 +342,6 @@ public record OfferAdjustment public record Condition { - - /// /// Percentage change durability is altered /// @@ -376,8 +360,6 @@ public record Condition public record RagfairBlacklist { - - /// /// Damaged ammo packs /// @@ -429,8 +411,6 @@ public record RagfairBlacklist public record ArmorPlateBlacklistSettings { - - /// /// Max level of plates an armor can have without being removed /// @@ -446,8 +426,6 @@ public record ArmorPlateBlacklistSettings public record UnreasonableModPrices { - - /// /// Enable a system that adjusts very high ragfair prices to be below a max multiple of items the handbook values /// @@ -472,8 +450,6 @@ public record UnreasonableModPrices public record ArmorSettings { - - /// /// % chance / 100 that armor plates will be removed from an offer before listing /// @@ -489,8 +465,6 @@ public record ArmorSettings public record TieredFlea { - - [JsonPropertyName("enabled")] public bool Enabled { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/RepairConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/RepairConfig.cs index f7715c45..c2330b41 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/RepairConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/RepairConfig.cs @@ -38,8 +38,6 @@ public record RepairConfig : BaseConfig public record IntellectGainValues { - - [JsonPropertyName("weapon")] public double Weapon { get; set; } @@ -49,8 +47,6 @@ public record IntellectGainValues public record MaxIntellectGainValues { - - [JsonPropertyName("kit")] public double Kit { get; set; } @@ -60,8 +56,6 @@ public record MaxIntellectGainValues public record WeaponTreatmentRepairValues { - - /// /// The chance to gain more weapon maintenance skill /// @@ -89,8 +83,6 @@ public record WeaponTreatmentRepairValues public record RepairKit { - - [JsonPropertyName("armor")] public required BonusSettings Armor { get; set; } @@ -106,8 +98,6 @@ public record RepairKit public record BonusSettings { - - [JsonPropertyName("rarityWeight")] public required Dictionary RarityWeight { get; set; } @@ -123,8 +113,6 @@ public record BonusSettings public record BonusValues { - - [JsonPropertyName("valuesMinMax")] public required MinMax ValuesMinMax { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/ScavCaseConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/ScavCaseConfig.cs index fd03645a..d062767d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/ScavCaseConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/ScavCaseConfig.cs @@ -35,8 +35,6 @@ public record ScavCaseConfig : BaseConfig public record MoneyRewards { - - [JsonPropertyName("moneyRewardChancePercent")] public int MoneyRewardChancePercent { get; set; } @@ -55,8 +53,6 @@ public record MoneyRewards public record MoneyLevels { - - [JsonPropertyName("common")] public required MinMax Common { get; set; } @@ -69,8 +65,6 @@ public record MoneyLevels public record AmmoRewards { - - [JsonPropertyName("ammoRewardChancePercent")] public int AmmoRewardChancePercent { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/SeasonalEventConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/SeasonalEventConfig.cs index 5957f2e5..f241eb1d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/SeasonalEventConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/SeasonalEventConfig.cs @@ -65,8 +65,6 @@ public record SeasonalEventConfig : BaseConfig public record SeasonalEvent { - - [JsonPropertyName("enabled")] public bool Enabled { get; set; } @@ -104,8 +102,6 @@ public record SeasonalEvent public record SeasonalEventSettings { - - [JsonPropertyName("enableSummoning")] public bool? EnableSummoning { get; set; } @@ -148,8 +144,6 @@ public record SeasonalEventSettings public record ZombieSettings { - - [JsonPropertyName("enabled")] public bool? Enabled { get; set; } @@ -165,8 +159,6 @@ public record ZombieSettings public record GifterSetting { - - [JsonPropertyName("map")] public string? Map { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/TraderConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/TraderConfig.cs index 0565897a..d0318587 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/TraderConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/TraderConfig.cs @@ -36,8 +36,6 @@ public record TraderConfig : BaseConfig public record UpdateTime { - - [JsonPropertyName("_name")] public string Name { get; set; } = string.Empty; @@ -53,8 +51,6 @@ public record UpdateTime public record FenceConfig { - - [JsonPropertyName("discountOptions")] public required DiscountOptions DiscountOptions { get; set; } @@ -157,8 +153,6 @@ public record FenceConfig public record ItemDurabilityCurrentMax { - - [JsonPropertyName("current")] public required MinMax Current { get; set; } @@ -183,8 +177,6 @@ public record CoopExtractReward : LootRequest public record DiscountOptions { - - [JsonPropertyName("assortSize")] public int AssortSize { get; set; } @@ -206,8 +198,6 @@ public record DiscountOptions /// public record ModdedTraders { - - /// /// Trader Ids to enable the clothing service for /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/WeatherConfig.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/WeatherConfig.cs index 9500eb23..456702c3 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Config/WeatherConfig.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Config/WeatherConfig.cs @@ -25,8 +25,6 @@ public record WeatherConfig : BaseConfig public record SeasonDateTimes { - - [JsonPropertyName("seasonType")] public Season? SeasonType { get; set; } @@ -52,8 +50,6 @@ public record SeasonDateTimes public record WeatherValues { - - [JsonPropertyName("seasonValues")] public Dictionary? SeasonValues { get; set; } @@ -72,8 +68,6 @@ public record WeatherValues public record SeasonalValues { - - [JsonPropertyName("clouds")] public WeatherSettings? Clouds { get; set; } @@ -104,8 +98,6 @@ public record SeasonalValues public record TempDayNight { - - [JsonPropertyName("day")] public MinMax? Day { get; set; } @@ -115,8 +107,6 @@ public record TempDayNight public record WeatherSettings { - - [JsonPropertyName("values")] public List? Values { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Dialog/SendMessageDetails.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Dialog/SendMessageDetails.cs index 11cfd255..b4485978 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Dialog/SendMessageDetails.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Dialog/SendMessageDetails.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Dialog; public record SendMessageDetails { - - /// /// Player id /// @@ -91,8 +89,6 @@ public record SendMessageDetails public record ProfileChangeEvent { - - [JsonPropertyName("_id")] public MongoId? Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Fence/CreateFenceAssortsResult.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Fence/CreateFenceAssortsResult.cs index dd0ffc45..b3e2ece8 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Fence/CreateFenceAssortsResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Fence/CreateFenceAssortsResult.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Fence; public record CreateFenceAssortsResult { - - [JsonPropertyName("sptItems")] public List>? SptItems { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Fence/FenceAssortGenerationValues.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Fence/FenceAssortGenerationValues.cs index ab1ab4c6..a863e207 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Fence/FenceAssortGenerationValues.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Fence/FenceAssortGenerationValues.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Fence; public record FenceAssortGenerationValues { - - [JsonPropertyName("normal")] public GenerationAssortValues? Normal { get; set; } @@ -15,8 +13,6 @@ public record FenceAssortGenerationValues public record GenerationAssortValues { - - [JsonPropertyName("item")] public int? Item { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Helper/WeightedRandomResult.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Helper/WeightedRandomResult.cs index 706cc377..40406f1a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Helper/WeightedRandomResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Helper/WeightedRandomResult.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Helper; public record WeightedRandomResult { - - public required T Item { get; set; } public required int Index { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/CircleCraftDetails.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/CircleCraftDetails.cs index b7b42b9e..0229883f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/CircleCraftDetails.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/CircleCraftDetails.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Hideout; public record CircleCraftDetails { - - [JsonPropertyName("time")] public required long Time { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/Hideout.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/Hideout.cs index 0b6834dc..93800f7f 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/Hideout.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/Hideout.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Hideout; public record Hideout { - - [JsonPropertyName("areas")] public required List Areas { get; init; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/ScavCaseRewardCountsAndPrices.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/ScavCaseRewardCountsAndPrices.cs index 6e5fc492..a050d940 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/ScavCaseRewardCountsAndPrices.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Hideout/ScavCaseRewardCountsAndPrices.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Hideout; public record ScavCaseRewardCountsAndPrices { - - [JsonPropertyName("Common")] public RewardCountAndPriceDetails? Common { get; set; } @@ -18,8 +16,6 @@ public record ScavCaseRewardCountsAndPrices public record RewardCountAndPriceDetails { - - [JsonPropertyName("minCount")] public double? MinCount { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/FindSlotResult.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/FindSlotResult.cs index b0705e8e..4bfdacb1 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/FindSlotResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/FindSlotResult.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Inventory; public class FindSlotResult { - - public FindSlotResult(bool success) { Success = success; diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/ItemSize.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/ItemSize.cs index 75b1ad9e..b31b7973 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/ItemSize.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/ItemSize.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Inventory; public record ItemSize { - - [JsonPropertyName("width")] public required int Width { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/OwnerInventoryItems.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/OwnerInventoryItems.cs index 7a1adae8..4f13e488 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/OwnerInventoryItems.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Inventory/OwnerInventoryItems.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Inventory; public record OwnerInventoryItems { - - /// /// Inventory items from source /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2CompatibleVersion.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2CompatibleVersion.cs index 4a0a8a7f..b1f65d6d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2CompatibleVersion.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2CompatibleVersion.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2CompatibleVersion : IRequestData { - - public required string SptVersion { get; set; } public required string EftVersion { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2LoginResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2LoginResponse.cs index 5fe6d408..f1d5f401 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2LoginResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2LoginResponse.cs @@ -5,7 +5,5 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2LoginResponse : IRequestData { - - public required bool Response { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ModsResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ModsResponse.cs index f75d1b50..0abe5527 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ModsResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ModsResponse.cs @@ -6,7 +6,5 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2ModsResponse : IRequestData { - - public required Dictionary Response { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2PasswordChangeResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2PasswordChangeResponse.cs index e0064fc4..9f3b9c63 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2PasswordChangeResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2PasswordChangeResponse.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2PasswordChangeResponse : IRequestData { - - public required bool Response { get; set; } public required List Profiles { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2PingResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2PingResponse.cs index 114d9196..634ee427 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2PingResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2PingResponse.cs @@ -5,7 +5,5 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2PingResponse : IRequestData { - - public required string Response { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ProfileResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ProfileResponse.cs index 77b44c43..56a827ca 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ProfileResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ProfileResponse.cs @@ -6,7 +6,5 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2ProfileResponse : IRequestData { - - public SptProfile Response { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ProfilesResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ProfilesResponse.cs index b6f46c8e..29979dc3 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ProfilesResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2ProfilesResponse.cs @@ -6,7 +6,5 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2ProfilesResponse : IRequestData { - - public required List Response { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2RegisterResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2RegisterResponse.cs index 014c014a..871837c0 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2RegisterResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2RegisterResponse.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2RegisterResponse : IRequestData { - - public required bool Response { get; set; } public required List Profiles { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2RemoveResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2RemoveResponse.cs index 98f528d8..70194641 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2RemoveResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2RemoveResponse.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2RemoveResponse : IRequestData { - - public required bool Response { get; set; } public required List Profiles { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2TypesResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2TypesResponse.cs index 84158a3e..f184f606 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2TypesResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2TypesResponse.cs @@ -5,7 +5,5 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public class LauncherV2TypesResponse : IRequestData { - - public required Dictionary Response { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2VersionResponse.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2VersionResponse.cs index a7c60130..514b1566 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2VersionResponse.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Launcher/LauncherV2VersionResponse.cs @@ -5,7 +5,5 @@ namespace SPTarkov.Server.Core.Models.Spt.Launcher; public record LauncherV2VersionResponse : IRequestData { - - public required LauncherV2CompatibleVersion Response { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Location/RaidChanges.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Location/RaidChanges.cs index 9f6b5916..5f977f59 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Location/RaidChanges.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Location/RaidChanges.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Location; public record RaidChanges { - - /// /// What percentage of dynamic loot should the map contain /// @@ -51,8 +49,6 @@ public record RaidChanges public record ExtractChange { - - [JsonPropertyName("Name")] public string? Name { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Logging/ClientLogRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Logging/ClientLogRequest.cs index 8ddb7ce8..4a954398 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Logging/ClientLogRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Logging/ClientLogRequest.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Logging; public record ClientLogRequest : IRequestData { - - [JsonPropertyName("Source")] public string? Source { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/ModOrder.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/ModOrder.cs index d3ed864d..e8ae10c8 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/ModOrder.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/ModOrder.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Mod; public class ModOrder { - - [JsonPropertyName("order")] public List Order { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/NewItemDetails.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/NewItemDetails.cs index 81cd8918..69c924c8 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/NewItemDetails.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/NewItemDetails.cs @@ -40,8 +40,6 @@ public record NewItemFromCloneDetails : NewItemDetailsBase public record NewItemDetailsBase { - - [JsonPropertyName("fleaPriceRoubles")] public double? FleaPriceRoubles { get; set; } @@ -57,8 +55,6 @@ public record NewItemDetailsBase public record LocaleDetails { - - [JsonPropertyName("name")] public string? Name { get; set; } @@ -71,8 +67,6 @@ public record LocaleDetails public record CreateItemResult { - - public CreateItemResult() { Success = false; diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/SptMod.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/SptMod.cs index 808c3ae0..f7cf3f99 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/SptMod.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/SptMod.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Mod; public class SptMod { - - [JsonPropertyName("directory")] public required string Directory { get; init; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Presets/PresetCacheDetails.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Presets/PresetCacheDetails.cs index eea99bce..0077e72b 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Presets/PresetCacheDetails.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Presets/PresetCacheDetails.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Presets; public record PresetCacheDetails { - - // Preset Ids related to the tpl public HashSet PresetIds { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Quests/GetRepeatableByIdResult.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Quests/GetRepeatableByIdResult.cs index 72d33208..3551b597 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Quests/GetRepeatableByIdResult.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Quests/GetRepeatableByIdResult.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Quests; public record GetRepeatableByIdResult { - - [JsonPropertyName("quest")] public RepeatableQuest? Quest { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/CreateFleaOfferDetails.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/CreateFleaOfferDetails.cs index 7ddf6b69..136105de 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/CreateFleaOfferDetails.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/CreateFleaOfferDetails.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Ragfair; public record CreateFleaOfferDetails { - - /// /// Owner of the offer /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/RagfairServerPrices.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/RagfairServerPrices.cs index 47ed477f..471500da 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/RagfairServerPrices.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/RagfairServerPrices.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Ragfair; public record RagfairServerPrices { - - [JsonPropertyName("staticPrices")] public Dictionary? StaticPrices { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/TplWithFleaPrice.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/TplWithFleaPrice.cs index 5c5768fd..5729922d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/TplWithFleaPrice.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Ragfair/TplWithFleaPrice.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Ragfair; public record TplWithFleaPrice { - - [JsonPropertyName("tpl")] public MongoId Tpl { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Repeatable/QuestRewardValues.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Repeatable/QuestRewardValues.cs index cc8f489f..9812ac39 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Repeatable/QuestRewardValues.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Repeatable/QuestRewardValues.cs @@ -4,8 +4,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Repeatable; public record QuestRewardValues { - - [JsonPropertyName("skillPointReward")] public required double SkillPointReward { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Repeatable/QuestTypePool.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Repeatable/QuestTypePool.cs index 9b7a6637..6116cde7 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Repeatable/QuestTypePool.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Repeatable/QuestTypePool.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Repeatable; public record QuestTypePool { - - [JsonPropertyName("types")] public required List Types { get; set; } @@ -16,8 +14,6 @@ public record QuestTypePool public record QuestPool { - - [JsonPropertyName("Exploration")] public required ExplorationPool Exploration { get; set; } @@ -30,24 +26,18 @@ public record QuestPool public record ExplorationPool { - - [JsonPropertyName("locations")] public Dictionary>? Locations { get; set; } // TODO: check the type, originally - Partial> } public record EliminationPool { - - [JsonPropertyName("targets")] public Dictionary? Targets { get; set; } } public record TargetLocation { - - [JsonPropertyName("locations")] public List? Locations { get; set; } } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/DatabaseTables.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/DatabaseTables.cs index 275ec5cc..8648bc8d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/DatabaseTables.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/DatabaseTables.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Server; public record DatabaseTables { - - public required Bots.Bots Bots { get; init; } public required Hideout.Hideout Hideout { get; init; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/LocaleBase.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/LocaleBase.cs index a7739eb2..279318fc 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/LocaleBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/LocaleBase.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Server; public record LocaleBase { - - /// /// DO NOT USE THIS PROPERTY DIRECTLY, USE LOCALESERVICE INSTEAD /// THIS IS LAZY LOADED AND YOUR CHANGES WILL NOT BE SAVED diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/Locations.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/Locations.cs index bd733405..92587f58 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/Locations.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/Locations.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Server; public record Locations { - - // sometimes we get the key or value given so save changing logic in each place // have it key both private readonly FrozenDictionary _locationMappings = new Dictionary diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/ServerBase.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/ServerBase.cs index 7526e27a..c03795b9 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/ServerBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/ServerBase.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Server; /// public record ServerBase { - - [JsonPropertyName("ip")] public required string Ip { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/SettingsBase.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/SettingsBase.cs index 9ec1d028..a7dbcd1e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Server/SettingsBase.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Server/SettingsBase.cs @@ -5,16 +5,12 @@ namespace SPTarkov.Server.Core.Models.Spt.Server; public record SettingsBase { - - [JsonPropertyName("config")] public required Config Configuration { get; init; } } public record Config { - - [JsonPropertyName("AFKTimeoutSeconds")] public int AFKTimeoutSeconds { get; set; } @@ -102,8 +98,6 @@ public record Config public record AudioSettings { - - [JsonPropertyName("AudioGroupPresets")] public List AudioGroupPresets { get; set; } @@ -125,8 +119,6 @@ public record AudioSettings public record FramerateLimit { - - [JsonPropertyName("MaxFramerateGameLimit")] public int MaxFramerateGameLimit { get; set; } @@ -139,8 +131,6 @@ public record FramerateLimit public record MemoryManagementSettings { - - [JsonPropertyName("AggressiveGC")] public bool AggressiveGC { get; set; } @@ -162,8 +152,6 @@ public record MemoryManagementSettings public record ReleaseProfiler { - - [JsonPropertyName("Enabled")] public bool Enabled { get; set; } @@ -176,8 +164,6 @@ public record ReleaseProfiler public record NetworkStateView { - - [JsonPropertyName("LossThreshold")] public int LossThreshold { get; set; } @@ -187,8 +173,6 @@ public record NetworkStateView public record AudioGroupPreset { - - [JsonPropertyName("AngleToAllowBinaural")] public double? AngleToAllowBinaural { get; set; } @@ -222,8 +206,6 @@ public record AudioGroupPreset public record EnvironmentSettings { - - [JsonPropertyName("AutumnLateSettings")] public SeasonEnvironmentSettings AutumnLateSettings { get; set; } @@ -251,8 +233,6 @@ public record EnvironmentSettings public record SeasonEnvironmentSettings { - - [JsonPropertyName("RainSettings")] public List RainSettings { get; set; } @@ -265,8 +245,6 @@ public record SeasonEnvironmentSettings public record SurfaceMultiplier { - - public string SurfaceType { get; set; } public double VolumeMult { get; set; } @@ -274,8 +252,6 @@ public record SurfaceMultiplier public record WindMultiplier { - - [JsonPropertyName("VolumeMult")] public double VolumeMult { get; set; } @@ -285,8 +261,6 @@ public record WindMultiplier public record RainSetting { - - [JsonPropertyName("IndoorVolumeMult")] public int IndoorVolumeMult { get; set; } @@ -299,8 +273,6 @@ public record RainSetting public record HeadphoneSettings { - - public double FadeDuration { get; set; } public string FadeIn { get; set; } @@ -310,8 +282,6 @@ public record HeadphoneSettings public record MetaXRAudioPluginSettings { - - public bool EnabledPluginErrorChecker { get; set; } public double OutputVolumeCheckCooldown { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/InsuranceEquipmentPkg.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/InsuranceEquipmentPkg.cs index 9bcda5f1..6be7aa32 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/InsuranceEquipmentPkg.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/InsuranceEquipmentPkg.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Services; public record InsuranceEquipmentPkg { - - [JsonPropertyName("sessionID")] public MongoId SessionId { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/LootItem.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/LootItem.cs index 44d1b0a8..b6e83cf5 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/LootItem.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/LootItem.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Services; public record LootItem { - - [JsonPropertyName("id")] public MongoId? Id { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/LootRequest.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/LootRequest.cs index 6933e9e4..f75e4dd2 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/LootRequest.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/LootRequest.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Services; public record LootRequest { - - /// /// Count of weapons to generate /// diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/ProfileActivityData.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/ProfileActivityData.cs index 548b64fe..ddb34a5d 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/ProfileActivityData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/ProfileActivityData.cs @@ -6,8 +6,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Services; public class ProfileActivityData { - - public long ClientStartedTimestamp { get; set; } public long LastActive { get; set; } public ProfileActivityRaidData? RaidData { get; set; } = null; @@ -16,8 +14,6 @@ public class ProfileActivityData public class ProfileActivityRaidData { - - public GetRaidConfigurationRequestData? RaidConfiguration { get; set; } = null; public RaidChanges? RaidAdjustments { get; set; } = null; public LocationTransit? LocationTransit { get; set; } = null; @@ -25,8 +21,6 @@ public class ProfileActivityRaidData public record ProfileActiveClientMods { - - [JsonPropertyName("modName")] public required string Name { get; init; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/TraderServiceModel.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/TraderServiceModel.cs index 098a05ee..1625c4c4 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Services/TraderServiceModel.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Services/TraderServiceModel.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Services; public record TraderServiceModel { - - [JsonPropertyName("serviceType")] [JsonConverter(typeof(JsonStringEnumConverter))] public TraderServiceType? ServiceType { get; set; } @@ -26,8 +24,6 @@ public record TraderServiceModel public record TraderServiceRequirementsModel { - - [JsonPropertyName("completedQuests")] public List? CompletedQuests { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Templates/Templates.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Templates/Templates.cs index ea2e71fd..bb22917e 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Templates/Templates.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Templates/Templates.cs @@ -7,8 +7,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Templates; public record Templates { - - [JsonPropertyName("character")] public required List Character { get; init; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Weather/GetLocalWeatherResponseData.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Weather/GetLocalWeatherResponseData.cs index a67907a4..3356a69c 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Weather/GetLocalWeatherResponseData.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Weather/GetLocalWeatherResponseData.cs @@ -5,8 +5,6 @@ namespace SPTarkov.Server.Core.Models.Spt.Weather; public record GetLocalWeatherResponseData { - - [JsonPropertyName("season")] public Season? Season { get; set; } diff --git a/Libraries/SPTarkov.Server.Core/Models/Trader/Traders.cs b/Libraries/SPTarkov.Server.Core/Models/Trader/Traders.cs index afdebde1..80abf510 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Trader/Traders.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Trader/Traders.cs @@ -8,8 +8,6 @@ namespace SPTarkov.Server.Core.Models; [Injectable] public record Prapor : ITrader { - - public string Name { get; } = "Prapor"; public MongoId Id { get; } = Traders.PRAPOR; } @@ -17,8 +15,6 @@ public record Prapor : ITrader [Injectable] public record Therapist : ITrader { - - public string Name { get; } = "Therapist"; public MongoId Id { get; } = Traders.THERAPIST; } @@ -26,8 +22,6 @@ public record Therapist : ITrader [Injectable] public record Fence : ITrader { - - public string Name { get; } = "Fence"; public MongoId Id { get; } = Traders.FENCE; } @@ -35,8 +29,6 @@ public record Fence : ITrader [Injectable] public record Skier : ITrader { - - public string Name { get; } = "Skier"; public MongoId Id { get; } = Traders.SKIER; } @@ -44,8 +36,6 @@ public record Skier : ITrader [Injectable] public record Peacekeeper : ITrader { - - public string Name { get; } = "Peacekeeper"; public MongoId Id { get; } = Traders.PEACEKEEPER; } @@ -53,8 +43,6 @@ public record Peacekeeper : ITrader [Injectable] public record Mechanic : ITrader { - - public string Name { get; } = "Mechanic"; public MongoId Id { get; } = Traders.MECHANIC; } @@ -62,8 +50,6 @@ public record Mechanic : ITrader [Injectable] public record Ragman : ITrader { - - public string Name { get; } = "Ragman"; public MongoId Id { get; } = Traders.RAGMAN; } @@ -71,8 +57,6 @@ public record Ragman : ITrader [Injectable] public record Jaeger : ITrader { - - public string Name { get; } = "Jaeger"; public MongoId Id { get; } = Traders.JAEGER; } @@ -80,8 +64,6 @@ public record Jaeger : ITrader [Injectable] public record LighthouseKeeper : ITrader { - - public string Name { get; } = "LighthouseKeeper"; public MongoId Id { get; } = Traders.LIGHTHOUSEKEEPER; } @@ -89,8 +71,6 @@ public record LighthouseKeeper : ITrader [Injectable] public record Btr : ITrader { - - public string Name { get; } = "Btr"; public MongoId Id { get; } = Traders.BTR; } @@ -98,8 +78,6 @@ public record Btr : ITrader [Injectable] public record Ref : ITrader { - - public string Name { get; } = "Ref"; public MongoId Id { get; } = Traders.REF; } diff --git a/Patches/Ceciler.JsonExtensionData/JsonExtensionDataPatch.cs b/Patches/Ceciler.JsonExtensionData/JsonExtensionDataPatch.cs index e7df3f4c..25bc2cbe 100644 --- a/Patches/Ceciler.JsonExtensionData/JsonExtensionDataPatch.cs +++ b/Patches/Ceciler.JsonExtensionData/JsonExtensionDataPatch.cs @@ -9,33 +9,30 @@ public class JsonExtensionDataPatch : IPatcher { private TypeReference? _dictionaryStringObjectReference; - private MethodReference? _jsonExtensionDataAttributeReference; - private MethodReference? _jsonIgnoreAttributeReference; - public void Patch(AssemblyDefinition assembly) { _dictionaryStringObjectReference ??= assembly.MainModule.ImportReference(typeof(Dictionary)); if (_jsonExtensionDataAttributeReference is null) { - var jsonConstructorReference = assembly.MainModule.AssemblyResolver - .Resolve(AssemblyNameReference.Parse("System.Text.Json")).MainModule - .GetType("System.Text.Json.Serialization.JsonExtensionDataAttribute").Methods - .First(m => m.IsConstructor && !m.HasParameters); + var jsonConstructorReference = assembly + .MainModule.AssemblyResolver.Resolve(AssemblyNameReference.Parse("System.Text.Json")) + .MainModule.GetType("System.Text.Json.Serialization.JsonExtensionDataAttribute") + .Methods.First(m => m.IsConstructor && !m.HasParameters); _jsonExtensionDataAttributeReference = assembly.MainModule.ImportReference(jsonConstructorReference); } if (_jsonIgnoreAttributeReference is null) { - var jsonIgnoreConstructorReference = assembly.MainModule.AssemblyResolver - .Resolve(AssemblyNameReference.Parse("System.Text.Json")).MainModule - .GetType("System.Text.Json.Serialization.JsonIgnoreAttribute").Methods - .First(m => m.IsConstructor && !m.HasParameters); + var jsonIgnoreConstructorReference = assembly + .MainModule.AssemblyResolver.Resolve(AssemblyNameReference.Parse("System.Text.Json")) + .MainModule.GetType("System.Text.Json.Serialization.JsonIgnoreAttribute") + .Methods.First(m => m.IsConstructor && !m.HasParameters); _jsonIgnoreAttributeReference = assembly.MainModule.ImportReference(jsonIgnoreConstructorReference); } @@ -43,10 +40,12 @@ public class JsonExtensionDataPatch : IPatcher var processed = new HashSet(); foreach (var typeDefinition in assembly.MainModule.Types) { - if (!typeDefinition.Namespace.Contains("SPTarkov.Server.Core.Models") || - typeDefinition.IsInterface || - typeDefinition.IsEnum || - processed.Contains(typeDefinition.FullName)) + if ( + !typeDefinition.Namespace.Contains("SPTarkov.Server.Core.Models") + || typeDefinition.IsInterface + || typeDefinition.IsEnum + || processed.Contains(typeDefinition.FullName) + ) { continue; } @@ -55,17 +54,17 @@ public class JsonExtensionDataPatch : IPatcher propertyDefinition.CustomAttributes.Add(new CustomAttribute(_jsonExtensionDataAttributeReference)); // Add backing field - var field = new FieldDefinition("_extensionData", - FieldAttributes.Private, - _dictionaryStringObjectReference); + var field = new FieldDefinition("_extensionData", FieldAttributes.Private, _dictionaryStringObjectReference); field.CustomAttributes.Add(new CustomAttribute(_jsonIgnoreAttributeReference)); typeDefinition.Fields.Add(field); // Add getter - var get = new MethodDefinition("get_ExtensionData", + var get = new MethodDefinition( + "get_ExtensionData", MethodAttributes.Public | MethodAttributes.SpecialName | MethodAttributes.HideBySig, - _dictionaryStringObjectReference); + _dictionaryStringObjectReference + ); get.Body.Instructions.Add(Instruction.Create(OpCodes.Ldarg_0)); get.Body.Instructions.Add(Instruction.Create(OpCodes.Ldfld, field)); @@ -76,9 +75,11 @@ public class JsonExtensionDataPatch : IPatcher typeDefinition.Methods.Add(get); // Add setter - var set = new MethodDefinition("set_ExtensionData", + var set = new MethodDefinition( + "set_ExtensionData", MethodAttributes.Public | MethodAttributes.SpecialName | MethodAttributes.HideBySig, - assembly.MainModule.TypeSystem.Void); + assembly.MainModule.TypeSystem.Void + ); set.Parameters.Add(new ParameterDefinition("value", ParameterAttributes.None, _dictionaryStringObjectReference)); set.Body.Instructions.Add(Instruction.Create(OpCodes.Ldarg_0));