benilla-re systems structs docs

Script::PromoteToPartyLeader

function · ui · primitive

Address
0x48a7c0 · 109 bytes, up to 0x48a82c
Signature
int __fastcall (lua_State *L)
Meaning
Makes the player a unit token names the party leader
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/groupverbs#inviting-and-removing-by-token

Finding: Inviting and removing by token in ui: group, guild, raid and instance verbs

InviteToParty("unit"), UninviteFromParty("unit") and PromoteToPartyLeader("unit") turn the token into a GUID through GetGUIDFromName and call InviteByGuid, UninviteByGuid and SendGroupSetLeader on the active player, when the player and a nonzero GUID exist; otherwise nothing happens. UninviteFromRaid(index) does the same for the raid roster entry index−1, using the first two dwords of the entry as the GUID. The first three raise Usage: InviteToParty("unit") and its siblings for a non-string argument, the raid one Usage: UninviteFromRaid(index) for a non-number.

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.