public ChaFile() { this.custom = new ChaFileCustom(); this.coordinate = new ChaFileCoordinate(); this.parameter = new ChaFileParameter(); this.gameinfo = new ChaFileGameInfo(); this.status = new ChaFileStatus(); this.lastLoadErrorCode = 0; }
public void CopyCustom(ChaFileCustom _custom) { this.SetCustomBytes(ChaFile.GetCustomBytes(_custom), ChaFileDefine.ChaFileCustomVersion); }
public static byte[] GetCustomBytes(ChaFileCustom _custom) { return(_custom.SaveBytes()); }