46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Launcher;
|
|
|
|
public record MiniProfile
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
|
|
|
[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; }
|
|
}
|