Skip to content
Reetus edited this page Sep 2, 2024 · 56 revisions

ClassicAssist Macro Commands

Generated on 9/2/2024 10:46:49 PM
Version: 4.425.19+0c26057dbb7e7e285dbbb7378d1639f9d9112e29

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)  
Clone this wiki locally