Kelsidavis-WoWee/include/game
kelsi davis dfc4008ec7 Add Tier 8 commands: advanced targeting system
Targeting Commands:
- /cleartarget - Clear current target selection
- /targetenemy - Cycle to next hostile target (Tab equivalent)
- /targetfriend - Cycle to next friendly player
- /targetlasttarget, /targetlast - Switch to previous target
- /targetlastenemy - Cycle to previous hostile target
- /targetlastfriend - Cycle to previous friendly player
- /focus - Set current target as focus (client-side)
- /clearfocus - Clear focus target

Implementation:
- Added focusGuid and lastTargetGuid to GameHandler for client-side tracking
- setTarget() now automatically saves previous target to lastTargetGuid
- setFocus() and clearFocus() manage focus target with user feedback
- targetLastTarget() swaps current and previous targets
- targetEnemy() cycles through hostile entities (Units)
- targetFriend() cycles through friendly entities (Players)
- Both targetEnemy/targetFriend support reverse parameter for backwards cycling

Features:
- Focus targeting is client-side (no server opcode in 3.3.5a)
- Last target tracking happens automatically on every target change
- Enemy/friend cycling iterates through visible entities
- Provides user feedback when no targets available
- Tab-like cycling behavior with wraparound

All commands work entirely client-side for responsive targeting.
2026-02-07 13:44:36 -08:00
..
character.hpp Add 3D character model preview to character creation screen 2026-02-05 14:58:45 -08:00
entity.hpp Add character screen model preview, item icons, stats panel, and fix targeting bugs 2026-02-06 14:24:38 -08:00
game_handler.hpp Add Tier 8 commands: advanced targeting system 2026-02-07 13:44:36 -08:00
group_defines.hpp Add gameplay systems: combat, spells, groups, loot, vendors, and UI 2026-02-04 10:31:03 -08:00
inventory.hpp Fix hair/vendor/loot bugs, revamp spellbook with tabs and icons, clean up action bar, add talent placeholder 2026-02-06 16:04:25 -08:00
npc_manager.hpp Add character screen model preview, item icons, stats panel, and fix targeting bugs 2026-02-06 14:24:38 -08:00
opcodes.hpp Add Tier 7 commands: combat and trade 2026-02-07 13:36:50 -08:00
player.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
spell_defines.hpp Fix spell cast error messages, action bar drag-drop, and player name display 2026-02-06 21:25:35 -08:00
world.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
world_packets.hpp Add Tier 7 commands: combat and trade 2026-02-07 13:36:50 -08:00
zone_manager.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00