mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-24 04:40:05 +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:
@@ -2,6 +2,7 @@
|
||||
#include "CNShardServer.hpp"
|
||||
#include "PlayerManager.hpp"
|
||||
#include "ChatManager.hpp"
|
||||
#include "CustomCommands.hpp"
|
||||
#include "MobManager.hpp"
|
||||
#include "ItemManager.hpp"
|
||||
#include "MissionManager.hpp"
|
||||
@@ -94,6 +95,7 @@ int main() {
|
||||
TableData::init();
|
||||
PlayerManager::init();
|
||||
ChatManager::init();
|
||||
CustomCommands::init();
|
||||
MobManager::init();
|
||||
ItemManager::init();
|
||||
MissionManager::init();
|
||||
|
||||
Reference in New Issue
Block a user