Aura.Channel.World.Trade.Trade C# (CSharp) Method

Trade() public method

Creates a new trade session.
public Trade ( Creature creature1, Creature creature2 ) : Aura.Channel.Network.Sending
creature1 Aura.Channel.World.Entities.Creature
creature2 Aura.Channel.World.Entities.Creature
return Aura.Channel.Network.Sending
		public Trade(Creature creature1, Creature creature2)
		{
			this.Id = GetNewId();
			this.Creature1 = creature1;
			this.Creature2 = creature2;

			this.Creature1.Temp.ActiveTrade = this;
			this.Creature2.Temp.ActiveTrade = this;
		}