diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-10 15:41:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 19:26:02 +0300 |
commit | 8c51c16bd34c2dd453bafc588e619d0b64ac0276 (patch) | |
tree | 7912feec3bc93172b3d9aabaaf621d44e9c9cab3 /src/common | |
parent | 0cf69eb96545b3482baa6c541a3bfdcc66c8b1f7 (diff) | |
download | hercules-8c51c16bd34c2dd453bafc588e619d0b64ac0276.tar.gz hercules-8c51c16bd34c2dd453bafc588e619d0b64ac0276.tar.bz2 hercules-8c51c16bd34c2dd453bafc588e619d0b64ac0276.tar.xz hercules-8c51c16bd34c2dd453bafc588e619d0b64ac0276.zip |
Add support for plugin options in map server config (inter-server.conf).
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/HPMi.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/HPMi.h b/src/common/HPMi.h index 945f0fec1..850f734ba 100644 --- a/src/common/HPMi.h +++ b/src/common/HPMi.h @@ -88,6 +88,7 @@ enum HPluginConfType { HPCT_LOGIN, /* login-server.conf (login-server) */ HPCT_CHAR, /* char-server.conf (char-server) */ HPCT_CHAR_INTER, /* inter-server.conf (char-server) */ + HPCT_MAP_INTER, /* inter-server.conf (map-server) */ HPCT_MAX, }; @@ -165,7 +166,9 @@ enum HPluginConfType { /* 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) +#define addCharInterConf(bcname,funcname) HPMi->addConf(HPMi->pid,HPCT_CHAR_INTER,bcname,funcname) +/* HPMi->addMapInter */ +#define addMapInterConf(bcname,funcname) HPMi->addConf(HPMi->pid,HPCT_MAP_INTER,bcname,funcname) /* HPMi->addPCGPermission */ #define addGroupPermission(pcgname,maskptr) HPMi->addPCGPermission(HPMi->pid,pcgname,&maskptr) |