Kelsidavis-WoWee/include/game
kelsi davis 6f45c6ab69 Add /roll and friend management commands
Roll Command:
- Add /roll, /random, /rnd commands for random number generation
- Support multiple formats: /roll, /roll 100, /roll 1-100, /roll 10 50
- Broadcasts rolls to party/raid with "[Name] rolls X (min-max)" format
- Cap max roll at 10,000 to prevent abuse
- Use MSG_RANDOM_ROLL (0x1FB) bidirectional opcode

Friend Commands:
- Add /friend add <name>, /addfriend <name> to add friends
- Add /friend remove <name>, /removefriend <name> to remove friends
- Support aliases: /delfriend, /remfriend
- Maintain local friends cache mapping names to GUIDs for lookups
- Display status messages for all friend actions:
  - Friend added/removed confirmations
  - Friend online/offline notifications
  - Error messages (not found, already friends, list full, ignoring)

Social Opcodes:
- Add CMSG_ADD_FRIEND (0x69) and SMSG_FRIEND_STATUS (0x68)
- Add CMSG_DEL_FRIEND (0x6A) for friend removal
- Add CMSG_SET_CONTACT_NOTES (0x6B) for friend notes (future use)
- Add CMSG_ADD_IGNORE (0x6C) and CMSG_DEL_IGNORE (0x6D) (future use)

Implementation:
- Add RandomRollPacket builder and RandomRollParser for roll data
- Add AddFriendPacket and DelFriendPacket builders
- Add FriendStatusParser to handle server friend status updates
- Add friendsCache map to store friend name-to-GUID mappings
- Add handleRandomRoll() and handleFriendStatus() packet handlers
- Comprehensive slash command parsing with multiple formats and aliases
2026-02-07 12:51:30 -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 /roll and friend management commands 2026-02-07 12:51:30 -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 /roll and friend management commands 2026-02-07 12:51:30 -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 /roll and friend management commands 2026-02-07 12:51:30 -08:00
zone_manager.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00