public override void Deserialize(ICustomDataInput reader) { ExperienceCharacter = reader.ReadVarLong(); ExperienceMount = reader.ReadVarLong(); ExperienceGuild = reader.ReadVarLong(); ExperienceIncarnation = reader.ReadVarLong(); }
public override void Deserialize(ICustomDataInput reader) { FightId = reader.ReadVarShort(); SourceId = reader.ReadVarLong(); TargetId = reader.ReadVarLong(); Accept = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); PartyType = reader.ReadByte(); PartyName = reader.ReadUTF(); FromId = reader.ReadVarLong(); FromName = reader.ReadUTF(); LeaderId = reader.ReadVarLong(); var countMembers = reader.ReadShort(); Members = new List <PartyInvitationMemberInformations>(); for (short i = 0; i < countMembers; i++) { var memberstypeId = reader.ReadShort(); PartyInvitationMemberInformations type = new PartyInvitationMemberInformations(); type.Deserialize(reader); Members.Add(type); } var countGuests = reader.ReadShort(); Guests = new List <PartyGuestInformations>(); for (short i = 0; i < countGuests; i++) { PartyGuestInformations type = new PartyGuestInformations(); type.Deserialize(reader); Guests.Add(type); } }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); byte box0 = reader.ReadByte(); Sex = BooleanByteWrapper.GetFlag(box0, 1); IsRideable = BooleanByteWrapper.GetFlag(box0, 2); IsFeconded = BooleanByteWrapper.GetFlag(box0, 3); IsFecondationReady = BooleanByteWrapper.GetFlag(box0, 4); Id_ = reader.ReadVarLong(); ExpirationDate = reader.ReadVarLong(); Model = reader.ReadVarInt(); Name = reader.ReadUTF(); Owner = reader.ReadUTF(); Level = reader.ReadByte(); ReproductionCount = reader.ReadVarInt(); ReproductionCountMax = reader.ReadVarInt(); var countEffects = reader.ReadShort(); Effects = new List <ObjectEffectInteger>(); for (short i = 0; i < countEffects; i++) { ObjectEffectInteger type = new ObjectEffectInteger(); type.Deserialize(reader); Effects.Add(type); } var countCapacities = reader.ReadShort(); Capacities = new List <int>(); for (short i = 0; i < countCapacities; i++) { Capacities.Add(reader.ReadVarInt()); } }
public override void Deserialize(ICustomDataInput reader) { byte box0 = reader.ReadByte(); Sex = BooleanByteWrapper.GetFlag(box0, 1); IsRideable = BooleanByteWrapper.GetFlag(box0, 2); IsWild = BooleanByteWrapper.GetFlag(box0, 3); IsFecondationReady = BooleanByteWrapper.GetFlag(box0, 4); UseHarnessColors = BooleanByteWrapper.GetFlag(box0, 5); Id_ = reader.ReadDouble(); Model = reader.ReadVarInt(); var countAncestor = reader.ReadShort(); Ancestor = new List <int>(); for (short i = 0; i < countAncestor; i++) { Ancestor.Add(reader.ReadInt()); } var countBehaviors = reader.ReadShort(); Behaviors = new List <int>(); for (short i = 0; i < countBehaviors; i++) { Behaviors.Add(reader.ReadInt()); } Name = reader.ReadUTF(); OwnerId = reader.ReadInt(); Experience = reader.ReadVarLong(); ExperienceForLevel = reader.ReadVarLong(); ExperienceForNextLevel = reader.ReadDouble(); Level = reader.ReadByte(); MaxPods = reader.ReadVarInt(); Stamina = reader.ReadVarInt(); StaminaMax = reader.ReadVarInt(); Maturity = reader.ReadVarInt(); MaturityForAdult = reader.ReadVarInt(); Energy = reader.ReadVarInt(); EnergyMax = reader.ReadVarInt(); Serenity = reader.ReadInt(); AggressivityMax = reader.ReadInt(); SerenityMax = reader.ReadVarInt(); Love = reader.ReadVarInt(); LoveMax = reader.ReadVarInt(); FecondationTime = reader.ReadInt(); BoostLimiter = reader.ReadInt(); BoostMax = reader.ReadDouble(); ReproductionCount = reader.ReadInt(); ReproductionCountMax = reader.ReadVarInt(); HarnessGID = reader.ReadVarShort(); var countEffectList = reader.ReadShort(); EffectList = new List <ObjectEffectInteger>(); for (short i = 0; i < countEffectList; i++) { ObjectEffectInteger type = new ObjectEffectInteger(); type.Deserialize(reader); EffectList.Add(type); } }
public override void Deserialize(ICustomDataInput reader) { JobId = reader.ReadByte(); JobLevel = reader.ReadByte(); JobXP = reader.ReadVarLong(); JobXpLevelFloor = reader.ReadVarLong(); JobXpNextLevelFloor = reader.ReadVarLong(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); Kamas = reader.ReadVarLong(); Experience = reader.ReadVarLong(); Pods = reader.ReadVarInt(); ItemsValue = reader.ReadVarLong(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); PartyType = reader.ReadByte(); PartyName = reader.ReadUTF(); MaxParticipants = reader.ReadByte(); FromId = reader.ReadVarLong(); FromName = reader.ReadUTF(); ToId = reader.ReadVarLong(); }
public override void Deserialize(ICustomDataInput reader) { AbandonnedPaddock = reader.ReadBoolean(); Level = reader.ReadByte(); ExpLevelFloor = reader.ReadVarLong(); Experience = reader.ReadVarLong(); ExpNextLevelFloor = reader.ReadVarLong(); CreationDate = reader.ReadInt(); NbTotalMembers = reader.ReadVarShort(); NbConnectedMembers = reader.ReadVarShort(); }
public override void Deserialize(ICustomDataInput reader) { DungeonId = reader.ReadVarShort(); InviterId = reader.ReadVarLong(); var countInvalidBuddiesIds = reader.ReadShort(); InvalidBuddiesIds = new List <long>(); for (short i = 0; i < countInvalidBuddiesIds; i++) { InvalidBuddiesIds.Add(reader.ReadVarLong()); } }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); MaxPods = reader.ReadVarShort(); Prospecting = reader.ReadVarShort(); Wisdom = reader.ReadVarShort(); TaxCollectorsCount = reader.ReadByte(); TaxCollectorAttack = reader.ReadInt(); Kamas = reader.ReadVarLong(); Experience = reader.ReadVarLong(); Pods = reader.ReadVarInt(); ItemsValue = reader.ReadVarLong(); }
public override void Deserialize(ICustomDataInput reader) { GuildId = reader.ReadVarInt(); LeaderId = reader.ReadVarLong(); GuildLevel = reader.ReadByte(); NbMembers = reader.ReadByte(); }
public override void Deserialize(ICustomDataInput reader) { RecruterId = reader.ReadVarLong(); RecruterName = reader.ReadUTF(); GuildInfo = new BasicGuildInformations(); GuildInfo.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { byte flag1 = reader.ReadByte(); autoconnect = BooleanByteWrapper.GetFlag(flag1, 0); useCertificate = BooleanByteWrapper.GetFlag(flag1, 1); useLoginToken = BooleanByteWrapper.GetFlag(flag1, 2); version = new Types.VersionExtended(); version.Deserialize(reader); lang = reader.ReadUTF(); var limit = reader.ReadVarUhShort(); credentials = new byte[limit]; for (int i = 0; i < limit; i++) { (credentials as byte[])[i] = reader.ReadByte(); } serverId = reader.ReadShort(); sessionOptionalSalt = reader.ReadVarLong(); if ((sessionOptionalSalt < -9.007199254740992E15) || (sessionOptionalSalt > 9.007199254740992E15)) { throw new Exception("Forbidden value on sessionOptionalSalt = " + sessionOptionalSalt + ", it doesn't respect the following condition : (sessionOptionalSalt < -9.007199254740992E15) || (sessionOptionalSalt > 9.007199254740992E15)"); } limit = reader.ReadUShort(); failedAttempts = new ushort[limit]; for (int i = 0; i < limit; i++) { (failedAttempts as ushort[])[i] = reader.ReadVarUhShort(); } }
public override void Deserialize(ICustomDataInput reader) { PlayerId = reader.ReadVarLong(); MonsterGroupId = reader.ReadDouble(); AngryStartTime = reader.ReadDouble(); AttackTime = reader.ReadDouble(); }
public override void Deserialize(ICustomDataInput reader) { SubAreaId = reader.ReadVarShort(); RewardRate = reader.ReadVarShort(); HasAnomaly = reader.ReadBoolean(); AnomalyClosingTime = reader.ReadVarLong(); }
public override void Deserialize(ICustomDataInput reader) { byte box0 = reader.ReadByte(); Self = BooleanByteWrapper.GetFlag(box0, 1); Verbose = BooleanByteWrapper.GetFlag(box0, 2); Position = reader.ReadByte(); AccountNickname = reader.ReadUTF(); AccountId = reader.ReadInt(); PlayerName = reader.ReadUTF(); PlayerId = reader.ReadVarLong(); AreaId = reader.ReadShort(); ServerId = reader.ReadShort(); OriginServerId = reader.ReadShort(); var countSocialGroups = reader.ReadShort(); SocialGroups = new List <AbstractSocialGroupInfos>(); for (short i = 0; i < countSocialGroups; i++) { var socialGroupstypeId = reader.ReadShort(); AbstractSocialGroupInfos type = new AbstractSocialGroupInfos(); type.Deserialize(reader); SocialGroups.Add(type); } PlayerState = reader.ReadByte(); }
public override void Deserialize(ICustomDataInput reader) { byte flag1 = reader.ReadByte(); this.autoconnect = BooleanByteWrapper.GetFlag(flag1, 0); this.useCertificate = BooleanByteWrapper.GetFlag(flag1, 1); this.useLoginToken = BooleanByteWrapper.GetFlag(flag1, 2); this.version = new VersionExtended(); this.version.Deserialize(reader); this.lang = reader.ReadUTF(); var limit = reader.ReadVarUhShort(); this.credentials = new sbyte[limit]; for (int i = 0; i < limit; i++) { this.credentials[i] = reader.ReadSByte(); } this.serverId = reader.ReadShort(); this.sessionOptionalSalt = reader.ReadVarLong(); if (this.sessionOptionalSalt < -9007199254740990 || this.sessionOptionalSalt > 9007199254740990) { throw new Exception("Forbidden value on sessionOptionalSalt = " + this.sessionOptionalSalt + ", it doesn't respect the following condition : sessionOptionalSalt < -9007199254740990 || sessionOptionalSalt > 9007199254740990"); } limit = reader.ReadUShort(); this.failedAttempts = new ushort[limit]; for (int i = 0; i < limit; i++) { this.failedAttempts[i] = reader.ReadVarUhShort(); } }
public override void Deserialize(ICustomDataInput reader) { MemberId = reader.ReadVarLong(); Rank = reader.ReadVarShort(); ExperienceGivenPercent = reader.ReadByte(); Rights = reader.ReadVarInt(); }
public override void Deserialize(ICustomDataInput reader) { byte box0 = reader.ReadByte(); Autoconnect = BooleanByteWrapper.GetFlag(box0, 1); UseCertificate = BooleanByteWrapper.GetFlag(box0, 2); UseLoginToken = BooleanByteWrapper.GetFlag(box0, 3); Version = new VersionExtended(); Version.Deserialize(reader); Lang = reader.ReadUTF(); //var countCredentials = reader.ReadVarInt(); //Credentials = new List<byte>(); //for (int i = 0; i < countCredentials; i++) //{ // Credentials.Add(reader.ReadByte()); //} ServerId = reader.ReadShort(); SessionOptionalSalt = reader.ReadVarLong(); var countFailedAttempts = reader.ReadShort(); FailedAttempts = new List <short>(); for (short i = 0; i < countFailedAttempts; i++) { FailedAttempts.Add(reader.ReadVarShort()); } }
public override void Deserialize(ICustomDataInput reader) { Type = reader.ReadByte(); MonsterId = reader.ReadVarShort(); Kamas = reader.ReadVarLong(); DareId = reader.ReadDouble(); }
public override void Deserialize(ICustomDataInput reader) { var infosTypeId = reader.ReadShort(); Infos = new AllianceFactSheetInformations(); Infos.Deserialize(reader); var countGuilds = reader.ReadShort(); Guilds = new List <GuildInAllianceInformations>(); for (short i = 0; i < countGuilds; i++) { GuildInAllianceInformations type = new GuildInAllianceInformations(); type.Deserialize(reader); Guilds.Add(type); } var countControlledSubareaIds = reader.ReadShort(); ControlledSubareaIds = new List <short>(); for (short i = 0; i < countControlledSubareaIds; i++) { ControlledSubareaIds.Add(reader.ReadVarShort()); } LeaderCharacterId = reader.ReadVarLong(); LeaderCharacterName = reader.ReadUTF(); }
public override void Deserialize(ICustomDataInput reader) { Content = reader.ReadUTF(); Timestamp = reader.ReadInt(); MemberId = reader.ReadVarLong(); MemberName = reader.ReadUTF(); }
public override void Deserialize(ICustomDataInput reader) { CasterId = reader.ReadVarLong(); TargetCellId = reader.ReadVarShort(); SpellId = reader.ReadVarShort(); SpellLevel = reader.ReadShort(); }
public override void Deserialize(ICustomDataInput reader) { MovementType = reader.ReadByte(); BasicInfos = new TaxCollectorBasicInformations(); BasicInfos.Deserialize(reader); PlayerId = reader.ReadVarLong(); PlayerName = reader.ReadUTF(); }
public override void Deserialize(ICustomDataInput reader) { HouseId = reader.ReadVarInt(); InstanceId = reader.ReadInt(); SecondHand = reader.ReadBoolean(); RealPrice = reader.ReadVarLong(); BuyerName = reader.ReadUTF(); }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); PlayerId = reader.ReadVarLong(); PlayerName = reader.ReadUTF(); Breed = reader.ReadByte(); Sex = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { AreaId = reader.ReadInt(); AtLeastNbMount = reader.ReadByte(); AtLeastNbMachine = reader.ReadByte(); MaxPrice = reader.ReadVarLong(); OrderBy = reader.ReadByte(); }
public override void Deserialize(ICustomDataInput reader) { EntityId = reader.ReadVarLong(); ElemId = reader.ReadVarInt(); SkillId = reader.ReadVarShort(); Duration = reader.ReadVarShort(); CanMove = reader.ReadBoolean(); }
public override void Deserialize(ICustomDataInput reader) { RequestId = reader.ReadVarInt(); PlayerName = reader.ReadUTF(); PlayerId = reader.ReadVarLong(); Look = new EntityLook(); Look.Deserialize(reader); }