diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-10 15:16:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 19:26:02 +0300 |
commit | 0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7 (patch) | |
tree | 8a243a3a667c0ac1086ada67aae76b14fcfddce5 /src/common/HPMi.h | |
parent | 1f2778dbae424c1d41bdc969ab37eb20b4a64dbf (diff) | |
download | hercules-0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7.tar.gz hercules-0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7.tar.bz2 hercules-0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7.tar.xz hercules-0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7.zip |
Add support for plugin options in char server config (inter-server.conf).
Diffstat (limited to 'src/common/HPMi.h')
-rw-r--r-- | src/common/HPMi.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/common/HPMi.h b/src/common/HPMi.h index 12eee94f4..945f0fec1 100644 --- a/src/common/HPMi.h +++ b/src/common/HPMi.h @@ -84,9 +84,10 @@ enum HPluginDataTypes { /* used in macros and conf storage */ enum HPluginConfType { - HPCT_BATTLE, /* battle-conf (map-server */ - HPCT_LOGIN, /* login-server.conf (login-server) */ - HPCT_CHAR, /* char-server.conf (char-server) */ + HPCT_BATTLE, /* battle-conf (map-server */ + HPCT_LOGIN, /* login-server.conf (login-server) */ + HPCT_CHAR, /* char-server.conf (char-server) */ + HPCT_CHAR_INTER, /* inter-server.conf (char-server) */ HPCT_MAX, }; @@ -163,6 +164,8 @@ enum HPluginConfType { #define addLoginConf(bcname,funcname) HPMi->addConf(HPMi->pid,HPCT_LOGIN,bcname,funcname) /* HPMi->addChar */ #define addCharConf(bcname,funcname) HPMi->addConf(HPMi->pid,HPCT_CHAR,bcname,funcname) +/* HPMi->addCharInter */ +#define addCharInterConf(bcname,funcname) HPMi->addConf(HPMi->pid,HPCT_SQL,bcname,funcname) /* HPMi->addPCGPermission */ #define addGroupPermission(pcgname,maskptr) HPMi->addPCGPermission(HPMi->pid,pcgname,&maskptr) |