Trade - Reetus/ClassicAssist GitHub Wiki
ClassicAssist Macro Commands
Generated on 12/15/2024 3:30:41 AM
Version: 4.425.22+b9a337759d26b9d39ae8ccaac75a36c4255be94a
Trade
TradeAccept
Method Signature:
Void TradeAccept()
Description:
Accepts the current trade window
Example:
TradeAccept()
TradeClose
Method Signature:
Void TradeClose()
Description:
Closes the current trade window
Example:
TradeClose()
TradeCurrency
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)
TradeReject
Method Signature:
Void TradeReject()
Description:
Rejects (unticks) the current trade window
Example:
TradeReject()
WaitForTradeWindow
Method Signature:
Boolean WaitForTradeWindow(Int32)
Parameters
- timeout: Timeout specified in milliseconds. (Optional)
Description:
Waits the specified number of milliseconds for trade window action, -1 for infinite
Example:
WaitForTradeWindow(5000)