Script::UnitPVPName
function · ui · primitive
- Address
0x5172b0· 157 bytes, up to0x51734c- 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
- ClntObjMgrObjectPtr objectlayer
- Script::GetGUIDFromName ui
- CGUnit_C::GetPvPName objectlayer
- lua_isstring lua
- lua_tostring lua
- lua_pushnil lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.