diff options
author | Haru <haru@dotalux.com> | 2016-03-13 19:57:54 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-07-12 20:58:33 +0200 |
commit | ad05eb4f2e531f5a9aec6f27d2f69fd53b6525ac (patch) | |
tree | d71411780996b4351f1ae13c435d8746ac8e989e /src/common | |
parent | 1a99077d1cfa1d66b984fec9b956ed8fcd8c4cff (diff) | |
download | hercules-ad05eb4f2e531f5a9aec6f27d2f69fd53b6525ac.tar.gz hercules-ad05eb4f2e531f5a9aec6f27d2f69fd53b6525ac.tar.bz2 hercules-ad05eb4f2e531f5a9aec6f27d2f69fd53b6525ac.tar.xz hercules-ad05eb4f2e531f5a9aec6f27d2f69fd53b6525ac.zip |
HPM Hooks Update
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/HPMDataCheck.h | 3 | ||||
-rw-r--r-- | src/common/HPMSymbols.inc.h | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/common/HPMDataCheck.h b/src/common/HPMDataCheck.h index 332857a90..c4eedadbf 100644 --- a/src/common/HPMDataCheck.h +++ b/src/common/HPMDataCheck.h @@ -150,7 +150,8 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = { #define COMMON_DB_H #endif // COMMON_DB_H #ifdef COMMON_DES_H - { "BIT64", sizeof(struct BIT64), SERVER_TYPE_ALL }, + { "des_bit64", sizeof(struct des_bit64), SERVER_TYPE_ALL }, + { "des_interface", sizeof(struct des_interface), SERVER_TYPE_ALL }, #else #define COMMON_DES_H #endif // COMMON_DES_H diff --git a/src/common/HPMSymbols.inc.h b/src/common/HPMSymbols.inc.h index 516222e8e..0e535f54c 100644 --- a/src/common/HPMSymbols.inc.h +++ b/src/common/HPMSymbols.inc.h @@ -68,6 +68,9 @@ struct core_interface *core; #ifdef COMMON_DB_H /* DB */ struct db_interface *DB; #endif // COMMON_DB_H +#ifdef COMMON_DES_H /* des */ +struct des_interface *des; +#endif // COMMON_DES_H #ifdef MAP_DUEL_H /* duel */ struct duel_interface *duel; #endif // MAP_DUEL_H @@ -300,6 +303,9 @@ if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("core", core)) return "core"; #ifdef COMMON_DB_H /* DB */ if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("DB", DB)) return "DB"; #endif // COMMON_DB_H +#ifdef COMMON_DES_H /* des */ +if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("des", des)) return "des"; +#endif // COMMON_DES_H #ifdef MAP_DUEL_H /* duel */ if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("duel", duel)) return "duel"; #endif // MAP_DUEL_H |