CGPlayer_C::RemoveActiveWatchers
function · objectlayer · primitive
- Address
0x5de5b0· 1037 bytes, up to0x5de9bc- Meaning
- Removes the active player's object watchers, and one on +0x10ac that was never added
- Confidence
- verified, proof one
- Finding
- objectlayer/playerfields#watchers-on-the-active-player
Finding: Watchers on the active player in objectlayer: player fields
0x5dd8a0 registers object watchers on the active player (ClntObjMgrSetObjectMirrorHandler), and
0x5de5b0 removes them. The removal also asks for a watcher on
PLAYER_FIELD_LIFETIME_HONORABLE_KILLS (+0x10ac) that nothing adds, which removes nothing.
0x5de4b0 fires the event id its registration gives as the argument, with "player" as arg1.
| fields | callback |
|---|---|
| inventory slots 0 to 22, bank 39 to 68, keys 81 to 112 (8 bytes each) | 0x5ddcf0 |
| the 20 quest-log entries (12 bytes each) | 0x5ddd80 (quests) |
PLAYER_FIELD_COINAGE | 0x5ddf30 |
PLAYER_FIELD_BYTES byte 1 | 0x5ddff0 |
UNIT_FIELD_CHARMEDBY | 0x5de090 (CGUnit_C::RefreshReaction) |
UNIT_FIELD_BYTES_1 byte 2 | 0x5de010 |
PLAYER_FARSIGHT | 0x5de0d0 |
| each of 128 skills: value, max, permanent and temporary bonus | 0x5de180, 0x5de450, 0x5de470 |
PLAYER_BYTES_2 byte 3 | 0x5de4e0 |
PLAYER_FIELD_BYTES2 byte 1 | 0x5de560 |
| experience, rest, resistances, damage mods, kills, PvP rank, watched faction | 0x5de4b0, each with its event |
The derivation is in the doc.
Callers 1
- CGPlayer_C::Release objectlayer
Callees 1
- ClntObjMgrClearObjectMirrorHandler objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.