Kelsidavis-WoWee/src/game
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
..
character.cpp Add body type selection for nonbinary characters and reduce preview rotation sensitivity 2026-02-09 17:56:04 -08:00
chat_handler.cpp refactor(game): extract EntityController from GameHandler (step 1.3) 2026-03-29 08:21:27 +03:00
combat_handler.cpp refactor(game): extract EntityController from GameHandler (step 1.3) 2026-03-29 08:21:27 +03:00
entity.cpp Fix transport/WMO diagnostics and terrain WMO dedup lifecycle 2026-02-18 22:36:34 -08:00
entity_controller.cpp refactor(game): apply SOLID phases 2-6 to EntityController 2026-03-29 14:42:38 +03:00
expansion_profile.cpp refactor: remaining C-style casts, color constants, and header guard cleanup 2026-03-25 11:57:22 -07:00
game_handler.cpp refactor(game): extract EntityController from GameHandler (step 1.3) 2026-03-29 08:21:27 +03:00
inventory.cpp feat: server-synced bag sort, fix world map continent bounds, update docs 2026-03-24 09:24:09 -07:00
inventory_handler.cpp refactor(game): extract EntityController from GameHandler (step 1.3) 2026-03-29 08:21:27 +03:00
movement_handler.cpp refactor(game): extract EntityController from GameHandler (step 1.3) 2026-03-29 08:21:27 +03:00
opcode_table.cpp refactor: derive turtle opcodes from classic 2026-03-15 02:55:05 -07:00
opcodes.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
packet_parsers_classic.cpp fix: mail money uint64, other-player cape textures, zone toast dedup, TCP_NODELAY 2026-03-27 17:20:31 -07:00
packet_parsers_tbc.cpp refactor: convert final 7 getRemainingSize() comparisons to hasRemaining() 2026-03-25 16:32:38 -07:00
player.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
quest_handler.cpp refactor(game): extract EntityController from GameHandler (step 1.3) 2026-03-29 08:21:27 +03:00
social_handler.cpp refactor(game): extract EntityController from GameHandler (step 1.3) 2026-03-29 08:21:27 +03:00
spell_handler.cpp refactor(game): extract EntityController from GameHandler (step 1.3) 2026-03-29 08:21:27 +03:00
transport_manager.cpp perf: eliminate ~70 unnecessary sqrt ops per frame, optimize caches and threading 2026-03-27 16:33:16 -07:00
update_field_table.cpp fix: add UNIT_FIELD_AURAFLAGS to update field name table 2026-03-20 07:16:34 -07:00
warden_crypto.cpp Fix CodeQL weak-crypto suppressions: switch lgtm to codeql inline format 2026-02-19 17:06:49 -08:00
warden_emulator.cpp feat: implement Warden API stub dispatch via Unicorn UC_HOOK_CODE 2026-03-17 21:22:41 -07:00
warden_handler.cpp fix: increase packet parse/callback budgets to fix Warden module stall 2026-03-28 10:28:20 -07:00
warden_memory.cpp refactor: remaining C-style casts, color constants, and header guard cleanup 2026-03-25 11:57:22 -07:00
warden_module.cpp build fix 2026-03-22 21:39:40 +03:00
world.cpp Clarify World stub methods: terrain/entity state lives in subsystems 2026-03-09 15:54:43 -07:00
world_packets.cpp fix: add bare-points spline fallback for flying/falling splines (0x10000) 2026-03-28 12:47:37 -07:00
zone_manager.cpp Enrich zone music from AreaTable/ZoneMusic/SoundEntries DBC chain 2026-03-09 16:04:52 -07:00