summaryrefslogtreecommitdiff
path: root/src/map/atcommand.h
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-05-15 11:51:09 -0400
committergumi <mekolat@users.noreply.github.com>2017-05-28 11:51:31 -0400
commit9ef0c24ba9c2cff4ae6fcf5884a14aa8111faf27 (patch)
treed76f245d9fb6ee97a70857c86b62e524a972f2f0 /src/map/atcommand.h
parentcb3e2f5f3b91d0a1f7711eff9c10ae9a655a74f2 (diff)
downloadhercules-9ef0c24ba9c2cff4ae6fcf5884a14aa8111faf27.tar.gz
hercules-9ef0c24ba9c2cff4ae6fcf5884a14aa8111faf27.tar.bz2
hercules-9ef0c24ba9c2cff4ae6fcf5884a14aa8111faf27.tar.xz
hercules-9ef0c24ba9c2cff4ae6fcf5884a14aa8111faf27.zip
allow custom atcommands to have different permissions for each group
Diffstat (limited to 'src/map/atcommand.h')
-rw-r--r--src/map/atcommand.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/atcommand.h b/src/map/atcommand.h
index 35b3c382e..efcf6dd31 100644
--- a/src/map/atcommand.h
+++ b/src/map/atcommand.h
@@ -79,8 +79,10 @@ struct AtCommandInfo {
struct atcmd_binding_data {
char command[ATCOMMAND_LENGTH];
char npc_event[ATCOMMAND_LENGTH];
- int group_lv;
- int group_lv_char;
+ int group_lv; // DEPRECATED
+ int group_lv_char; // DEPRECATED
+ char *at_groups; // quick @commands "can-use" lookup
+ char *char_groups; // quick @charcommands "can-use" lookup
bool log;
};