Files
SPT-Server-Build/Libraries/Core/Models/Eft/Repair/RepairActionDataRequest.cs
T
2025-02-07 19:36:17 +00:00

39 lines
705 B
C#

using System.Text.Json.Serialization;
using Core.Models.Eft.Inventory;
namespace Core.Models.Eft.Repair;
public record RepairActionDataRequest : InventoryBaseActionRequestData
{
[JsonPropertyName("repairKitsInfo")]
public List<RepairKitsInfo>? RepairKitsInfo
{
get;
set;
}
[JsonPropertyName("target")]
public string? Target
{
get;
set;
} // item to repair
}
public record RepairKitsInfo
{
[JsonPropertyName("_id")]
public string? Id
{
get;
set;
} // id of repair kit to use
[JsonPropertyName("count")]
public int? Count
{
get;
set;
} // amount of units to reduce kit by
}