benilla-re systems structs docs

Script::UnitPVPName

function · ui · primitive

Address
0x5172b0 · 157 bytes, up to 0x51734c
Signature
int __fastcall (lua_State *L)
Meaning
Returns a unit's name with its honor title, or nil for a missing object
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/honor#pvp-name

Finding: PvP name in ui: the PvP honor functions

UnitPVPName(unit) returns a unit's name with its honor title: the object's name built by the decorator 0x609370 with the title flag on. A non-string argument raises Usage: UnitPVPName("unit"). A token that resolves to a GUID with no object in the manager returns nil. A token that resolves to no GUID pushes nothing and returns 1, which makes the result the top of the stack, the last argument.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

Calls and jumps by a bare address, from tables/calls.tsv.