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

AddItem() public method

Adds item to trade partner's window.
public AddItem ( Creature creature, Aura.Channel.World.Entities.Item item ) : void
creature Aura.Channel.World.Entities.Creature Creature that added the item.
item Aura.Channel.World.Entities.Item Item added.
return void
		public void AddItem(Creature creature, Item item)
		{
			var partner = (creature == this.Creature1 ? this.Creature2 : this.Creature1);
			Send.TradeItemAdded(partner, item);

			this.Wait(creature);
		}