d14e7cc155
Co-authored-by: Alex <clodanSPT@hotmail.com> Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
39 lines
794 B
C#
39 lines
794 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; }
|
|
}
|