benilla-re systems structs docs

CGPartyInfo::IsMemberOrPet

function · ui · orchestration

Address
0x4e80a0 · 243 bytes, up to 0x4e8192
Signature
int32_t __thiscall (uint64_t *this)
Meaning
Returns 1 when a GUID is the active player, a party member or the pet of either, 0 for a zero GUID
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/party#member-or-pet

Finding: Member or pet in ui: the party, its leader and its members' records

0x4e80a0(&guid) returns 1 when a nonzero GUID is the active player's, the active player's pet (UNIT_FIELD_CHARM, else UNIT_FIELD_SUMMON), a party slot's, or a party member's pet, else 0. The active player is matched by GUID before any object is looked up, and the pet only while the player's object is held. A slot holding 0 is skipped. A member whose player object is held answers by the object's CHARM, else SUMMON; one without answers, only while bit 0 (online) of its record's status is set, by the record's pet GUID +0x80. IsRaidMemberOrPet (0x491900), its one caller, tries it before the raid's 0x4bafd0.

The derivation is in the doc.

Callers 1

Callees 2

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