Example #1
0
 public GameFightResumeMessage(FightDispellableEffectExtendedInformations[] effects, GameActionMark[] marks, short gameTurn, GameFightSpellCooldown[] spellCooldowns, sbyte summonCount, sbyte bombCount)
     : base(effects, marks, gameTurn)
 {
     SpellCooldowns = spellCooldowns;
     SummonCount = summonCount;
     BombCount = bombCount;
 }
 public GameFightResumeSlaveInfo(int slaveId, GameFightSpellCooldown[] spellCooldowns, sbyte summonCount, sbyte bombCount)
 {
     SlaveId = slaveId;
     SpellCooldowns = spellCooldowns;
     SummonCount = summonCount;
     BombCount = bombCount;
 }
Example #3
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     var limit = reader.ReadUShort();
     SpellCooldowns = new GameFightSpellCooldown[limit];
     for (int i = 0; i < limit; i++)
     {
         SpellCooldowns[i] = new GameFightSpellCooldown();
         SpellCooldowns[i].Deserialize(reader);
     }
     SummonCount = reader.ReadSByte();
     BombCount = reader.ReadSByte();
 }
 public GameFightResumeWithSlavesMessage(FightDispellableEffectExtendedInformations[] effects, GameActionMark[] marks, short gameTurn, GameFightSpellCooldown[] spellCooldowns, sbyte summonCount, sbyte bombCount, GameFightResumeSlaveInfo[] slavesInfo)
     : base(effects, marks, gameTurn, spellCooldowns, summonCount, bombCount)
 {
     SlavesInfo = slavesInfo;
 }