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

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

Accepts trade request from creature 2.
public Accept ( ) : void
Результат void
		public void Accept()
		{
			if (this.Accepted)
			{
				Log.Warning("Trade.Accept: Trade between 0x{0:X16} and 0x{1:X16} has already been accepted.", this.Creature1.EntityId, this.Creature2.EntityId);
				Send.TradeAcceptRequestR(this.Creature2, true);
				return;
			}

			Send.TradePartnerInfo(this.Creature1, this.Creature2.EntityId, this.Creature2.Name);

			Send.TradeInfo(this.Creature2, this.Id, this.Creature1.EntityId);
			Send.TradePartnerInfo(this.Creature2, this.Creature1.EntityId, this.Creature1.Name);
			Send.TradeAcceptRequestR(this.Creature2, true);
		}