v0.13.8

GetPVPRoles

functionguessedavailable in: camelot

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

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Returns

#nametypedescription
1tankbooleantrue if the player is marked as willing to tank, false otherwise.
2healerbooleantrue if the player is marked as willing to heal, false otherwise.
3dpsbooleantrue if the player is marked as willing to deal damage, false otherwise.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.