API GetGuildRosterInfo

From Wowpedia
Jump to: navigation, search

Returns information about the player in the guild roster.

name, rank, rankIndex, level, class, zone, note, 
  officernote, online, status, classFileName, 
  achievementPoints, achievementRank, isMobile, canSoR, repStanding = GetGuildRosterInfo(index);

Parameters

Arguments

index 
Integer - It's a number corresponding to one player in the Guild

Returns

name 
String - The name and realm name of one member of the guild. (e.g. "Arthas-Silvermoon")
rank 
String - The member's rank in the guild ( Guild Master, Member ...).
rankIndex 
Number - The number corresponding to the guild's rank. The Rank Index starts at 0, add 1 to correspond with the index used in GuildControlGetRankName(index).
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 ).
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 
Number - Return 1 if the player is online, else it's nil.
status 
Number - The availability of the player. 0 is no status, 1 means AFK, and 2 means Busy (Do Not Disturb) (changed in 4.3.2).
classFileName 
String - Upper-case English classname, localisation independant.
achievementPoints 
Number - The guild achievement points of the member.
achievementRank 
Number - The guild achievement rank of the member.
isMobile 
Boolean - Returns true if member is logged on using the mobile armory application, false otherwise.
canSoR 
Boolean - Returns true if you can use a Scroll of Resurrection on this member, false otherwise.
repStanding 
Number - Returns a Standing ID for the guild reputation of the member.