cleanup and make the web routes cleaner

This commit is contained in:
Aaron Kimbre
2025-01-06 01:23:29 -06:00
parent f3b4143698
commit 88376c233c
12 changed files with 337 additions and 112 deletions

View File

@@ -27,6 +27,13 @@ struct FindPlayerRequest{
};
namespace ChatPackets {
struct Announcement {
std::string title;
std::string message;
void Send();
};
void SendChatMessage(const SystemAddress& sysAddr, char chatChannel, const std::string& senderName, LWOOBJID playerObjectID, bool senderMythran, const std::u16string& message);
void SendSystemMessage(const SystemAddress& sysAddr, const std::u16string& message, bool broadcast = false);
void SendMessageFail(const SystemAddress& sysAddr);