Kelsidavis-WoWee/src
Paul b0a07c2472 refactor(game): apply SOLID phases 2-6 to EntityController
- split applyUpdateObjectBlock into handleCreateObject,
  handleValuesUpdate, handleMovementUpdate
-  extract concern helpers — createEntityFromBlock,
  applyPlayerTransportState, applyUnitFieldsOnCreate/OnUpdate,
  applyPlayerStatFields, dispatchEntitySpawn, trackItemOnCreate,
  updateItemOnValuesUpdate, syncClassicAurasFromFields,
  detectPlayerMountChange, updateNonPlayerTransportAttachment
- UnitFieldIndices, PlayerFieldIndices, UnitFieldUpdateResult
  structs with static resolve() — eliminate repeated fieldIndex() calls
- IObjectTypeHandler strategy interface; concrete handlers
  UnitTypeHandler, PlayerTypeHandler, GameObjectTypeHandler,
  ItemTypeHandler, CorpseTypeHandler registered in typeHandlers_ map;
  handleCreateObject and handleValuesUpdate now dispatch via
  getTypeHandler() — adding a new object type requires zero changes
  to existing handler methods
- PendingEvents member bus; all 27 inline owner_.fireAddonEvent()
  calls in the update path replaced with pendingEvents_.emit(); events
  flushed via flushPendingEvents() at the end of each handler, decoupling
  field-parse logic from the addon callback system

entity_controller.cpp: 1520-line monolith → longest method ~200 lines,
cyclomatic complexity ~180 → ~5; zero duplicated CREATE/VALUES blocks
2026-03-29 14:42:38 +03:00
..
addons refactor: remove remaining shadowed arrays in lua_engine, constexpr batch 2026-03-27 15:27:47 -07:00
audio refactor: promote static const arrays to constexpr across audio/core/rendering 2026-03-27 15:31:21 -07:00
auth refactor: remaining C-style casts, color constants, and header guard cleanup 2026-03-25 11:57:22 -07:00
core fix: suspend gravity for 10s after world entry to prevent WMO fall-through 2026-03-28 15:50:13 -07:00
game refactor(game): apply SOLID phases 2-6 to EntityController 2026-03-29 14:42:38 +03:00
network fix: increase packet parse/callback budgets to fix Warden module stall 2026-03-28 10:28:20 -07:00
pipeline fix: load binary DBCs from Data/db/ fallback path 2026-03-28 16:17:59 -07:00
rendering fix: suspend gravity for 10s after world entry to prevent WMO fall-through 2026-03-28 15:50:13 -07:00
ui fix: hearthstone from action bar, far teleport loading screen 2026-03-28 14:55:58 -07:00
main.cpp log falling 2026-03-22 21:40:16 +03:00