public override void Deserialize(ICustomDataInput reader) { alignmentRank = reader.ReadSByte(); if (alignmentRank < 0) throw new Exception("Forbidden value on alignmentRank = " + alignmentRank + ", it doesn't respect the following condition : alignmentRank < 0"); verbose = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); monsterFamilyId = reader.ReadVarUhShort(); if (monsterFamilyId < 0) throw new Exception("Forbidden value on monsterFamilyId = " + monsterFamilyId + ", it doesn't respect the following condition : monsterFamilyId < 0"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); cells = reader.ReadVarUhShort(); if ((cells < 0) || (cells > 559)) throw new Exception("Forbidden value on cells = " + cells + ", it doesn't respect the following condition : (cells < 0) || (cells > 559)"); }
public virtual void Deserialize(ICustomDataInput reader) { markAuthorId = reader.ReadInt(); markTeamId = reader.ReadSByte(); if (markTeamId < 0) throw new Exception("Forbidden value on markTeamId = " + markTeamId + ", it doesn't respect the following condition : markTeamId < 0"); markSpellId = reader.ReadInt(); if (markSpellId < 0) throw new Exception("Forbidden value on markSpellId = " + markSpellId + ", it doesn't respect the following condition : markSpellId < 0"); markSpellLevel = reader.ReadSByte(); if ((markSpellLevel < 1) || (markSpellLevel > 6)) throw new Exception("Forbidden value on markSpellLevel = " + markSpellLevel + ", it doesn't respect the following condition : (markSpellLevel < 1) || (markSpellLevel > 6)"); markId = reader.ReadShort(); markType = reader.ReadSByte(); markimpactCell = reader.ReadShort(); if ((markimpactCell < -1) || (markimpactCell > 559)) throw new Exception("Forbidden value on markimpactCell = " + markimpactCell + ", it doesn't respect the following condition : (markimpactCell < -1) || (markimpactCell > 559)"); var limit = reader.ReadUShort(); cells = new Types.GameActionMarkedCell[limit]; for (int i = 0; i < limit; i++) { (cells as Types.GameActionMarkedCell[])[i] = new Types.GameActionMarkedCell(); (cells as Types.GameActionMarkedCell[])[i].Deserialize(reader); } active = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); sourceSpellId = reader.ReadVarUhInt(); if (sourceSpellId < 0) throw new Exception("Forbidden value on sourceSpellId = " + sourceSpellId + ", it doesn't respect the following condition : sourceSpellId < 0"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); creatureGenericId = reader.ReadVarUhShort(); if (creatureGenericId < 0) throw new Exception("Forbidden value on creatureGenericId = " + creatureGenericId + ", it doesn't respect the following condition : creatureGenericId < 0"); }
public override void Deserialize(ICustomDataInput reader) { uid = reader.ReadUTF(); failure = reader.ReadSByte(); if (failure < 0) throw new Exception("Forbidden value on failure = " + failure + ", it doesn't respect the following condition : failure < 0"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); maxPods = reader.ReadVarUhShort(); if (maxPods < 0) throw new Exception("Forbidden value on maxPods = " + maxPods + ", it doesn't respect the following condition : maxPods < 0"); prospecting = reader.ReadVarUhShort(); if (prospecting < 0) throw new Exception("Forbidden value on prospecting = " + prospecting + ", it doesn't respect the following condition : prospecting < 0"); wisdom = reader.ReadVarUhShort(); if (wisdom < 0) throw new Exception("Forbidden value on wisdom = " + wisdom + ", it doesn't respect the following condition : wisdom < 0"); taxCollectorsCount = reader.ReadSByte(); if (taxCollectorsCount < 0) throw new Exception("Forbidden value on taxCollectorsCount = " + taxCollectorsCount + ", it doesn't respect the following condition : taxCollectorsCount < 0"); taxCollectorAttack = reader.ReadInt(); kamas = reader.ReadVarUhInt(); if (kamas < 0) throw new Exception("Forbidden value on kamas = " + kamas + ", it doesn't respect the following condition : kamas < 0"); experience = reader.ReadVarUhLong(); if ((experience < 0) || (experience > 9.007199254740992E15)) throw new Exception("Forbidden value on experience = " + experience + ", it doesn't respect the following condition : (experience < 0) || (experience > 9.007199254740992E15)"); pods = reader.ReadVarUhInt(); if (pods < 0) throw new Exception("Forbidden value on pods = " + pods + ", it doesn't respect the following condition : pods < 0"); itemsValue = reader.ReadVarUhInt(); if (itemsValue < 0) throw new Exception("Forbidden value on itemsValue = " + itemsValue + ", it doesn't respect the following condition : itemsValue < 0"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); rank = reader.ReadVarUhShort(); if ((rank < 0) || (rank > 2300)) throw new Exception("Forbidden value on rank = " + rank + ", it doesn't respect the following condition : (rank < 0) || (rank > 2300)"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); grade = reader.ReadVarUhInt(); if (grade < 0) throw new Exception("Forbidden value on grade = " + grade + ", it doesn't respect the following condition : grade < 0"); }
public virtual void Deserialize(ICustomDataInput reader) { spellId = reader.ReadInt(); cooldown = reader.ReadSByte(); if (cooldown < 0) throw new Exception("Forbidden value on cooldown = " + cooldown + ", it doesn't respect the following condition : cooldown < 0"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); ageBonus = reader.ReadShort(); if ((ageBonus < -1) || (ageBonus > 1000)) throw new Exception("Forbidden value on ageBonus = " + ageBonus + ", it doesn't respect the following condition : (ageBonus < -1) || (ageBonus > 1000)"); }
public virtual void Deserialize(ICustomDataInput reader) { bonesId = reader.ReadVarUhShort(); if (bonesId < 0) throw new Exception("Forbidden value on bonesId = " + bonesId + ", it doesn't respect the following condition : bonesId < 0"); var limit = reader.ReadUShort(); skins = new List<ushort>(); for (int i = 0; i < limit; i++) { skins.Add(reader.ReadVarUhShort()); } limit = reader.ReadUShort(); indexedColors = new List<int>(); for (int i = 0; i < limit; i++) { indexedColors.Add(reader.ReadInt()); } limit = reader.ReadUShort(); scales = new List<short>(); for (int i = 0; i < limit; i++) { scales.Add(reader.ReadVarShort()); } limit = reader.ReadUShort(); subentities = new List<SubEntity>(); for (int i = 0; i < limit; i++) { var subentity = new Types.SubEntity(); subentity.Deserialize(reader); subentities.Add(subentity); } }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); lifePointsGained = reader.ReadVarUhInt(); if (lifePointsGained < 0) throw new Exception("Forbidden value on lifePointsGained = " + lifePointsGained + ", it doesn't respect the following condition : lifePointsGained < 0"); }
public override void Deserialize(ICustomDataInput reader) { var limit = reader.ReadUShort(); finishedQuestsIds = new ushort[limit]; for (int i = 0; i < limit; i++) { (finishedQuestsIds as ushort[])[i] = reader.ReadVarUhShort(); } limit = reader.ReadUShort(); finishedQuestsCounts = new ushort[limit]; for (int i = 0; i < limit; i++) { (finishedQuestsCounts as ushort[])[i] = reader.ReadVarUhShort(); } limit = reader.ReadUShort(); activeQuests = new Types.QuestActiveInformations[limit]; for (int i = 0; i < limit; i++) { (activeQuests as Types.QuestActiveInformations[])[i] = Types.ProtocolTypeManager.GetInstance<Types.QuestActiveInformations>(reader.ReadShort()); (activeQuests as Types.QuestActiveInformations[])[i].Deserialize(reader); } limit = reader.ReadUShort(); reinitDoneQuestsIds = new ushort[limit]; for (int i = 0; i < limit; i++) { (reinitDoneQuestsIds as ushort[])[i] = reader.ReadVarUhShort(); } }
public override void Deserialize(ICustomDataInput reader) { targetId = reader.ReadInt(); cellId = reader.ReadVarUhShort(); if ((cellId < 0) || (cellId > 559)) throw new Exception("Forbidden value on cellId = " + cellId + ", it doesn't respect the following condition : (cellId < 0) || (cellId > 559)"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); boostUID = reader.ReadInt(); if (boostUID < 0) throw new Exception("Forbidden value on boostUID = " + boostUID + ", it doesn't respect the following condition : boostUID < 0"); }
public override void Deserialize(ICustomDataInput reader) { enable = reader.ReadBoolean(); rights = reader.ReadVarUhInt(); if (rights < 0) throw new Exception("Forbidden value on rights = " + rights + ", it doesn't respect the following condition : rights < 0"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); value = reader.ReadDouble(); if ((value < -9.007199254740992E15) || (value > 9.007199254740992E15)) throw new Exception("Forbidden value on value = " + value + ", it doesn't respect the following condition : (value < -9.007199254740992E15) || (value > 9.007199254740992E15)"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); shieldLoss = reader.ReadVarUhShort(); if (shieldLoss < 0) throw new Exception("Forbidden value on shieldLoss = " + shieldLoss + ", it doesn't respect the following condition : shieldLoss < 0"); }
public override void Deserialize(ICustomDataInput reader) { questType = reader.ReadSByte(); if (questType < 0) throw new Exception("Forbidden value on questType = " + questType + ", it doesn't respect the following condition : questType < 0"); startMapId = reader.ReadInt(); var limit = reader.ReadUShort(); knownStepsList = new Types.TreasureHuntStep[limit]; for (int i = 0; i < limit; i++) { (knownStepsList as Types.TreasureHuntStep[])[i] = Types.ProtocolTypeManager.GetInstance<Types.TreasureHuntStep>(reader.ReadShort()); (knownStepsList as Types.TreasureHuntStep[])[i].Deserialize(reader); } totalStepCount = reader.ReadSByte(); if (totalStepCount < 0) throw new Exception("Forbidden value on totalStepCount = " + totalStepCount + ", it doesn't respect the following condition : totalStepCount < 0"); checkPointCurrent = reader.ReadVarUhInt(); if (checkPointCurrent < 0) throw new Exception("Forbidden value on checkPointCurrent = " + checkPointCurrent + ", it doesn't respect the following condition : checkPointCurrent < 0"); checkPointTotal = reader.ReadVarUhInt(); if (checkPointTotal < 0) throw new Exception("Forbidden value on checkPointTotal = " + checkPointTotal + ", it doesn't respect the following condition : checkPointTotal < 0"); availableRetryCount = reader.ReadInt(); limit = reader.ReadUShort(); flags = new Types.TreasureHuntFlag[limit]; for (int i = 0; i < limit; i++) { (flags as Types.TreasureHuntFlag[])[i] = new Types.TreasureHuntFlag(); (flags as Types.TreasureHuntFlag[])[i].Deserialize(reader); } }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); quantity = reader.ReadVarUhInt(); if (quantity < 0) throw new Exception("Forbidden value on quantity = " + quantity + ", it doesn't respect the following condition : quantity < 0"); }
public override void Deserialize(ICustomDataInput reader) { subAreaId = reader.ReadVarUhShort(); if (subAreaId < 0) throw new Exception("Forbidden value on subAreaId = " + subAreaId + ", it doesn't respect the following condition : subAreaId < 0"); join = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); reason = reader.ReadSByte(); if (reason < 0) throw new Exception("Forbidden value on reason = " + reason + ", it doesn't respect the following condition : reason < 0"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); presetId = reader.ReadSByte(); if (presetId < 0) throw new Exception("Forbidden value on presetId = " + presetId + ", it doesn't respect the following condition : presetId < 0"); }
public override void Deserialize(ICustomDataInput reader) { var limit = reader.ReadUShort(); effects = new Types.FightDispellableEffectExtendedInformations[limit]; for (int i = 0; i < limit; i++) { (effects as Types.FightDispellableEffectExtendedInformations[])[i] = new Types.FightDispellableEffectExtendedInformations(); (effects as Types.FightDispellableEffectExtendedInformations[])[i].Deserialize(reader); } limit = reader.ReadUShort(); marks = new Types.GameActionMark[limit]; for (int i = 0; i < limit; i++) { (marks as Types.GameActionMark[])[i] = new Types.GameActionMark(); (marks as Types.GameActionMark[])[i].Deserialize(reader); } gameTurn = reader.ReadVarUhShort(); if (gameTurn < 0) throw new Exception("Forbidden value on gameTurn = " + gameTurn + ", it doesn't respect the following condition : gameTurn < 0"); fightStart = reader.ReadInt(); if (fightStart < 0) throw new Exception("Forbidden value on fightStart = " + fightStart + ", it doesn't respect the following condition : fightStart < 0"); limit = reader.ReadUShort(); idols = new Types.Idol[limit]; for (int i = 0; i < limit; i++) { (idols as Types.Idol[])[i] = new Types.Idol(); (idols as Types.Idol[])[i].Deserialize(reader); } }
public virtual void Deserialize(ICustomDataInput reader) { fightId = reader.ReadInt(); fightType = reader.ReadSByte(); if (fightType < 0) throw new Exception("Forbidden value on fightType = " + fightType + ", it doesn't respect the following condition : fightType < 0"); fightStart = reader.ReadInt(); if (fightStart < 0) throw new Exception("Forbidden value on fightStart = " + fightStart + ", it doesn't respect the following condition : fightStart < 0"); fightSpectatorLocked = reader.ReadBoolean(); var limit = reader.ReadUShort(); fightTeams = new Types.FightTeamLightInformations[limit]; for (int i = 0; i < limit; i++) { (fightTeams as Types.FightTeamLightInformations[])[i] = new Types.FightTeamLightInformations(); (fightTeams as Types.FightTeamLightInformations[])[i].Deserialize(reader); } limit = reader.ReadUShort(); fightTeamsOptions = new Types.FightOptionsInformations[limit]; for (int i = 0; i < limit; i++) { (fightTeamsOptions as Types.FightOptionsInformations[])[i] = new Types.FightOptionsInformations(); (fightTeamsOptions as Types.FightOptionsInformations[])[i].Deserialize(reader); } }
public override void Deserialize(ICustomDataInput reader) { result = reader.ReadSByte(); nbCharacBoost = reader.ReadVarUhShort(); if (nbCharacBoost < 0) throw new Exception("Forbidden value on nbCharacBoost = " + nbCharacBoost + ", it doesn't respect the following condition : nbCharacBoost < 0"); }
public virtual void Deserialize(ICustomDataInput reader) { id = reader.ReadUTF(); state = reader.ReadSByte(); if (state < 0) throw new Exception("Forbidden value on state = " + state + ", it doesn't respect the following condition : state < 0"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); emoteId = reader.ReadByte(); if ((emoteId < 0) || (emoteId > 255)) throw new Exception("Forbidden value on emoteId = " + emoteId + ", it doesn't respect the following condition : (emoteId < 0) || (emoteId > 255)"); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); m_currentHouse = new HouseInformationsInside(); m_currentHouse.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); m_targetId = reader.ReadDouble(); m_cellId = reader.ReadShort(); }
public override void Deserialize(ICustomDataInput reader) { m_hostUID = reader.ReadVarUhInt(); m_hostPos = reader.ReadSByte(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); this.guild = new BasicGuildInformations(); this.guild.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); MemberId = reader.ReadVarLong(); Active = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { PageIndex = reader.ReadVarShort(); }
public virtual void Deserialize(ICustomDataInput reader) { }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); m_monsterFamilyId = reader.ReadVarUhShort(); }
public override void Deserialize(ICustomDataInput reader) { ExperiencesUpdate = new JobExperience(); ExperiencesUpdate.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { m_accept = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { hostInformations = new Types.CharacterMinimalInformations(); hostInformations.Deserialize(reader); timeLeftBeforeCancel = reader.ReadVarInt(); }
public override void Deserialize(ICustomDataInput reader) { m_settings = new JobCrafterDirectorySettings(); m_settings.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); m_memberInformations = ProtocolTypeManager.GetInstance <PartyMemberInformations>((short)reader.ReadUShort()); m_memberInformations.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { m_xpRatio = reader.ReadByte(); }
public override void Deserialize(ICustomDataInput reader) { m_permissions = reader.ReadInt(); }
public override void Deserialize(ICustomDataInput reader) { Unread = reader.ReadVarShort(); Total = reader.ReadVarShort(); }
public override void Deserialize(ICustomDataInput reader) { m_mountDescription = new MountClientData(); m_mountDescription.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { Reason = reader.ReadByte(); }
public override void Deserialize(ICustomDataInput reader) { ExchangeType = reader.ReadByte(); }
public override void Deserialize(ICustomDataInput reader) { preset = new Types.Preset(); preset.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { m_percentToPrism = reader.ReadShort(); m_percentToPlayer = reader.ReadShort(); }
public abstract void Deserialize(ICustomDataInput reader);
public override void Deserialize(ICustomDataInput reader) { enable = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); targetId = reader.ReadInt(); }
public override void Deserialize(ICustomDataInput reader) { paddockInfo = new Types.PaddockContentInformations(); paddockInfo.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); preview = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); EmoteId = reader.ReadByte(); }
public override void Deserialize(ICustomDataInput reader) { Properties = new PaddockInstancesInformations(); Properties.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); alignmentInfos = new Types.ActorAlignmentInformations(); alignmentInfos.Deserialize(reader); }