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

UnitSetRoleEnum

documented function · UnitRole
UnitSetRoleEnum(unit, role?) : result
──ARGUMENTS
unit
UnitToken
role
LFGRole, optional
──RETURNS
result
bool
──DETAILS
Has Restrictions
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

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