Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:API GetRaidRosterInfo
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Parameters == === Arguments === ;{{api|raidIndex|t=t}} : Number - Index of raid member between 1 and MAX_RAID_MEMBERS (40). If you specify an index that is out of bounds, the function returns nil. === Returns === ;name: String - raid member's name. In cross-realm battlegrounds, returns "Name-Server" for cross-realm players. ;rank: Integer - Returns 2 if the raid member is the leader of the raid, 1 if the raid member is promoted to assistant, and 0 otherwise. ;subgroup: Integer - The raid party this character is currently a member of. Raid subgroups are numbered as on the standard raid window. ;level: Number - The level of the character. If this character is offline, the level will show as 0 (not nil). ;class: String - The character's class (localized), with the first letter capitalized (e.g. "Priest"). This function works as normal for offline characters. ;fileName: String - The system representation of the character's class; always in english, always fully capitalized. ;zone: String - The name of the zone this character is currently in. This is the value returned by [[API GetRealZoneText|GetRealZoneText]]. It is the same value you see if you mouseover their portrait (if in group). If the character is offline, this value will be the string "Offline". :'''BUG''' (as of 6/07/2013): Sometimes values are different, example: Thron des Donners and Der Thron des Donners. :'''BUG''' (as of 2/26/2005): It seems that the person calling this function will have their Zone value returned as nil if they have not changed locations since last reloading their UI. Once you change locations (get the name to popup on screen), it seems to return as normal. This only seems to affect when you look at the zone value of yourself from the raid. ''Could a call to [[API SetMapToCurrentZone|SetMapToCurrentZone]]() cure this?'' :You should use functions categorised under '''Location Functions''' for getting your own location text --[[User:Salanex|Salanex]] :'''Possible values:''' nil, "Offline", any valid location ;online: [[Boolean]] - Returns 1 if raid member is online, nil otherwise. ;isDead: [[Boolean]] - Returns 1 if raid member is dead (hunters Feigning Death are considered alive), nil otherwise. ;role: String - The player's role within the raid ("MAINTANK" or "MAINASSIST"). ;isML: [[Boolean]] - Returns 1 if the raid member is master looter, nil otherwise
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)