mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-21 22:58:24 -04:00
Add a generic AddonEventCallback to GameHandler for firing named events with string arguments directly from game logic. Wire it to the addon system in Application. New events fired: - PLAYER_TARGET_CHANGED — when target is set or cleared - PLAYER_LEVEL_UP(newLevel) — on level up The generic callback pattern makes it easy to add more events from game_handler.cpp without touching Application/AddonManager code. Total addon events: 16 (2 world + 12 chat + 2 gameplay).