Script::PromoteByName
function · ui · primitive
- Address
0x48a830· 194 bytes, up to0x48a8f1- Signature
int __fastcall (lua_State *L)- Meaning
- Sends a party leader change for the best player matching a name
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/groupverbs#inviting-and-removing-by-name
Finding: Inviting and removing by name in ui: group, guild, raid and instance verbs
InviteByName("name") shows ERR_INVITE_SELF when the name equals the player's own, ignoring case; otherwise it sends
message 0x6e with the name. UninviteByName("name") sends 0x75 with it. PromoteByName("name") finds the best player of
that name (mask 0x10, mode 2) and sends 0x78 with the GUID, or nothing when none matches. The three raise
Usage: InviteByName("name") and its siblings for a non-string argument.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- CGGameUI::ClosestObjectMatch ui
- ClientServices::Send net
- lua_isstring lua
- lua_tostring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.