CGPlayer_C::BuildPartyRecord
function · objectlayer · primitive
- Address
0x5f0880· 765 bytes, up to0x5f0b7c- Meaning
- Fills a 0x148-byte party member record from the live player and, with pet, its pet
- Confidence
- verified, proof one
- Finding
- objectlayer/party#the-party-member-record
Finding: The party member record in objectlayer: party, guild and petitions
Each party or raid member has a 0x148-byte record: status, power type, health and max, power and
max, level, zone, map position, 48 auras, and the pet's GUID, name, display, health, power and 48
auras. 0x5f0880(unit, record, pet) builds one from a live unit; 0x5e5510(old, new) returns the
mask of what differs; 0x5e5720(guid, mask, old, new) raises the unit events for it.
| offset | value | live source |
|---|---|---|
+0x08 | status: 1 online, 2 PvP, 4 dead, 8 ghost, 0x10 free-for-all, 0x20 from the wire | UNIT_FIELD_FLAGS 0x1000, health, PLAYER_FLAGS 0x10 and 0x80 |
+0x09, +0x0a to +0x12 | power type; u16 health, max, power, max, level | fields 36, 22, 28, 23 + type, 29 + type, 34 |
+0x14, +0x16 | zone; i16 x and y | 0xb4e314; the position, truncated |
+0x1a, +0x5a | auras 0 to 31 and 32 to 47 | fields 47 to 94 with a flag nibble of 0xe |
+0x80, +0x88 | pet GUID and name (0x50) | UNIT_FIELD_CHARM, else UNIT_FIELD_SUMMON |
+0xd8 to +0x124 | pet power type, display, health, power and auras | the pet unit |
The derivation is in the doc.
Callers 3
- 0x4badc0 ui
- UpdatePartyMemberRecord ui
- CGPlayer_C::ComparePartyRecord objectlayer
Callees 4
- __ftol crt
- ClntObjMgrObjectPtr objectlayer
- CGUnit_C::GetUnitName objectlayer
- SStrCopy storm
Calls and jumps by a bare address, from tables/calls.tsv.