GetGuildTradeSkillInfo
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 4.0.1 |
Returns info for a profession in the guild roster.
skillID, isCollapsed, iconTexture, headerName, numOnline, numVisible, numPlayers, playerName, playerNameWithRealm, class, online, zone, skill, classFileName, isMobile, isAway = GetGuildTradeSkillInfo(index)
Arguments
- index
- number - The index of the tradeskill from GetNumGuildTradeSkill().
Returns
- 1. skillID
- number - The ID for the tradeskill
- 2. isCollapsed
- boolean - If the tradeskill is a header, whether or not it is expanded in the guild UI
- 3. iconTexture
- string - The icon for the tradeskill
- 4. headerName
- string - If the tradeskill is a header, this is the text ("Alchemy", "Jewelcrafting", etc)
- 5. numOnline
- number - If the tradeskill is a header, this is the number of characters in the guild who have this tradeskill and are online
- 6. numVisible
- number - If the tradeskill is a header, this is the number of characters in the guild who have this tradeskill and visible (depends on the view offline members checkbox)
- 7. numPlayers
- number - If the tradeskill is a header, this is the number of characters in the guild who have this tradeskill
- 8. playerName
- string - If the tradeskill is not a header, this is the name of the character who has this tradeskill
- 9. playerNameWithRealm
- string - Same as playerName but includes realm, as "name-realm" (with embedded spaces removed)
- 10. class
- string - If the tradeskill is not a header, this is the (localized?) class of the character who has the tradeskill
- 11. online
- boolean - If the tradeskill is not a header, this is whether or not the character who has the tradeskill is online
- 12. zone
- string - If the tradeskill is not a header, this is the zone the character who has the tradeskill is currently in
- 13. skill
- number - If the tradeskill is not a header, this is the character tradeskill level
- 14. classFileName
- string - If the tradeskill is not a header, this is the class of the character who has the tradeskill
- 15. isMobile
- boolean - If the tradeskill is not a header, this is whether or not the character is online with the Armory App
- 16. isAway
- number - If the tradeskill is not a header, this is whether or not the character is away
Patch changes
Patch 5.4.2 (2013-12-10): Added playerNameWithRealm
return.