103 lines
1.9 KiB
C#
103 lines
1.9 KiB
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Eft.Common;
|
|
using SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
|
using SPTarkov.Server.Core.Models.Enums;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Match;
|
|
|
|
public record StartLocalRaidResponseData
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> ExtensionData { get; set; }
|
|
|
|
[JsonPropertyName("serverId")]
|
|
public string? ServerId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("serverSettings")]
|
|
public LocationServices? ServerSettings
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
|
[JsonPropertyName("profile")]
|
|
public ProfileInsuredItems? Profile
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("locationLoot")]
|
|
public LocationBase? LocationLoot
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("transitionType")]
|
|
public TransitionType? TransitionType
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("transition")]
|
|
public Transition? Transition
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
|
|
public record ProfileInsuredItems
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> ExtensionData { get; set; }
|
|
|
|
[JsonPropertyName("insuredItems")]
|
|
public List<InsuredItem>? InsuredItems
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
|
|
public record Transition
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> ExtensionData { get; set; }
|
|
|
|
[JsonPropertyName("transitionType")]
|
|
public TransitionType? TransitionType
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("transitionRaidId")]
|
|
public string? TransitionRaidId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("transitionCount")]
|
|
public int? TransitionCount
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("visitedLocations")]
|
|
public List<string>? VisitedLocations
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|