Метод | Описание | |
---|---|---|
Accept ( ) : void |
Accepts trade request from creature 2.
|
|
AddItem ( |
Adds item to trade partner's window.
|
|
Cancel ( ) : void |
Cancels trade, returning all items and closing the trade window.
|
|
Initiate ( ) : void |
Initiates the trade, sending information to creature 1 and a trade request to creature 2.
|
|
Ready ( |
Puts creature into ready mode.
|
|
RemoveItem ( |
Removes item from trade partner's window.
|
|
Trade ( |
Creates a new trade session.
|
Метод | Описание | |
---|---|---|
Complete ( ) : void |
Completes trade session.
|
|
GetNewId ( ) : long |
Returns a new trade id.
|
|
TradeItems ( |
Moves all items from one creature's trade window to another's inventory.
|
|
Wait ( |
Puts creature into waiting mode.
|
public AddItem ( |
||
creature | Creature that added the item. | |
item | Aura.Channel.World.Entities.Item | Item added. |
Результат | void |
public Ready ( |
||
creature | ||
Результат | void |
public RemoveItem ( |
||
creature | Creature that removed the item. | |
item | Aura.Channel.World.Entities.Item | Item removed. |
Результат | void |
public Trade ( |
||
creature1 | ||
creature2 | ||
Результат | Aura.Channel.Network.Sending |