示例#1
0
        public PokemonBoxSaveData(PokemonBoxGameSave gameSave, byte[] data)
        {
            this.raw          = data;
            this.gameSave     = gameSave;
            this.pokePC       = new BoxPokePC(gameSave);
            this.blocks       = new List <PokemonBoxBlockData>();
            this.sortedBlocks = new List <PokemonBoxBlockData>();

            LoadActualData();

            this.pokePC.Load(ByteHelper.SubByteArray(4, this.actualData, 4 + 1500 * 84 + 250));
        }
        public PokemonBoxSaveData(PokemonBoxGameSave gameSave, byte[] data)
        {
            this.raw = data;
            this.gameSave = gameSave;
            this.pokePC = new BoxPokePC(gameSave);
            this.blocks = new List<PokemonBoxBlockData>();
            this.sortedBlocks = new List<PokemonBoxBlockData>();

            LoadActualData();

            this.pokePC.Load(ByteHelper.SubByteArray(4, this.actualData, 4 + 1500 * 84 + 250));
        }