示例#1
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.NuggetsForPrism);
     writer.WriteVarInt(this.NuggetsForPlayer);
 }
 public override void Serialize(ICustomDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarInt(this.Quantity);
 }
示例#3
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.Uid);
     writer.WriteVarInt(this.Qty);
     writer.WriteVarLong(this.Price);
 }
示例#4
0
 public override void Serialize(ICustomDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteDouble(this.MapId);
     writer.WriteVarInt(this.ElementId);
 }
示例#5
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.Type);
     writer.WriteVarShort(this.GenId);
 }
示例#6
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.ElemId);
     writer.WriteVarInt(this.SkillInstanceUid);
 }
 public override void Serialize(ICustomDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteDouble(this.TargetId);
     writer.WriteVarInt(this.Amount);
 }
 public override void Serialize(ICustomDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarInt(this.ObjectUID);
 }
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarShort(this.DungeonId);
     writer.WriteVarLong(this.BuddyId);
     writer.WriteVarInt(this.TimeLeft);
 }
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.SkillId);
     writer.WriteByte(this.CrafterJobLevel);
 }
示例#11
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.GuildId);
     writer.WriteByte(this.Rights);
 }
示例#12
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.ObjectUID);
     writer.WriteShort(this.Position);
 }
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarLong(this.Experience);
     writer.WriteVarLong(this.ExperienceLevelFloor);
     writer.WriteVarLong(this.ExperienceNextLevelFloor);
     writer.WriteVarLong(this.ExperienceBonusLimit);
     writer.WriteVarLong(this.Kamas);
     writer.WriteVarShort(this.StatsPoints);
     writer.WriteVarShort(this.AdditionnalPoints);
     writer.WriteVarShort(this.SpellsPoints);
     this.AlignmentInfos.Serialize(writer);
     writer.WriteVarInt(this.LifePoints);
     writer.WriteVarInt(this.MaxLifePoints);
     writer.WriteVarShort(this.EnergyPoints);
     writer.WriteVarShort(this.MaxEnergyPoints);
     writer.WriteVarShort(this.ActionPointsCurrent);
     writer.WriteVarShort(this.MovementPointsCurrent);
     this.Initiative.Serialize(writer);
     this.Prospecting.Serialize(writer);
     this.ActionPoints.Serialize(writer);
     this.MovementPoints.Serialize(writer);
     this.Strength.Serialize(writer);
     this.Vitality.Serialize(writer);
     this.Wisdom.Serialize(writer);
     this.Chance.Serialize(writer);
     this.Agility.Serialize(writer);
     this.Intelligence.Serialize(writer);
     this.Range.Serialize(writer);
     this.SummonableCreaturesBoost.Serialize(writer);
     this.Reflect.Serialize(writer);
     this.CriticalHit.Serialize(writer);
     writer.WriteVarShort(this.CriticalHitWeapon);
     this.CriticalMiss.Serialize(writer);
     this.HealBonus.Serialize(writer);
     this.AllDamagesBonus.Serialize(writer);
     this.WeaponDamagesBonusPercent.Serialize(writer);
     this.DamagesBonusPercent.Serialize(writer);
     this.TrapBonus.Serialize(writer);
     this.TrapBonusPercent.Serialize(writer);
     this.GlyphBonusPercent.Serialize(writer);
     this.RuneBonusPercent.Serialize(writer);
     this.PermanentDamagePercent.Serialize(writer);
     this.TackleBlock.Serialize(writer);
     this.TackleEvade.Serialize(writer);
     this.PAAttack.Serialize(writer);
     this.PMAttack.Serialize(writer);
     this.PushDamageBonus.Serialize(writer);
     this.CriticalDamageBonus.Serialize(writer);
     this.NeutralDamageBonus.Serialize(writer);
     this.EarthDamageBonus.Serialize(writer);
     this.WaterDamageBonus.Serialize(writer);
     this.AirDamageBonus.Serialize(writer);
     this.FireDamageBonus.Serialize(writer);
     this.DodgePALostProbability.Serialize(writer);
     this.DodgePMLostProbability.Serialize(writer);
     this.NeutralElementResistPercent.Serialize(writer);
     this.EarthElementResistPercent.Serialize(writer);
     this.WaterElementResistPercent.Serialize(writer);
     this.AirElementResistPercent.Serialize(writer);
     this.FireElementResistPercent.Serialize(writer);
     this.NeutralElementReduction.Serialize(writer);
     this.EarthElementReduction.Serialize(writer);
     this.WaterElementReduction.Serialize(writer);
     this.AirElementReduction.Serialize(writer);
     this.FireElementReduction.Serialize(writer);
     this.PushDamageReduction.Serialize(writer);
     this.CriticalDamageReduction.Serialize(writer);
     this.PvpNeutralElementResistPercent.Serialize(writer);
     this.PvpEarthElementResistPercent.Serialize(writer);
     this.PvpWaterElementResistPercent.Serialize(writer);
     this.PvpAirElementResistPercent.Serialize(writer);
     this.PvpFireElementResistPercent.Serialize(writer);
     this.PvpNeutralElementReduction.Serialize(writer);
     this.PvpEarthElementReduction.Serialize(writer);
     this.PvpWaterElementReduction.Serialize(writer);
     this.PvpAirElementReduction.Serialize(writer);
     this.PvpFireElementReduction.Serialize(writer);
     this.MeleeDamageDonePercent.Serialize(writer);
     this.MeleeDamageReceivedPercent.Serialize(writer);
     this.RangedDamageDonePercent.Serialize(writer);
     this.RangedDamageReceivedPercent.Serialize(writer);
     this.WeaponDamageDonePercent.Serialize(writer);
     this.WeaponDamageReceivedPercent.Serialize(writer);
     this.SpellDamageDonePercent.Serialize(writer);
     this.SpellDamageReceivedPercent.Serialize(writer);
     writer.WriteShort(this.SpellModifications.Length);
     foreach (CharacterSpellModification item in this.SpellModifications)
     {
         item.Serialize(writer);
     }
     writer.WriteInt(this.ProbationTime);
 }
示例#14
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteDouble(this.Id_);
     writer.WriteVarInt(this.WaitTime);
 }
示例#15
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.Id_);
     writer.WriteVarShort(this.XpBoost);
     writer.WriteVarShort(this.DropBoost);
 }
示例#16
0
 public override void Serialize(ICustomDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarInt(this.StorageMaxSlot);
 }
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.SpellLevelId);
 }
示例#18
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.LivingUID);
     writer.WriteByte(this.LivingPosition);
 }
 public override void Serialize(ICustomDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarInt(this.AllianceId);
 }
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.GuildEmblemSymbolCategories);
 }
示例#21
0
 public override void Serialize(ICustomDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarInt(this.FocusActionId);
 }
示例#22
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.HouseId);
     writer.WriteVarShort(this.ModelId);
 }
示例#23
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.HouseId);
     writer.WriteInt(this.InstanceId);
     writer.WriteBoolean(this.SecondHand);
 }
示例#24
0
 public override void Serialize(ICustomDataWriter writer)
 {
     this.HostInformations.Serialize(writer);
     writer.WriteVarInt(this.TimeLeftBeforeCancel);
 }
示例#25
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.ReplyId);
 }
示例#26
0
 public override void Serialize(ICustomDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarInt(this.MonsterCount);
 }
示例#27
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.ObjectUID);
     writer.WriteVarInt(this.Quantity);
 }
示例#28
0
        public override void Serialize(ICustomDataWriter writer)
        {
            byte box = 0;

            box = BooleanByteWrapper.SetFlag(box, 0, Sex);
            box = BooleanByteWrapper.SetFlag(box, 1, IsRideable);
            box = BooleanByteWrapper.SetFlag(box, 2, IsWild);
            box = BooleanByteWrapper.SetFlag(box, 3, IsFecondationReady);
            box = BooleanByteWrapper.SetFlag(box, 4, UseHarnessColors);
            writer.WriteByte(box);
            writer.WriteDouble(this.Id_);
            writer.WriteVarInt(this.Model);
            writer.WriteShort(this.Ancestor.Length);
            foreach (int item in this.Ancestor)
            {
                writer.WriteInt(item);
            }
            writer.WriteShort(this.Behaviors.Length);
            foreach (int item in this.Behaviors)
            {
                writer.WriteInt(item);
            }
            writer.WriteUTF(this.Name);
            writer.WriteInt(this.OwnerId);
            writer.WriteVarLong(this.Experience);
            writer.WriteVarLong(this.ExperienceForLevel);
            writer.WriteDouble(this.ExperienceForNextLevel);
            writer.WriteByte(this.Level);
            writer.WriteVarInt(this.MaxPods);
            writer.WriteVarInt(this.Stamina);
            writer.WriteVarInt(this.StaminaMax);
            writer.WriteVarInt(this.Maturity);
            writer.WriteVarInt(this.MaturityForAdult);
            writer.WriteVarInt(this.Energy);
            writer.WriteVarInt(this.EnergyMax);
            writer.WriteInt(this.Serenity);
            writer.WriteInt(this.AggressivityMax);
            writer.WriteVarInt(this.SerenityMax);
            writer.WriteVarInt(this.Love);
            writer.WriteVarInt(this.LoveMax);
            writer.WriteInt(this.FecondationTime);
            writer.WriteInt(this.BoostLimiter);
            writer.WriteDouble(this.BoostMax);
            writer.WriteInt(this.ReproductionCount);
            writer.WriteVarInt(this.ReproductionCountMax);
            writer.WriteVarShort(this.HarnessGID);
            writer.WriteShort(this.EffectList.Length);
            foreach (ObjectEffectInteger item in this.EffectList)
            {
                item.Serialize(writer);
            }
        }
示例#29
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarInt(this.Uid);
     writer.WriteBoolean(this.Bought);
 }
示例#30
0
 public override void Serialize(ICustomDataWriter writer)
 {
     writer.WriteVarShort(this.SubAreaId);
     writer.WriteVarInt(this.AllianceId);
 }