mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Synthesize modern's per-form-change event by hooking the engine's bonus-action-bar refresh helper at 0x004E4FC0 — fires every relevant UNIT_BYTES_1 broadcast plus once at post-login. Cached-byte gate on descriptor[+0x212] filters out the recomputes for non-form bytes (standstate, etc.) the same helper handles. Sentinel -1 for "player not resolvable yet" distinguishes early-login transients from real "left a form" transitions. Vanilla 1.12 only has UPDATE_SHAPESHIFT_FORMS (plural — list-changed).