58 lines
1.5 KiB
C#
58 lines
1.5 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Profile;
|
|
|
|
public record GetProfileStatusResponseData
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object>? ExtensionData { get; set; }
|
|
|
|
[JsonPropertyName("maxPveCountExceeded")]
|
|
public bool? MaxPveCountExceeded { get; set; } = false;
|
|
|
|
[JsonPropertyName("profiles")]
|
|
public List<ProfileStatusData>? Profiles { get; set; }
|
|
}
|
|
|
|
public record ProfileStatusData
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object>? ExtensionData { get; set; }
|
|
|
|
[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
|
|
}
|