Files
SVSimServer/SVSim.EmulatedEntrypoint/Models/Dtos/Requests/Deck/DeckUpdateRequest.cs
2026-05-23 14:18:18 -04:00

28 lines
1.1 KiB
C#

using MessagePack;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
[MessagePackObject]
public class DeckUpdateRequest : BaseRequest
{
[Key("deck_no")] public int DeckNo { get; set; }
[Key("class_id")] public int ClassId { get; set; }
[Key("leader_skin_id")] public int LeaderSkinId { get; set; }
[Key("is_random_leader_skin")] public bool IsRandomLeaderSkin { get; set; }
[Key("leader_skin_id_list")] public List<int>? LeaderSkinIdList { get; set; }
[Key("sleeve_id")] public long SleeveId { get; set; }
[Key("deck_name")] public string? DeckName { get; set; }
/// <summary>0 = save the deck, 1 = delete this deck slot.</summary>
[Key("is_delete")] public int IsDelete { get; set; }
[Key("card_id_array")] public List<long>? CardIdArray { get; set; }
[Key("deck_format")] public int DeckFormat { get; set; }
/// <summary>MyRotation rule-set id (only when deck_format = MyRotation).</summary>
[Key("rotation_id")] public string? RotationId { get; set; }
/// <summary>Crossover sub-class id (only when deck_format = Crossover).</summary>
[Key("sub_class_id")] public int? SubClassId { get; set; }
}