Files
2025-08-21 09:46:00 +00:00

33 lines
824 B
C#

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