WoW:API GameTooltip SetCurrencyToken: Difference between revisions
Jump to navigation
Jump to search
(New page: {{widgetmethod}} <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> GameTooltip:SetCurrencyToken(tokenId) <!-- Describe the pu...) |
m (Move page script moved page API GameTooltip SetCurrencyToken to API GameTooltip SetCurrencyToken without leaving a redirect) |
(No difference)
|
Latest revision as of 04:45, 15 August 2023
← Widget API ← GameTooltip < SetCurrencyToken
GameTooltip:SetCurrencyToken(tokenId)
Shows the tooltip for the specified token type.
- Arguments
- (tokenId)
- tokenId
- integer - id of the token type to load the tooltip for.
- Returns
- The function returns nothing, but the text in the displayed tooltip can be accessed with GameTooltipTextLeftN:GetText() and GameTooltipTextRightN:GetText(), where N is the line number.
- Example
GameTooltip:SetCurrencyToken(2) -- Shows the Tooltip for Badge of Justice
- Details
- .