GetPVPRankInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.4.0

Returns information about a specific PvP rank.

rankName, rankNumber = GetPVPRankInfo(rankID [, faction])

Arguments

rankID
number - The PvP rank ID as returned by UnitPVPRank()
faction
number? - 0 for Horde, 1 for Alliance. Defaults to the player's faction. Previously accepted a UnitId but now takes a faction ID.[1]

Returns

rankName
string - The localized name of the PvP rank.
rankNumber
number - The PvP rank number.

Values

Dishonorable ranks like "Pariah" exist but were never used in Vanilla.

Rank ID Alliance Horde Rank Number
0
0
1 Pariah Pariah
-4
2 Outlaw Outlaw
-3
3 Exiled Exiled
-2
4 Dishonored Dishonored
-1
5 Private Scout
1
6 Corporal Grunt
2
7 Sergeant Sergeant
3
8 Master Sergeant Senior Sergeant
4
9 Sergeant Major First Sergeant
5
10 Knight Stone Guard
6
11 Knight-Lieutenant Blood Guard
7
12 Knight-Captain Legionnaire
8
13 Knight-Champion Centurion
9
14 Lieutenant Commander Champion
10
15 Commander Lieutenant General
11
16 Marshal General
12
17 Field Marshal Warlord
13
18 Grand Marshal High Warlord
14

Patch changes

Mists of Pandaria Patch 5.4.0 (2013-09-10): Removed.
WoW Icon update.png Patch 1.4.0 (2005-04-19): Added.