public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeBool("IsAmazing", this.IsAmazing);
     stream.SerializeString("TheStateMachine", this.TheStateMachine.Name);;
     stream.SerializeVector3("SomeUnityType", this.SomeUnityType);
 }
Exemplo n.º 2
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.º 3
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.º 4
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     if (stream.DeepSerialize)
     {
         stream.SerializeObject("CanvasRoot", this.CanvasRoot);
     }
     ;
     stream.SerializeString("UIFlowStatus", this.UIFlowStatus.Name);;
 }
Exemplo n.º 5
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.º 6
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     if (stream.DeepSerialize)
     {
         stream.SerializeObject("Player", this.Player);
     }
     stream.SerializeVector3("SpawnPoint", this.SpawnPoint);
     stream.SerializeBool("GameOver", this.GameOver);
     stream.SerializeString("NotificationText", this.NotificationText);
     if (stream.DeepSerialize)
     {
         stream.SerializeArray("Asteroids", this.Asteroids);
     }
 }
Exemplo n.º 7
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.º 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 virtual void Write(ISerializerStream stream)
 {
     stream.SerializeString("Identifier", Identifier);
 }
Exemplo n.º 11
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.º 12
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.º 13
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.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.SerializeBool("IsAmazing", this.IsAmazing);
     stream.SerializeString("TheStateMachine", this.TheStateMachine.Name);;
     stream.SerializeVector3("SomeUnityType", this.SomeUnityType);
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     if (stream.DeepSerialize) stream.SerializeObject("Player", this.Player);
     stream.SerializeString("GameFlowState", this.GameFlowState.Name);;
     if (stream.DeepSerialize) stream.SerializeArray("Coins", this.Coins);
 }
 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);
 }
Exemplo n.º 18
0
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeFloat("Modifier", this.Modifier);
     stream.SerializeString("Description", this.Description);
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     stream.SerializeFloat("Modifier", this.Modifier);
     stream.SerializeString("Description", this.Description);
 }
 public override void Write(ISerializerStream stream)
 {
     base.Write(stream);
     if (stream.DeepSerialize) stream.SerializeObject("Player", this.Player);
     stream.SerializeVector3("SpawnPoint", this.SpawnPoint);
     stream.SerializeBool("GameOver", this.GameOver);
     stream.SerializeString("NotificationText", this.NotificationText);
     if (stream.DeepSerialize) stream.SerializeArray("Asteroids", this.Asteroids);
 }
Exemplo n.º 21
0
 public virtual void Write(ISerializerStream stream)
 {
     //ViewModelObject.Write(stream);
     stream.SerializeString("Identifier", this.Identifier);
     stream.SerializeString("ViewType", this.GetType().FullName);
 }
 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);
 }