AddPlayerTypeWatchers
function · objectlayer · primitive
- Address
0x5e2510· 321 bytes, up to0x5e2650- Signature
void __cdecl (void)- Meaning
- Clears player state and registers the type watchers on every player's visible items, flags and guild fields
- Confidence
- verified, proof one
- Finding
- objectlayer/playerfields#watchers-on-every-player
Finding: Watchers on every player in objectlayer: player fields
0x5e2510 registers type watchers (ClntObjMgrSetTypeMirrorHandler) at world entry, after
clearing the vendor GUID, the wrap item, the bind point's valid flag and the attack-error state,
and filling the weapon-skill spells (playercombat).
| section, offset | fields | callback |
|---|---|---|
player +0x118 + 0x30·i | the 14 visible items of mask 0x7c3fd (slots 0, 2 to 9, 14 to 18), 48 bytes each | 0x5e2810 |
unit +0x00, 16 bytes | UNIT_FIELD_CHARM, UNIT_FIELD_SUMMON | 0x5e2660 |
player +0x08 | PLAYER_FLAGS | 0x5e2850 |
player +0x0c, +0x10 | PLAYER_GUILDID, PLAYER_GUILDRANK | 0x5e2770, 0x5e27b0 |
player +0x1d, +0x1e, +0x1f | PLAYER_BYTES_3 bytes 1, 2, 3 | 0x5e2a90, 0x5e2a30, 0x5e2a50 |
player +0x20, +0x24 | PLAYER_DUEL_TEAM, PLAYER_GUILD_TIMESTAMP | 0x5e27d0, 0x5e2890 |
The derivation is in the doc.
Callers 1
- ClientInitializeGame client
Callees 3
- ClntObjMgrSetTypeMirrorHandler objectlayer
- BuildWeaponSkillSpells objectlayer
- SetAttackErrorState objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.