Exemple #1
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)0);                // version

            Poison.Serialize(m_Poison, writer);
        }
Exemple #2
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write(1);               // version

            writer.Write(m_AnimHue);
            Poison.Serialize(m_Poison, writer);
        }
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)0);                // version
            Poison.Serialize(m_Poison, writer);
            writer.Write((int)m_PoisonCharges);
            writer.Write((double)m_Delay);
        }
Exemple #4
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)1);                // version

            writer.Write((int)m_PotionEffect);
            writer.Write(m_Poisoner);
            Poison.Serialize(m_Poison, writer);
        }
Exemple #5
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)4);                // version

            writer.Write(m_Poisoner);

            Poison.Serialize(m_Poison, writer);
            writer.Write(m_FillFactor);
        }
Exemple #6
0
        public override void Serialize(IGenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write(4); // version

            writer.Write(Poisoner);

            Poison.Serialize(Poison, writer);
            writer.Write(FillFactor);
        }
Exemple #7
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)0);

            writer.Write((int)m_UsesRemaining);

            Poison.Serialize(m_Poison, writer);
            writer.Write((int)m_PoisonCharges);
        }
Exemple #8
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)5); // version

            writer.Write((bool)m_PlayerConstructed);
            writer.Write(m_Poisoner);

            Poison.Serialize(m_Poison, writer);
            writer.Write(m_FillFactor);
        }
Exemple #9
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)1);   // version

            writer.Write((Mobile)m_Poisoner);

            Poison.Serialize(m_Poison, writer);
            writer.Write((int)m_Content);
            writer.Write((int)m_Quantity);
        }
Exemple #10
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)5); // version

            writer.Write(m_SeedType == null ? null : m_SeedType.FullName);

            writer.Write(m_Poisoner);

            Poison.Serialize(m_Poison, writer);
            writer.Write(m_FillFactor);
        }
Exemple #11
0
 public override void Serialize(GenericWriter writer)
 {
     base.Serialize(writer);
     writer.Write((int)0);
     writer.Write(this.m_MinAuraDelay);
     writer.Write(this.m_MaxAuraDelay);
     writer.Write(this.m_MinAuraDamage);
     writer.Write(this.m_MaxAuraDamage);
     writer.Write(this.m_AuraRange);
     writer.Write((int)this.m_AuraType);
     Poison.Serialize(this.m_AuraPoison, writer);
     writer.Write(this.m_AuraMessage);
 }
Exemple #12
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)4);                // version

            writer.Write((bool)m_Exceptional);
            writer.Write((Mobile)m_Crafter);

            Poison.Serialize(m_Poison, writer);
            writer.Write(m_PoisonCharges);

            writer.Write((int)m_UsesRemaining);
        }
Exemple #13
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)5);                // version

            #region Mondain's Legacy version 5
            writer.Write((string)m_EngravedText);
            #endregion

            writer.Write(m_Poisoner);

            Poison.Serialize(m_Poison, writer);
            writer.Write(m_FillFactor);
        }
Exemple #14
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write(7); // version

            writer.Write((int)_Quality);

            writer.Write(m_EngravedText);

            writer.Write(m_PlayerConstructed);
            writer.Write(Poisoner);

            Poison.Serialize(Poison, writer);
            writer.Write(FillFactor);
        }
Exemple #15
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write(4);             // version

            writer.Write(ContentName);

            writer.Write(Kick);

            writer.Write(Poisoner);

            Poison.Serialize(Poison, writer);
            writer.Write((int)_Content);
            writer.Write(_Quantity);
        }
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)1);

            writer.Write((string)m_Crafter_Name);

            Poison.Serialize(m_Poison, writer);

            writer.Write(m_PoisonCharges);

            writer.Write((int)m_UsesRemaining);

            writer.Write(m_Crafter);

            writer.WriteEncodedInt((int)m_Quality);
        }
Exemple #17
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)2);                // version
            writer.Write(delay);
            writer.Write(m_DamageType);
            writer.Write(m_TrapOwner);
            writer.Write(m_UsesRemaining);
            writer.Write(m_TrapPower);
            writer.Write(m_ManaCost);
            writer.Write(m_DamageRange);
            writer.Write(m_TriggerRange);
            writer.Write(m_ParalyzeTime);
            Poison.Serialize(m_Poison, writer);
            writer.Write(m_DamageScalar);
            writer.Write(m_PointDest);
            writer.Write(m_MapDest);
        }
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            Poison.Serialize(m_Poison, writer);
        }