AddPartyMember
function · ui · primitive
- Address
0x4e82d0· 437 bytes, up to0x4e8484- Signature
void __fastcall (uint32_t online, void *oldRecord, uint64_t guid)- Meaning
- Stores a party member's GUID and record, tags its object and asks for its stats and name
- Confidence
- verified, proof one
- Finding
- ui/party#a-members-record
Finding: A member's record in ui: the party, its leader and its members' records
0x4e82d0(online, record, guid) runs for each accepted member of a group list. It ignores a zero GUID and a full table; otherwise it stores the GUID in the first empty slot and fills the
record from a copy of the caller's old one (rep movs, 0x52 dwords), or with zeros and health, maximum, power and maximum power set to 1. It sets bit 0 of
the status byte from online. A member whose player object exists gets the party token flag 0x10 (0x20 on its pet) and a name refresh; with no object and no
old record the function sends opcode 0x27f with the member's GUID. It then queries the name cache; its callback signals PARTY_MEMBERS_CHANGED.
The derivation is in the doc.
Callers 1
- ReadGroupList objectlayer
Callees 8
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- ClntObjMgrObjectPtr objectlayer
- CGGameUI::ReleaseTarget ui
- DBCache::NameCache::GetRecord dbcache
- ClientServices::Send net
- CGUnit_C::RefreshNameDesc objectlayer
- CGUnit_C::AddUnitTokenFlags objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.