public byte[] ToByteArray() { byte[] data = new byte[StructSize]; DataIO.WriteObject(this, data); return(data); }
public byte[] ToByteArray() { byte[] data = new byte[StructSize]; DataIO.WriteObject(this, data); spellList.Save(data, 0x1e); for (int i = 0; i < 3; i++) { for (int j = 0; j < 5; j++) { data[0x12d + j + (i * i)] = spellCastCount[i, j]; } } return(data); }
public byte[] ToByteArray() { byte[] data = new byte[0x800]; DataIO.WriteObject(this, data); return(data); }
public byte[] ToByteArray() { DataIO.WriteObject(this, origData); return((byte[])origData.Clone()); }