public Area1(byte[] data, int offset) { constructorInit(); DataIO.ReadObject(this, data, offset); System.Array.Copy(data, offset, origData, 0, Area1Size); }
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)]; } } }
public void Clear() { System.Array.Clear(origData, 0, Area2Size); DataIO.ReadObject(this, origData, 0); }
public Area2(byte[] data, int offset) { DataIO.ReadObject(this, data, offset); System.Array.Copy(data, offset, origData, 0, Area2Size); }