public override void Deserialize(BigEndianReader reader) { base.Deserialize(reader); var limit = reader.ReadUShort(); SlavesInfo = new GameFightResumeSlaveInfo[limit]; for (int i = 0; i < limit; i++) { SlavesInfo[i] = new GameFightResumeSlaveInfo(); SlavesInfo[i].Deserialize(reader); } }
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; }