using System.Collections.Generic; using AppleHills.Data.CardSystem; namespace Data.CardSystem { /// /// Serializable snapshot of the card collection state for save/load operations. /// [System.Serializable] public class CardCollectionState { public int boosterPackCount; public List cards = new List(); } /// /// Serializable representation of a single card's saved data. /// [System.Serializable] public class SavedCardEntry { public string definitionId; public CardRarity rarity; public int copiesOwned; } }