| 123456789101112131415161718192021222324252627282930 |
- /*
- * ClientCommandManager.h, part of VCMI engine
- *
- * Authors: listed in file AUTHORS in main folder
- *
- * License: GNU General Public License v2.0 or later
- * Full text of license available in license.txt file, in main folder
- *
- */
- #pragma once
- class PlayerColor;
- class CIntObject;
- class ClientCommandManager
- {
- static bool currentCallFromIngameConsole;
- static void giveTurn(const PlayerColor &color);
- static void removeGUI();
- static void printInfoAboutInterfaceObject(const CIntObject *obj, int level);
- static void printCommandMessage(const std::string &commandMessage, ELogLevel::ELogLevel messageType = ELogLevel::NOT_SET);
- static void handleGoSolo();
- static void handleControlAi(const std::string &colorName);
- public:
- ClientCommandManager() = delete;
- static void processCommand(const std::string &message, bool calledFromIngameConsole);
- };
|