WoW API: UnitPVPName

From AddOn Studio
Jump to navigation Jump to search

WoW API < UnitPVPName


Returns Unit's PVP rank and Unit's name combined as a String.

pvpName = UnitPVPName(UnitId)


Arguments[edit]

unitId
UnitId - The unit to get the PVP name for.


Returns[edit]

pvpName
String - The unit's combined PVP rank and name. (example: Corporal SomeGuy)