WoW API: GetTradeSkillListLink

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetTradeSkillListLink to API GetTradeSkillListLink without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetTradeSkillListLink

Synopsis[edit]

Retrieves the TradeSkillLink to the currently open tradeskill.

 link = GetTradeSkillListLink()

Arguments[edit]

None

Returns[edit]

link
If tradeskill is linkable.
nil
If tradeskill is not linkable (runeforging) or if no tradeskill is open.

Example[edit]

local link = GetTradeSkillListLink()
if link then
	print(link)
else
	print("Linking is not available for this tradeskill!")
end

Result[edit]

Displays a link to the currently open tradeskill in the chat window, unless there is none available.

Details[edit]