summaryrefslogtreecommitdiff
path: root/src/common/HPMSymbols.inc.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-05 23:53:43 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-14 06:00:50 +0300
commita9caa4ea37115869eb3926ca6e4c53709e7d9337 (patch)
tree0940de7d3992bfe0adacf3a36a6831ac516c99e7 /src/common/HPMSymbols.inc.h
parent94366099f9019643c9e431a35af064283fab5a0c (diff)
downloadhercules-a9caa4ea37115869eb3926ca6e4c53709e7d9337.tar.gz
hercules-a9caa4ea37115869eb3926ca6e4c53709e7d9337.tar.bz2
hercules-a9caa4ea37115869eb3926ca6e4c53709e7d9337.tar.xz
hercules-a9caa4ea37115869eb3926ca6e4c53709e7d9337.zip
Update HPM hooks.
Diffstat (limited to 'src/common/HPMSymbols.inc.h')
-rw-r--r--src/common/HPMSymbols.inc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/HPMSymbols.inc.h b/src/common/HPMSymbols.inc.h
index 15acb1b06..146379508 100644
--- a/src/common/HPMSymbols.inc.h
+++ b/src/common/HPMSymbols.inc.h
@@ -218,6 +218,9 @@ struct npc_interface *npc;
#ifdef COMMON_NULLPO_H /* nullpo */
struct nullpo_interface *nullpo;
#endif // COMMON_NULLPO_H
+#ifdef COMMON_PACKETS_H /* packets */
+struct packets_interface *packets;
+#endif // COMMON_PACKETS_H
#ifdef MAP_PARTY_H /* party */
struct party_interface *party;
#endif // MAP_PARTY_H
@@ -559,6 +562,10 @@ HPExport const char *HPM_shared_symbols(int server_type)
if ((server_type&(SERVER_TYPE_ALL)) != 0 && !HPM_SYMBOL("nullpo", nullpo))
return "nullpo";
#endif // COMMON_NULLPO_H
+#ifdef COMMON_PACKETS_H /* packets */
+ if ((server_type&(SERVER_TYPE_ALL)) != 0 && !HPM_SYMBOL("packets", packets))
+ return "packets";
+#endif // COMMON_PACKETS_H
#ifdef MAP_PARTY_H /* party */
if ((server_type&(SERVER_TYPE_MAP)) != 0 && !HPM_SYMBOL("party", party))
return "party";