Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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 | |||
1 | Pariah | Pariah | |
2 | Outlaw | Outlaw | |
3 | Exiled | Exiled | |
4 | Dishonored | Dishonored | |
5 | Private | Scout | |
6 | Corporal | Grunt | |
7 | Sergeant | Sergeant | |
8 | Master Sergeant | Senior Sergeant | |
9 | Sergeant Major | First Sergeant | |
10 | Knight | Stone Guard | |
11 | Knight-Lieutenant | Blood Guard | |
12 | Knight-Captain | Legionnaire | |
13 | Knight-Champion | Centurion | |
14 | Lieutenant Commander | Champion | |
15 | Commander | Lieutenant General | |
16 | Marshal | General | |
17 | Field Marshal | Warlord | |
18 | Grand Marshal | High Warlord |
Patch changes[]
Patch 5.4.0 (2013-09-10): Removed.
Patch 1.4.0 (2005-04-19): Added.