Exemple #1
0
 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;
 }
Exemple #2
0
 public void CopyCustom(ChaFileCustom _custom)
 {
     this.SetCustomBytes(ChaFile.GetCustomBytes(_custom), ChaFileDefine.ChaFileCustomVersion);
 }
Exemple #3
0
 public static byte[] GetCustomBytes(ChaFileCustom _custom)
 {
     return(_custom.SaveBytes());
 }