GetRaidRosterInfo
functionimplementedavailable in: camelot
Returns info for a member of your raid.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
raidIndex | number | The index of a raid member between 1 and MAX_RAID_MEMBERS (40). It's discouraged to use GetNumGroupMembers() since there can be "holes" between raid1 to raid40. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | name | string | raid member's name. Returns "Name-Server" for cross-realm players. |
| 2 | rank | number | Returns 2 if the raid member is the leader of the raid, 1 if the raid member is promoted to assistant, and 0 otherwise. |
| 3 | subgroup | number | The raid party this character is currently a member of. Raid subgroups are numbered as on the standard raid window. |
| 4 | level | number? | The level of the character. If this character is offline, the level will show as 0 (not nil). |
| 5 | class | string | The character's class (localized), with the first letter capitalized (e.g. "Priest"). This function works as normal for offline characters. |
| 6 | fileName | string | The system representation of the character's class; always in english, always fully capitalized. |
| 7 | zone | string? | The name of the zone this character is currently in. This is the value returned by 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". |
| 8 | online | boolean? | Returns 1 if raid member is online, nil otherwise. |
| 9 | isDead | boolean? | Returns 1 if raid member is dead (hunters Feigning Death are considered alive), nil otherwise. |
| 10 | role | string | The player's role within the raid ("maintank" or "mainassist"). |
| 11 | isML | boolean? | Returns 1 if the raid member is master looter, nil otherwise |
| 12 | combatRole | string | Returns the combat role of the player if one is selected, i.e. "DAMAGER", "TANK" or "HEALER". Returns "NONE" otherwise. |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.