Merge pull request #105 from tetrisdev/ModelsComments

Update Models Comments
This commit is contained in:
Chomp
2025-03-04 21:52:26 +00:00
committed by GitHub
66 changed files with 1053 additions and 885 deletions
+4 -1
View File
@@ -94,7 +94,10 @@ namespace Core.Loaders
_inMemoryCacheService = inMemoryCacheService;
_cloner = cloner;
}
/// <summary>
/// Handle singleplayer/bundles
/// </summary>
/// <returns> List of loaded bundles.</returns>
public List<BundleInfo> GetBundles()
{
var result = new List<BundleInfo>();
+6 -6
View File
@@ -4,9 +4,9 @@ namespace Core.Models.Common;
public record IdWithCount
{
/**
* Id of stack to take money from
*/
/// <summary>
/// ID of stack to take money from
/// </summary>
[JsonPropertyName("id")]
public string? Id
{
@@ -14,9 +14,9 @@ public record IdWithCount
set;
}
/**
* Amount of money to take off player for treatment
*/
/// <summary>
/// Amount of money to take off player for treatment
/// </summary>
[JsonPropertyName("count")]
public double? Count
{
+3 -3
View File
@@ -9758,9 +9758,9 @@ public record Preset
set;
}
/**
* Default presets have this property
*/
/// <summary>
/// Default presets have this property
/// </summary>
[JsonPropertyName("_encyclopedia")]
public string? Encyclopedia
{
+18 -18
View File
@@ -6,9 +6,9 @@ namespace Core.Models.Eft.Common;
public record Location
{
/**
* Map meta-data
*/
/// <summary>
/// Map meta-data
/// </summary>
[JsonPropertyName("base")]
public LocationBase? Base
{
@@ -16,9 +16,9 @@ public record Location
set;
}
/**
* Loose loot positions and item weights
*/
/// <summary>
/// Loose loot positions and item weights
/// </summary>
[JsonPropertyName("looseLoot")]
public LazyLoad<LooseLoot>? LooseLoot
{
@@ -26,9 +26,9 @@ public record Location
set;
}
/**
* Static loot item weights
*/
/// <summary>
/// Static loot item weights
/// </summary>
[JsonPropertyName("staticLoot")]
public LazyLoad<Dictionary<string, StaticLootDetails>>? StaticLoot
{
@@ -36,9 +36,9 @@ public record Location
set;
}
/**
* Static container positions and item weights
*/
/// <summary>
/// Static container positions and item weights
/// </summary>
[JsonPropertyName("staticContainers")]
public LazyLoad<StaticContainerDetails>? StaticContainers
{
@@ -53,9 +53,9 @@ public record Location
set;
}
/**
* All possible static containers on map + their assign groupings
*/
/// <summary>
/// All possible static containers on map + their assign groupings
/// </summary>
[JsonPropertyName("statics")]
public StaticContainer? Statics
{
@@ -63,9 +63,9 @@ public record Location
set;
}
/**
* All possible map extracts
*/
/// <summary>
/// All possible map extracts
/// </summary>
[JsonPropertyName("allExtracts")]
public Exit[] AllExtracts
{
@@ -106,9 +106,9 @@ public record LocationBase
set;
}
/**
* Weighting on how likely a bot will be Easy difficulty
*/
/// <summary>
/// Weighting on how likely a bot will be Easy difficulty
/// </summary>
[JsonPropertyName("BotEasy")]
public int? BotEasy
{
@@ -116,9 +116,9 @@ public record LocationBase
set;
}
/**
* Weighting on how likely a bot will be Hard difficulty
*/
/// <summary>
/// Weighting on how likely a bot will be Hard difficulty
/// </summary>
[JsonPropertyName("BotHard")]
public int? BotHard
{
@@ -126,9 +126,9 @@ public record LocationBase
set;
}
/**
* Weighting on how likely a bot will be Impossible difficulty
*/
/// <summary>
/// Weighting on how likely a bot will be Impossible difficulty
/// </summary>
[JsonPropertyName("BotImpossible")]
public int? BotImpossible
{
@@ -150,9 +150,9 @@ public record LocationBase
set;
}
/**
* Maximum Number of bots that are currently alive/loading/delayed
*/
/// <summary>
/// Maximum Number of bots that are currently alive/loading/delayed
/// </summary>
[JsonPropertyName("BotMax")]
public int? BotMax
{
@@ -160,9 +160,9 @@ public record LocationBase
set;
}
/**
* Is not used in 33420
*/
/// <summary>
/// Is not used in 33420 TODO: still needed?
/// </summary>
[JsonPropertyName("BotMaxPlayer")]
public int? BotMaxPlayer
{
@@ -170,9 +170,9 @@ public record LocationBase
set;
}
/**
* Is not used in 33420
*/
/// <summary>
/// Is not used in 33420 TODO: still needed?
/// </summary>
[JsonPropertyName("BotMaxTimePlayer")]
public int? BotMaxTimePlayer
{
@@ -180,9 +180,9 @@ public record LocationBase
set;
}
/**
* Does not even exist in the client in 33420
*/
/// <summary>
/// Does not even exist in the client in 33420 TODO: still needed?
/// </summary>
[JsonPropertyName("BotMaxPvE")]
public int? BotMaxPvE
{
@@ -190,9 +190,9 @@ public record LocationBase
set;
}
/**
* Weighting on how likely a bot will be Normal difficulty
*/
/// <summary>
/// Weighting on how likely a bot will be Normal difficulty
/// </summary>
[JsonPropertyName("BotNormal")]
public int? BotNormal
{
@@ -200,9 +200,9 @@ public record LocationBase
set;
}
/**
* How many bot slots that need to be open before trying to spawn new bots.
*/
/// <summary>
/// How many bot slots that need to be open before trying to spawn new bots.
/// </summary>
[JsonPropertyName("BotSpawnCountStep")]
public int? BotSpawnCountStep
{
@@ -210,9 +210,9 @@ public record LocationBase
set;
}
/**
* How often to check if bots are spawn-able. In seconds
*/
/// <summary>
/// How often to check if bots are spawn-able. In seconds
/// </summary>
[JsonPropertyName("BotSpawnPeriodCheck")]
public int? BotSpawnPeriodCheck
{
@@ -220,9 +220,9 @@ public record LocationBase
set;
}
/**
* The bot spawn will toggle on and off in intervals of Off(Min/Max) and On(Min/Max)
*/
/// <summary>
/// The bot spawn will toggle on and off in intervals of Off(Min/Max) and On(Min/Max)
/// </summary>
[JsonPropertyName("BotSpawnTimeOffMax")]
public int? BotSpawnTimeOffMax
{
@@ -251,9 +251,9 @@ public record LocationBase
set;
}
/**
* How soon bots will be allowed to spawn
*/
/// <summary>
/// How soon bots will be allowed to spawn
/// </summary>
[JsonPropertyName("BotStart")]
public int? BotStart
{
@@ -261,9 +261,9 @@ public record LocationBase
set;
}
/**
* After this long bots will no longer spawn
*/
/// <summary>
/// After this long bots will no longer spawn
/// </summary>
[JsonPropertyName("BotStop")]
public int? BotStop
{
@@ -1666,9 +1666,9 @@ public record ColliderProps
public record Exit
{
/**
* % Chance out of 100 exit will appear in raid
*/
/// <summary>
/// % Chance out of 100 exit will appear in raid
/// </summary>
[JsonPropertyName("Chance")]
public double? Chance
{
@@ -1950,9 +1950,9 @@ public record Wave
set;
}
/**
* OPTIONAL - Needs to be unique - Used by custom wave service to ensure same wave isnt added multiple times
*/
/// <summary>
/// OPTIONAL - Needs to be unique - Used by custom wave service to ensure same wave isnt added multiple times
/// </summary>
[JsonPropertyName("sptId")]
public string? SptId
{
@@ -1967,9 +1967,9 @@ public record Wave
set;
}
/**
* 'pve' and/or 'regular'
*/
/// <summary>
/// 'pve' and/or 'regular'
/// </summary>
[JsonPropertyName("SpawnMode")]
public List<string>? SpawnMode
{
+3 -3
View File
@@ -40,9 +40,9 @@ public record PostRaidStats
set;
}
/**
* Only found in profile we get from client post raid
*/
/// <summary>
/// Only found in profile we get from client post raid
/// </summary>
[JsonPropertyName("Arena")]
public EftStats? Arena
{
@@ -24,9 +24,9 @@ public record BotBase
set;
}
/**
* SPT property - use to store player id - TODO - move to AID ( account id as guid of choice)
*/
/// <summary>
/// SPT property - use to store player id - TODO - move to AID ( account id as guid of choice)
/// </summary>
[JsonPropertyName("sessionId")]
public string? SessionId
{
@@ -149,9 +149,9 @@ public record BotBase
set;
}
/**
* Achievement id and timestamp
*/
/// <summary>
/// Achievement id and timestamp
/// </summary>
[JsonPropertyName("Achievements")]
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
public Dictionary<string, long>? Achievements
@@ -218,9 +218,9 @@ public record BotBase
set;
}
/**
* SPT specific property used during bot generation in raid
*/
/// <summary>
/// SPT specific property used during bot generation in raid
/// </summary>
[JsonPropertyName("sptIsPmc")]
public bool? IsPmc
{
@@ -232,9 +232,9 @@ public record BotBase
public record MoneyTransferLimits
{
// Resets every 24 hours in live
/**
* TODO: Implement
*/
/// <summary>
/// TODO: Implement
/// </summary>
[JsonPropertyName("nextResetTime")]
public double? NextResetTime
{
@@ -286,10 +286,9 @@ public record TaskConditionCounter
get;
set;
}
/**
* Quest id
*/
/// <summary>
/// Quest id
/// </summary>
[JsonPropertyName("sourceId")]
public string? SourceId
{
@@ -857,9 +856,9 @@ public record BotBaseInventory
set;
}
/**
* Key is hideout area enum numeric as string e.g. "24", value is area _id
*/
/// <summary>
/// Key is hideout area enum numeric as string e.g. "24", value is area _id
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("hideoutAreaStashes")]
public Dictionary<string, string>? HideoutAreaStashes
@@ -1560,9 +1559,9 @@ public record BackendCounter
public record InsuredItem
{
/**
* Trader Id item was insured by
*/
/// <summary>
/// Trader ID item was insured by
/// </summary>
[JsonPropertyName("tid")]
public string? TId
{
@@ -1690,18 +1689,18 @@ public record Production // use this instead of productive and scavcase
set;
}
/**
* Seconds passed of production
*/
/// <summary>
/// Seconds passed of production
/// </summary>
public double? Progress
{
get;
set;
}
/**
* Is craft in some state of being worked on by client (crafting/ready to pick up)
*/
/// <summary>
/// Is craft in some state of being worked on by client (crafting/ready to pick up)
/// </summary>
[JsonPropertyName("inProgress")]
public bool? InProgress
{
@@ -1721,9 +1720,9 @@ public record Production // use this instead of productive and scavcase
set;
}
/**
* Seconds needed to fully craft
*/
/// <summary>
/// Seconds needed to fully craft
/// </summary>
public double? ProductionTime
{
get;
@@ -1760,18 +1759,18 @@ public record Production // use this instead of productive and scavcase
set;
}
/**
* Used in hideout production.json
*/
/// <summary>
/// Used in hideout production.json
/// </summary>
public bool? needFuelForAllProductionTime
{
get;
set;
}
/**
* Used when sending data to client
*/
/// <summary>
/// Used when sending data to client
/// </summary>
public bool? NeedFuelForAllProductionTime
{
get;
@@ -1785,9 +1784,9 @@ public record Production // use this instead of productive and scavcase
set;
}
/**
* Some crafts are always inProgress, but need to be reset, e.g. water collector
*/
/// <summary>
/// Some crafts are always inProgress, but need to be reset, e.g. water collector
/// </summary>
[JsonPropertyName("sptIsComplete")]
public bool? SptIsComplete
{
@@ -1795,9 +1794,9 @@ public record Production // use this instead of productive and scavcase
set;
}
/**
* Is the craft a Continuous, e.g bitcoins/water collector
*/
/// <summary>
/// Is the craft a Continuous, e.g. bitcoins/water collector
/// </summary>
[JsonPropertyName("sptIsContinuous")]
public bool? SptIsContinuous
{
@@ -1805,9 +1804,9 @@ public record Production // use this instead of productive and scavcase
set;
}
/**
* Stores a list of tools used in this craft and whether they're FiR, to give back once the craft is done
*/
/// <summary>
/// Stores a list of tools used in this craft and whether they're FiR, to give back once the craft is done
/// </summary>
[JsonPropertyName("sptRequiredTools")]
public List<Item>? SptRequiredTools
{
@@ -1815,7 +1814,9 @@ public record Production // use this instead of productive and scavcase
set;
}
// Craft is cultist circle sacrifice
/// <summary>
/// Craft is cultist circle sacrifice
/// </summary>
[JsonPropertyName("sptIsCultistCircle")]
public bool? SptIsCultistCircle
{
@@ -1860,9 +1861,9 @@ public record BotHideoutArea
set;
}
/**
* Must be integer
*/
/// <summary>
/// Must be integer
/// </summary>
[JsonPropertyName("completeTime")]
public double? CompleteTime
{
@@ -1895,7 +1896,7 @@ public record BotHideoutArea
public record HideoutSlot
{
/// <summary>
/// SPT specific value to keep track of what index this slot is (0,1,2,3 etc)
/// SPT specific value to keep track of what index this slot is (0,1,2,3 etc.)
/// </summary>
[JsonPropertyName("locationIndex")]
public double? LocationIndex
@@ -1971,9 +1972,9 @@ public record Quests
set;
}
/**
* Property does not exist in live profile data, but is used by ProfileChanges.questsStatus when sent to client
*/
/// <summary>
/// Property does not exist in live profile data, but is used by ProfileChanges.questsStatus when sent to client
/// </summary>
[JsonPropertyName("completedConditions")]
public List<string>? CompletedConditions
{
@@ -435,9 +435,9 @@ public record DifficultyCategories
public record Experience
{
/**
* key = bot difficulty
*/
/// <summary>
/// key = bot difficulty
/// </summary>
[JsonPropertyName("aggressorBonus")]
public Dictionary<string, double>? AggressorBonus
{
@@ -452,9 +452,9 @@ public record Experience
set;
}
/**
* key = bot difficulty
*/
/// <summary>
/// key = bot difficulty
/// </summary>
[JsonPropertyName("reward")]
public Dictionary<string, MinMax<int>>? Reward
{
@@ -462,9 +462,9 @@ public record Experience
set;
}
/**
* key = bot difficulty
*/
/// <summary>
/// key = bot difficulty
/// </summary>
[JsonPropertyName("standingForKill")]
public Dictionary<string, double>? StandingForKill
{
@@ -492,9 +492,9 @@ public record Generation
public record GenerationData
{
/**
* key: number of items, value: weighting
*/
/// <summary>
/// key: number of items, value: weighting
/// </summary>
[JsonPropertyName("weights")]
public Dictionary<double, double>? Weights
{
@@ -502,9 +502,9 @@ public record GenerationData
set;
}
/**
* Array of item tpls
*/
/// <summary>
/// Array of item tpls
/// </summary>
[JsonPropertyName("whitelist")]
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
public Dictionary<string, double>? Whitelist
@@ -4,6 +4,7 @@ namespace Core.Models.Eft.Common.Tables;
public record CustomisationStorage
{
// Customisation.json/itemId
[JsonPropertyName("id")]
public string? Id
{
@@ -91,8 +91,10 @@ public record Item
public record HideoutItem
{
/// <summary>
/// Hideout inventory id that was used by improvement action
/// </summary>
[JsonPropertyName("_id")]
public string? _Id
{
get
@@ -179,9 +181,9 @@ public record ItemLocation
set;
}
/**
* SPT property?
*/
/// <summary>
/// SPT property?
/// </summary>
[JsonPropertyName("rotation")]
public object? Rotation
{
@@ -222,9 +224,9 @@ public record Upd
set;
}
/**
* SPT specific property, not made by BSG
*/
/// <summary>
/// SPT specific property, not made by BSG
/// </summary>
[JsonPropertyName("sptPresetId")]
public string? SptPresetId
{
@@ -189,9 +189,9 @@ public record ProfileTraderTemplate
set;
}
/**
* How many days is usage of the flea blocked for upon profile creation
*/
/// <summary>
/// How many days is usage of the flea blocked for upon profile creation
/// </summary>
[JsonPropertyName("fleaBlockedDays")]
public int? FleaBlockedDays
{
@@ -199,9 +199,9 @@ public record ProfileTraderTemplate
set;
}
/**
* What traders default to being locked on profile creation
*/
/// <summary>
/// What traders default to being locked on profile creation
/// </summary>
[JsonPropertyName("lockedByDefaultOverride")]
public List<string>? LockedByDefaultOverride
{
@@ -209,9 +209,9 @@ public record ProfileTraderTemplate
set;
}
/**
* What traders should have their clothing unlocked/purchased on creation
*/
/// <summary>
/// What traders should have their clothing unlocked/purchased on creation
/// </summary>
[JsonPropertyName("purchaseAllClothingByDefaultForTrader")]
public List<string>? PurchaseAllClothingByDefaultForTrader
{
@@ -219,6 +219,9 @@ public record PmcDataRepeatableQuest
set;
}
/// <summary>
/// What it costs to reset: QuestId, ChangeRequirement. Redundant to change requirements within RepeatableQuest
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("changeRequirement")]
public Dictionary<string?, ChangeRequirement?>? ChangeRequirement
@@ -261,6 +264,9 @@ public record ChangeRequirement
public record ChangeCost
{
/// <summary>
/// What item it will take to reset daily
/// </summary>
[JsonPropertyName("templateId")]
public string? TemplateId
{
@@ -268,6 +274,9 @@ public record ChangeCost
set;
}
/// <summary>
/// Amount of item needed to reset
/// </summary>
[JsonPropertyName("count")]
public int? Count
{
@@ -55,9 +55,9 @@ public record Reward
set;
}
/**
* Hideout area id
*/
/// <summary>
/// Hideout area id
/// </summary>
[JsonPropertyName("traderId")]
public object? TraderId
{
@@ -93,9 +93,9 @@ public record Reward
set;
}
/**
* Game editions whitelisted to get reward
*/
/// <summary>
/// Game editions whitelisted to get reward
/// </summary>
[JsonPropertyName("availableInGameEditions")]
public HashSet<string>? AvailableInGameEditions
{
@@ -103,9 +103,9 @@ public record Reward
set;
}
/**
* Game editions blacklisted from getting reward
*/
/// <summary>
/// Game editions blacklisted from getting reward
/// </summary>
[JsonPropertyName("notAvailableInGameEditions")]
public HashSet<string>? NotAvailableInGameEditions
{
@@ -422,13 +422,15 @@ public record TraderRepair
get;
set;
}
/// <summary>
/// Doesn't exist in client object
/// </summary>
[JsonPropertyName("excluded_id_list")]
public List<string>? ExcludedIdList
{
get;
set;
} // Doesn't exist in client object
}
[JsonPropertyName("quality")]
[JsonConverter(typeof(StringToNumberFactoryConverter))]
@@ -60,9 +60,9 @@ public record ChatServer
set;
}
/**
* Possibly removed
*/
/// <summary>
/// Possibly removed
/// </summary>
[JsonPropertyName("IsDeveloper")]
public bool? IsDeveloper
{
@@ -67,9 +67,9 @@ public record GameConfigResponse
set;
}
/**
* Total in game time
*/
/// <summary>
/// Total in game time
/// </summary>
[JsonPropertyName("totalInGame")]
public double? TotalInGame
{
@@ -13,10 +13,10 @@ public record HealthTreatmentRequestData : InventoryBaseActionRequestData
set;
}
/**
* Id of stack to take money from
* Amount of money to take off player for treatment
*/
/// <summary>
/// Id of stack to take money from <br/>
/// Amount of money to take off player for treatment
/// </summary>
[JsonPropertyName("items")]
public List<IdWithCount>? Items
{
@@ -123,9 +123,9 @@ public record BodyPartEffects
set;
}
/**
* Effects in array to be removed
*/
/// <summary>
/// Effects in array to be removed
/// </summary>
public List<string> Effects
{
get;
@@ -5,9 +5,9 @@ namespace Core.Models.Eft.Hideout;
public record HandleQTEEventRequestData : InventoryBaseActionRequestData
{
/**
* true if QTE was successful, otherwise false
*/
/// <summary>
/// true if QTE was successful, otherwise false
/// </summary>
[JsonPropertyName("results")]
public List<bool>? Results
{
@@ -15,9 +15,9 @@ public record HandleQTEEventRequestData : InventoryBaseActionRequestData
set;
}
/**
* Id of the QTE object used from db/hideout/qte.json
*/
/// <summary>
/// Id of the QTE object used from db/hideout/qte.json
/// </summary>
[JsonPropertyName("id")]
public string? Id
{
@@ -131,9 +131,9 @@ public record Stage
set;
}
/**
* Containers inventory tpl
*/
/// <summary>
/// Containers inventory tpl
/// </summary>
[JsonPropertyName("container")]
public string? Container
{
@@ -7,9 +7,9 @@ namespace Core.Models.Eft.Hideout;
public record HideoutImproveAreaRequestData : InventoryBaseActionRequestData
{
/**
* Hideout area id from areas.json
*/
/// <summary>
/// Hideout area id from areas.json
/// </summary>
[JsonPropertyName("id")]
public string? AreaId
{
@@ -58,9 +58,9 @@ public record HideoutProduction
set;
}
/**
* Tpl of item being crafted
*/
/// <summary>
/// Tpl of item being crafted
/// </summary>
[JsonPropertyName("endProduct")]
public string? EndProduct
{
@@ -4,7 +4,9 @@ namespace Core.Models.Eft.Inventory;
public record AddItemRequestData
{
// Trader id
/// <summary>
/// Trader id
/// </summary>
[JsonPropertyName("tid")]
public string? TraderId
{
@@ -33,7 +33,9 @@ public record AddItemTempObject
set;
}
// Container item will be placed in - stash or sorting table
/// <summary>
/// Container item will be placed in - stash or sorting table
/// </summary>
[JsonPropertyName("containerId")]
public string? ContainerIdentifier
{
@@ -5,7 +5,9 @@ namespace Core.Models.Eft.Inventory;
public record AddItemsDirectRequest
{
/// <summary>
/// Item and child mods to add to player inventory
/// </summary>
[JsonPropertyName("itemsWithModsToAdd")]
public List<List<Item>>? ItemsWithModsToAdd
{
@@ -19,16 +21,18 @@ public record AddItemsDirectRequest
get;
set;
}
/// <summary>
/// Runs after EACH item with children is added
/// </summary>
[JsonPropertyName("callback")]
public Action<int>? Callback
{
get;
set;
}
/// <summary>
/// Should sorting table be used when no space found in stash
/// </summary>
[JsonPropertyName("useSortingTable")]
public bool? UseSortingTable
{
@@ -59,7 +59,7 @@ public record Container
{
get;
set;
} // TODO: types given: ILocation or number
} // TODO: types given: ILocation or number - BSG data object shows as location only.
}
public record Location
@@ -4,9 +4,9 @@ namespace Core.Models.Eft.Inventory;
public record InventorySplitRequestData : InventoryBaseActionRequestData
{
/**
* Id of item to split
*/
/// <summary>
/// Id of item to split
/// </summary>
[JsonPropertyName("splitItem")]
public string? SplitItem
{
@@ -14,9 +14,9 @@ public record InventorySplitRequestData : InventoryBaseActionRequestData
set;
}
/**
* Id of new item stack
*/
/// <summary>
/// Id of new item stack
/// </summary>
[JsonPropertyName("newItem")]
public string? NewItem
{
@@ -24,9 +24,9 @@ public record InventorySplitRequestData : InventoryBaseActionRequestData
set;
}
/**
* Destination new item will be placed in
*/
/// <summary>
/// Destination new item will be placed in
/// </summary>
[JsonPropertyName("container")]
public Container? Container
{
@@ -5,9 +5,9 @@ namespace Core.Models.Eft.Inventory;
public record PinOrLockItemRequest : InventoryBaseActionRequestData
{
/**
* Id of item being pinned
*/
/// <summary>
/// Id of item being pinned
/// </summary>
[JsonPropertyName("Item")]
public string? Item
{
@@ -15,9 +15,9 @@ public record PinOrLockItemRequest : InventoryBaseActionRequestData
set;
}
/**
* "Pinned"/"Locked"/"Free"
*/
/// <summary>
/// "Pinned"/"Locked"/"Free"
/// </summary>
[JsonPropertyName("State")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public PinLockState? State
@@ -113,9 +113,9 @@ public record ProfileChange
set;
}
/**
* Hideout area improvement id
*/
/// <summary>
/// Hideout area improvement id
/// </summary>
[JsonPropertyName("improvements")]
public Dictionary<string, HideoutImprovement>? Improvements
{
@@ -306,9 +306,9 @@ public record ItemChanges
} // Only needs _id property
}
/**
* Related to TraderInfo
*/
/// <summary>
/// Related to TraderInfo
/// </summary>
public record TraderData
{
[JsonPropertyName("salesSum")]
@@ -1,5 +1,7 @@
namespace Core.Models.Eft.ItemEvent;
/// <summary>
/// An object sent back to the game client that contains alterations the client must make to ensure server/client are in sync
/// </summary>
public record ItemEventRouterResponse : ItemEventRouterBase
{
}
@@ -6,7 +6,9 @@ namespace Core.Models.Eft.Location;
public record GetAirdropLootResponse
{
// The type of airdrop
/// <summary>
/// The type of airdrop
/// </summary>
[JsonPropertyName("icon")]
public AirdropTypeEnum? Icon
{
@@ -55,9 +55,9 @@ public record StartLocalRaidRequestData : IRequestData
set;
}
/**
* Should loot generation be skipped, default false
*/
/// <summary>
/// Should loot generation be skipped, default false
/// </summary>
[JsonPropertyName("sptSkipLootGeneration")]
public bool? ShouldSkipLootGeneration
{
@@ -20,9 +20,9 @@ public record PresetBuildActionRequestData : IRequestData
set;
}
/**
* name of preset given by player
*/
/// <summary>
/// name of preset given by player
/// </summary>
[JsonPropertyName("Name")]
public string? Name
{
+40 -40
View File
@@ -23,9 +23,9 @@ public record SptProfile
set;
}
/**
* Clothing purchases
*/
/// <summary>
/// Clothing purchases
/// </summary>
[JsonPropertyName("suits")]
public List<string>? Suits
{
@@ -75,9 +75,9 @@ public record SptProfile
set;
}
/**
* Assort purchases made by player since last trader refresh
*/
/// <summary>
/// Assort purchases made by player since last trader refresh
/// </summary>
[JsonPropertyName("traderPurchases")]
public Dictionary<string, Dictionary<string, TraderPurchaseData>?>? TraderPurchases
{
@@ -85,9 +85,9 @@ public record SptProfile
set;
}
/**
* List of friend profile IDs
*/
/// <summary>
/// List of friend profile IDs
/// </summary>
[JsonPropertyName("friends")]
public List<string>? FriendProfileIds
{
@@ -122,9 +122,9 @@ public record TraderPurchaseData
public record Info
{
/**
* main profile id
*/
/// <summary>
/// main profile id
/// </summary>
[JsonPropertyName("id")]
public string? ProfileId
{
@@ -192,9 +192,9 @@ public record Characters
}
}
/**
* used by profile.userbuilds
*/
/// <summary>
/// used by profile.userbuilds
/// </summary>
public record UserBuilds
{
[JsonPropertyName("weaponBuilds")]
@@ -326,9 +326,9 @@ public record MagazineTemplateAmmoItem
}
}
/**
* Used by defaultEquipmentPresets.json
*/
/// <summary>
/// Used by defaultEquipmentPresets.json
/// </summary>
public record DefaultEquipmentPreset : EquipmentBuild
{
[JsonPropertyName("type")]
@@ -391,7 +391,7 @@ public record Dialogue
}
}
// @Cleanup: Maybe the same as Dialogue?
//TODO: @Cleanup: Maybe the same as Dialogue?
public record DialogueInfo
{
[JsonPropertyName("attachmentsNew")]
@@ -699,9 +699,9 @@ public record UpdatableChatMember
public record Spt
{
/**
* What version of SPT was this profile made with
*/
/// <summary>
/// What version of SPT was this profile made with
/// </summary>
[JsonPropertyName("version")]
public string? Version
{
@@ -709,9 +709,9 @@ public record Spt
set;
}
/**
* What mods has this profile loaded at any point in time
*/
/// <summary>
/// What mods has this profile loaded at any point in time
/// </summary>
[JsonPropertyName("mods")]
public List<ModDetails>? Mods
{
@@ -719,9 +719,9 @@ public record Spt
set;
}
/**
* What gifts has this profile received and how many
*/
/// <summary>
/// What gifts has this profile received and how many
/// </summary>
[JsonPropertyName("receivedGifts")]
public List<ReceivedGift>? ReceivedGifts
{
@@ -729,9 +729,9 @@ public record Spt
set;
}
/**
* item TPLs blacklisted from being sold on flea for this profile
*/
/// <summary>
/// item TPLs blacklisted from being sold on flea for this profile
/// </summary>
[JsonPropertyName("blacklistedItemTpls")]
public HashSet<string>? BlacklistedItemTemplates
{
@@ -739,9 +739,9 @@ public record Spt
set;
}
/**
* key: daily type
*/
/// <summary>
/// key: daily type
/// </summary>
[JsonPropertyName("freeRepeatableRefreshUsedCount")]
public Dictionary<string, int>? FreeRepeatableRefreshUsedCount
{
@@ -749,9 +749,9 @@ public record Spt
set;
}
/**
* When was a profile migrated, value is timestamp
*/
/// <summary>
/// When was a profile migrated, value is timestamp
/// </summary>
[JsonPropertyName("migrations")]
public Dictionary<string, long>? Migrations
{
@@ -759,9 +759,9 @@ public record Spt
set;
}
/**
* Cultist circle rewards received that are one time use, key (md5) is a combination of sacrificed + reward items
*/
/// <summary>
/// Cultist circle rewards received that are one time use, key (md5) is a combination of sacrificed + reward items
/// </summary>
[JsonPropertyName("cultistRewards")]
public Dictionary<string, AcceptedCultistReward>? CultistRewards
{
@@ -5,9 +5,9 @@ namespace Core.Models.Eft.Quests;
public record CompleteQuestRequestData : InventoryBaseActionRequestData
{
/**
* Quest Id
*/
/// <summary>
/// Quest Id
/// </summary>
[JsonPropertyName("qid")]
public string? QuestId
{
@@ -64,9 +64,9 @@ public record RagfairOffer
set;
}
/**
* Handbook price
*/
/// <summary>
/// Handbook price
/// </summary>
[JsonPropertyName("itemsCost")]
public double? ItemsCost
{
@@ -74,9 +74,9 @@ public record RagfairOffer
set;
}
/**
* Rouble price per item
*/
/// <summary>
/// Rouble price per item
/// </summary>
[JsonPropertyName("requirementsCost")]
public double? RequirementsCost
{
@@ -98,9 +98,9 @@ public record RagfairOffer
set;
}
/**
* True when offer is sold as pack
*/
/// <summary>
/// True when offer is sold as pack
/// </summary>
[JsonPropertyName("sellInOnePiece")]
public bool? SellInOnePiece
{
@@ -108,9 +108,9 @@ public record RagfairOffer
set;
}
/**
* Rouble price - same as requirementsCost
*/
/// <summary>
/// Rouble price - same as requirementsCost
/// </summary>
[JsonPropertyName("summaryCost")]
public double? SummaryCost
{
@@ -125,9 +125,9 @@ public record RagfairOffer
set;
}
/**
* Trader only
*/
/// <summary>
/// Trader only
/// </summary>
[JsonPropertyName("unlimitedCount")]
public bool? UnlimitedCount
{
@@ -12,27 +12,36 @@ public record RepairActionDataRequest : InventoryBaseActionRequestData
set;
}
/// <summary>
/// item to repair
/// </summary>
[JsonPropertyName("target")]
public string? Target
{
get;
set;
} // item to repair
}
}
public record RepairKitsInfo
{
/// <summary>
/// id of repair kit to use
/// </summary>
[JsonPropertyName("_id")]
public string? Id
{
get;
set;
} // id of repair kit to use
}
/// <summary>
/// amount of units to reduce kit by
/// </summary>
[JsonPropertyName("count")]
public int? Count
{
get;
set;
} // amount of units to reduce kit by
}
}
@@ -26,6 +26,9 @@ public record ProcessBuyTradeRequestData : ProcessBaseTradeRequestData
set;
}
/// <summary>
/// Id of stack to take money from, is money tpl when Action is `SptInsure`
/// </summary>
[JsonPropertyName("scheme_items")]
public List<IdWithCount>? SchemeItems
{
@@ -71,9 +71,9 @@ public record Weather
set;
}
/**
* 1 - 3 light rain, 3+ 'rain'
*/
/// <summary>
/// 1 - 3 light rain, 3+ 'rain'
/// </summary>
[JsonPropertyName("rain")]
public double? Rain
{
@@ -102,16 +102,9 @@ public record Weather
set;
}
/**
* <
* -
* 0
* .
* 4
* =
* clear
* day
*/
/// <summary>
/// < -0.4 = clear day
/// </summary>
[JsonPropertyName("cloud")]
public double? Cloud
{
@@ -5,9 +5,9 @@ namespace Core.Models.Spt.Bots;
public record GenerateWeaponRequest
{
/**
* Weapon to add mods to / result that is returned
*/
/// <summary>
/// Weapon to add mods to / result that is returned
/// </summary>
[JsonPropertyName("weapon")]
public List<Item>? Weapon
{
@@ -15,9 +15,9 @@ public record GenerateWeaponRequest
set;
}
/**
* Pool of compatible mods to attach to weapon
*/
/// <summary>
/// Pool of compatible mods to attach to weapon
/// </summary>
[JsonPropertyName("modPool")]
public GlobalMods? ModPool
{
@@ -25,9 +25,9 @@ public record GenerateWeaponRequest
set;
}
/**
* ParentId of weapon
*/
/// <summary>
/// ParentId of weapon
/// </summary>
[JsonPropertyName("weaponId")]
public string? WeaponId
{
@@ -35,9 +35,9 @@ public record GenerateWeaponRequest
set;
}
/**
* Weapon which mods will be generated on
*/
/// <summary>
/// Weapon which mods will be generated on
/// </summary>
[JsonPropertyName("parentTemplate")]
public TemplateItem? ParentTemplate
{
@@ -45,9 +45,9 @@ public record GenerateWeaponRequest
set;
}
/**
* Chance values mod will be added
*/
/// <summary>
/// Chance values mod will be added
/// </summary>
[JsonPropertyName("modSpawnChances")]
public Dictionary<string, double>? ModSpawnChances
{
@@ -55,9 +55,9 @@ public record GenerateWeaponRequest
set;
}
/**
* Ammo tpl to use when generating magazines/cartridges
*/
/// <summary>
/// Ammo tpl to use when generating magazines/cartridges
/// </summary>
[JsonPropertyName("ammoTpl")]
public string? AmmoTpl
{
@@ -65,9 +65,9 @@ public record GenerateWeaponRequest
set;
}
/**
* Bot-specific properties
*/
/// <summary>
/// Bot-specific properties
/// </summary>
[JsonPropertyName("botData")]
public BotData? BotData
{
@@ -75,9 +75,9 @@ public record GenerateWeaponRequest
set;
}
/**
* limits placed on certain mod types per gun
*/
/// <summary>
/// limits placed on certain mod types per gun
/// </summary>
[JsonPropertyName("modLimits")]
public BotModLimits? ModLimits
{
@@ -85,9 +85,9 @@ public record GenerateWeaponRequest
set;
}
/**
* Info related to the weapon being generated
*/
/// <summary>
/// Info related to the weapon being generated
/// </summary>
[JsonPropertyName("weaponStats")]
public WeaponStats? WeaponStats
{
@@ -95,9 +95,9 @@ public record GenerateWeaponRequest
set;
}
/**
* Array of item tpls the weapon does not support
*/
/// <summary>
/// Array of item tpls the weapon does not support
/// </summary>
[JsonPropertyName("conflictingItemTpls")]
public HashSet<string>? ConflictingItemTpls
{
@@ -108,9 +108,9 @@ public record GenerateWeaponRequest
public record BotData
{
/**
* Role of bot weapon is generated for
*/
/// <summary>
/// Role of bot weapon is generated for
/// </summary>
[JsonPropertyName("role")]
public string? Role
{
@@ -118,9 +118,9 @@ public record BotData
set;
}
/**
* Level of the bot weapon is being generated for
*/
/// <summary>
/// Level of the bot weapon is being generated for
/// </summary>
[JsonPropertyName("level")]
public int? Level
{
@@ -128,9 +128,9 @@ public record BotData
set;
}
/**
* role of bot when accessing bot.json equipment config settings
*/
/// <summary>
/// role of bot when accessing bot.json equipment config settings
/// </summary>
[JsonPropertyName("equipmentRole")]
public string? EquipmentRole
{
+69 -68
View File
@@ -14,9 +14,9 @@ public record BotConfig : BaseConfig
set;
} = "spt-bot";
/**
* How many variants of each bot should be generated on raid start
*/
/// <summary>
/// How many variants of each bot should be generated on raid start
/// </summary>
[JsonPropertyName("presetBatch")]
public Dictionary<string, int>? PresetBatch
{
@@ -24,9 +24,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Bot roles that should not have PMC types (pmcBEAR/pmcUSEC) added as enemies to
*/
/// <summary>
/// Bot roles that should not have PMC types (pmcBEAR/pmcUSEC) added as enemies to
/// </summary>
[JsonPropertyName("botsToNotAddPMCsAsEnemiesTo")]
public List<string> BotsToNotAddPMCsAsEnemiesTo
{
@@ -34,9 +34,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* What bot types should be classified as bosses
*/
/// <summary>
/// What bot types should be classified as bosses
/// </summary>
[JsonPropertyName("bosses")]
public List<string> Bosses
{
@@ -44,9 +44,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Control weapon/armor durability min/max values for each bot type
*/
/// <summary>
/// Control weapon/armor durability min/max values for each bot type
/// </summary>
[JsonPropertyName("durability")]
public BotDurability Durability
{
@@ -54,9 +54,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Controls the percentage values of randomization item resources
*/
/// <summary>
/// Controls the percentage values of randomization item resources
/// </summary>
[JsonPropertyName("lootItemResourceRandomization")]
public Dictionary<string, RandomisedResourceDetails> LootItemResourceRandomization
{
@@ -64,9 +64,10 @@ public record BotConfig : BaseConfig
set;
}
/**
* Control what bots are added to a bots revenge list key: bottype, value: bottypes to revenge on seeing their death
*/
/// <summary>
/// Control what bots are added to a bots revenge list <br/>
/// key: bottype, value: bottypes to revenge on seeing their death
/// </summary>
[JsonPropertyName("revenge")]
public Dictionary<string, List<string>> Revenge
{
@@ -74,11 +75,11 @@ public record BotConfig : BaseConfig
set;
}
/**
* Control how many items are allowed to spawn on a bot
* key: bottype, value:
* <key: itemTpl: value: max item count>
*/
/// <summary>
/// Control how many items are allowed to spawn on a bot <br/>
/// key: bottype, value: <br/>
/// key: itemTpl: value: max item count>
/// </summary>
[JsonPropertyName("itemSpawnLimits")]
public Dictionary<string, Dictionary<string, double>> ItemSpawnLimits
{
@@ -86,9 +87,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Blacklist/whitelist items on a bot
*/
/// <summary>
/// Blacklist/whitelist items on a bot
/// </summary>
[JsonPropertyName("equipment")]
public Dictionary<string, EquipmentFilters?> Equipment
{
@@ -96,9 +97,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Show a bots botType value after their name
*/
/// <summary>
/// Show a bots botType value after their name
/// </summary>
[JsonPropertyName("showTypeInNickname")]
public bool ShowTypeInNickname
{
@@ -106,9 +107,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* What ai brain should a normal scav use per map
*/
/// <summary>
/// What ai brain should a normal scav use per map
/// </summary>
[JsonPropertyName("assaultBrainType")]
public Dictionary<string, Dictionary<string, int>> AssaultBrainType
{
@@ -116,9 +117,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* What ai brain should a player scav use per map
*/
/// <summary>
/// What ai brain should a player scav use per map
/// </summary>
[JsonPropertyName("playerScavBrainType")]
public Dictionary<string, Dictionary<string, int>> PlayerScavBrainType
{
@@ -126,9 +127,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Max number of bots that can be spawned in a raid at any one time
*/
/// <summary>
/// Max number of bots that can be spawned in a raid at any one time
/// </summary>
[JsonPropertyName("maxBotCap")]
public Dictionary<string, int> MaxBotCap
{
@@ -136,9 +137,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Chance scav has fake pscav name e.g. Scav name (player name)
*/
/// <summary>
/// Chance scav has fake pscav name e.g. Scav name (player name)
/// </summary>
[JsonPropertyName("chanceAssaultScavHasPlayerScavName")]
public int ChanceAssaultScavHasPlayerScavName
{
@@ -146,9 +147,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* How many stacks of secret ammo should a bot have in its bot secure container
*/
/// <summary>
/// How many stacks of secret ammo should a bot have in its bot secure container
/// </summary>
[JsonPropertyName("secureContainerAmmoStackCount")]
public int SecureContainerAmmoStackCount
{
@@ -156,9 +157,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Bot roles in this array will be given a dog tag on generation
*/
/// <summary>
/// Bot roles in this array will be given a dog tag on generation
/// </summary>
[JsonPropertyName("botRolesWithDogTags")]
public HashSet<string> BotRolesWithDogTags
{
@@ -166,9 +167,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Settings to control the items that get added into wallets on bots
*/
/// <summary>
/// Settings to control the items that get added into wallets on bots
/// </summary>
[JsonPropertyName("walletLoot")]
public WalletLootSettings WalletLoot
{
@@ -176,9 +177,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Currency weights, Keyed by botrole / currency
*/
/// <summary>
/// Currency weights, Keyed by botrole / currency
/// </summary>
[JsonPropertyName("currencyStackSize")]
public Dictionary<string, Dictionary<string, Dictionary<string, double>>> CurrencyStackSize
{
@@ -186,9 +187,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Tpls for low profile gas blocks
*/
/// <summary>
/// Tpls for low profile gas blocks
/// </summary>
[JsonPropertyName("lowProfileGasBlockTpls")]
public HashSet<string> LowProfileGasBlockTpls
{
@@ -196,9 +197,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* What bottypes should be excluded from having loot generated on them (backpack/pocket/vest) does not disable food/drink/special/
*/
/// <summary>
/// What bottypes should be excluded from having loot generated on them (backpack/pocket/vest) does not disable food/drink/special/
/// </summary>
[JsonPropertyName("disableLootOnBotTypes")]
public HashSet<string> DisableLootOnBotTypes
{
@@ -206,9 +207,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Max length a bots name can be
*/
/// <summary>
/// Max length a bots name can be
/// </summary>
[JsonPropertyName("botNameLengthLimit")]
public int BotNameLengthLimit
{
@@ -216,9 +217,9 @@ public record BotConfig : BaseConfig
set;
}
/**
* Bot roles that must have a unique name when generated vs other bots in raid
*/
/// <summary>
/// Bot roles that must have a unique name when generated vs other bots in raid
/// </summary>
[JsonPropertyName("botRolesThatMustHaveUniqueName")]
public HashSet<string> BotRolesThatMustHaveUniqueName
{
@@ -227,9 +228,9 @@ public record BotConfig : BaseConfig
}
}
/**
* Number of bots to generate and store in cache on raid start per bot type
*/
/// <summary>
/// Number of bots to generate and store in cache on raid start per bot type
/// </summary>
public record PresetBatch
{
[JsonPropertyName("assault")]
@@ -26,9 +26,9 @@ public record BotDurability
}
}
/**
* Durability values to be used when a more specific bot type can't be found
*/
/// <summary>
/// Durability values to be used when a more specific bot type can't be found
/// </summary>
public record DefaultDurability
{
[JsonPropertyName("armor")]
+90 -55
View File
@@ -96,9 +96,9 @@ public record CoreConfig : BaseConfig
set;
}
/**
* Commit hash build server was created from
*/
/// <summary>
/// Commit hash build server was created from
/// </summary>
[JsonPropertyName("commit")]
public string? Commit
{
@@ -106,9 +106,9 @@ public record CoreConfig : BaseConfig
set;
}
/**
* Timestamp of server build
*/
/// <summary>
/// Timestamp of server build
/// </summary>
[JsonPropertyName("buildTime")]
public string? BuildTime
{
@@ -116,9 +116,9 @@ public record CoreConfig : BaseConfig
set;
}
/**
* Server locale keys that will be added to the bottom of the startup watermark
*/
/// <summary>
/// Server locale keys that will be added to the bottom of the startup watermark
/// </summary>
[JsonPropertyName("customWatermarkLocaleKeys")]
public List<string>? CustomWatermarkLocaleKeys
{
@@ -129,18 +129,18 @@ 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.
* WARNING: trace-info logging will quickly create log files in the megabytes.
* 0 - trace
* 1 - debug
* 2 - info
* 3 - warn
* 4 - error
* 5 - fatal
* 6 - off
*/
/// <summary>
/// verbosity of what to log, yes I know this is backwards, but its how nlog deals with ordinals. <br/>
/// complain to them about it! In all cases, better exceptions will be logged.<br/>
/// WARNING: trace-info logging will quickly create log files in the megabytes.<br/>
/// 0 - trace<br/>
/// 1 - debug<br/>
/// 2 - info<br/>
/// 3 - warn<br/>
/// 4 - error<br/>
/// 5 - fatal<br/>
/// 6 - off
/// </summary>
[JsonPropertyName("verbosity")]
public int Verbosity
{
@@ -148,7 +148,9 @@ public record BsgLogging
set;
}
// Should we send the logging to the server
/// <summary>
/// Should we send the logging to the server
/// </summary>
[JsonPropertyName("sendToServer")]
public bool SendToServer
{
@@ -159,7 +161,9 @@ public record BsgLogging
public record Release
{
// Disclaimer outlining the intended usage of bleeding edge
/// <summary>
/// Disclaimer outlining the intended usage of bleeding edge
/// </summary>
[JsonPropertyName("betaDisclaimerText")]
public string? BetaDisclaimerText
{
@@ -167,7 +171,9 @@ public record Release
set;
}
// Text logged when users agreed to terms
/// <summary>
/// Text logged when users agreed to terms
/// </summary>
[JsonPropertyName("betaDisclaimerAcceptText")]
public string BetaDisclaimerAcceptText
{
@@ -175,7 +181,9 @@ public record Release
set;
}
// Server mods loaded message
/// <summary>
/// Server mods loaded message
/// </summary>
[JsonPropertyName("serverModsLoadedText")]
public string ServerModsLoadedText
{
@@ -183,7 +191,9 @@ public record Release
set;
}
// Server mods loaded debug message text
/// <summary>
/// Server mods loaded debug message text
/// </summary>
[JsonPropertyName("serverModsLoadedDebugText")]
public string ServerModsLoadedDebugText
{
@@ -191,7 +201,9 @@ public record Release
set;
}
// Client mods loaded message
/// <summary>
/// Client mods loaded message
/// </summary>
[JsonPropertyName("clientModsLoadedText")]
public string ClientModsLoadedText
{
@@ -199,15 +211,18 @@ public record Release
set;
}
// Client mods loaded debug message text
/// <summary>
/// Client mods loaded debug message text
/// </summary>
[JsonPropertyName("clientModsLoadedDebugText")]
public string ClientModsLoadedDebugText
{
get;
set;
}
// Illegal plugins log message
/// <summary>
/// Illegal plugins log message
/// </summary>
[JsonPropertyName("illegalPluginsLoadedText")]
public string IllegalPluginsLoadedText
{
@@ -215,7 +230,9 @@ public record Release
set;
}
// Illegal plugins exception
/// <summary>
/// Illegal plugins exception
/// </summary>
[JsonPropertyName("illegalPluginsExceptionText")]
public string IllegalPluginsExceptionText
{
@@ -223,7 +240,9 @@ public record Release
set;
}
// Summary of release changes
/// <summary>
/// Summary of release changes
/// </summary>
[JsonPropertyName("releaseSummaryText")]
public string? ReleaseSummaryText
{
@@ -231,7 +250,9 @@ public record Release
set;
}
// Enables the cool watermark in-game
/// <summary>
/// Enables the cool watermark in-game
/// </summary>
[JsonPropertyName("isBeta")]
public bool? IsBeta
{
@@ -239,7 +260,9 @@ public record Release
set;
}
// Whether mods are enabled
/// <summary>
/// Whether mods are enabled
/// </summary>
[JsonPropertyName("isModdable")]
public bool? IsModdable
{
@@ -247,7 +270,9 @@ public record Release
set;
}
// Are mods loaded on the server?
/// <summary>
/// Are mods loaded on the server?
/// </summary>
[JsonPropertyName("isModded")]
public bool IsModded
{
@@ -255,7 +280,9 @@ public record Release
set;
}
// How long before the messagebox times out and closes the game
/// <summary>
/// How long before the messagebox times out and closes the game
/// </summary>
[JsonPropertyName("betaDisclaimerTimeoutDelay")]
public int BetaDisclaimerTimeoutDelay
{
@@ -266,9 +293,9 @@ public record Release
public record GameFixes
{
/**
* Shotguns use a different value than normal guns causing huge pellet dispersion
*/
/// <summary>
/// Shotguns use a different value than normal guns causing huge pellet dispersion
/// </summary>
[JsonPropertyName("fixShotgunDispersion")]
public bool FixShotgunDispersion
{
@@ -276,9 +303,9 @@ public record GameFixes
set;
}
/**
* Remove items added by mods when the mod no longer exists - can fix dead profiles stuck at game load
*/
/// <summary>
/// Remove items added by mods when the mod no longer exists - can fix dead profiles stuck at game load
/// </summary>
[JsonPropertyName("removeModItemsFromProfile")]
public bool RemoveModItemsFromProfile
{
@@ -286,9 +313,9 @@ public record GameFixes
set;
}
/**
* Remove invalid traders from profile - trader data can be leftover when player removes trader mod
*/
/// <summary>
/// Remove invalid traders from profile - trader data can be leftover when player removes trader mod
/// </summary>
[JsonPropertyName("removeInvalidTradersFromProfile")]
public bool RemoveInvalidTradersFromProfile
{
@@ -296,9 +323,9 @@ public record GameFixes
set;
}
/**
* Fix issues that cause the game to not start due to inventory item issues
*/
/// <summary>
/// Fix issues that cause the game to not start due to inventory item issues
/// </summary>
[JsonPropertyName("fixProfileBreakingInventoryItemIssues")]
public bool FixProfileBreakingInventoryItemIssues
{
@@ -309,7 +336,9 @@ public record GameFixes
public record ServerFeatures
{
/* Controls whether or not the server attempts to download mod dependencies not included in the server's executable */
/// <summary>
/// Controls whether the server attempts to download mod dependencies not included in the server's executable
/// </summary>
[JsonPropertyName("autoInstallModDependencies")]
public bool AutoInstallModDependencies
{
@@ -331,9 +360,9 @@ public record ServerFeatures
set;
}
/**
* Keyed to profile type e.g. "Standard" or "SPT Developer"
*/
/// <summary>
/// Keyed to profile type e.g. "Standard" or "SPT Developer"
/// </summary>
[JsonPropertyName("createNewProfileTypesBlacklist")]
public HashSet<string> CreateNewProfileTypesBlacklist
{
@@ -341,9 +370,9 @@ public record ServerFeatures
set;
}
/**
* Profile ids to ignore when calculating achievement stats
*/
/// <summary>
/// Profile ids to ignore when calculating achievement stats
/// </summary>
[JsonPropertyName("achievementProfileIdBlacklist")]
public HashSet<string>? AchievementProfileIdBlacklist
{
@@ -375,6 +404,9 @@ public record ChatbotFeatures
set;
}
/// <summary>
/// Human readable id to guid for each bot
/// </summary>
[JsonPropertyName("ids")]
public Dictionary<string, string> Ids
{
@@ -382,6 +414,9 @@ public record ChatbotFeatures
set;
}
/// <summary>
/// Bot Ids player is allowed to interact with
/// </summary>
[JsonPropertyName("enabledBots")]
public Dictionary<string, bool> EnabledBots
{
@@ -88,6 +88,9 @@ public record HideoutConfig : BaseConfig
public record HideoutCraftToAdd
{
/// <summary>
/// The new mongoId for the craft to use
/// </summary>
[JsonPropertyName("newId")]
public string NewId
{
@@ -11,9 +11,9 @@ public record InRaidConfig : BaseConfig
set;
} = "spt-inraid";
/**
* Overrides to apply to the pre-raid settings screen
*/
/// <summary>
/// Overrides to apply to the pre-raid settings screen
/// </summary>
[JsonPropertyName("raidMenuSettings")]
public RaidMenuSettings RaidMenuSettings
{
@@ -21,9 +21,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* What effects should be saved post-raid
*/
/// <summary>
/// What effects should be saved post-raid
/// </summary>
[JsonPropertyName("save")]
public RaidSave Save
{
@@ -31,9 +31,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* Names of car extracts
*/
/// <summary>
/// Names of car extracts
/// </summary>
[JsonPropertyName("carExtracts")]
public List<string> CarExtracts
{
@@ -41,9 +41,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* Names of coop extracts
*/
/// <summary>
/// Names of coop extracts
/// </summary>
[JsonPropertyName("coopExtracts")]
public List<string> CoopExtracts
{
@@ -51,9 +51,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* Fence rep gain from a single car extract
*/
/// <summary>
/// Fence rep gain from a single car extract
/// </summary>
[JsonPropertyName("carExtractBaseStandingGain")]
public double CarExtractBaseStandingGain
{
@@ -61,9 +61,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* Fence rep gain from a single coop extract
*/
/// <summary>
/// Fence rep gain from a single coop extract
/// </summary>
[JsonPropertyName("coopExtractBaseStandingGain")]
public double CoopExtractBaseStandingGain
{
@@ -71,9 +71,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* Fence rep gain when successfully extracting as pscav
*/
/// <summary>
/// Fence rep gain when successfully extracting as pscav
/// </summary>
[JsonPropertyName("scavExtractStandingGain")]
public double ScavExtractStandingGain
{
@@ -81,9 +81,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* The likelihood of PMC eliminating a minimum of 2 scavs while you engage them as a pscav.
*/
/// <summary>
/// The likelihood of PMC eliminating a minimum of 2 scavs while you engage them as a pscav.
/// </summary>
[JsonPropertyName("pmcKillProbabilityForScavGain")]
public double PmcKillProbabilityForScavGain
{
@@ -91,9 +91,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* On death should items in your secure keep their Find in raid status regardless of how you finished the raid
*/
/// <summary>
/// On death should items in your secure keep their Find in raid status regardless of how you finished the raid
/// </summary>
[JsonPropertyName("keepFiRSecureContainerOnDeath")]
public bool KeepFiRSecureContainerOnDeath
{
@@ -101,9 +101,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* If enabled always keep found in raid status on items
*/
/// <summary>
/// If enabled always keep found in raid status on items
/// </summary>
[JsonPropertyName("alwaysKeepFoundInRaidOnRaidEnd")]
public bool AlwaysKeepFoundInRaidOnRaidEnd
{
@@ -111,9 +111,9 @@ public record InRaidConfig : BaseConfig
set;
}
/**
* Percentage chance a player scav hot is hostile to the player when scavving
*/
/// <summary>
/// Percentage chance a player scav hot is hostile to the player when scavving
/// </summary>
[JsonPropertyName("playerScavHostileChancePercent")]
public double PlayerScavHostileChancePercent
{
@@ -183,9 +183,9 @@ public record RaidMenuSettings
public record RaidSave
{
/**
* Should loot gained from raid be saved
*/
/// <summary>
/// Should loot gained from raid be saved
/// </summary>
[JsonPropertyName("loot")]
public bool Loot
{
@@ -71,7 +71,9 @@ public record InsuranceConfig : BaseConfig
set;
}
// Lowest rouble price for an attachment to be allowed to be taken
/// <summary>
/// Lowest rouble price for an attachment to be allowed to be taken
/// </summary>
[JsonPropertyName("minAttachmentRoublePriceToBeTaken")]
public double MinAttachmentRoublePriceToBeTaken
{
@@ -79,7 +81,9 @@ public record InsuranceConfig : BaseConfig
set;
}
// Chance out of 100% no attachments from a parent are taken
/// <summary>
/// Chance out of 100% no attachments from a parent are taken
/// </summary>
[JsonPropertyName("chanceNoAttachmentsTakenPercent")]
public double ChanceNoAttachmentsTakenPercent
{
@@ -12,9 +12,9 @@ public record InventoryConfig : BaseConfig
set;
} = "spt-inventory";
/**
* Should new items purchased by flagged as found in raid
*/
/// <summary>
/// Should new items purchased by flagged as found in raid
/// </summary>
[JsonPropertyName("newItemsMarkedFound")]
public bool NewItemsMarkedFound
{
@@ -36,9 +36,9 @@ public record InventoryConfig : BaseConfig
set;
}
/**
* Contains item tpls that the server should consider money and treat the same as roubles/euros/dollars
*/
/// <summary>
/// Contains item tpls that the server should consider money and treat the same as roubles/euros/dollars
/// </summary>
[JsonPropertyName("customMoneyTpls")]
public List<string> CustomMoneyTpls
{
@@ -46,9 +46,9 @@ public record InventoryConfig : BaseConfig
set;
}
/**
* Multipliers for skill gain when inside menus, NOT in-game
*/
/// <summary>
/// Multipliers for skill gain when inside menus, NOT in-game
/// </summary>
[JsonPropertyName("skillGainMultiplers")]
public Dictionary<string, double> SkillGainMultipliers
{
@@ -56,9 +56,9 @@ public record InventoryConfig : BaseConfig
set;
}
/**
* Container Tpls that should be deprioritised when choosing where to take money from for payments
*/
/// <summary>
/// Container Tpls that should be deprioritised when choosing where to take money from for payments
/// </summary>
[JsonPropertyName("deprioritisedMoneyContainers")]
public HashSet<string> DeprioritisedMoneyContainers
{
@@ -121,9 +121,9 @@ public record SealedAirdropContainerSettings
set;
}
/**
* Should contents be flagged as found in raid when opened
*/
/// <summary>
/// Should contents be flagged as found in raid when opened
/// </summary>
[JsonPropertyName("foundInRaid")]
public bool FoundInRaid
{
+24 -24
View File
@@ -12,9 +12,9 @@ public record ItemConfig : BaseConfig
set;
} = "spt-item";
/**
* Items that should be globally blacklisted
*/
/// <summary>
/// Items that should be globally blacklisted
/// </summary>
[JsonPropertyName("blacklist")]
public HashSet<string> Blacklist
{
@@ -22,9 +22,9 @@ public record ItemConfig : BaseConfig
set;
}
/**
* Items that should not be lootable from any location
*/
/// <summary>
/// Items that should not be lootable from any location
/// </summary>
[JsonPropertyName("lootableItemBlacklist")]
public HashSet<string> LootableItemBlacklist
{
@@ -32,9 +32,9 @@ public record ItemConfig : BaseConfig
set;
}
/**
* items that should not be given as rewards
*/
/// <summary>
/// items that should not be given as rewards
/// </summary>
[JsonPropertyName("rewardItemBlacklist")]
public HashSet<string> RewardItemBlacklist
{
@@ -42,9 +42,9 @@ public record ItemConfig : BaseConfig
set;
}
/**
* Item base types that should not be given as rewards
*/
/// <summary>
/// Item base types that should not be given as rewards
/// </summary>
[JsonPropertyName("rewardItemTypeBlacklist")]
public HashSet<string> RewardItemTypeBlacklist
{
@@ -52,9 +52,9 @@ public record ItemConfig : BaseConfig
set;
}
/**
* Items that can only be found on bosses
*/
/// <summary>
/// Items that can only be found on bosses
/// </summary>
[JsonPropertyName("bossItems")]
public HashSet<string> BossItems
{
@@ -69,9 +69,9 @@ public record ItemConfig : BaseConfig
set;
}
/**
* Presets to add to the globals.json `ItemPresets` dictionary on server start
*/
/// <summary>
/// Presets to add to the globals.json `ItemPresets` dictionary on server start
/// </summary>
[JsonPropertyName("customItemGlobalPresets")]
public List<Preset> CustomItemGlobalPresets
{
@@ -82,9 +82,9 @@ public record ItemConfig : BaseConfig
public record HandbookPriceOverride
{
/**
* Price in roubles
*/
/// <summary>
/// Price in roubles
/// </summary>
[JsonPropertyName("price")]
public double Price
{
@@ -92,9 +92,9 @@ public record HandbookPriceOverride
set;
}
/**
* NOT parentId from items.json, but handbook.json
*/
/// <summary>
/// NOT parentId from items.json, but handbook.json
/// </summary>
[JsonPropertyName("parentId")]
public string ParentId
{
@@ -11,9 +11,9 @@ public record LocaleConfig : BaseConfig
set;
} = "spt-locale";
/**
* e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting
*/
/// <summary>
/// e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting
/// </summary>
[JsonPropertyName("gameLocale")]
public string GameLocale
{
@@ -21,9 +21,9 @@ public record LocaleConfig : BaseConfig
set;
}
/**
* e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting
*/
/// <summary>
/// e.g. ru/en/cn/fr etc, or 'system', will take computer locale setting
/// </summary>
[JsonPropertyName("serverLocale")]
public string ServerLocale
{
@@ -31,9 +31,9 @@ public record LocaleConfig : BaseConfig
set;
}
/**
* Languages server can be translated into
*/
/// <summary>
/// Languages server can be translated into
/// </summary>
[JsonPropertyName("serverSupportedLocales")]
public List<string> ServerSupportedLocales
{
@@ -254,7 +254,9 @@ public record ReserveRaiderSpawnChanceOverrides
public record EquipmentLootSettings
{
// Percentage chance item will be added to equipment
/// <summary>
/// Percentage chance item will be added to equipment
/// </summary>
[JsonPropertyName("modSpawnChancePercent")]
public Dictionary<string, double?> ModSpawnChancePercent
{
@@ -323,9 +325,9 @@ public record SplitWaveSettings
public record CustomWaves
{
/**
* Bosses spawn on raid start
*/
/// <summary>
/// Bosses spawn on raid start
/// </summary>
[JsonPropertyName("boss")]
public Dictionary<string, List<BossLocationSpawn>> Boss
{
@@ -351,9 +353,9 @@ public record BotTypeLimit : MinMax<int>
}
}
/**
* Multiplier to apply to the loot count for a given map
*/
/// <summary>
/// Multiplier to apply to the loot count for a given map
/// </summary>
public record LootMultiplier
{
[JsonPropertyName("bigmap")]
@@ -492,9 +494,9 @@ public record ContainerRandomisationSettings
set;
}
/**
* What maps can use the container randomisation feature
*/
/// <summary>
/// What maps can use the container randomisation feature
/// </summary>
[JsonPropertyName("maps")]
public Dictionary<string, bool> Maps
{
@@ -502,9 +504,9 @@ public record ContainerRandomisationSettings
set;
}
/**
* Some container types don't work when randomised
*/
/// <summary>
/// Some container types don't work when randomised
/// </summary>
[JsonPropertyName("containerTypesToNotRandomise")]
public HashSet<string> ContainerTypesToNotRandomise
{
@@ -556,9 +558,10 @@ public record ScavRaidTimeConfigSettings
public record ScavRaidTimeLocationSettings
{
/**
* Should loot be reduced by same percent length of raid is reduced by
*/
/// <summary>
/// Should loot be reduced by same percent length of raid is reduced by
/// </summary>
[JsonPropertyName("reduceLootByPercent")]
public bool ReduceLootByPercent
{
@@ -566,9 +569,9 @@ public record ScavRaidTimeLocationSettings
set;
}
/**
* Smallest % of container loot that should be spawned
*/
/// <summary>
/// Smallest % of container loot that should be spawned
/// </summary>
[JsonPropertyName("minStaticLootPercent")]
public double MinStaticLootPercent
{
@@ -576,9 +579,9 @@ public record ScavRaidTimeLocationSettings
set;
}
/**
* Smallest % of loose loot that should be spawned
*/
/// <summary>
/// Smallest % of loose loot that should be spawned
/// </summary>
[JsonPropertyName("minDynamicLootPercent")]
public double MinDynamicLootPercent
{
@@ -586,9 +589,9 @@ public record ScavRaidTimeLocationSettings
set;
}
/**
* Chance raid time is reduced
*/
/// <summary>
/// Chance raid time is reduced
/// </summary>
[JsonPropertyName("reducedChancePercent")]
public double ReducedChancePercent
{
@@ -596,9 +599,9 @@ public record ScavRaidTimeLocationSettings
set;
}
/**
* How much should raid time be reduced - weighted
*/
/// <summary>
/// How much should raid time be reduced - weighted
/// </summary>
[JsonPropertyName("reductionPercentWeights")]
public Dictionary<string, double> ReductionPercentWeights
{
@@ -606,9 +609,9 @@ public record ScavRaidTimeLocationSettings
set;
}
/**
* Should bot waves be removed / spawn times be adjusted
*/
/// <summary>
/// Should bot waves be removed / spawn times be adjusted
/// </summary>
[JsonPropertyName("adjustWaves")]
public bool AdjustWaves
{
@@ -12,9 +12,9 @@ public record LootConfig : BaseConfig
set;
} = "spt-loot";
/**
* Spawn positions to add into a map, key=mapid
*/
/// <summary>
/// Spawn positions to add into a map, key=mapid
/// </summary>
[JsonPropertyName("looseLoot")]
public Dictionary<string, Spawnpoint[]> LooseLoot
{
@@ -22,9 +22,9 @@ public record LootConfig : BaseConfig
set;
}
/**
* Loose loot probability adjustments to apply on game start
*/
/// <summary>
/// Loose loot probability adjustments to apply on game start
/// </summary>
[JsonPropertyName("looseLootSpawnPointAdjustments")]
public Dictionary<string, Dictionary<string, double>>? LooseLootSpawnPointAdjustments
{
@@ -11,9 +11,9 @@ public record LostOnDeathConfig : BaseConfig
set;
} = "spt-lostondeath";
/**
* What equipment in each slot should be lost on death
*/
/// <summary>
/// What equipment in each slot should be lost on death
/// </summary>
[JsonPropertyName("equipment")]
public LostEquipment Equipment
{
@@ -21,9 +21,9 @@ public record LostOnDeathConfig : BaseConfig
set;
}
/**
* Should special slot items be removed from quest inventory on death e.g. wifi camera/markers
*/
/// <summary>
/// Should special slot items be removed from quest inventory on death e.g. wifi camera/markers
/// </summary>
[JsonPropertyName("specialSlotItems")]
public bool SpecialSlotItems
{
@@ -31,9 +31,9 @@ public record LostOnDeathConfig : BaseConfig
set;
}
/**
* Should quest items be removed from quest inventory on death
*/
/// <summary>
/// Should quest items be removed from quest inventory on death
/// </summary>
[JsonPropertyName("questItems")]
public bool QuestItems
{
+69 -69
View File
@@ -14,9 +14,9 @@ public record PmcConfig : BaseConfig
set;
} = "spt-pmc";
/**
* What game version should the PMC have
*/
/// <summary>
/// What game version should the PMC have
/// </summary>
[JsonPropertyName("gameVersionWeight")]
public Dictionary<string, double> GameVersionWeight
{
@@ -24,9 +24,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* What account type should the PMC have
*/
/// <summary>
/// What account type should the PMC have
/// </summary>
[JsonPropertyName("accountTypeWeight")]
public Dictionary<MemberCategory, double> AccountTypeWeight
{
@@ -34,9 +34,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Global whitelist/blacklist of vest loot for PMCs
*/
/// <summary>
/// Global whitelist/blacklist of vest loot for PMCs
/// </summary>
[JsonPropertyName("vestLoot")]
public SlotLootSettings VestLoot
{
@@ -44,9 +44,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Global whitelist/blacklist of pocket loot for PMCs
*/
/// <summary>
/// Global whitelist/blacklist of pocket loot for PMCs
/// </summary>
[JsonPropertyName("pocketLoot")]
public SlotLootSettings PocketLoot
{
@@ -54,9 +54,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Global whitelist/blacklist of backpack loot for PMCs
*/
/// <summary>
/// Global whitelist/blacklist of backpack loot for PMCs
/// </summary>
[JsonPropertyName("backpackLoot")]
public SlotLootSettings BackpackLoot
{
@@ -71,9 +71,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Use difficulty defined in config/bot.json/difficulty instead of chosen difficulty dropdown value
*/
/// <summary>
/// Use difficulty defined in config/bot.json/difficulty instead of chosen difficulty dropdown value
/// </summary>
[JsonPropertyName("useDifficultyOverride")]
public bool UseDifficultyOverride
{
@@ -81,9 +81,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Difficulty override e.g. "AsOnline/Hard"
*/
/// <summary>
/// Difficulty override e.g. "AsOnline/Hard"
/// </summary>
[JsonPropertyName("difficulty")]
public string Difficulty
{
@@ -91,9 +91,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Chance out of 100 to have a complete gun in backpack
*/
/// <summary>
/// Chance out of 100 to have a complete gun in backpack
/// </summary>
[JsonPropertyName("looseWeaponInBackpackChancePercent")]
public double LooseWeaponInBackpackChancePercent
{
@@ -101,9 +101,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Chance out of 100 to have an enhancement applied to PMC weapon
*/
/// <summary>
/// Chance out of 100 to have an enhancement applied to PMC weapon
/// </summary>
[JsonPropertyName("weaponHasEnhancementChancePercent")]
public double WeaponHasEnhancementChancePercent
{
@@ -111,9 +111,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* MinMax count of weapons to have in backpack
*/
/// <summary>
/// MinMax count of weapons to have in backpack
/// </summary>
[JsonPropertyName("looseWeaponInBackpackLootMinMax")]
public MinMax<int> LooseWeaponInBackpackLootMinMax
{
@@ -128,9 +128,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Percentage chance PMC will be USEC
*/
/// <summary>
/// Percentage chance PMC will be USEC
/// </summary>
[JsonPropertyName("isUsec")]
public double IsUsec
{
@@ -138,9 +138,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* WildSpawnType enum value USEC PMCs use
*/
/// <summary>
/// WildSpawnType enum value USEC PMCs use
/// </summary>
[JsonPropertyName("usecType")]
public string UsecType
{
@@ -148,9 +148,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* WildSpawnType enum value BEAR PMCs use
*/
/// <summary>
/// WildSpawnType enum value BEAR PMCs use
/// </summary>
[JsonPropertyName("bearType")]
public string BearType
{
@@ -165,9 +165,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* What 'brain' does a PMC use, keyed by map and side (USEC/BEAR) key: map location, value: type for usec/bear
*/
/// <summary>
/// What 'brain' does a PMC use, keyed by map and side (USEC/BEAR) key: map location, value: type for usec/bear
/// </summary>
[JsonPropertyName("pmcType")]
public Dictionary<string, Dictionary<string, Dictionary<string, double>>> PmcType
{
@@ -196,9 +196,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* How many levels above player level can a PMC be
*/
/// <summary>
/// How many levels above player level can a PMC be
/// </summary>
[JsonPropertyName("botRelativeLevelDeltaMax")]
public int BotRelativeLevelDeltaMax
{
@@ -206,9 +206,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* How many levels below player level can a PMC be
*/
/// <summary>
/// How many levels below player level can a PMC be
/// </summary>
[JsonPropertyName("botRelativeLevelDeltaMin")]
public int BotRelativeLevelDeltaMin
{
@@ -216,9 +216,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Force a number of healing items into PMCs secure container to ensure they can heal
*/
/// <summary>
/// Force a number of healing items into PMCs secure container to ensure they can heal
/// </summary>
[JsonPropertyName("forceHealingItemsIntoSecure")]
public bool ForceHealingItemsIntoSecure
{
@@ -247,9 +247,9 @@ public record PmcConfig : BaseConfig
set;
}
/**
* Should secure container loot from usec.json/bear.json be added to pmc bots secure
*/
/// <summary>
/// Should secure container loot from usec.json/bear.json be added to pmc bots secure
/// </summary>
[JsonPropertyName("addSecureContainerLootFromBotConfig")]
public bool AddSecureContainerLootFromBotConfig
{
@@ -288,9 +288,9 @@ public record PmcConfig : BaseConfig
public record HostilitySettings
{
/**
* Bot roles that are 100% an enemy
*/
/// <summary>
/// Bot roles that are 100% an enemy
/// </summary>
[JsonPropertyName("additionalEnemyTypes")]
public List<string>? AdditionalEnemyTypes
{
@@ -298,9 +298,9 @@ public record HostilitySettings
set;
}
/**
* Objects that determine the % chance another bot type is an enemy
*/
/// <summary>
/// Objects that determine the % chance another bot type is an enemy
/// </summary>
[JsonPropertyName("chancedEnemies")]
public List<ChancedEnemy>? ChancedEnemies
{
@@ -329,9 +329,9 @@ public record HostilitySettings
set;
}
/**
* Bot roles that are 100% a friendly
*/
/// <summary>
/// Bot roles that are 100% a friendly
/// </summary>
[JsonPropertyName("additionalFriendlyTypes")]
public List<string>? AdditionalFriendlyTypes
{
@@ -366,9 +366,9 @@ public record PmcTypes
public record SlotLootSettings
{
/**
* Item Type whitelist
*/
/// <summary>
/// Item Type whitelist
/// </summary>
[JsonPropertyName("whitelist")]
public HashSet<string> Whitelist
{
@@ -376,9 +376,9 @@ public record SlotLootSettings
set;
}
/**
* Item tpl blacklist
*/
/// <summary>
/// Item tpl blacklist
/// </summary>
[JsonPropertyName("blacklist")]
public HashSet<string> Blacklist
{
+18 -16
View File
@@ -15,7 +15,9 @@ public record QuestConfig : BaseConfig
set;
} = "spt-quest";
// Hours to get/redeem items from quest mail keyed by profile type
/// <summary>
/// Hours to get/redeem items from quest mail keyed by profile type
/// </summary>
[JsonPropertyName("mailRedeemTimeHours")]
public Dictionary<string, double?>? MailRedeemTimeHours
{
@@ -30,9 +32,9 @@ public record QuestConfig : BaseConfig
set;
}
/**
* Show non-seasonal quests be shown to player
*/
/// <summary>
/// Show non-seasonal quests be shown to player
/// </summary>
[JsonPropertyName("showNonSeasonalEventQuests")]
public bool? ShowNonSeasonalEventQuests
{
@@ -75,9 +77,9 @@ public record QuestConfig : BaseConfig
set;
}
/**
* Quests that the keyed game version do not see/access
*/
/// <summary>
/// Quests that the keyed game version do not see/access
/// </summary>
[JsonPropertyName("profileBlacklist")]
public Dictionary<string, HashSet<string>>? ProfileBlacklist
{
@@ -85,9 +87,9 @@ public record QuestConfig : BaseConfig
set;
}
/**
* key=questid, gameversions that can see/access quest
*/
/// <summary>
/// key=questid, gameversions that can see/access quest
/// </summary>
[JsonPropertyName("profileWhitelist")]
public Dictionary<string, HashSet<string>>? ProfileWhitelist
{
@@ -262,9 +264,9 @@ public record RepeatableQuestConfig
set;
}
/**
* Item base types to block when generating rewards
*/
/// <summary>
/// Item base types to block when generating rewards
/// </summary>
[JsonPropertyName("rewardBaseTypeBlacklist")]
public HashSet<string>? RewardBaseTypeBlacklist
{
@@ -272,9 +274,9 @@ public record RepeatableQuestConfig
set;
}
/**
* Item tplIds to ignore when generating rewards
*/
/// <summary>
/// Item tplIds to ignore when generating rewards
/// </summary>
[JsonPropertyName("rewardBlacklist")]
public HashSet<string>? RewardBlacklist
{
+132 -90
View File
@@ -12,9 +12,9 @@ public record RagfairConfig : BaseConfig
set;
} = "spt-ragfair";
/**
* How many seconds should pass before expired offers and processed + player offers checked if sold
*/
/// <summary>
/// How many seconds should pass before expired offers and processed + player offers checked if sold
/// </summary>
[JsonPropertyName("runIntervalSeconds")]
public int RunIntervalSeconds
{
@@ -22,9 +22,9 @@ public record RagfairConfig : BaseConfig
set;
}
/**
* Default values used to hydrate `runIntervalSeconds` with
*/
/// <summary>
/// Default values used to hydrate `runIntervalSeconds` with
/// </summary>
[JsonPropertyName("runIntervalValues")]
public RunIntervalValues RunIntervalValues
{
@@ -32,9 +32,9 @@ public record RagfairConfig : BaseConfig
set;
}
/**
* Player listing settings
*/
/// <summary>
/// Player listing settings
/// </summary>
[JsonPropertyName("sell")]
public Sell Sell
{
@@ -42,9 +42,9 @@ public record RagfairConfig : BaseConfig
set;
}
/**
* Trader ids + should their assorts be listed on flea
*/
/// <summary>
/// Trader ids + should their assorts be listed on flea
/// </summary>
[JsonPropertyName("traders")]
public Dictionary<string, bool> Traders
{
@@ -69,9 +69,9 @@ public record RagfairConfig : BaseConfig
public record Sell
{
/**
* Should a fee be deducted from player when listing an item for sale
*/
/// <summary>
/// Should a fee be deducted from player when listing an item for sale
/// </summary>
[JsonPropertyName("fees")]
public bool Fees
{
@@ -79,9 +79,9 @@ public record Sell
set;
}
/**
* Settings to control chances of offer being sold
*/
/// <summary>
/// Settings to control chances of offer being sold
/// </summary>
[JsonPropertyName("chance")]
public Chance Chance
{
@@ -89,9 +89,9 @@ public record Sell
set;
}
/**
* Settings to control how long it takes for a player offer to sell
*/
/// <summary>
/// Settings to control how long it takes for a player offer to sell
/// </summary>
[JsonPropertyName("time")]
public MinMax<double> Time
{
@@ -99,9 +99,9 @@ public record Sell
set;
}
/**
* Seconds from clicking remove to remove offer from market
*/
/// <summary>
/// Seconds from clicking remove to remove offer from market
/// </summary>
[JsonPropertyName("expireSeconds")]
public int ExpireSeconds
{
@@ -112,9 +112,9 @@ public record Sell
public record Chance
{
/**
* Base chance percent to sell an item
*/
/// <summary>
/// Base chance percent to sell an item
/// </summary>
[JsonPropertyName("base")]
public int Base
{
@@ -122,9 +122,9 @@ public record Chance
set;
}
/**
* Value to multiply the sell chance by
*/
/// <summary>
/// Value to multiply the sell chance by
/// </summary>
[JsonPropertyName("sellMultiplier")]
public double SellMultiplier
{
@@ -132,9 +132,9 @@ public record Chance
set;
}
/**
* Max possible sell chance % for a player listed offer
*/
/// <summary>
/// Max possible sell chance % for a player listed offer
/// </summary>
[JsonPropertyName("maxSellChancePercent")]
public int MaxSellChancePercent
{
@@ -142,9 +142,9 @@ public record Chance
set;
}
/**
* Min possible sell chance % for a player listed offer
*/
/// <summary>
/// Min possible sell chance % for a player listed offer
/// </summary>
[JsonPropertyName("minSellChancePercent")]
public int MinSellChancePercent
{
@@ -155,24 +155,30 @@ public record Chance
public record Dynamic
{
/// <summary>
/// Should a purchased dynamic offers items be flagged as found in raid
/// </summary>
[JsonPropertyName("purchasesAreFoundInRaid")]
// Should a purchased dynamic offers items be flagged as found in raid
public bool PurchasesAreFoundInRaid
{
get;
set;
}
/// <summary>
/// Use the highest trader price for an offer if its greater than the price in templates/prices.json
/// </summary>
[JsonPropertyName("useTraderPriceForOffersIfHigher")]
/** Use the highest trader price for an offer if its greater than the price in templates/prices.json */
public bool UseTraderPriceForOffersIfHigher
{
get;
set;
}
/// <summary>
/// Barter offer specific settings
/// </summary>
[JsonPropertyName("barter")]
/** Barter offer specific settings */
public BarterDetails Barter
{
get;
@@ -186,48 +192,60 @@ public record Dynamic
set;
}
/// <summary>
/// Dynamic offer price below handbook adjustment values
/// </summary>
[JsonPropertyName("offerAdjustment")]
/** Dynamic offer price below handbook adjustment values */
public OfferAdjustment OfferAdjustment
{
get;
set;
}
/// <summary>
/// How many offers should expire before an offer regeneration occurs
/// </summary>
[JsonPropertyName("expiredOfferThreshold")]
/** How many offers should expire before an offer regeneration occurs */
public int ExpiredOfferThreshold
{
get;
set;
}
/// <summary>
/// How many offers should be listed
/// </summary>
[JsonPropertyName("offerItemCount")]
/** How many offers should be listed */
public MinMax<int> OfferItemCount
{
get;
set;
}
/// <summary>
/// How much should the price of an offer vary by (percent 0.8 = 80%, 1.2 = 120%)
/// </summary>
[JsonPropertyName("priceRanges")]
/** How much should the price of an offer vary by (percent 0.8 = 80%, 1.2 = 120%) */
public PriceRanges PriceRanges
{
get;
set;
}
/// <summary>
/// Should default presets to listed only or should non-standard presets found in globals.json be listed too
/// </summary>
[JsonPropertyName("showDefaultPresetsOnly")]
/** Should default presets to listed only or should non-standard presets found in globals.json be listed too */
public bool ShowDefaultPresetsOnly
{
get;
set;
}
/// <summary>
/// Tpls that should not use the variable price system when their quality is less than 100% (lower dura/uses = lower price)
/// </summary>
[JsonPropertyName("ignoreQualityPriceVarianceBlacklist")]
/** Tpls that should not use the variable price system when their quality is < 100% (lower dura/uses = lower price) */
public HashSet<string> IgnoreQualityPriceVarianceBlacklist
{
get;
@@ -241,48 +259,60 @@ public record Dynamic
set;
}
/// <summary>
/// Settings to control the durability range of item items listed on flea
/// </summary>
[JsonPropertyName("condition")]
/** Settings to control the durability range of item items listed on flea */
public Dictionary<string, Condition> Condition
{
get;
set;
}
/// <summary>
/// Size stackable items should be listed for in percent of max stack size
/// </summary>
[JsonPropertyName("stackablePercent")]
/** Size stackable items should be listed for in percent of max stack size */
public MinMax<double> StackablePercent
{
get;
set;
}
/// <summary>
/// Items that cannot be stacked can have multiples sold in one offer, what range of values can be listed
/// </summary>
[JsonPropertyName("nonStackableCount")]
/** Items that cannot be stacked can have multiples sold in one offer, what range of values can be listed */
public MinMax<int> NonStackableCount
{
get;
set;
}
/// <summary>
/// Range of rating offers for items being listed
/// </summary>
[JsonPropertyName("rating")]
/** Range of rating offers for items being listed */
public MinMax<double> Rating
{
get;
set;
}
/// <summary>
/// Armor specific flea settings
/// </summary>
[JsonPropertyName("armor")]
/** Armor specific flea settings */
public ArmorSettings Armor
{
get;
set;
}
/// <summary>
/// A multipler to apply to individual tpls price just prior to item quality adjustment
/// </summary>
[JsonPropertyName("itemPriceMultiplier")]
/** A multipler to apply to individual tpls price just prior to item quality adjustment */
public Dictionary<string, double>? ItemPriceMultiplier
{
get;
@@ -296,48 +326,60 @@ public record Dynamic
set;
}
/// <summary>
/// Percentages to sell offers in each currency
/// </summary>
[JsonPropertyName("currencies")]
/** Percentages to sell offers in each currency */
public Dictionary<string, double> Currencies
{
get;
set;
}
/// <summary>
/// Item tpls that should be forced to sell as a single item
/// </summary>
[JsonPropertyName("showAsSingleStack")]
/** Item tpls that should be forced to sell as a single item */
public HashSet<string> ShowAsSingleStack
{
get;
set;
}
/// <summary>
/// Should christmas/halloween items be removed from flea when not within the seasonal bounds
/// </summary>
[JsonPropertyName("removeSeasonalItemsWhenNotInEvent")]
/** Should christmas/halloween items be removed from flea when not within the seasonal bounds */
public bool RemoveSeasonalItemsWhenNotInEvent
{
get;
set;
}
/// <summary>
/// Flea blacklist settings
/// </summary>
[JsonPropertyName("blacklist")]
/** Flea blacklist settings */
public RagfairBlacklist Blacklist
{
get;
set;
}
/// <summary>
/// Dict of price limits keyed by item type
/// </summary>
[JsonPropertyName("unreasonableModPrices")]
/** Dict of price limits keyed by item type */
public Dictionary<string, UnreasonableModPrices> UnreasonableModPrices
{
get;
set;
}
/// <summary>
/// Custom rouble prices for items to override values from prices.json
/// </summary>
[JsonPropertyName("itemPriceOverrideRouble")]
/** Custom rouble prices for items to override values from prices.json */
public Dictionary<string, double> ItemPriceOverrideRouble
{
get;
@@ -371,9 +413,9 @@ public record PriceRanges
public record BarterDetails
{
/**
* Percentage change an offer is listed as a barter
*/
/// <summary>
/// Percentage change an offer is listed as a barter
/// </summary>
[JsonPropertyName("chancePercent")]
public double ChancePercent
{
@@ -381,9 +423,9 @@ public record BarterDetails
set;
}
/**
* Min number of required items for a barter requirement
*/
/// <summary>
/// Min number of required items for a barter requirement
/// </summary>
[JsonPropertyName("itemCountMin")]
public int ItemCountMin
{
@@ -391,9 +433,9 @@ public record BarterDetails
set;
}
/**
* Max number of required items for a barter requirement
*/
/// <summary>
/// Max number of required items for a barter requirement
/// </summary>
[JsonPropertyName("itemCountMax")]
public int ItemCountMax
{
@@ -401,9 +443,9 @@ public record BarterDetails
set;
}
/**
* How much can the total price of requested items vary from the item offered
*/
/// <summary>
/// How much can the total price of requested items vary from the item offered
/// </summary>
[JsonPropertyName("priceRangeVariancePercent")]
public double PriceRangeVariancePercent
{
@@ -411,9 +453,9 @@ public record BarterDetails
set;
}
/**
* Min rouble price for an offer to be considered for turning into a barter
*/
/// <summary>
/// Min rouble price for an offer to be considered for turning into a barter
/// </summary>
[JsonPropertyName("minRoubleCostToBecomeBarter")]
public double MinRoubleCostToBecomeBarter
{
@@ -421,9 +463,9 @@ public record BarterDetails
set;
}
/**
* Should barter offers only single stack
*/
/// <summary>
/// Should barter offers only single stack
/// </summary>
[JsonPropertyName("makeSingleStackOnly")]
public bool MakeSingleStackOnly
{
@@ -431,9 +473,9 @@ public record BarterDetails
set;
}
/**
* Item Tpls to never be turned into a barter
*/
/// <summary>
/// Item Tpls to never be turned into a barter
/// </summary>
[JsonPropertyName("itemTypeBlacklist")]
public HashSet<string> ItemTypeBlacklist
{
@@ -444,9 +486,9 @@ public record BarterDetails
public record PackDetails
{
/**
* Percentage change an offer is listed as a pack
*/
/// <summary>
/// Percentage change an offer is listed as a pack
/// </summary>
[JsonPropertyName("chancePercent")]
public double ChancePercent
{
@@ -454,9 +496,9 @@ public record PackDetails
set;
}
/**
* Min number of required items for a pack
*/
/// <summary>
/// Min number of required items for a pack
/// </summary>
[JsonPropertyName("itemCountMin")]
public int ItemCountMin
{
@@ -464,9 +506,9 @@ public record PackDetails
set;
}
/**
* Max number of required items for a pack
*/
/// <summary>
/// Max number of required items for a pack
/// </summary>
[JsonPropertyName("itemCountMax")]
public int ItemCountMax
{
@@ -474,9 +516,9 @@ public record PackDetails
set;
}
/**
* item types to allow being a pack
*/
/// <summary>
/// item types to allow being a pack
/// </summary>
[JsonPropertyName("itemTypeWhitelist")]
public HashSet<string> ItemTypeWhitelist
{
@@ -41,9 +41,9 @@ public record RepairConfig : BaseConfig
set;
}
/**
* INT gain multiplier per repaired item type
*/
/// <summary>
/// INT gain multiplier per repaired item type
/// </summary>
[JsonPropertyName("repairKitIntellectGainMultiplier")]
public IntellectGainValues RepairKitIntellectGainMultiplier
{
@@ -51,7 +51,9 @@ public record RepairConfig : BaseConfig
set;
}
// ** How much INT can be given to player per repair action */
/// <summary>
/// How much INT can be given to player per repair action
/// </summary>
[JsonPropertyName("maxIntellectGainPerRepair")]
public MaxIntellectGainValues MaxIntellectGainPerRepair
{
@@ -110,9 +112,9 @@ public record MaxIntellectGainValues
public record WeaponTreatmentRepairValues
{
/**
* The chance to gain more weapon maintenance skill
*/
/// <summary>
/// The chance to gain more weapon maintenance skill
/// </summary>
[JsonPropertyName("critSuccessChance")]
public double CritSuccessChance
{
@@ -127,9 +129,9 @@ public record WeaponTreatmentRepairValues
set;
}
/**
* The chance to gain less weapon maintenance skill
*/
/// <summary>
/// The chance to gain less weapon maintenance skill
/// </summary>
[JsonPropertyName("critFailureChance")]
public double CritFailureChance
{
@@ -144,9 +146,9 @@ public record WeaponTreatmentRepairValues
set;
}
/**
* The multiplier used for calculating weapon maintenance XP
*/
/// <summary>
/// The multiplier used for calculating weapon maintenance XP
/// </summary>
[JsonPropertyName("pointGainMultiplier")]
public double PointGainMultiplier
{
@@ -226,9 +228,9 @@ public record BonusValues
set;
}
/**
* What dura is buff active between (min max of current max)
*/
/// <summary>
/// What dura is buff active between (min max of current max)
/// </summary>
[JsonPropertyName("activeDurabilityPercentMinMax")]
public MinMax<int> ActiveDurabilityPercentMinMax
{
@@ -21,9 +21,9 @@ public record SeasonalEventConfig : BaseConfig
set;
}
/**
* event / botType / equipSlot / itemid
*/
/// <summary>
/// event / botType / equipSlot / itemid
/// </summary>
[JsonPropertyName("eventGear")]
public Dictionary<SeasonalEventType, Dictionary<string, Dictionary<string, Dictionary<string, int>>>> EventGear
{
@@ -31,9 +31,9 @@ public record SeasonalEventConfig : BaseConfig
set;
}
/**
* event / bot type / equipSlot / itemid
*/
/// <summary>
/// event / bot type / equipSlot / itemid
/// </summary>
[JsonPropertyName("eventLoot")]
public Dictionary<SeasonalEventType, Dictionary<string, Dictionary<string, Dictionary<string, int>>>> EventLoot
{
@@ -76,9 +76,9 @@ public record SeasonalEventConfig : BaseConfig
set;
}
/**
* key = event, second key = map name
*/
/// <summary>
/// key = event, second key = map name
/// </summary>
[JsonPropertyName("hostilitySettingsForEvent")]
public Dictionary<string, Dictionary<string, List<AdditionalHostilitySettings>>> HostilitySettingsForEvent
{
@@ -86,9 +86,9 @@ public record SeasonalEventConfig : BaseConfig
set;
}
/**
* Ids of containers on locations that only have christmas loot
*/
/// <summary>
/// Ids of containers on locations that only have Christmas loot
/// </summary>
[JsonPropertyName("christmasContainerIds")]
public List<string> ChristmasContainerIds
{
@@ -96,9 +96,9 @@ public record SeasonalEventConfig : BaseConfig
set;
}
/**
* Season - botType - location (body/feet/hands/head)
*/
/// <summary>
/// Season - botType - location (body/feet/hands/head)
/// </summary>
[JsonPropertyName("botAppearanceChanges")]
public Dictionary<SeasonalEventType, Dictionary<string, Dictionary<string, Dictionary<string, int>>>> BotAppearanceChanges
{
@@ -34,9 +34,9 @@ public record TraderConfig : BaseConfig
set;
}
/**
* Should trader reset times be set based on server start time (false = bsg time - on the hour)
*/
/// <summary>
/// Should trader reset times be set based on server start time (false = bsg time - on the hour)
/// </summary>
[JsonPropertyName("tradersResetFromServerStart")]
public bool TradersResetFromServerStart
{
@@ -82,9 +82,9 @@ public record UpdateTime
set;
}
/**
* Seconds between trader resets
*/
/// <summary>
/// Seconds between trader resets
/// </summary>
[JsonPropertyName("seconds")]
public MinMax<int> Seconds
{
@@ -165,9 +165,9 @@ public record FenceConfig
set;
}
/**
* Keyed to plate protection level
*/
/// <summary>
/// Keyed to plate protection level
/// </summary>
[JsonPropertyName("chancePlateExistsInArmorPercent")]
public Dictionary<string, double> ChancePlateExistsInArmorPercent
{
@@ -175,9 +175,9 @@ public record FenceConfig
set;
}
/**
* Key: item tpl
*/
/// <summary>
/// Key: item tpl
/// </summary>
[JsonPropertyName("itemStackSizeOverrideMinMax")]
public Dictionary<string, MinMax<int>?> ItemStackSizeOverrideMinMax
{
@@ -192,9 +192,9 @@ public record FenceConfig
set;
}
/**
* Prevent duplicate offers of items of specific categories by parentId
*/
/// <summary>
/// Prevent duplicate offers of items of specific categories by parentId
/// </summary>
[JsonPropertyName("preventDuplicateOffersOfCategory")]
public List<string> PreventDuplicateOffersOfCategory
{
@@ -209,9 +209,9 @@ public record FenceConfig
set;
}
/**
* Max rouble price before item is not listed on flea
*/
/// <summary>
/// Max rouble price before item is not listed on flea
/// </summary>
[JsonPropertyName("itemCategoryRoublePriceLimit")]
public Dictionary<string, double?> ItemCategoryRoublePriceLimit
{
@@ -219,9 +219,9 @@ public record FenceConfig
set;
}
/**
* Each slotid with % to be removed prior to listing on fence
*/
/// <summary>
/// Each slotid with % to be removed prior to listing on fence
/// </summary>
[JsonPropertyName("presetSlotsToRemoveChancePercent")]
public Dictionary<string, double?> PresetSlotsToRemoveChancePercent
{
@@ -229,9 +229,9 @@ public record FenceConfig
set;
}
/**
* Block seasonal items from appearing when season is inactive
*/
/// <summary>
/// Block seasonal items from appearing when season is inactive
/// </summary>
[JsonPropertyName("blacklistSeasonalItems")]
public bool BlacklistSeasonalItems
{
@@ -239,9 +239,9 @@ public record FenceConfig
set;
}
/**
* Max pen value allowed to be listed on flea - affects ammo + ammo boxes
*/
/// <summary>
/// Max pen value allowed to be listed on flea - affects ammo + ammo boxes
/// </summary>
[JsonPropertyName("ammoMaxPenLimit")]
public double AmmoMaxPenLimit
{
@@ -270,9 +270,9 @@ public record FenceConfig
set;
}
/**
* Smallest value player rep with fence can fall to
*/
/// <summary>
/// Smallest value player rep with fence can fall to
/// </summary>
[JsonPropertyName("playerRepMin")]
public double PlayerRepMin
{
@@ -280,9 +280,9 @@ public record FenceConfig
set;
}
/**
* Highest value player rep with fence can climb to
*/
/// <summary>
/// Highest value player rep with fence can climb to
/// </summary>
[JsonPropertyName("playerRepMax")]
public double PlayerRepMax
{
@@ -377,14 +377,14 @@ public record DiscountOptions
}
}
/**
* Custom trader data needed client side for things such as the clothing service
*/
/// <summary>
/// Custom trader data needed client side for things such as the clothing service
/// </summary>
public record ModdedTraders
{
/**
* Trader Ids to enable the clothing service for
*/
/// <summary>
/// Trader Ids to enable the clothing service for
/// </summary>
[JsonPropertyName("clothingService")]
public List<string> ClothingService
{
@@ -101,9 +101,9 @@ public record WeatherValues
set;
}
/**
* How many hours to generate weather data into the future
*/
/// <summary>
/// How many hours to generate weather data into the future
/// </summary>
[JsonPropertyName("generateWeatherAmountHours")]
public int? GenerateWeatherAmountHours
{
@@ -111,9 +111,9 @@ public record WeatherValues
set;
}
/**
* Length of each weather period
*/
/// <summary>
/// Length of each weather period
/// </summary>
[JsonPropertyName("timePeriod")]
public WeatherSettings<int>? TimePeriod
{
@@ -127,9 +127,9 @@ public record SendMessageDetails
set;
}
/**
* Optional - the MongoID of the dialogue message to reply to
*/
/// <summary>
/// Optional - the MongoID of the dialogue message to reply to
/// </summary>
[JsonPropertyName("replyTo")]
public string? ReplyTo
{
@@ -5,6 +5,9 @@ namespace Core.Models.Spt.Inventory;
public record OwnerInventoryItems
{
/// <summary>
/// Inventory items from source
/// </summary>
[JsonPropertyName("from")]
public List<Item>? From
{
@@ -12,6 +15,9 @@ public record OwnerInventoryItems
set;
}
/// <summary>
/// Inventory items at destination
/// </summary>
[JsonPropertyName("to")]
public List<Item>? To
{
@@ -4,6 +4,9 @@ namespace Core.Models.Spt.Location;
public record RaidChanges
{
/// <summary>
/// What percentage of dynamic loot should the map contain
/// </summary>
[JsonPropertyName("dynamicLootPercent")]
public double? DynamicLootPercent
{
@@ -11,6 +14,9 @@ public record RaidChanges
set;
}
/// <summary>
/// What percentage of static loot should the map contain
/// </summary>
[JsonPropertyName("staticLootPercent")]
public double? StaticLootPercent
{
@@ -18,6 +24,9 @@ public record RaidChanges
set;
}
/// <summary>
/// How many seconds into the raid is the player simulated to spawn in at
/// </summary>
[JsonPropertyName("simulatedRaidStartSeconds")]
public double? SimulatedRaidStartSeconds
{
@@ -25,7 +34,9 @@ public record RaidChanges
set;
}
/** How many minutes are in the raid total */
/// <summary>
/// How many minutes are in the raid total
/// </summary>
[JsonPropertyName("RaidTimeMinutes")]
public double? RaidTimeMinutes
{
@@ -33,7 +44,9 @@ public record RaidChanges
set;
}
/** The new number of seconds required to avoid a run through */
/// <summary>
/// The new number of seconds required to avoid a run through
/// </summary>
[JsonPropertyName("NewSurviveTimeSeconds")]
public double? NewSurviveTimeSeconds
{
@@ -41,7 +54,9 @@ public record RaidChanges
set;
}
/** The original number of seconds required to avoid a run through */
/// <summary>
/// The original number of seconds required to avoid a run through
/// </summary>
[JsonPropertyName("OriginalSurvivalTimeSeconds")]
public double? OriginalSurvivalTimeSeconds
{
@@ -49,7 +64,9 @@ public record RaidChanges
set;
}
/** Any changes required to the extract list */
/// <summary>
/// Any changes required to the extract list
/// </summary>
[JsonPropertyName("ExitChanges")]
public List<ExtractChange>? ExitChanges
{
@@ -15,6 +15,9 @@ public record NewItemDetails : NewItemDetailsBase
public record NewItemFromCloneDetails : NewItemDetailsBase
{
/// <summary>
/// Id of the item to copy and use as a base
/// </summary>
[JsonPropertyName("itemTplToClone")]
public string? ItemTplToClone
{
@@ -22,6 +25,9 @@ public record NewItemFromCloneDetails : NewItemDetailsBase
set;
}
/// <summary>
/// Item properties that should be applied over the top of the cloned base
/// </summary>
[JsonPropertyName("overrideProperties")]
public Props? OverrideProperties
{
@@ -29,6 +35,9 @@ public record NewItemFromCloneDetails : NewItemDetailsBase
set;
}
/// <summary>
/// ParentId for the new item (item type)
/// </summary>
[JsonPropertyName("parentId")]
public string? ParentId
{
@@ -36,6 +45,10 @@ public record NewItemFromCloneDetails : NewItemDetailsBase
set;
}
/// <summary>
/// the id the new item should have, leave blank to have one generated for you.
/// This is often known as the TplId, or TemplateId
/// </summary>
[JsonPropertyName("newId")]
public string? NewId
{
@@ -11,7 +11,9 @@ public record TplWithFleaPrice
set;
}
// Roubles
/// <summary>
/// Roubles
/// </summary>
[JsonPropertyName("price")]
public double? Price
{
@@ -178,9 +178,9 @@ public record Locations
set;
}
/**
* Holds a mapping of the linkages between locations on the UI
*/
/// <summary>
/// Holds a mapping of the linkages between locations on the UI
/// </summary>
[JsonPropertyName("base")]
public LocationsBase? Base
{
@@ -133,6 +133,9 @@ public record LootRequest
set;
}
/// <summary>
/// Should seasonal items appear when it's not the season for them
/// </summary>
[JsonPropertyName("blockSeasonalItemsOutOfSeason")]
public bool? BlockSeasonalItemsOutOfSeason
{
@@ -62,9 +62,9 @@ public record Templates
set;
}
/**
* The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec)
*/
/// <summary>
/// The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec)
/// </summary>
[JsonPropertyName("profiles")]
public ProfileTemplates? Profiles
{
@@ -72,9 +72,9 @@ public record Templates
set;
}
/**
* Flea prices of items - gathered from online flea market dump
*/
/// <summary>
/// Flea prices of items - gathered from online flea market dump
/// </summary>
[JsonPropertyName("prices")]
public Dictionary<string, double>? Prices
{
@@ -82,9 +82,9 @@ public record Templates
set;
}
/**
* Default equipment loadouts that show on main inventory screen
*/
/// <summary>
/// Default equipment loadouts that show on main inventory screen
/// </summary>
[JsonPropertyName("defaultEquipmentPresets")]
public List<DefaultEquipmentPreset>? DefaultEquipmentPresets
{
@@ -92,9 +92,9 @@ public record Templates
set;
}
/**
* Achievements
*/
/// <summary>
/// Achievements
/// </summary>
[JsonPropertyName("achievements")]
public List<Achievement>? Achievements
{
@@ -102,9 +102,9 @@ public record Templates
set;
}
/**
* Location services data
*/
/// <summary>
/// Location services data
/// </summary>
[JsonPropertyName("locationServices")]
public LocationServices? LocationServices
{