WoW:API UnitPVPName: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API UnitPVPName to API UnitPVPName without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Returns Unit's PVP-Rank and Unit's Name as a String
{{wowapi}} __NOTOC__


[[Category:API Functions|UnitPVPName]]
 
[[Category:API Unit Functions|UnitPVPName]]
Returns Unit's PVP rank and Unit's name combined as a String.
[[Category:API Honor Functions|UnitPVPName]]
pvpName = UnitPVPName([[UnitId]])
 
 
== Arguments ==
:; unitId : [[UnitId]] - The unit to get the PVP name for.
 
 
== Returns ==
:; pvpName : String - The unit's combined PVP rank and name. (example: Corporal SomeGuy)

Latest revision as of 04:47, 15 August 2023

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)