コード例 #1
0
 public void ResetBattleInfos()
 {
     TRexImmortal   = false;
     isDead         = true;
     weaponClass    = ClassTypeEnum.Unknown;
     lastDie        = new DateTime();
     C4First        = new DateTime();
     C4FTime        = 0;
     position       = new Half3();
     life           = 100;
     maxLife        = 100;
     plantDuration  = Settings.PlantDuration;
     defuseDuration = Settings.DefuseDuration;
 }
コード例 #2
0
 protected internal void WriteTVector(Half3 half)
 {
     WriteT(half.X);
     WriteT(half.Y);
     WriteT(half.Z);
 }
コード例 #3
0
 protected internal void WriteHVector(Half3 half)
 {
     WriteH(half.X.RawValue);
     WriteH(half.Y.RawValue);
     WriteH(half.Z.RawValue);
 }