ClearParty
function · ui · primitive
- Address
0x4e84a0· 302 bytes, up to0x4e85cd- Signature
void __fastcall (int32_t notify)- Meaning
- Releases the members' tokens, empties the party slots and zeroes the leader
- 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 5
- ClntObjMgrObjectPtr objectlayer
- CGGameUI::ReleaseTarget ui
- CGUnit_C::RefreshNameDesc objectlayer
- CGUnit_C::RemoveUnitTokenFlags objectlayer
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.