public override void Deserialize(BigEndianReader reader)
 {
     ExperienceCharacter = reader.ReadDouble();
     ExperienceMount = reader.ReadDouble();
     ExperienceGuild = reader.ReadDouble();
     ExperienceIncarnation = reader.ReadDouble();
 }
예제 #2
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     MountId = reader.ReadInt();
     Date = reader.ReadDouble();
     ModelId = reader.ReadShort();
 }
예제 #3
0
 public override void Deserialize(BigEndianReader reader)
 {
     MountUid = reader.ReadDouble();
     MountLocation = reader.ReadSByte();
     MountFoodUid = reader.ReadInt();
     Quantity = reader.ReadInt();
 }
예제 #4
0
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     FighterMovementInformations = new CharacterMinimalPlusLookAndGradeInformations();
     FighterMovementInformations.Deserialize(reader);
     InMain = reader.ReadBoolean();
 }
예제 #5
0
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     var limit = reader.ReadUShort();
     CharactersDescription = new CharacterMinimalPlusLookAndGradeInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         CharactersDescription[i] = new CharacterMinimalPlusLookAndGradeInformations();
         CharactersDescription[i].Deserialize(reader);
     }
 }
 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);
     }
 }
예제 #7
0
 public override void Deserialize(BigEndianReader reader)
 {
     RideId = reader.ReadDouble();
     var limit = reader.ReadUShort();
     BoostToUpdateList = new UpdateMountBoost[limit];
     for (int i = 0; i < limit; i++)
     {
         BoostToUpdateList[i] = Types.ProtocolTypeManager.GetInstance<UpdateMountBoost>(reader.ReadShort());
         BoostToUpdateList[i].Deserialize(reader);
     }
 }
 public virtual void Deserialize(BigEndianReader reader)
 {
     Experience = reader.ReadDouble();
     ExperienceLevelFloor = reader.ReadDouble();
     ExperienceNextLevelFloor = reader.ReadDouble();
     Kamas = reader.ReadInt();
     StatsPoints = reader.ReadInt();
     SpellsPoints = reader.ReadInt();
     AlignmentInfos = new ActorExtendedAlignmentInformations();
     AlignmentInfos.Deserialize(reader);
     LifePoints = reader.ReadInt();
     MaxLifePoints = reader.ReadInt();
     EnergyPoints = reader.ReadShort();
     MaxEnergyPoints = reader.ReadShort();
     ActionPointsCurrent = reader.ReadShort();
     MovementPointsCurrent = reader.ReadShort();
     Initiative = new CharacterBaseCharacteristic();
     Initiative.Deserialize(reader);
     Prospecting = new CharacterBaseCharacteristic();
     Prospecting.Deserialize(reader);
     ActionPoints = new CharacterBaseCharacteristic();
     ActionPoints.Deserialize(reader);
     MovementPoints = new CharacterBaseCharacteristic();
     MovementPoints.Deserialize(reader);
     Strength = new CharacterBaseCharacteristic();
     Strength.Deserialize(reader);
     Vitality = new CharacterBaseCharacteristic();
     Vitality.Deserialize(reader);
     Wisdom = new CharacterBaseCharacteristic();
     Wisdom.Deserialize(reader);
     Chance = new CharacterBaseCharacteristic();
     Chance.Deserialize(reader);
     Agility = new CharacterBaseCharacteristic();
     Agility.Deserialize(reader);
     Intelligence = new CharacterBaseCharacteristic();
     Intelligence.Deserialize(reader);
     Range = new CharacterBaseCharacteristic();
     Range.Deserialize(reader);
     SummonableCreaturesBoost = new CharacterBaseCharacteristic();
     SummonableCreaturesBoost.Deserialize(reader);
     Reflect = new CharacterBaseCharacteristic();
     Reflect.Deserialize(reader);
     CriticalHit = new CharacterBaseCharacteristic();
     CriticalHit.Deserialize(reader);
     CriticalHitWeapon = reader.ReadShort();
     CriticalMiss = new CharacterBaseCharacteristic();
     CriticalMiss.Deserialize(reader);
     HealBonus = new CharacterBaseCharacteristic();
     HealBonus.Deserialize(reader);
     AllDamagesBonus = new CharacterBaseCharacteristic();
     AllDamagesBonus.Deserialize(reader);
     WeaponDamagesBonusPercent = new CharacterBaseCharacteristic();
     WeaponDamagesBonusPercent.Deserialize(reader);
     DamagesBonusPercent = new CharacterBaseCharacteristic();
     DamagesBonusPercent.Deserialize(reader);
     TrapBonus = new CharacterBaseCharacteristic();
     TrapBonus.Deserialize(reader);
     TrapBonusPercent = new CharacterBaseCharacteristic();
     TrapBonusPercent.Deserialize(reader);
     PermanentDamagePercent = new CharacterBaseCharacteristic();
     PermanentDamagePercent.Deserialize(reader);
     TackleBlock = new CharacterBaseCharacteristic();
     TackleBlock.Deserialize(reader);
     TackleEvade = new CharacterBaseCharacteristic();
     TackleEvade.Deserialize(reader);
     PAAttack = new CharacterBaseCharacteristic();
     PAAttack.Deserialize(reader);
     PMAttack = new CharacterBaseCharacteristic();
     PMAttack.Deserialize(reader);
     PushDamageBonus = new CharacterBaseCharacteristic();
     PushDamageBonus.Deserialize(reader);
     CriticalDamageBonus = new CharacterBaseCharacteristic();
     CriticalDamageBonus.Deserialize(reader);
     NeutralDamageBonus = new CharacterBaseCharacteristic();
     NeutralDamageBonus.Deserialize(reader);
     EarthDamageBonus = new CharacterBaseCharacteristic();
     EarthDamageBonus.Deserialize(reader);
     WaterDamageBonus = new CharacterBaseCharacteristic();
     WaterDamageBonus.Deserialize(reader);
     AirDamageBonus = new CharacterBaseCharacteristic();
     AirDamageBonus.Deserialize(reader);
     FireDamageBonus = new CharacterBaseCharacteristic();
     FireDamageBonus.Deserialize(reader);
     DodgePALostProbability = new CharacterBaseCharacteristic();
     DodgePALostProbability.Deserialize(reader);
     DodgePMLostProbability = new CharacterBaseCharacteristic();
     DodgePMLostProbability.Deserialize(reader);
     NeutralElementResistPercent = new CharacterBaseCharacteristic();
     NeutralElementResistPercent.Deserialize(reader);
     EarthElementResistPercent = new CharacterBaseCharacteristic();
     EarthElementResistPercent.Deserialize(reader);
     WaterElementResistPercent = new CharacterBaseCharacteristic();
     WaterElementResistPercent.Deserialize(reader);
     AirElementResistPercent = new CharacterBaseCharacteristic();
     AirElementResistPercent.Deserialize(reader);
     FireElementResistPercent = new CharacterBaseCharacteristic();
     FireElementResistPercent.Deserialize(reader);
     NeutralElementReduction = new CharacterBaseCharacteristic();
     NeutralElementReduction.Deserialize(reader);
     EarthElementReduction = new CharacterBaseCharacteristic();
     EarthElementReduction.Deserialize(reader);
     WaterElementReduction = new CharacterBaseCharacteristic();
     WaterElementReduction.Deserialize(reader);
     AirElementReduction = new CharacterBaseCharacteristic();
     AirElementReduction.Deserialize(reader);
     FireElementReduction = new CharacterBaseCharacteristic();
     FireElementReduction.Deserialize(reader);
     PushDamageReduction = new CharacterBaseCharacteristic();
     PushDamageReduction.Deserialize(reader);
     CriticalDamageReduction = new CharacterBaseCharacteristic();
     CriticalDamageReduction.Deserialize(reader);
     PvpNeutralElementResistPercent = new CharacterBaseCharacteristic();
     PvpNeutralElementResistPercent.Deserialize(reader);
     PvpEarthElementResistPercent = new CharacterBaseCharacteristic();
     PvpEarthElementResistPercent.Deserialize(reader);
     PvpWaterElementResistPercent = new CharacterBaseCharacteristic();
     PvpWaterElementResistPercent.Deserialize(reader);
     PvpAirElementResistPercent = new CharacterBaseCharacteristic();
     PvpAirElementResistPercent.Deserialize(reader);
     PvpFireElementResistPercent = new CharacterBaseCharacteristic();
     PvpFireElementResistPercent.Deserialize(reader);
     PvpNeutralElementReduction = new CharacterBaseCharacteristic();
     PvpNeutralElementReduction.Deserialize(reader);
     PvpEarthElementReduction = new CharacterBaseCharacteristic();
     PvpEarthElementReduction.Deserialize(reader);
     PvpWaterElementReduction = new CharacterBaseCharacteristic();
     PvpWaterElementReduction.Deserialize(reader);
     PvpAirElementReduction = new CharacterBaseCharacteristic();
     PvpAirElementReduction.Deserialize(reader);
     PvpFireElementReduction = new CharacterBaseCharacteristic();
     PvpFireElementReduction.Deserialize(reader);
     var limit = reader.ReadUShort();
     SpellModifications = new CharacterSpellModification[limit];
     for (int i = 0; i < limit; i++)
     {
         SpellModifications[i] = new CharacterSpellModification();
         SpellModifications[i].Deserialize(reader);
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     FighterToRemoveId = reader.ReadInt();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     CollectorName = reader.ReadUTF();
     WorldX = reader.ReadShort();
     WorldY = reader.ReadShort();
     MapId = reader.ReadInt();
     SubAreaId = reader.ReadShort();
     UserName = reader.ReadUTF();
     Experience = reader.ReadDouble();
     var limit = reader.ReadUShort();
     ObjectsInfos = new ObjectItemQuantity[limit];
     for (int i = 0; i < limit; i++)
     {
         ObjectsInfos[i] = new ObjectItemQuantity();
         ObjectsInfos[i].Deserialize(reader);
     }
 }
예제 #11
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     UniqueId = reader.ReadInt();
     FirtNameId = reader.ReadShort();
     LastNameId = reader.ReadShort();
     AdditionalInfos = new AdditionalTaxCollectorInformations();
     AdditionalInfos.Deserialize(reader);
     WorldX = reader.ReadShort();
     WorldY = reader.ReadShort();
     SubAreaId = reader.ReadShort();
     State = reader.ReadSByte();
     Look = new EntityLook();
     Look.Deserialize(reader);
     Kamas = reader.ReadInt();
     Experience = reader.ReadDouble();
     Pods = reader.ReadInt();
     ItemsValue = reader.ReadInt();
 }
예제 #12
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     Pctbonus = reader.ReadInt();
     Grademult = reader.ReadDouble();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     Id = reader.ReadDouble();
     Time = reader.ReadDouble();
 }
예제 #14
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Breed = reader.ReadSByte();
     Sex = reader.ReadBoolean();
     Rank = reader.ReadShort();
     GivenExperience = reader.ReadDouble();
     ExperienceGivenPercent = reader.ReadSByte();
     Rights = reader.ReadUInt();
     Connected = reader.ReadSByte();
     AlignmentSide = reader.ReadSByte();
     HoursSinceLastConnection = reader.ReadUShort();
     MoodSmileyId = reader.ReadSByte();
     AccountId = reader.ReadInt();
     AchievementPoints = reader.ReadInt();
     Status = Types.ProtocolTypeManager.GetInstance<PlayerStatus>(reader.ReadShort());
     Status.Deserialize(reader);
 }
예제 #15
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     Id = reader.ReadUShort();
     Status = reader.ReadSByte();
     Completion = reader.ReadSByte();
     IsSelectable = reader.ReadBoolean();
     CharactersCount = reader.ReadSByte();
     Date = reader.ReadDouble();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     PlayerInfo = new CharacterMinimalPlusLookInformations();
     PlayerInfo.Deserialize(reader);
 }
예제 #17
0
 public override void Deserialize(BigEndianReader reader)
 {
     EmoteId = reader.ReadSByte();
     EmoteStartTime = reader.ReadDouble();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     MaxPods = reader.ReadShort();
     Prospecting = reader.ReadShort();
     Wisdom = reader.ReadShort();
     TaxCollectorsCount = reader.ReadSByte();
     TaxCollectorAttack = reader.ReadInt();
     Kamas = reader.ReadInt();
     Experience = reader.ReadDouble();
     Pods = reader.ReadInt();
     ItemsValue = reader.ReadInt();
 }
예제 #19
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     JobId = reader.ReadSByte();
     JobLevel = reader.ReadSByte();
     JobXP = reader.ReadDouble();
     JobXpLevelFloor = reader.ReadDouble();
     JobXpNextLevelFloor = reader.ReadDouble();
 }
예제 #20
0
 public override void Deserialize(BigEndianReader reader)
 {
     byte flag1 = reader.ReadByte();
     HasRights = BooleanByteWrapper.GetFlag(flag1, 0);
     WasAlreadyConnected = BooleanByteWrapper.GetFlag(flag1, 1);
     Login = reader.ReadUTF();
     Nickname = reader.ReadUTF();
     AccountId = reader.ReadInt();
     CommunityId = reader.ReadSByte();
     SecretQuestion = reader.ReadUTF();
     SubscriptionEndDate = reader.ReadDouble();
     AccountCreation = reader.ReadDouble();
 }
예제 #21
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     byte flag1 = reader.ReadByte();
     ShowExperience = BooleanByteWrapper.GetFlag(flag1, 0);
     ShowExperienceLevelFloor = BooleanByteWrapper.GetFlag(flag1, 1);
     ShowExperienceNextLevelFloor = BooleanByteWrapper.GetFlag(flag1, 2);
     ShowExperienceFightDelta = BooleanByteWrapper.GetFlag(flag1, 3);
     ShowExperienceForGuild = BooleanByteWrapper.GetFlag(flag1, 4);
     ShowExperienceForMount = BooleanByteWrapper.GetFlag(flag1, 5);
     IsIncarnationExperience = BooleanByteWrapper.GetFlag(flag1, 6);
     Experience = reader.ReadDouble();
     ExperienceLevelFloor = reader.ReadDouble();
     ExperienceNextLevelFloor = reader.ReadDouble();
     ExperienceFightDelta = reader.ReadInt();
     ExperienceForGuild = reader.ReadInt();
     ExperienceForMount = reader.ReadInt();
     RerollExperienceMul = reader.ReadInt();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     byte flag1 = reader.ReadByte();
     Enabled = BooleanByteWrapper.GetFlag(flag1, 0);
     AbandonnedPaddock = BooleanByteWrapper.GetFlag(flag1, 1);
     Level = reader.ReadByte();
     ExpLevelFloor = reader.ReadDouble();
     Experience = reader.ReadDouble();
     ExpNextLevelFloor = reader.ReadDouble();
     CreationDate = reader.ReadInt();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     PlayerId = reader.ReadInt();
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     BanEndDate = reader.ReadDouble();
 }
예제 #25
0
 public override void Deserialize(BigEndianReader reader)
 {
     Name = reader.ReadUTF();
     MountId = reader.ReadDouble();
 }
예제 #26
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     byte flag1 = reader.ReadByte();
     Sex = BooleanByteWrapper.GetFlag(flag1, 0);
     IsRideable = BooleanByteWrapper.GetFlag(flag1, 1);
     IsWild = BooleanByteWrapper.GetFlag(flag1, 2);
     IsFecondationReady = BooleanByteWrapper.GetFlag(flag1, 3);
     Id = reader.ReadDouble();
     Model = reader.ReadInt();
     var limit = reader.ReadUShort();
     Ancestor = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         Ancestor[i] = reader.ReadInt();
     }
     limit = reader.ReadUShort();
     Behaviors = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         Behaviors[i] = reader.ReadInt();
     }
     Name = reader.ReadUTF();
     OwnerId = reader.ReadInt();
     Experience = reader.ReadDouble();
     ExperienceForLevel = reader.ReadDouble();
     ExperienceForNextLevel = reader.ReadDouble();
     Level = reader.ReadSByte();
     MaxPods = reader.ReadInt();
     Stamina = reader.ReadInt();
     StaminaMax = reader.ReadInt();
     Maturity = reader.ReadInt();
     MaturityForAdult = reader.ReadInt();
     Energy = reader.ReadInt();
     EnergyMax = reader.ReadInt();
     Serenity = reader.ReadInt();
     AggressivityMax = reader.ReadInt();
     SerenityMax = reader.ReadInt();
     Love = reader.ReadInt();
     LoveMax = reader.ReadInt();
     FecondationTime = reader.ReadInt();
     BoostLimiter = reader.ReadInt();
     BoostMax = reader.ReadDouble();
     ReproductionCount = reader.ReadInt();
     ReproductionCountMax = reader.ReadInt();
     limit = reader.ReadUShort();
     EffectList = new ObjectEffectInteger[limit];
     for (int i = 0; i < limit; i++)
     {
         EffectList[i] = new ObjectEffectInteger();
         EffectList[i].Deserialize(reader);
     }
 }