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

108 lines
1.6 KiB
C#

using System.Text.Json.Serialization;
namespace Core.Models.Eft.Profile;
public record GetProfileStatusResponseData
{
[JsonPropertyName("maxPveCountExceeded")]
public bool? MaxPveCountExceeded
{
get;
set;
} = false;
[JsonPropertyName("profiles")]
public List<ProfileStatusData>? Profiles
{
get;
set;
}
}
public record ProfileStatusData
{
[JsonPropertyName("profileid")]
public string? ProfileId
{
get;
set;
}
[JsonPropertyName("profileToken")]
public string? ProfileToken
{
get;
set;
}
[JsonPropertyName("status")]
public string? Status
{
get;
set;
}
[JsonPropertyName("ip")]
public string? Ip
{
get;
set;
}
[JsonPropertyName("port")]
public int? Port
{
get;
set;
}
[JsonPropertyName("sid")]
public string? Sid
{
get;
set;
}
[JsonPropertyName("version")]
public string? Version
{
get;
set;
}
[JsonPropertyName("location")]
public string? Location
{
get;
set;
}
[JsonPropertyName("raidMode")]
public string? RaidMode
{
get;
set;
}
[JsonPropertyName("mode")]
public string? Mode
{
get;
set;
}
[JsonPropertyName("shortId")]
public string? ShortId
{
get;
set;
}
[JsonPropertyName("additional_info")]
public List<object>? AdditionalInfo
{
get;
set;
} // TODO: Was `any` in the node server
}