mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-02-09 14:00:04 +00:00
[refactor] Refactor ChatManager
* Extracted all commands into CustomCommands.cpp * Moved all chat-related packet handlers into ChatManger.cpp * Cleaned up redundant includes * Unified handler naming scheme * Made all command handlers in CustomCommands.cpp static
This commit is contained in:
9
src/CustomCommands.hpp
Normal file
9
src/CustomCommands.hpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "CNProtocol.hpp"
|
||||
|
||||
namespace CustomCommands {
|
||||
void init();
|
||||
|
||||
bool runCmd(std::string full, CNSocket* sock);
|
||||
};
|
||||
Reference in New Issue
Block a user