diff options
Diffstat (limited to 'src/crsm.hpp')
| -rw-r--r-- | src/crsm.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/crsm.hpp b/src/crsm.hpp index 63e6156..af3b5cf 100644 --- a/src/crsm.hpp +++ b/src/crsm.hpp @@ -22,6 +22,7 @@ #include "ProcessManager.hpp" #include "CRSMConfig.hpp" #include "CRSMStats.hpp" +#include "CRSMPackCompatibility.hpp" #define CONFIG_FILE_NAME "CrServerManager.conf" #define SESSION_FILE_NAME "CrServerManager.session" @@ -187,6 +188,7 @@ private: CRSMSession Session; CRSMStats Stats; + CRSMPackCompatibility Packs; QList<ScenarioSettings> userlist; QList<ScenarioSettings> autolist; @@ -275,6 +277,8 @@ private: QString scenarioFileName(QString name); CmdResult callCommand(const CmdFunctionRef& func, const QString& args, const ClientInfo& client, UserType userType); + void writeFiles(bool writeSession = false, bool writeNoConfig = false); + CMD_FUNCTION(help); CMD_FUNCTION(passToClonk); CMD_FUNCTION(passToClonkOnOff); @@ -326,6 +330,14 @@ private: CMD_FUNCTION(ircSay); CMD_FUNCTION(ircWatch); + CMD_FUNCTION(packsList); + CMD_FUNCTION(packsVersionsAdd); + CMD_FUNCTION(packsVersionsDelete); + CMD_FUNCTION(packsVersionsDefault); + CMD_FUNCTION(packsScenariosAdd); + CMD_FUNCTION(packsScenariosDelete); + CMD_FUNCTION(packsScenariosList); + IRC_CHECK_CALLBACK(ircSetAdmin); IRC_CHECK_CALLBACK(ircModCmd); IRC_CHECK_CALLBACK(ircSayQuery); |
