Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the unit's name with title (e.g. "Bob the Explorer").
titleName = UnitPVPName(unit)
Arguments[]
- unit
- string : UnitId - The unit to retrieve the name and title of.
Returns[]
- titleName
- string - The unit's combined title and name, e.g. "Playername, the Insane", or nil if the unit is out of range.
Details[]
- This function retrieves information about all titles; at the time it was added, titles were exclusively gained through PvP rankings.
- Note that
titleName
can be nil if the unit is not currently visible to the client.