mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-03 16:03:52 +00:00
Add chat channels, chat settings, and fix missing chat text
Fix WotLK chat parser not stripping null terminators from messages, fix channel message local echo missing channelName, expand default channels to General/Trade/LocalDefense/LookingForGroup with configurable auto-join, add Classic packet format for join/leave channel, display channel index prefix in chat, and add Chat settings tab with timestamps, font size, and auto-join toggles.
This commit is contained in:
parent
54ad8f38b2
commit
6b392a5dd8
8 changed files with 197 additions and 7 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include <string>
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <chrono>
|
||||
|
||||
namespace wowee {
|
||||
namespace game {
|
||||
|
|
@ -653,6 +654,7 @@ struct MessageChatData {
|
|||
std::string message;
|
||||
std::string channelName; // For channel messages
|
||||
uint8_t chatTag = 0; // Player flags (AFK, DND, GM, etc.)
|
||||
std::chrono::system_clock::time_point timestamp = std::chrono::system_clock::now();
|
||||
|
||||
bool isValid() const { return !message.empty(); }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue