51 lines
801 B
C#
51 lines
801 B
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Eft.Inventory;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Health;
|
|
|
|
public record OffraidHealRequestData : InventoryBaseActionRequestData
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> ExtensionData { get; set; }
|
|
|
|
[JsonPropertyName("item")]
|
|
public string? Item
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("part")]
|
|
public string? Part
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("count")]
|
|
public int? Count
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("time")]
|
|
public long? Time
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
|
|
public enum BodyPart
|
|
{
|
|
Head,
|
|
Chest,
|
|
Stomach,
|
|
LeftArm,
|
|
RightArm,
|
|
LeftLeg,
|
|
RightLeg,
|
|
Common
|
|
}
|