Files
SPT-Server-Build/Libraries/SPTarkov.Server.Core/Models/Eft/Match/GetRaidConfigurationRequestData.cs
T
2025-06-18 17:09:20 +00:00

29 lines
959 B
C#

using System.Text.Json.Serialization;
using SPTarkov.Server.Core.Models.Enums;
using SPTarkov.Server.Core.Models.Utils;
namespace SPTarkov.Server.Core.Models.Eft.Match;
public record GetRaidConfigurationRequestData : RaidSettings, IRequestData
{
[JsonPropertyName("keyId")]
public string? KeyId { get; set; }
[JsonPropertyName("onlinePveRaidStates")]
public Dictionary<string, bool>? OnlinePveRaidStates { get; set; }
[JsonPropertyName("MaxGroupCount")]
public int? MaxGroupCount { get; set; }
[JsonPropertyName("transitionType")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public TransitionType TransitionType { get; set; }
/// <summary>
/// Custom property that is not received from or sent to the client.
/// We calculate this once based on the time slot selected for the raid to use it during inventory generation.
/// </summary>
[JsonIgnore]
public bool IsNightRaid { get; set; }
}