mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Put ChatEvent handler into own function
Comply with line limit.
This commit is contained in:
parent
889f893ff3
commit
63e7137e3b
2 changed files with 22 additions and 15 deletions
|
@ -476,6 +476,8 @@ private:
|
|||
void DeleteClient(u16 peer_id, ClientDeletionReason reason);
|
||||
void UpdateCrafting(Player *player);
|
||||
|
||||
void handleChatInterfaceEvent(ChatEvent *evt);
|
||||
|
||||
// This returns the answer to the sender of wmessage, or "" if there is none
|
||||
std::wstring handleChat(const std::string &name, const std::wstring &wname,
|
||||
const std::wstring &wmessage,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue