Files
SPT-Server-Build/Core/Models/Eft/Hideout/HideoutScavCaseStartRequestData.cs
T
2025-01-07 10:42:52 +00:00

39 lines
886 B
C#

using System.Text.Json.Serialization;
namespace Core.Models.Eft.Hideout;
public class HideoutScavCaseStartRequestData
{
[JsonPropertyName("Action")]
public string Action { get; set; } = "HideoutScavCaseProductionStart";
[JsonPropertyName("recipeId")]
public string RecipeId { get; set; }
[JsonPropertyName("items")]
public List<HideoutItem> Items { get; set; }
[JsonPropertyName("tools")]
public List<Tool> Tools { get; set; }
[JsonPropertyName("timestamp")]
public long Timestamp { get; set; }
}
public class HideoutItem
{
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("count")]
public int Count { get; set; }
}
public class Tool
{
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("count")]
public int Count { get; set; }
}