Files
SPT-Server-Build/Libraries/SPTarkov.Server.Core/Models/Eft/Common/PmcData.cs
T
hulkhan22 89c36650ca Objects
2025-04-26 19:33:35 +02:00

57 lines
1.1 KiB
C#

using System.ComponentModel;
using System.Text.Json.Serialization;
using SPTarkov.Server.Core.Models.Eft.Common.Tables;
using SPTarkov.Server.Core.Utils.Json.Converters;
namespace SPTarkov.Server.Core.Models.Eft.Common;
public record PmcData : BotBase
{
[JsonPropertyName("Prestige")]
[JsonConverter(typeof(ArrayToObjectFactoryConverter))]
public Dictionary<string, long>? Prestige
{
get;
set;
}
public Dictionary<string, double>? CheckedMagazines
{
get;
set;
}
/// <summary>
/// Returns the list of IDs of the weapons, which the player has checked the chamber of in the last raid.
/// </summary>
public List<string> CheckedChambers
{
get;
set;
}
}
public record PostRaidPmcData : PmcData
{
}
public record PostRaidStats
{
[JsonPropertyName("Eft")]
public EftStats? Eft
{
get;
set;
}
/// <summary>
/// Only found in profile we get from client post raid
/// </summary>
[JsonPropertyName("Arena")]
public EftStats? Arena
{
get;
set;
}
}