GetPartyPetRecord
function · ui · orchestration
- Address
0x496420· 22 bytes, up to0x496435- Signature
void * __thiscall (uint64_t *this)- Meaning
- Returns the party or raid pet record of a GUID, or 0
- Confidence
- verified, proof one
- Finding
- ui/party#tables-and-the-party-functions
Finding: Tables and the party functions in ui: the party, its leader and its members' records
0xbc6f48 holds the GUIDs of the four other party members, 8 bytes each, 0 for an empty slot; the local player is not among them. The member records
0xbc70b0 are 0x148 bytes each, one per slot. GetNumPartyMembers() pushes the count of nonzero slots (0 to 4). GetPartyMember(n) takes n from 1
to 4 (dec eax; cmp eax,4; jae), raises Usage: GetPartyMember(1-4) for anything else, and pushes the number 1 when slot n-1 holds a GUID, else nil.
The count and the slot reader are 0x4e86d0 and 0x4e81a0.
The derivation is in the doc.
Callers 13
- Script::UnitName ui
- Script::UnitHealth ui
- Script::UnitHealthMax ui
- Script::UnitMana ui
- Script::UnitManaMax ui
- Script::UnitPowerType ui
- Script::UnitIsConnected ui
- Script::UnitBuff ui
- Script::UnitDebuff ui
- Script::SetPortraitTexture ui
- CGTooltip::BuildUnit ui
- GameTooltip::SetUnitBuff ui
- GameTooltip::SetUnitDebuff ui
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.