Example #1
1
		public void Serialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( (int) 0 ); // version

			Faction.WriteReference( writer, m_Faction );
			writer.WriteEncodedInt( (int) m_Type );
		}
Example #2
1
		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.Write( (byte) 0 ); // version
			writer.WriteEncodedInt( (int) m_LabelNumber );
		}
		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 1 ); // version
			writer.Write( m_East );
		}
Example #4
1
		internal void Serialize(GenericWriter writer)
		{
			writer.WriteEncodedInt(0); // version

			writer.Write((TimeSpan)m_DuelTime);
			writer.WriteMobileList<Mobile>(m_AgainstList);
		}
Example #5
1
        public override void Serialize(GenericWriter writer) // Default Serialize method
        {
            base.Serialize(writer);

            writer.Write(0); // version
            writer.WriteEncodedInt(m_Guild);
        }
		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 );
			writer.Write( m_Sound );
		}
		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

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

			writer.WriteEncodedInt( (int) m_Level );
		}
        public void Serialize(GenericWriter writer)
        {
            writer.WriteEncodedInt((int)0);

            writer.WriteEncodedInt((int)m_Skill);
            writer.WriteEncodedInt((int)m_SkillValue);
            writer.WriteEncodedInt((int)m_Price);
        }
		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

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

			writer.WriteEncodedInt( (int)TreasuresOfTokuno.RewardEra );
			writer.WriteEncodedInt( (int)TreasuresOfTokuno.DropEra );
		}
        public void Serialize(GenericWriter writer)
        {
            writer.WriteEncodedInt(0); // version

            writer.Write(this.m_ItemType == null ? null : this.m_ItemType.FullName);

            writer.WriteEncodedInt((int)this.m_AmountCur);
            writer.WriteEncodedInt((int)this.m_Number);
            writer.WriteEncodedInt((int)this.m_Graphic);
        }
Example #11
0
		public virtual void BaseSerialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( 1 ); // version

			writer.Write( m_HasBeenRead );
			writer.WriteEncodedInt( m_CurProgress );
			writer.Write( m_HasCompleted );

			ChildSerialize( writer );
		}
		public void Serialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( 0 ); // version

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

			writer.WriteEncodedInt( (int) m_AmountCur );
			writer.Write( (string) m_AnimalName );
			writer.WriteEncodedInt( (int) m_Graphic );
		}
		public void Serialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( 0 ); // version

			writer.WriteEncodedInt( (int) m_AmountMax );
			writer.WriteEncodedInt( (int) m_Price );

			writer.WriteEncodedInt( (int) m_Entries.Length );

			for ( int i = 0; i < m_Entries.Length; ++i )
				m_Entries[i].Serialize( writer );
		}
Example #14
0
        public void Serialize( GenericWriter writer )
        {
            if ( IsDefault )
            {
                writer.WriteEncodedInt( 0 ); // version
            }
            else
            {
                writer.WriteEncodedInt( 1 ); // version

                writer.WriteEncodedInt( m_Type );
                writer.WriteEncodedInt( m_Quantity );
            }
        }
Example #15
0
		public void Serialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( (int) 0 );

			writer.Write( (Item) m_Item );
			writer.Write( (DateTime) m_Expiration );
		}
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);
            writer.WriteEncodedInt(0); // version

            writer.Write((Mobile)m_Owner);
        }
        public override void Serialize( GenericWriter writer )
        {
            base.Serialize( writer );

            writer.WriteEncodedInt( (int) 0 ); // version
            writer.Write( (string) m_ForumAccount);
        }
		public override void Serialize(GenericWriter writer)
		{
			base.Serialize(writer);

			writer.WriteEncodedInt(0); // version

			writer.Write(m_IsRewardItem);
		}
		public override void Serialize(GenericWriter writer)
		{
			base.Serialize(writer);

			writer.WriteEncodedInt(0); // version

			//writer.Write( m_Charge );
		}
Example #20
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

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

            writer.WriteEncodedInt(m_ScoreInterval);
        }
Example #21
0
		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( (int) 1 ); // version
			
			writer.Write( (int) m_Music );
		}
Example #22
0
		public override void Serialize(GenericWriter writer)
		{
			base.Serialize(writer);

			writer.WriteEncodedInt(0); // version

			writer.Write(Picked);
		}
Example #23
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.WriteEncodedInt(0); // version

            writer.Write((bool)this.m_Cut);
        }
Example #24
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

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

            writer.Write((Item)this.m_RaisableItem);
        }
Example #25
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

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

            writer.WriteEncodedInt(this.m_Uses);
        }
Example #26
0
		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 ); // version

			writer.Write( (int) m_ClosedID );
		}
Example #27
0
        public virtual void BaseSerialize(GenericWriter writer)
        {
            writer.WriteEncodedInt((int)0); // version

            writer.Write((bool)this.m_HasBeenRead);

            this.ChildSerialize(writer);
        }
		public virtual void BaseSerialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( 0 ); // version

			writer.Write( m_HasBeenRead );

			ChildSerialize( writer );
		}
Example #29
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

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

            writer.WriteEncodedInt((int)this.m_Image);
        }
        public override void Serialize( GenericWriter writer )
        {
            base.Serialize( writer );
            writer.WriteEncodedInt( ( int )0 ); // version

            writer.Write( ( int )toDelete );
            writer.Write( ( int )targetsCount );
        }