benilla-re systems structs docs

IsRaidMemberPet

function · ui · primitive

Address
0x4baf30 · 151 bytes, up to 0x4bafc6
Signature
int32_t __thiscall (const uint64_t *this)
Meaning
Returns 1 when a GUID is the pet of a roster member, else 0
Confidence
verified, proof one
Finding
ui/groupverbs#pet-of-a-roster-member

Finding: Pet of a roster member in ui: group, guild, raid and instance verbs

0x4baf30(&guid) answers whether a GUID is the pet of a raid roster member; UpdateUnitTokenFlags (0x60c61a) sets the pet flag 0x200 from it, beside the member flag 0x100 from 0x4baee0. It returns 0 for a zero GUID, for a count of 0 and for no match, and 1 for a match. A row whose player object is held (0x468460, mask 0x10) answers by that object's UNIT_FIELD_CHARM GUID, or its UNIT_FIELD_SUMMON GUID when the first is zero, and its record is not read. A row whose object is not held matches by the record's pet GUID, only when its online bit is set.

The derivation is in the doc.

Callers 1

Callees 1

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