KirkBot@legacy41551589 (talk | contribs) (Typo fixing, typos fixed: rather then → rather than using AWB) |
No edit summary Tag: WoW API docs |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} |
{{wowapi}} |
||
⚫ | |||
− | |||
⚫ | |||
⚫ | |||
− | |||
⚫ | |||
---- |
---- |
||
Line 13: | Line 11: | ||
;''Returns'' |
;''Returns'' |
||
− | : 1 if the tradeskill |
+ | : isLink - 1 if the tradeskill shown in the UI is from a link (in chat), nil otherwise |
+ | : playerName - The name of the player the tradeskill link is for if isLink is 1, nil otherwise. |
||
---- |
---- |
Latest revision as of 16:30, 11 September 2022
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns true if the tradeskill being viewed is from a link along with the player's name, nil otherwise.
isLink, playerName = IsTradeSkillLinked()
- Arguments
- none
- Returns
- isLink - 1 if the tradeskill shown in the UI is from a link (in chat), nil otherwise
- playerName - The name of the player the tradeskill link is for if isLink is 1, nil otherwise.
- Example
if not IsTradeSkillLinked() then -- do something with the player's tradeskills end