示例#1
0
文件: SAV4.cs 项目: tkfltkgk/PKHeX
        public override string getBoxName(int box)
        {
            int offset = getBoxOffset(BoxCount);

            if (Version == GameVersion.HGSS)
            {
                offset += 0x8;
            }
            return(PKX.array2strG4(getData(offset + box * 0x28, 0x28)));
        }
示例#2
0
        public override string getBoxName(int box)
        {
            int offset = getBoxOffset(BoxCount);

            if (Version == GameVersion.HGSS)
            {
                offset += 0x8;
            }
            return(PKX.array2strG4(Data.Skip(offset + box * 0x28).Take(0x28).ToArray()));
        }