Server.Items.Food.Serialize C# (CSharp) Method

Serialize() public method

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
return void
		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 );
		}