SetGroupLeader
function · ui · primitive
- Address
0x4e8250· 124 bytes, up to0x4e82cb- Signature
void __stdcall (uint64_t guid)- Meaning
- Stores the group leader GUID, finds its party slot and signals PARTY_LEADER_CHANGED
- Confidence
- verified, proof one
- Finding
- ui/party#the-group-leader
Finding: The group leader in ui: the party, its leader and its members' records
The leader GUID is 0xbc75f8, one cell for party and raid. 0x4e8250(guid) stores it when it differs from the stored one, resets the leader index 0x84c150 to -1, scans the four
slots and stores the slot number found (0 to 3), and signals PARTY_LEADER_CHANGED; an unchanged GUID returns without an event. 0x4e84a0(notify) releases every member's
unit token flags, empties the slots, zeroes the leader cell and sets the index to 0, and signals PARTY_MEMBERS_CHANGED when notify is set. IsPartyLeader() pushes 1 when the cell is nonzero and is the
active player's GUID, else nil. GetPartyLeaderIndex() pushes 0x84c150 + 1.
The derivation is in the doc.
Callers 4
- ReadGroupUninvite objectlayer
- ReadGroupDestroyed objectlayer
- ReadPartyCommandResult objectlayer
- ReadGroupList objectlayer
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.