diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-10 14:29:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 19:26:02 +0300 |
commit | 1f2778dbae424c1d41bdc969ab37eb20b4a64dbf (patch) | |
tree | d9714ad27fb0222f86b7dbdc826c833ebfa66b1b /src/common/HPMi.h | |
parent | 9f785590a3a3b6e34fe698605eb858ca3ea01485 (diff) | |
download | hercules-1f2778dbae424c1d41bdc969ab37eb20b4a64dbf.tar.gz hercules-1f2778dbae424c1d41bdc969ab37eb20b4a64dbf.tar.bz2 hercules-1f2778dbae424c1d41bdc969ab37eb20b4a64dbf.tar.xz hercules-1f2778dbae424c1d41bdc969ab37eb20b4a64dbf.zip |
Add support for plugin options in char server config.
Diffstat (limited to 'src/common/HPMi.h')
-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 49a6b7c37..12eee94f4 100644 --- a/src/common/HPMi.h +++ b/src/common/HPMi.h @@ -85,7 +85,8 @@ enum HPluginDataTypes { /* used in macros and conf storage */ enum HPluginConfType { HPCT_BATTLE, /* battle-conf (map-server */ - HPCT_LOGIN, /* login-server.conf (login-server) */ + HPCT_LOGIN, /* login-server.conf (login-server) */ + HPCT_CHAR, /* char-server.conf (char-server) */ HPCT_MAX, }; @@ -160,6 +161,8 @@ enum HPluginConfType { #define addBattleConf(bcname,funcname) HPMi->addConf(HPMi->pid,HPCT_BATTLE,bcname,funcname) /* HPMi->addLogin */ #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->addPCGPermission */ #define addGroupPermission(pcgname,maskptr) HPMi->addPCGPermission(HPMi->pid,pcgname,&maskptr) |