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

91 lines
1.3 KiB
C#

using System.Text.Json.Serialization;
namespace Core.Models.Eft.Launcher;
public record MiniProfile
{
[JsonPropertyName("username")]
public string? Username
{
get;
set;
}
[JsonPropertyName("nickname")]
public string? Nickname
{
get;
set;
}
[JsonPropertyName("side")]
public string? Side
{
get;
set;
}
[JsonPropertyName("currlvl")]
public int? CurrentLevel
{
get;
set;
}
[JsonPropertyName("currexp")]
public int? CurrentExperience
{
get;
set;
}
[JsonPropertyName("prevexp")]
public int? PreviousExperience
{
get;
set;
}
[JsonPropertyName("nextlvl")]
public int? NextLevel
{
get;
set;
}
[JsonPropertyName("maxlvl")]
public int? MaxLevel
{
get;
set;
}
[JsonPropertyName("edition")]
public string? Edition
{
get;
set;
}
[JsonPropertyName("profileId")]
public string? ProfileId
{
get;
set;
}
[JsonPropertyName("sptData")]
public Profile.Spt? SptData
{
get;
set;
}
[JsonPropertyName("hasPassword")]
public bool? HasPassword
{
get;
set;
}
}