#pragma once #include #include #include #include #include #include #include "minecraft/commands/CommandsEnum.h" class Command; class CommandSender; class CommandDispatcher { private: std::unordered_map commandsById; std::unordered_set commands; public: int performCommand(std::shared_ptr sender, EGameCommand command, std::vector& commandData); Command* addCommand(Command* command); };