WoW API: IsTradeSkillLinked

From AddOn Studio
Revision as of 17:08, 22 November 2008 by WoWWiki>KirkBot (Typo fixing, typos fixed: rather then → rather than using AWB)
Jump to navigation Jump to search

WoW API < IsTradeSkillLinked

Returns true if the tradeskill being viewed is from a link rather than 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