Files
SPT-Server-Build/Libraries/Core/Models/Eft/Common/PmcData.cs
T
2025-02-07 19:36:17 +00:00

53 lines
873 B
C#

using System.Text.Json.Serialization;
using Core.Models.Eft.Common.Tables;
using Core.Utils.Json.Converters;
namespace 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;
}
public object CheckedChambers
{
get;
set;
}
}
public record PostRaidPmcData : PmcData
{
}
public record PostRaidStats
{
[JsonPropertyName("Eft")]
public EftStats? Eft
{
get;
set;
}
/**
* Only found in profile we get from client post raid
*/
[JsonPropertyName("Arena")]
public EftStats? Arena
{
get;
set;
}
}