Returns fields containing information about the "index" Guild member.
name, rank, class, level, subClass, subLevel, isHeader, isCollapsed, dbid, guildTitle, IsOnLine, LogOutTime, Zone, Note = GetGuildRosterInfo(index);
Parameters[ | ]
Arguments[ | ]
- index
- Number - An index of a player in the guild list
Returns[ | ]
- name
- String - Name of the player
- rank
- Number - Guild Rank of the player (10 being the highest or leader and 1 being the lowest)
- class
- String - Primary Class of the player (example: Scout)
- level
- Number - Primary Class level of the player
- subClass
- String - Secondary Class of the player (example: Rogue) Returns empty string if no class found.
- subLevel
- Number - Secondary Class level of the player (Returns 0 if no secondary found)
- isHeader
- Boolean - Unknown
- isCollapsed
- Boolean - Unknown
- dbid
- Number - Guild Database ID of the player.
- guildTitle
- String - Unknown (always returns Title does not exist online)
- IsOnLine
- Boolean - Whether the player is online or not
- LogOutTime
- String - Time the player last logged out. (Format: 00:00:00) If unknown returns ??:??:??
- Zone
- String - Zone player is currently in. (Returns Unknown if the player is offline)
- Note
- String- Custom note set on the player (Returns nil if no note is set for the player)
Example[ | ]
local name, rank, class, level, subClass, subLevel, isHeader, isCollapsed, dbid, guildTitle, IsOnLine, LogOutTime, Zone, Note = GetGuildRosterInfo(1);
Code used in Ultimate Blacklist addon
-- Crypton 03:51, 16 October 2009 (UTC)