ba4e8d9c14
Added migration to remove password property from profiles
43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPTarkov.Server.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("invalidOrUnloadableProfile")]
|
|
public bool? InvalidOrUnloadableProfile { get; set; }
|
|
|
|
[JsonPropertyName("sptData")]
|
|
public Profile.Spt? SptData { get; set; }
|
|
}
|