>wowhelm_
~/forever/addon-api/function/UnitGetAvailableRoles

UnitGetAvailableRoles

documented function · UnitRole
UnitGetAvailableRoles(unit) : tank, healer, dps
──ARGUMENTS
unit
UnitToken
──RETURNS
tank
bool
healer
bool
dps
bool
──DETAILS
May Return Nothing
true
Secret When Unit Identity Restricted
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.