Deck list work
This commit is contained in:
@@ -35,4 +35,19 @@ public class DefaultDeck
|
||||
[JsonPropertyName("card_id_array")]
|
||||
[Key("card_id_array")]
|
||||
public List<long> CardIdArray { get; set; } = new();
|
||||
|
||||
/// <summary>0/1. Client reads via GetJsonBool(default true) in DeckData.Initialize. Prod always sends 1 for the 8 starter decks.</summary>
|
||||
[JsonPropertyName("is_complete_deck")]
|
||||
[Key("is_complete_deck")]
|
||||
public int IsCompleteDeck { get; set; } = 1;
|
||||
|
||||
/// <summary>0/1. Read by downstream deck-edit UI (not by DeckData.Initialize itself). Prod always sends 1.</summary>
|
||||
[JsonPropertyName("is_available_deck")]
|
||||
[Key("is_available_deck")]
|
||||
public int IsAvailableDeck { get; set; } = 1;
|
||||
|
||||
/// <summary>Card ids currently under maintenance (disabled). Empty for the 8 starter decks in prod.</summary>
|
||||
[JsonPropertyName("maintenance_card_ids")]
|
||||
[Key("maintenance_card_ids")]
|
||||
public List<long> MaintenanceCardIds { get; set; } = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user