예제 #1
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeString("WavesState", this.WavesState.Name);;
     stream.SerializeInt("WaveKills", this.WaveKills);
     stream.SerializeInt("KillsToNextWave", this.KillsToNextWave);
     stream.SerializeInt("CurrentWave", this.CurrentWave);
     stream.SerializeInt("SpawnWaitSeconds", this.SpawnWaitSeconds);
     stream.SerializeInt("EnemiesSpawned", this.EnemiesSpawned);
 }
예제 #2
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     if (stream.DeepSerialize)
     {
         stream.SerializeObject("CurrentPlayer", this.CurrentPlayer);
     }
     stream.SerializeInt("Score", this.Score);
     stream.SerializeInt("Kills", this.Kills);
     stream.SerializeString("String1", this.String1);
     if (stream.DeepSerialize)
     {
         stream.SerializeArray("Enemies", this.Enemies);
     }
 }
예제 #3
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("Point", this.Point);
     stream.SerializeFloat("AddTime", this.AddTime);
     stream.SerializeFloat("Expire", this.Expire);
 }
예제 #4
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("ActerId", this.ActerId);
     stream.SerializeBool("Ready", this.Ready);
     stream.SerializeBool("IsLocal", this.IsLocal);
 }
예제 #5
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("CurrentWeaponIndex", this.CurrentWeaponIndex);
     if (stream.DeepSerialize)
     {
         stream.SerializeArray("Weapons", this.Weapons);
     }
 }
예제 #6
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("State", (int)this.State);;
     if (stream.DeepSerialize)
     {
         stream.SerializeObject("TodoItem", this.TodoItem);
     }
     ;
     stream.SerializeString("OriginContent", this.OriginContent);
 }
예제 #7
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeBool("IsMoving", this.IsMoving);
     stream.SerializeString("MovementStateMachine", this.MovementStateMachine.Name);;
     stream.SerializeBool("FiringCommand", this.FiringCommand);
     stream.SerializeString("FireStateMachine", this.FireStateMachine.Name);;
     stream.SerializeBool("FireTimeOutElapsed", this.FireTimeOutElapsed);
     stream.SerializeBool("ShouldFire", this.ShouldFire);
     stream.SerializeInt("AsteroidsDestroyed", this.AsteroidsDestroyed);
     if (stream.DeepSerialize)
     {
         stream.SerializeObject("Weapon", this.Weapon);
     }
     stream.SerializeBool("IsAlive", this.IsAlive);
     stream.SerializeFloat("MovementSpeed", this.MovementSpeed);
 }
예제 #8
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("ZoomIndex", this.ZoomIndex);
     stream.SerializeInt("MaxZooms", this.MaxZooms);
     stream.SerializeInt("WeaponType", (int)this.WeaponType);
     stream.SerializeFloat("ReloadTime", this.ReloadTime);
     stream.SerializeInt("RoundSize", this.RoundSize);
     stream.SerializeInt("MinSpread", this.MinSpread);
     stream.SerializeInt("BurstSize", this.BurstSize);
     stream.SerializeFloat("RecoilSpeed", this.RecoilSpeed);
     stream.SerializeFloat("FireSpeed", this.FireSpeed);
     stream.SerializeFloat("BurstSpeed", this.BurstSpeed);
     stream.SerializeFloat("SpreadMultiplier", this.SpreadMultiplier);
     stream.SerializeString("State", this.State.Name);;
     stream.SerializeInt("Ammo", this.Ammo);
 }
예제 #9
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeString("TodoContent", this.TodoContent);
     stream.SerializeInt("PageType", (int)this.PageType);;
     if (stream.DeepSerialize)
     {
         stream.SerializeObject("TodoEditor", this.TodoEditor);
     }
     ;
     if (stream.DeepSerialize)
     {
         stream.SerializeObject("EventMask", this.EventMask);
     }
     ;
     if (stream.DeepSerialize)
     {
         stream.SerializeArray("TodoItems", this.TodoItems);
     }
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeFloat("TimeLimit", this.TimeLimit);
     stream.SerializeInt("Score", this.Score);
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("Point", this.Point);
     stream.SerializeFloat("AddTime", this.AddTime);
     stream.SerializeFloat("Expire", this.Expire);
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("MovementIntention", (int)this.MovementIntention);
     stream.SerializeString("MovementState", this.MovementState.Name);;
     stream.SerializeInt("JumpIntention", (int)this.JumpIntention);
     stream.SerializeString("JumpState", this.JumpState.Name);;
     stream.SerializeBool("IsOnTheGround", this.IsOnTheGround);
     stream.SerializeBool("JumpLocked", this.JumpLocked);
     stream.SerializeInt("JumpsPerformed", this.JumpsPerformed);
     stream.SerializeInt("CoinsCollected", this.CoinsCollected);
     stream.SerializeBool("IsAlive", this.IsAlive);
     stream.SerializeBool("IsInvulnarable", this.IsInvulnarable);
     stream.SerializeInt("Lives", this.Lives);
 }
 public override void Write(ISerializerStream stream) {
     base.Write(stream);
     stream.SerializeInt("AuthorizationState", (int)this.AuthorizationState);;
 }
예제 #14
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeString("InGameState", this.InGameState.Name);;
     stream.SerializeInt("IdleAnimalsCount", this.IdleAnimalsCount);
     stream.SerializeInt("NullAnimalsCount", this.NullAnimalsCount);
     stream.SerializeBool("IsDropping", this.IsDropping);
     if (stream.DeepSerialize) stream.SerializeArray("AnimalCollections", this.AnimalCollections);
 }
예제 #15
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("AuthorizationState", (int)this.AuthorizationState);;
     stream.SerializeString("Username", this.Username);
 }
 public override void Write(ISerializerStream stream) {
     base.Write(stream);
     stream.SerializeFloat("Health", this.Health);
     stream.SerializeFloat("Max_Health", this.Max_Health);
     stream.SerializeInt("AttackSpeed", this.AttackSpeed);
     stream.SerializeInt("Movement", (int)this.Movement);;
     stream.SerializeInt("Power", this.Power);
     stream.SerializeBool("isAttack", this.isAttack);
     stream.SerializeInt("Action", (int)this.Action);;
     stream.SerializeInt("MAXROUNDS", this.MAXROUNDS);
     stream.SerializeFloat("Physique", this.Physique);
     stream.SerializeInt("HitPoint", this.HitPoint);
     stream.SerializeInt("WeaponProficieny", this.WeaponProficieny);
     stream.SerializeFloat("Dodge", this.Dodge);
     stream.SerializeFloat("Hurt", this.Hurt);
     stream.SerializeFloat("Dead", this.Dead);
     stream.SerializeInt("InitialMorale", this.InitialMorale);
     stream.SerializeInt("Prestige", this.Prestige);
     stream.SerializeBool("DEBUG", this.DEBUG);
     stream.SerializeInt("counter", this.counter);
     stream.SerializeInt("Counter", this.Counter);
     stream.SerializeInt("UpdatePerRound", this.UpdatePerRound);
     stream.SerializeInt("ElementsPerSecond", this.ElementsPerSecond);
     stream.SerializeInt("WarTimeLimitInSecond", this.WarTimeLimitInSecond);
     stream.SerializeFloat("starttime", this.starttime);
     stream.SerializeBool("TimeStarted", this.TimeStarted);
     stream.SerializeInt("WeaponProficiency", this.WeaponProficiency);
     stream.SerializeInt("moraleStandard", this.moraleStandard);
     if (stream.DeepSerialize) stream.SerializeObject("Opponent", this.Opponent);;
     stream.SerializeInt("BattleState", (int)this.BattleState);;
     stream.SerializeInt("Career", (int)this.Career);;
     stream.SerializeBool("Moving", this.Moving);
     stream.SerializeInt("Sense", (int)this.Sense);;
 }
예제 #17
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("PageMode", (int)this.PageMode);;
 }
 public override void Write(ISerializerStream stream) {
     base.Write(stream);
     stream.SerializeInt("GameState", (int)this.GameState);;
     stream.SerializeString("HexGridMatching", this.HexGridMatching);
     stream.SerializeInt("SoldierCount", this.SoldierCount);
     stream.SerializeInt("EnemyCount", this.EnemyCount);
     if (stream.DeepSerialize) stream.SerializeArray("Soldier", this.Soldier);
     if (stream.DeepSerialize) stream.SerializeArray("Enemy", this.Enemy);
     if (stream.DeepSerialize) stream.SerializeArray("Memebers", this.Memebers);
 }
 public override void Write(ISerializerStream stream) {
     base.Write(stream);
     stream.SerializeInt("SoldierState", (int)this.SoldierState);;
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeVector3("Position", this.Position);
     stream.SerializeInt("Health", this.Health);
 }
예제 #21
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("AnimalType", (int)this.AnimalType);;
     stream.SerializeInt("SameCount", this.SameCount);
     stream.SerializeBool("needDestroy", this.needDestroy);
     stream.SerializeString("AnimalState", this.AnimalState.Name);;
 }
예제 #22
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeFloat("TimeLimit", this.TimeLimit);
     stream.SerializeInt("Score", this.Score);
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeBool("IsMoving", this.IsMoving);
     stream.SerializeString("MovementStateMachine", this.MovementStateMachine.Name);;
     stream.SerializeBool("FiringCommand", this.FiringCommand);
     stream.SerializeString("FireStateMachine", this.FireStateMachine.Name);;
     stream.SerializeBool("FireTimeOutElapsed", this.FireTimeOutElapsed);
     stream.SerializeBool("ShouldFire", this.ShouldFire);
     stream.SerializeInt("AsteroidsDestroyed", this.AsteroidsDestroyed);
     if (stream.DeepSerialize) stream.SerializeObject("Weapon", this.Weapon);
     stream.SerializeBool("IsAlive", this.IsAlive);
     stream.SerializeFloat("MovementSpeed", this.MovementSpeed);
 }