public override void Deserialize(BigEndianReader reader) { FightId = reader.ReadDouble(); var limit = reader.ReadUShort(); PlayerInfo = new CharacterMinimalPlusLookInformations[limit]; for (int i = 0; i < limit; i++) { PlayerInfo[i] = new CharacterMinimalPlusLookInformations(); PlayerInfo[i].Deserialize(reader); } }
public virtual void Deserialize(BigEndianReader reader) { CollectorId = reader.ReadInt(); var limit = reader.ReadUShort(); AllyCharactersInformations = new CharacterMinimalPlusLookInformations[limit]; for (int i = 0; i < limit; i++) { AllyCharactersInformations[i] = new CharacterMinimalPlusLookInformations(); AllyCharactersInformations[i].Deserialize(reader); } limit = reader.ReadUShort(); EnemyCharactersInformations = new CharacterMinimalPlusLookInformations[limit]; for (int i = 0; i < limit; i++) { EnemyCharactersInformations[i] = new CharacterMinimalPlusLookInformations(); EnemyCharactersInformations[i].Deserialize(reader); } }
public GuildFightPlayersEnemiesListMessage(double fightId, CharacterMinimalPlusLookInformations[] playerInfo) { FightId = fightId; PlayerInfo = playerInfo; }
public override void Deserialize(BigEndianReader reader) { FightId = reader.ReadDouble(); PlayerInfo = new CharacterMinimalPlusLookInformations(); PlayerInfo.Deserialize(reader); }
public GuildFightPlayersHelpersJoinMessage(double fightId, CharacterMinimalPlusLookInformations playerInfo) { FightId = fightId; PlayerInfo = playerInfo; }
public TaxCollectorFightersInformation(int collectorId, CharacterMinimalPlusLookInformations[] allyCharactersInformations, CharacterMinimalPlusLookInformations[] enemyCharactersInformations) { CollectorId = collectorId; AllyCharactersInformations = allyCharactersInformations; EnemyCharactersInformations = enemyCharactersInformations; }