public override void Deserialize(ICustomDataInput reader) { m_waitingForHelpInfo = new ProtectedEntityWaitingForHelpInfo(); m_waitingForHelpInfo.Deserialize(reader); int allyCharactersInformationsCount = reader.ReadUShort(); int allyCharactersInformationsIndex; m_allyCharactersInformations = new System.Collections.Generic.List <CharacterMinimalPlusLookInformations>(); for (allyCharactersInformationsIndex = 0; (allyCharactersInformationsIndex < allyCharactersInformationsCount); allyCharactersInformationsIndex = (allyCharactersInformationsIndex + 1)) { CharacterMinimalPlusLookInformations objectToAdd = ProtocolTypeManager.GetInstance <CharacterMinimalPlusLookInformations>((short)reader.ReadUShort()); objectToAdd.Deserialize(reader); m_allyCharactersInformations.Add(objectToAdd); } int enemyCharactersInformationsCount = reader.ReadUShort(); int enemyCharactersInformationsIndex; m_enemyCharactersInformations = new System.Collections.Generic.List <CharacterMinimalPlusLookInformations>(); for (enemyCharactersInformationsIndex = 0; (enemyCharactersInformationsIndex < enemyCharactersInformationsCount); enemyCharactersInformationsIndex = (enemyCharactersInformationsIndex + 1)) { CharacterMinimalPlusLookInformations objectToAdd = ProtocolTypeManager.GetInstance <CharacterMinimalPlusLookInformations>((short)reader.ReadUShort()); objectToAdd.Deserialize(reader); m_enemyCharactersInformations.Add(objectToAdd); } m_subAreaId = reader.ReadVarUhShort(); }
public void Deserialize(IDataReader reader) { SubAreaId = (UInt16)reader.ReadVarShort(); FightId = (UInt16)reader.ReadVarShort(); Defender = new CharacterMinimalPlusLookInformations(); Defender.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { m_attacker = ProtocolTypeManager.GetInstance <CharacterMinimalPlusLookInformations>((short)reader.ReadUShort()); m_attacker.Deserialize(reader); m_subAreaId = reader.ReadVarUhShort(); m_fightId = reader.ReadVarUhShort(); }
public override void Deserialize(IDataReader reader) { m_defender = ProtocolManager.GetTypeInstance <CharacterMinimalPlusLookInformations>(reader.ReadUShort()); m_defender.Deserialize(reader); m_subAreaId = reader.ReadVarUhShort(); m_fightId = reader.ReadVarUhShort(); }
public override void Deserialize(IDataReader reader) { SubAreaId = reader.ReadVarUhShort(); FightId = reader.ReadVarUhShort(); Attacker = ProtocolTypeManager.GetInstance <CharacterMinimalPlusLookInformations>(reader.ReadUShort()); Attacker.Deserialize(reader); }
public override void Deserialize(IDataReader reader) { SubAreaId = reader.ReadVarUhShort(); FightId = reader.ReadVarUhShort(); Attacker = ProtocolTypeManager.GetInstance(reader.ReadUShort()); Attacker.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { SubAreaId = reader.ReadVarShort(); FightId = reader.ReadVarShort(); var attackerTypeId = reader.ReadShort(); Attacker = new CharacterMinimalPlusLookInformations(); Attacker.Deserialize(reader); }
public override void Deserialize(IDataReader reader) { fightId = reader.ReadDouble(); if (fightId < 0) { throw new Exception("Forbidden value on fightId = " + fightId + ", it doesn't respect the following condition : fightId < 0"); } playerInfo = new CharacterMinimalPlusLookInformations(); playerInfo.Deserialize(reader); }
public override void Deserialize(IDataReader reader) { FightId = reader.ReadInt(); var playerInfoCount = reader.ReadUShort(); PlayerInfo = new List <CharacterMinimalPlusLookInformations>(); for (var playerInfoIndex = 0; playerInfoIndex < playerInfoCount; playerInfoIndex++) { var objectToAdd = new CharacterMinimalPlusLookInformations(); objectToAdd.Deserialize(reader); PlayerInfo.Add(objectToAdd); } }
public override void Deserialize(IDataReader reader) { FightId = reader.ReadDouble(); var PlayerInfoCount = reader.ReadShort(); PlayerInfo = new List <CharacterMinimalPlusLookInformations>(); for (var i = 0; i < PlayerInfoCount; i++) { var objectToAdd = new CharacterMinimalPlusLookInformations(); objectToAdd.Deserialize(reader); PlayerInfo.Add(objectToAdd); } }
public override void Deserialize(ICustomDataInput reader) { FightId = reader.ReadDouble(); var countPlayerInfo = reader.ReadShort(); PlayerInfo = new List <CharacterMinimalPlusLookInformations>(); for (short i = 0; i < countPlayerInfo; i++) { CharacterMinimalPlusLookInformations type = new CharacterMinimalPlusLookInformations(); type.Deserialize(reader); PlayerInfo.Add(type); } }
public override void Deserialize(IDataReader reader) { int playerInfoCount = reader.ReadUShort(); int playerInfoIndex; m_playerInfo = new System.Collections.Generic.List <CharacterMinimalPlusLookInformations>(); for (playerInfoIndex = 0; (playerInfoIndex < playerInfoCount); playerInfoIndex = (playerInfoIndex + 1)) { CharacterMinimalPlusLookInformations objectToAdd = new CharacterMinimalPlusLookInformations(); objectToAdd.Deserialize(reader); m_playerInfo.Add(objectToAdd); } m_fightId = reader.ReadInt(); }
public override void Deserialize(IDataReader reader) { subAreaId = reader.ReadVarShort(); if (subAreaId < 0) { throw new Exception("Forbidden value on subAreaId = " + subAreaId + ", it doesn't respect the following condition : subAreaId < 0"); } fightId = reader.ReadVarShort(); if (fightId < 0) { throw new Exception("Forbidden value on fightId = " + fightId + ", it doesn't respect the following condition : fightId < 0"); } defender = Types.ProtocolTypeManager.GetInstance <CharacterMinimalPlusLookInformations>(reader.ReadShort()); defender.Deserialize(reader); }
public override void Deserialize(IDataReader reader) { this.fightId = reader.ReadDouble(); if (this.fightId < 0.0 || this.fightId > 9.00719925474099E+15) { throw new Exception("Forbidden value (" + (object)this.fightId + ") on element of GuildFightPlayersEnemiesListMessage.fightId."); } uint num = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num; ++index) { CharacterMinimalPlusLookInformations lookInformations = new CharacterMinimalPlusLookInformations(); lookInformations.Deserialize(reader); this.playerInfo.Add(lookInformations); } }
public override void Deserialize(IDataReader reader) { int allyCharactersInformationsCount = reader.ReadUShort(); int allyCharactersInformationsIndex; m_allyCharactersInformations = new System.Collections.Generic.List <CharacterMinimalPlusLookInformations>(); for (allyCharactersInformationsIndex = 0; (allyCharactersInformationsIndex < allyCharactersInformationsCount); allyCharactersInformationsIndex = (allyCharactersInformationsIndex + 1)) { CharacterMinimalPlusLookInformations objectToAdd = ProtocolTypeManager.GetInstance <CharacterMinimalPlusLookInformations>(reader.ReadUShort()); objectToAdd.Deserialize(reader); m_allyCharactersInformations.Add(objectToAdd); } int enemyCharactersInformationsCount = reader.ReadUShort(); int enemyCharactersInformationsIndex; m_enemyCharactersInformations = new System.Collections.Generic.List <CharacterMinimalPlusLookInformations>(); for (enemyCharactersInformationsIndex = 0; (enemyCharactersInformationsIndex < enemyCharactersInformationsCount); enemyCharactersInformationsIndex = (enemyCharactersInformationsIndex + 1)) { CharacterMinimalPlusLookInformations objectToAdd = ProtocolTypeManager.GetInstance <CharacterMinimalPlusLookInformations>(reader.ReadUShort()); objectToAdd.Deserialize(reader); m_enemyCharactersInformations.Add(objectToAdd); } m_collectorId = reader.ReadInt(); }
public override void Deserialize(ICustomDataInput reader) { FightId = reader.ReadDouble(); PlayerInfo = new CharacterMinimalPlusLookInformations(); PlayerInfo.Deserialize(reader); }
public override void Deserialize(IDataReader reader) { m_playerInfo = new CharacterMinimalPlusLookInformations(); m_playerInfo.Deserialize(reader); m_fightId = reader.ReadInt(); }
public void Deserialize(IDataReader reader) { FightId = reader.ReadDouble(); PlayerInfo = new CharacterMinimalPlusLookInformations(); PlayerInfo.Deserialize(reader); }