-
-
Notifications
You must be signed in to change notification settings - Fork 46
Trade
Reetus edited this page Sep 2, 2024
·
56 revisions
Generated on 9/2/2024 10:46:49 PM
Version: 4.425.19+0c26057dbb7e7e285dbbb7378d1639f9d9112e29
Method Signature:
Void TradeAccept()
Description:
Accepts the current trade window
Example:
TradeAccept()
Method Signature:
Void TradeClose()
Description:
Closes the current trade window
Example:
TradeClose()
Method Signature:
Void TradeCurrency(Int32, Int32)
Description:
Sets the gold and platinum in the trade window (for shards that support it)
Example:
TradeCurrency(60000, 1)
Method Signature:
Void TradeReject()
Description:
Rejects (unticks) the current trade window
Example:
TradeReject()
Method Signature:
Boolean WaitForTradeWindow(Int32)
- timeout: Timeout specified in milliseconds. (Optional)
Description:
Waits the specified number of milliseconds for trade window action, -1 for infinite
Example:
WaitForTradeWindow(5000)