Files
SPT-Server-Build/Libraries/SPTarkov.Server.Core/Models/Eft/Match/MatchGroupJoinRequest.cs
T
2025-08-21 09:46:00 +00:00

35 lines
790 B
C#

using System.Text.Json.Serialization;
using SPTarkov.Server.Core.Models.Utils;
namespace SPTarkov.Server.Core.Models.Eft.Match;
public record MatchGroupJoinRequest : IRequestData
{
[JsonPropertyName("location")]
public string? Location { get; set; }
[JsonPropertyName("savage")]
public bool? Savage { get; set; }
[JsonPropertyName("dt")]
public string? Dt { get; set; }
[JsonPropertyName("servers")]
public List<JoinServer>? Servers { get; set; }
[JsonPropertyName("keyId")]
public string? KeyId { get; set; }
}
public record JoinServer
{
[JsonPropertyName("ping")]
public int? Ping { get; set; }
[JsonPropertyName("ip")]
public string? Ip { get; set; }
[JsonPropertyName("port")]
public string? Port { get; set; }
}