API GetPVPRoles

From Wowpedia
Jump to: navigation, search

Returns which roles the player is willing to perform in PvP battlegrounds.

tank, healer, dps = GetPVPRoles()

Returns

tank 
Boolean - true if the player is marked as willing to tank, false otherwise.
healer 
Boolean - true if the player is marked as willing to heal, false otherwise.
dps 
Boolean - true if the player is marked as willing to deal damage, false otherwise.

Patch history

Mists of Pandaria Patch 5.3.0 (2013-05-21): Added.

See also