WoW:API GetGuildRosterInfo: Difference between revisions
Jump to navigation
Jump to search
GetGuildRosterInfo
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
:;officernote : String - Returns the character's officer note if one exists, returns "" if there is no note or the current player does not have access to the officer notes | :;officernote : String - Returns the character's officer note if one exists, returns "" if there is no note or the current player does not have access to the officer notes | ||
:;online : Return 1 if the player is online, else it's nil | :;online : Return 1 if the player is online, else it's nil | ||
:;status : | :;status : The availability of the player; may be "<AFK>", "<DND>", or nil for no special status. (Introduced in patch 1.9) | ||
Obsolete | Obsolete |
Revision as of 03:24, 6 January 2006
It returns information about the player of a guild
name, rank, rankIndex, level, class, zone, group, note, officernote, online = GetGuildRosterInfo(index);
The results from this function are changing in patch 1.9. The group parameter is being removed and a new parameter, status, is being added:
name, rank, rankIndex, level, class, zone, note, officernote, online, status = GetGuildRosterInfo(index);
- Arguments
- (index)
- index
- Integer - It's a number corresponding to one player in the Guild
- Returns
- name, rank, rankIndex, level, class, zone, group, note, officernote, online
- name
- String - The name of one member of the guild
- rank
- String - The member's rank in the guild ( Guild Master, Member ...)
- rankIndex
- Number - The number corresponding to the guild's rank.
- level
- Number - The level of the player.
- class
- String - The class (Mage, Warrior, etc) of the player.
- zone
- String - The position of the player ( or the last if he is off line )
- group
- Obsolete
- note
- String - Returns the character's public note if one exists, returns "" if there is no note or the current player does not have access to the public notes
- officernote
- String - Returns the character's officer note if one exists, returns "" if there is no note or the current player does not have access to the officer notes
- online
- Return 1 if the player is online, else it's nil
- status
- The availability of the player; may be "<AFK>", "<DND>", or nil for no special status. (Introduced in patch 1.9)
Obsolete
- group
- Boolean ( yes or no ) - Return if this member is in a group (REMOVED IN 1.9)