public override void Serialize(IDataWriter writer) { writer.WriteShort((short)((int)this.fighters.Length)); GameFightFighterInformations[] gameFightFighterInformationsArray = this.fighters; for (int i = 0; i < (int)gameFightFighterInformationsArray.Length; i++) { GameFightFighterInformations gameFightFighterInformation = gameFightFighterInformationsArray[i]; writer.WriteShort(gameFightFighterInformation.TypeId); gameFightFighterInformation.Serialize(writer); } }
public override void Serialize(IDataWriter writer) { writer.WriteShort(((short)(m_fighters.Count))); int fightersIndex; for (fightersIndex = 0; (fightersIndex < m_fighters.Count); fightersIndex = (fightersIndex + 1)) { GameFightFighterInformations objectToSend = m_fighters[fightersIndex]; writer.WriteUShort(((ushort)(objectToSend.TypeID))); objectToSend.Serialize(writer); } }
public override void Serialize(ICustomDataOutput writer) { base.Serialize(writer); writer.WriteShort(((short)(m_summons.Count))); int summonsIndex; for (summonsIndex = 0; (summonsIndex < m_summons.Count); summonsIndex = (summonsIndex + 1)) { GameFightFighterInformations objectToSend = m_summons[summonsIndex]; writer.WriteUShort(((ushort)(objectToSend.TypeID))); objectToSend.Serialize(writer); } }
public override void Serialize(ICustomDataOutput writer) { writer.WriteUShort(((ushort)(m_informations.TypeID))); m_informations.Serialize(writer); }
public override void Serialize(IDataWriter writer) { writer.WriteShort(informations.TypeId); informations.Serialize(writer); }
public override void Serialize(IDataWriter writer) { base.Serialize(writer); writer.WriteShort(summon.TypeId); summon.Serialize(writer); }
public override void Serialize(ICustomDataOutput writer) { writer.WriteShort(Informations.TypeId); Informations.Serialize(writer); }