benilla-re systems structs docs

Script::PromoteByName

function · ui · primitive

Address
0x48a830 · 194 bytes, up to 0x48a8f1
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

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