feat(import): import decks; remove obsolete default-deck cloning
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -30,6 +30,21 @@ public class ImportViewerRequest
|
||||
[JsonPropertyName("owned_cards")] public List<ImportCard>? OwnedCards { get; set; }
|
||||
|
||||
[JsonPropertyName("items")] public List<ImportItem>? Items { get; set; }
|
||||
|
||||
[JsonPropertyName("decks")] public List<ImportDeck>? Decks { get; set; }
|
||||
}
|
||||
|
||||
public class ImportDeck
|
||||
{
|
||||
[JsonPropertyName("deck_format")] public int DeckFormat { get; set; } // wire code; map via FormatExtensions.FromApi
|
||||
[JsonPropertyName("deck_no")] public int DeckNo { get; set; }
|
||||
[JsonPropertyName("deck_name")] public string? DeckName { get; set; }
|
||||
[JsonPropertyName("class_id")] public int ClassId { get; set; }
|
||||
[JsonPropertyName("card_id_array")] public List<long>? CardIdArray { get; set; }
|
||||
[JsonPropertyName("sleeve_id")] public long? SleeveId { get; set; }
|
||||
[JsonPropertyName("leader_skin_id")] public int? LeaderSkinId { get; set; }
|
||||
[JsonPropertyName("is_random_leader_skin")] public int? IsRandomLeaderSkin { get; set; }
|
||||
[JsonPropertyName("my_rotation_id")] public string? MyRotationId { get; set; }
|
||||
}
|
||||
|
||||
public class ImportCurrency
|
||||
|
||||
Reference in New Issue
Block a user