#pragma once namespace Components { class ServerCommands : public Component { public: ServerCommands(); static void OnCommand(std::int32_t cmd, Utils::Slot cb); private: static std::unordered_map> Commands; static bool OnServerCommand(); static void OnServerCommandStub(); }; }