1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

code review

This commit is contained in:
Laserlicht
2023-09-25 18:06:40 +02:00
committed by GitHub
parent 68e536c290
commit c3373ea34c
7 changed files with 29 additions and 25 deletions

View File

@@ -21,8 +21,6 @@ class CGameHandler;
class PlayerMessageProcessor
{
std::set<PlayerColor> cheaters;
void executeCheatCode(const std::string & cheatName, PlayerColor player, ObjectInstanceID currObj, const std::vector<std::string> & arguments );
bool handleCheatCode(const std::string & cheatFullCommand, PlayerColor player, ObjectInstanceID currObj);
bool handleHostCommand(PlayerColor player, const std::string & message);
@@ -60,6 +58,5 @@ public:
template <typename Handler> void serialize(Handler &h, const int version)
{
h & cheaters;
}
};