mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Chat protocol rewrite (#5117)
* New TOCLIENT_CHAT_MESSAGE packet * Rename old packet to TOCLIENT_CHAT_MESSAGE_OLD for compat * Handle TOCLIENT_CHAT_MESSAGE new structure client side * Client chat queue should use a specific object * SendChatMessage: use the right packet depending on protocol version (not complete yet) * Add chatmessage(type) objects and handle them client side (partially) * Use ChatMessage instead of std::wstring server side * Update with timestamp support
This commit is contained in:
parent
ecbc972ea6
commit
7ddf67aa14
16 changed files with 251 additions and 51 deletions
|
@ -84,6 +84,9 @@ public:
|
|||
NetworkPacket& operator>>(u64& dst);
|
||||
NetworkPacket& operator<<(u64 src);
|
||||
|
||||
NetworkPacket& operator>>(std::time_t& dst);
|
||||
NetworkPacket& operator<<(std::time_t src);
|
||||
|
||||
NetworkPacket& operator>>(float& dst);
|
||||
NetworkPacket& operator<<(float src);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue