Returns information about a member of the player's raid
See also Raid functions.
Signature:
name,
rank,
subgroup,
level,
class,
fileName,
zone,
online,
isDead,
role,
isML
=
GetRaidRosterInfo(index)
Arguments:
index
- Index of the raid member (between 1 andGetNumGroupMembers()
); matches the numeric part of the unit'sraid
unitID
, e.g. 21 forraid21
. When used in non-raid groups, it does NOT match the party identifier, e.g. 'party2' (number
)
Returns:
name
- Name of the raid member (string
)rank
- Rank of the member in the raid (number
)0
- Raid member1
- Raid Assistant2
- Raid Leader
subgroup
- Index of the raid subgroup to which the member belongs (between 1 andMAX_RAID_GROUPS
) (number
)level
- Character level of the member (number
)class
- Localized name of the member's class (string
)fileName
- A non-localized token representing the member's class (string
)zone
- Name of the zone in which the member is currently located (string
)online
- 1 if the member is currently online; otherwise nil (1nil
)isDead
- 1 if the member is currently dead; otherwise nil (1nil
)role
- Group role assigned to the member (string
)MAINASSIST
MAINTANK
isML
- 1 if the member is the master looter; otherwise nil (1nil
)