Getting ready to seed more data
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DeckDeleteListRequest : BaseRequest
|
||||
{
|
||||
[JsonPropertyName("deck_no_list")]
|
||||
[Key("deck_no_list")] public List<int>? DeckNoList { get; set; }
|
||||
[JsonPropertyName("deck_format")]
|
||||
[Key("deck_format")] public int DeckFormat { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
using MessagePack;
|
||||
using SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Common;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
|
||||
/// <summary>
|
||||
/// /deck/info — standard request is `DeckFormatRequest`. Copy-source overload adds
|
||||
/// /deck/info 窶・standard request is `DeckFormatRequest`. Copy-source overload adds
|
||||
/// `create_deck_format` (the format the user is creating the new deck IN). Server can
|
||||
/// ignore create_deck_format and return the standard shape; only matters for the
|
||||
/// cross-format deck-copy UI flow.
|
||||
@@ -12,5 +13,6 @@ namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
[MessagePackObject]
|
||||
public class DeckInfoRequest : DeckFormatRequest
|
||||
{
|
||||
[JsonPropertyName("create_deck_format")]
|
||||
[Key("create_deck_format")] public int? CreateDeckFormat { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DeckOrderRequest : BaseRequest
|
||||
{
|
||||
[JsonPropertyName("deck_order")]
|
||||
[Key("deck_order")] public List<int>? DeckOrder { get; set; }
|
||||
[JsonPropertyName("deck_format")]
|
||||
[Key("deck_format")] public int DeckFormat { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DeckUpdateLeaderSkinRequest : BaseRequest
|
||||
{
|
||||
[JsonPropertyName("deck_no")]
|
||||
[Key("deck_no")] public int DeckNo { get; set; }
|
||||
[JsonPropertyName("leader_skin_id")]
|
||||
[Key("leader_skin_id")] public int LeaderSkinId { get; set; }
|
||||
[JsonPropertyName("deck_format")]
|
||||
[Key("deck_format")] public int DeckFormat { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DeckUpdateNameRequest : BaseRequest
|
||||
{
|
||||
[JsonPropertyName("deck_no")]
|
||||
[Key("deck_no")] public int DeckNo { get; set; }
|
||||
[JsonPropertyName("deck_name")]
|
||||
[Key("deck_name")] public string? DeckName { get; set; }
|
||||
[JsonPropertyName("deck_format")]
|
||||
[Key("deck_format")] public int DeckFormat { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DeckUpdateRandomLeaderSkinRequest : BaseRequest
|
||||
{
|
||||
[JsonPropertyName("deck_format")]
|
||||
[Key("deck_format")] public int DeckFormat { get; set; }
|
||||
[JsonPropertyName("deck_no")]
|
||||
[Key("deck_no")] public int DeckNo { get; set; }
|
||||
[JsonPropertyName("leader_skin_id_list")]
|
||||
[Key("leader_skin_id_list")] public List<int>? LeaderSkinIdList { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,27 +1,40 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DeckUpdateRequest : BaseRequest
|
||||
{
|
||||
[JsonPropertyName("deck_no")]
|
||||
[Key("deck_no")] public int DeckNo { get; set; }
|
||||
[JsonPropertyName("class_id")]
|
||||
[Key("class_id")] public int ClassId { get; set; }
|
||||
[JsonPropertyName("leader_skin_id")]
|
||||
[Key("leader_skin_id")] public int LeaderSkinId { get; set; }
|
||||
[JsonPropertyName("is_random_leader_skin")]
|
||||
[Key("is_random_leader_skin")] public bool IsRandomLeaderSkin { get; set; }
|
||||
[JsonPropertyName("leader_skin_id_list")]
|
||||
[Key("leader_skin_id_list")] public List<int>? LeaderSkinIdList { get; set; }
|
||||
[JsonPropertyName("sleeve_id")]
|
||||
[Key("sleeve_id")] public long SleeveId { get; set; }
|
||||
[JsonPropertyName("deck_name")]
|
||||
[Key("deck_name")] public string? DeckName { get; set; }
|
||||
|
||||
/// <summary>0 = save the deck, 1 = delete this deck slot.</summary>
|
||||
[JsonPropertyName("is_delete")]
|
||||
[Key("is_delete")] public int IsDelete { get; set; }
|
||||
|
||||
[JsonPropertyName("card_id_array")]
|
||||
[Key("card_id_array")] public List<long>? CardIdArray { get; set; }
|
||||
[JsonPropertyName("deck_format")]
|
||||
[Key("deck_format")] public int DeckFormat { get; set; }
|
||||
|
||||
/// <summary>MyRotation rule-set id (only when deck_format = MyRotation).</summary>
|
||||
[JsonPropertyName("rotation_id")]
|
||||
[Key("rotation_id")] public string? RotationId { get; set; }
|
||||
|
||||
/// <summary>Crossover sub-class id (only when deck_format = Crossover).</summary>
|
||||
[JsonPropertyName("sub_class_id")]
|
||||
[Key("sub_class_id")] public int? SubClassId { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DeckUpdateSleeveRequest : BaseRequest
|
||||
{
|
||||
[JsonPropertyName("deck_no")]
|
||||
[Key("deck_no")] public int DeckNo { get; set; }
|
||||
[JsonPropertyName("sleeve_id")]
|
||||
[Key("sleeve_id")] public long SleeveId { get; set; }
|
||||
[JsonPropertyName("deck_format")]
|
||||
[Key("deck_format")] public int DeckFormat { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Deck;
|
||||
|
||||
[MessagePackObject]
|
||||
public class SetDeckRedisRequest : BaseRequest
|
||||
{
|
||||
[JsonPropertyName("deck_no")]
|
||||
[Key("deck_no")] public int DeckNo { get; set; }
|
||||
[JsonPropertyName("class_id")]
|
||||
[Key("class_id")] public int ClassId { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user