Files
minecraft-pe-0.6.1/src/commands/CommandManager.hpp
2026-03-30 14:04:16 +03:00

21 lines
377 B
C++

#pragma once
#include <string>
#include <vector>
#include "Command.hpp"
class CommandManager {
public:
CommandManager();
std::vector<std::string> getListAllCommands();
void execute(Minecraft& mc, const std::string& input);
Command* getCommand(const std::string& name);
private:
void registerAllCommands();
std::vector<Command*> m_commands;
};