Ejemplo n.º 1
0
        public Area1(byte[] data, int offset)
        {
            constructorInit();

            DataIO.ReadObject(this, data, offset);

            System.Array.Copy(data, offset, origData, 0, Area1Size);
        }
Ejemplo n.º 2
0
        public Player(byte[] data, int offset)
        {
            Init();

            DataIO.ReadObject(this, data, offset);

            spellList.Load(data, offset + 0x1e);

            for (int i = 0; i < 3; i++)
            {
                for (int j = 0; j < 5; j++)
                {
                    spellCastCount[i, j] = data[0x12d + j + (i * i)];
                }
            }
        }
Ejemplo n.º 3
0
        public void Clear()
        {
            System.Array.Clear(origData, 0, Area2Size);

            DataIO.ReadObject(this, origData, 0);
        }
Ejemplo n.º 4
0
        public Area2(byte[] data, int offset)
        {
            DataIO.ReadObject(this, data, offset);

            System.Array.Copy(data, offset, origData, 0, Area2Size);
        }