Files
SPT-Server-Build/Libraries/SPTarkov.Server.Core/Models/Eft/Match/GetRaidConfigurationRequestData.cs
T
Chomp 2639504471 String to MongoId conversions
Removed unnecessary properties from quest object
2025-07-15 10:37:49 +01:00

23 lines
769 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("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; }
}