Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(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}}
 
Returns true if the tradeskill being viewed is from a link along with the player's name, nil otherwise.
 
 
isLink, playerName = IsTradeSkillLinked()
Returns true if the tradeskill being viewed is from a link rather than your own.
 
 
isLink = IsTradeSkillLinked()
 
   
 
----
 
----
Line 13: Line 11:
 
;''Returns''
 
;''Returns''
   
: 1 if the tradeskill is is from a link, nil otherwise
+
: 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

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