namespace PKHeX.Core; /// /// Structure containing the Mystery Gift Data /// public class MysteryGiftAlbum { /// /// Mystery Gift data received /// public readonly DataMysteryGift[] Gifts; /// /// Received Flag list /// /// /// this[index] == true iff index= has been received already. /// public readonly bool[] Flags; public MysteryGiftAlbum(DataMysteryGift[] gifts, bool[] flags) { Flags = flags; Gifts = gifts; } } public sealed class EncryptedMysteryGiftAlbum : MysteryGiftAlbum { /// /// Encryption Seed (only used in Generation 5 to encrypt the stored data) /// public readonly uint Seed; public EncryptedMysteryGiftAlbum(DataMysteryGift[] gifts, bool[] flags, uint seed) : base(gifts, flags) => Seed = seed; }