WoW API: IsTradeSkillLinked

Revision as of 23:00, 23 October 2008 by WoWWiki>Ásu (New page: {{wowapi}} Returns true if the tradeskill being viewed is from a link rather then your own. isLink = IsTradeSkillLinked() ---- ;''Arguments'' : none ---- ;''Returns'' : 1 if the tra...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < IsTradeSkillLinked

Returns true if the tradeskill being viewed is from a link rather then your own.

isLink = IsTradeSkillLinked()

Arguments
none

Returns
1 if the tradeskill is is from a link, nil otherwise

Example
if not IsTradeSkillLinked() then
    -- do something with the player's tradeskills
end