Trade
Table of Contents
Methods
Accept
Syntax:
Trade.Accept(TradeID, accept)Set the accept state of the trade
Parameters:
TradeID(Int32): ID of the Trade (Default = -1: Pick a random active trade)accept(Boolean): Set the state ofthe checkbox
Returns:
BooleanCancel
Syntax:
Trade.Cancel(TradeID)Set the accept state of the trade
Parameters:
TradeID(Int32): ID of the Trade (Default = -1: Pick a random active trade)
Returns:
BooleanOffer
Syntax:
Trade.Offer(TradeID, gold, platinum, quiet)Update the amount of gold and platinum in the trade. ( client view dosen't update )
Parameters:
TradeID(Int32): ID of the Trade (Default = -1: Pick latest active trade)gold(Int32): Amount of Gold to offerplatinum(Int32): Amount of Platinum to offerquiet(Boolean): Suppress output (Default: false - Show warning)
Returns:
BooleanTradeList
Syntax:
Trade.TradeList()Returns the list of currently active Secure Trading gumps, sorted by LastUpdate.
Returns:
List[Trade.TradeData]