benilla-re systems structs docs

AddPlayerTypeWatchers

function · objectlayer · primitive

Address
0x5e2510 · 321 bytes, up to 0x5e2650
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, offsetfieldscallback
player +0x118 + 0x30·ithe 14 visible items of mask 0x7c3fd (slots 0, 2 to 9, 14 to 18), 48 bytes each0x5e2810
unit +0x00, 16 bytesUNIT_FIELD_CHARM, UNIT_FIELD_SUMMON0x5e2660
player +0x08PLAYER_FLAGS0x5e2850
player +0x0c, +0x10PLAYER_GUILDID, PLAYER_GUILDRANK0x5e2770, 0x5e27b0
player +0x1d, +0x1e, +0x1fPLAYER_BYTES_3 bytes 1, 2, 30x5e2a90, 0x5e2a30, 0x5e2a50
player +0x20, +0x24PLAYER_DUEL_TEAM, PLAYER_GUILD_TIMESTAMP0x5e27d0, 0x5e2890

The derivation is in the doc.

Callers 1

Callees 3

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