[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:
2021-03-12 20:07:26 +01:00
parent 4cd3a3dabd
commit 2d7129111a
13 changed files with 1180 additions and 1163 deletions

View File

@@ -30,6 +30,7 @@ CSRC=\
CXXSRC=\
src/ChatManager.cpp\
src/CustomCommands.cpp\
src/CNLoginServer.cpp\
src/CNProtocol.cpp\
src/CNShardServer.cpp\
@@ -65,6 +66,7 @@ CXXHDR=\
vendor/INIReader.hpp\
vendor/JSON.hpp\
src/ChatManager.hpp\
src/CustomCommands.hpp\
src/CNLoginServer.hpp\
src/CNProtocol.hpp\
src/CNShardServer.hpp\