API UnitPVPRank

From Wowpedia
Jump to: navigation, search

Returns information about the specified unit's PvP rank.

rankNumber = UnitPVPRank("unit")

Arguments

unit 
String - unit to query, e.g. "target", "player"

Returns

rankNumber 
Number - Rank as a number. Starts at 5(!) not at 1 for first rank. 0 if the unit has no rank.

Patch changes