summaryrefslogtreecommitdiff
path: root/src/resources/db/groupdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-20 06:11:17 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-20 06:11:17 +0300
commit3363acba6f1e8e51937ae2e354a8086c5c56b8cd (patch)
treecc2429241a3e7cba7a90ba1ae1b76e0abf8e5345 /src/resources/db/groupdb.h
parent1f5ca54b8f60e112c2043160700055290c8ce912 (diff)
downloadplus-3363acba6f1e8e51937ae2e354a8086c5c56b8cd.tar.gz
plus-3363acba6f1e8e51937ae2e354a8086c5c56b8cd.tar.bz2
plus-3363acba6f1e8e51937ae2e354a8086c5c56b8cd.tar.xz
plus-3363acba6f1e8e51937ae2e354a8086c5c56b8cd.zip
Show gm revive button in death dialog if player have rights for @alive command.
Diffstat (limited to 'src/resources/db/groupdb.h')
-rw-r--r--src/resources/db/groupdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/db/groupdb.h b/src/resources/db/groupdb.h
index f447baa96..19a186911 100644
--- a/src/resources/db/groupdb.h
+++ b/src/resources/db/groupdb.h
@@ -21,6 +21,8 @@
#ifndef RESOURCES_DB_GROUPDB_H
#define RESOURCES_DB_GROUPDB_H
+#include "enums/resources/servercommandtype.h"
+
#include "enums/simpletypes/skiperror.h"
#include <map>
@@ -44,6 +46,7 @@ namespace GroupDb
bool getHighlightName(const int id) A_WARN_UNUSED;
const std::string &getBadge(const int id) A_WARN_UNUSED;
const GroupInfo *getGroup(const int id) A_WARN_UNUSED RETURNS_NONNULL;
+ bool isAllowCommand(const ServerCommandTypeT command);
typedef std::map<int, GroupInfo*> GroupInfos;
typedef GroupInfos::iterator GroupInfosIter;