v0.13.8

C_TradeInfo

namespaceavailable in: camelot

Status in wowlua

4 functions: 0 implemented, 0 recorded, 4 guessed. 15 events, 5 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AddTradeMoneyAdds any cursor-held money to the current trade offer.
()
guessed
PickupTradeMoneyPlaces an amount of money from the player's trade offer onto the cursor.
(amount: WOWMONEY)
guessed
SetTradeMoneySets the amount of money in the current trade offer.
(amount: WOWMONEY)
guessed
ShouldShowTradeOfferWarningWhether the trade window should warn about the current trade offer. · by wowlua
(): boolean
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
PLAYER_TRADE_CURRENCYno payloadnot implemented
PLAYER_TRADE_MONEYno payloadimplemented
TRADE_ACCEPT_UPDATEplayerAccepted: number, targetAccepted: numbernot implemented
TRADE_CLOSEDno payloadimplemented
TRADE_CURRENCY_CHANGEDno payloadnot implemented
TRADE_MONEY_CHANGEDno payloadnot implemented
TRADE_PLAYER_ITEM_CHANGEDtradeSlotIndex: numbernot implemented
TRADE_POTENTIAL_BIND_ENCHANTcanBecomeBoundForTrade: booleannot implemented
TRADE_POTENTIAL_REMOVE_TRANSMOGitemLink: string, tradeSlotIndex: numbernot implemented
TRADE_REQUESTname: stringnot implemented
TRADE_REQUEST_CANCELno payloadimplemented
TRADE_SHOWno payloadimplemented
TRADE_TARGET_ITEM_CHANGEDtradeSlotIndex: numberimplemented
TRADE_UPDATEno payloadnot implemented
TRADE_UPDATE_WARNINGSno payloadnot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("PLAYER_TRADE_CURRENCY").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TradeInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.