summaryrefslogtreecommitdiffstats
path: root/src/PatchedClonkControl.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2017-04-06 17:22:23 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2017-04-06 17:22:52 +0200
commit21d4d5f0de6bd8ed1cdab4f7fe6b9596dd390252 (patch)
tree53af18c9eb2098721dca970f0316d832938b231e /src/PatchedClonkControl.hpp
parent3fe710cb029522b86ef27c322f0cb793b1368051 (diff)
downloadmanager-21d4d5f0de6bd8ed1cdab4f7fe6b9596dd390252.tar.gz
manager-21d4d5f0de6bd8ed1cdab4f7fe6b9596dd390252.zip
Move clonk control specific parts into ClonkControl
There are still many clonk commands hardcoded through the pass-CRSM-Commands
Diffstat (limited to 'src/PatchedClonkControl.hpp')
-rw-r--r--src/PatchedClonkControl.hpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/PatchedClonkControl.hpp b/src/PatchedClonkControl.hpp
index 2469178..8ec6cff 100644
--- a/src/PatchedClonkControl.hpp
+++ b/src/PatchedClonkControl.hpp
@@ -1,11 +1,17 @@
-#ifndef PATCHEDCLONKCONTROL_HPP
-#define PATCHEDCLONKCONTROL_HPP
+#pragma once
+#include "ClonkInterface.hpp"
class PatchedClonkControl : public ClonkControlInterface
{
public:
PatchedClonkControl();
+ void abortCountdown() override;
+ void alert() override;
+ void kick(const ClientInfo& client, const QString& reason = "") override;
+ void rawCommand(const QString& command) override;
+ void serverMessage(const QString& msg, bool action = false) override;
+ void setCommand(const QString& command) override;
+ void setCountdown(unsigned int countdown) override;
+ void watchdog(const QString& id) override;
};
-
-#endif // PATCHEDCLONKCONTROL_HPP \ No newline at end of file