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