Exemplo n.º 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);
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 5
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeInt("CurrentWeaponIndex", this.CurrentWeaponIndex);
     if (stream.DeepSerialize)
     {
         stream.SerializeArray("Weapons", this.Weapons);
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 10
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeFloat("TimeLimit", this.TimeLimit);
     stream.SerializeInt("Score", this.Score);
 }
Exemplo n.º 11
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);
 }
 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);;
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);;
 }
Exemplo n.º 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);;
 }
Exemplo n.º 20
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeVector3("Position", this.Position);
     stream.SerializeInt("Health", this.Health);
 }
Exemplo n.º 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);;
 }
Exemplo n.º 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);
 }