/////////////////////////////////////////////////
//                                             //
// Automatically generated by the              //
// AddonGenerator script by Arya,              //
// modified for coloring by Manu               //
// Splitterwelt.com                            //
// german roleplay freeshard                   //
//                                             //
/////////////////////////////////////////////////
using System;
using Server;

namespace Server.Items
{
	public class MarbleBenchLongEastAddon : BaseAddon
	{
		public override BaseAddonDeed Deed{ get{ return new MarbleBenchLongEastAddonDeed(); } }

		public override bool RetainDeedHue{ get{ return true; } }

		[Constructable]
		public MarbleBenchLongEastAddon() : this( 0 )
		{
		}

		[ Constructable ]
		public MarbleBenchLongEastAddon( int hue )
		{
			AddonComponent ac;
			ac = new AddonComponent( 2915 );
			ac.Hue = hue;
			ac.Name = "Marble Bench";
			AddComponent( ac, 0, -1, 0 );
			ac = new AddonComponent( 2916 );
			ac.Hue = hue;
			ac.Name = "Marble Bench";
			AddComponent( ac, 0, 0, 0 );
			ac = new AddonComponent( 2914 );
			ac.Hue = hue;
			ac.Name = "Marble Bench";
			AddComponent( ac, 0, 1, 0 );
		}

		public MarbleBenchLongEastAddon( Serial serial ) : base( serial )
		{
		}

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

			writer.Write( (int) 1 ); // Version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();
		}
	}

	public class MarbleBenchLongEastAddonDeed : BaseAddonDeed
	{
		public override BaseAddon Addon { get{ return new MarbleBenchLongEastAddon( this.Hue ); } }

		[Constructable]
		public MarbleBenchLongEastAddonDeed()
		{
			Name = "Long Marble Bench (East)";
		}

		public MarbleBenchLongEastAddonDeed( Serial serial ) : base( serial )
		{
		}

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

		public override void	Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
		}
	}
}


