28 lines
775 B
C#
28 lines
775 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.Customization;
|
|
|
|
public record CustomizationSetRequest : InventoryBaseActionRequestData
|
|
{
|
|
[JsonPropertyName("customizations")]
|
|
public List<CustomizationSetOption>? Customizations { get; set; }
|
|
}
|
|
|
|
public record CustomizationSetOption
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> ExtensionData { get; init; } = [];
|
|
|
|
[JsonPropertyName("id")]
|
|
public MongoId Id { get; set; }
|
|
|
|
// TODO: convert into enum (dogTag/suite/voice)
|
|
[JsonPropertyName("type")]
|
|
public string? Type { get; set; }
|
|
|
|
[JsonPropertyName("source")]
|
|
public string? Source { get; set; }
|
|
}
|