Exemplo n.º 1
0
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     FighterMovementInformations = new CharacterMinimalPlusLookAndGradeInformations();
     FighterMovementInformations.Deserialize(reader);
     InMain = reader.ReadBoolean();
 }
Exemplo n.º 2
0
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     var limit = reader.ReadUShort();
     CharactersDescription = new CharacterMinimalPlusLookAndGradeInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         CharactersDescription[i] = new CharacterMinimalPlusLookAndGradeInformations();
         CharactersDescription[i].Deserialize(reader);
     }
 }
Exemplo n.º 3
0
 public PrismFightAttackerAddMessage(double fightId, CharacterMinimalPlusLookAndGradeInformations[] charactersDescription)
 {
     FightId = fightId;
     CharactersDescription = charactersDescription;
 }
 public PrismFightDefendersStateMessage(double fightId, CharacterMinimalPlusLookAndGradeInformations[] mainFighters, CharacterMinimalPlusLookAndGradeInformations[] reserveFighters)
 {
     FightId = fightId;
     MainFighters = mainFighters;
     ReserveFighters = reserveFighters;
 }
Exemplo n.º 5
0
 public PrismFightDefenderAddMessage(double fightId, CharacterMinimalPlusLookAndGradeInformations fighterMovementInformations, bool inMain)
 {
     FightId = fightId;
     FighterMovementInformations = fighterMovementInformations;
     InMain = inMain;
 }