WoW:API UnitPVPName: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Fixed typos.)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
{{Stub/API}}
 
Returns Unit's PVP-Rank and Unit's Name as a String
 
Returns Unit's PVP rank and Unit's name combined as a String.
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)

Revision as of 17:33, 25 June 2007

WoW API < UnitPVPName


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

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)