Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

GetGuildTradeSkillInfo

From Wowpedia
Jump to: navigation, search

Synopsis

Returns information about a guild tradeskill

skillID, isCollapsed, iconTexture, headerName, numOnline, numVisible, numPlayers, playerName, playerNameWithRealm, class, online, zone, skill, classFileName, isMobile, isAway = GetGuildTradeSkillInfo(index)

Arguments

(index)
index 
Number - The index of the tradeskill from GetNumGuildTradeSkill().

Returns

skillID, isCollapsed, iconTexture, headerName, numOnline, numVisible, numPlayers, playerName, playerNameWithRealm, class, online, zone, skill, classFileName, isMobile, isAway
skillID 
Number - The ID for the tradeskill
isCollapsed 
Boolean - If the tradeskill is a header, whether or not it is expanded in the guild UI
iconTexture 
String - The icon for the tradeskill
headerName 
String - If the tradeskill is a header, this is the text ("Alchemy", "Jewelcrafting", etc)
numOnline 
Number - If the tradeskill is a header, this is the number of characters in the guild who have this tradeskill and are online
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)
numPlayers 
Number - If the tradeskill is a header, this is the number of characters in the guild who have this tradeskill
playerName 
String - If the tradeskill is not a header, this is the name of the character who has this tradeskill
playerNameWithRealm 
String - Same as playerName but includes realm, as "name-realm" (with embedded spaces removed)
class 
String - If the tradeskill is not a header, this is the (localized?) class of the character who has the tradeskill
online 
Boolean - If the tradeskill is not a header, this is whether or not the character who has the tradeskill is online
zone 
String - If the tradeskill is not a header, this is the zone the character who has the tradeskill is currently in
skill 
Number - If the tradeskill is not a header, this is the character tradeskill level
classFileName 
String - If the tradeskill is not a header, this is the class of the character who has the tradeskill
isMobile 
Boolean - If the tradeskill is not a header, this is whether or not the character is online with the Armory App
isAway 
Number - If the tradeskill is not a header, this is whether or not the character is away


Warning Warning: Data is still being collected for this function, and all the return data may not be 100% accurate, specifically when dealing with whether or not a tradeskill is a header.


Details

playerNameWithRealm return value inserted in 5.4.2

Used in GuildRoster_UpdateTradeSkills() in Blizzard_GuildRoster.lua as of 4.0.