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

57 lines
801 B
C#

using System.Text.Json.Serialization;
using Core.Models.Utils;
namespace Core.Models.Eft.Prestige;
public class ObtainPrestigeRequestList : List<ObtainPrestigeRequest>, IRequestData
{
}
public record ObtainPrestigeRequest : IRequestData
{
[JsonPropertyName("id")]
public string Id
{
get;
set;
}
[JsonPropertyName("location")]
public Location Location
{
get;
set;
}
}
public record Location
{
[JsonPropertyName("x")]
public int X
{
get;
set;
}
[JsonPropertyName("y")]
public int Y
{
get;
set;
}
[JsonPropertyName("z")]
public int Z
{
get;
set;
}
[JsonPropertyName("r")]
public string R
{
get;
set;
}
}