Exemplo n.º 1
0
        internal PapAnimation(PapFile file, byte[] buffer, ref int offset) {
            Parent = file;
            Name = buffer.ReadString(offset);

            offset += 0x20;
            Unknown20 = BitConverter.ToInt16(buffer, offset);

            offset += 0x02;
            Index = BitConverter.ToInt32(buffer, offset);

            offset += 0x04;
            Unknown26 = BitConverter.ToInt16(buffer, offset);

            offset += 0x02;
        }
Exemplo n.º 2
0
        internal PapAnimation(PapFile file, byte[] buffer, ref int offset)
        {
            Parent = file;
            Name   = buffer.ReadString(offset);

            offset   += 0x20;
            Unknown20 = BitConverter.ToInt16(buffer, offset);

            offset += 0x02;
            Index   = BitConverter.ToInt32(buffer, offset);

            offset   += 0x04;
            Unknown26 = BitConverter.ToInt16(buffer, offset);

            offset += 0x02;
        }