Aura.Channel.World.Trade.Cancel C# (CSharp) Метод

Cancel() публичный Метод

Cancels trade, returning all items and closing the trade window.
public Cancel ( ) : void
Результат void
		public void Cancel()
		{
			this.Creature1.Temp.ActiveTrade = null;
			this.Creature1.Inventory.MoveItemsToInvFrom(Pocket.Trade);
			Send.TradeRequestCanceled(this.Creature1, true);
			Send.TradeCancelR(this.Creature1, true);

			this.Creature2.Temp.ActiveTrade = null;
			this.Creature2.Inventory.MoveItemsToInvFrom(Pocket.Trade);
			Send.TradeRequestCanceled(this.Creature2, true);
			Send.TradeCancelR(this.Creature2, true);
		}