59 lines
1.2 KiB
C#
59 lines
1.2 KiB
C#
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
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> ExtensionData { get; set; }
|
|
|
|
[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;
|
|
}
|
|
}
|