diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-05 23:53:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-14 06:00:50 +0300 |
commit | a9caa4ea37115869eb3926ca6e4c53709e7d9337 (patch) | |
tree | 0940de7d3992bfe0adacf3a36a6831ac516c99e7 /src/plugins/HPMHooking/HPMHooking.Defs.inc | |
parent | 94366099f9019643c9e431a35af064283fab5a0c (diff) | |
download | hercules-a9caa4ea37115869eb3926ca6e4c53709e7d9337.tar.gz hercules-a9caa4ea37115869eb3926ca6e4c53709e7d9337.tar.bz2 hercules-a9caa4ea37115869eb3926ca6e4c53709e7d9337.tar.xz hercules-a9caa4ea37115869eb3926ca6e4c53709e7d9337.zip |
Update HPM hooks.
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Defs.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Defs.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc index 81e25f033..d366c1e08 100644 --- a/src/plugins/HPMHooking/HPMHooking.Defs.inc +++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc @@ -5673,6 +5673,16 @@ typedef int (*HPMHOOK_post_npc_secure_timeout_timer) (int retVal___, int tid, in typedef void (*HPMHOOK_pre_nullpo_assert_report) (const char **file, int *line, const char **func, const char **targetname, const char **title); typedef void (*HPMHOOK_post_nullpo_assert_report) (const char *file, int line, const char *func, const char *targetname, const char *title); #endif // COMMON_NULLPO_H +#ifdef COMMON_PACKETS_H /* packets */ +typedef void (*HPMHOOK_pre_packets_init) (void); +typedef void (*HPMHOOK_post_packets_init) (void); +typedef void (*HPMHOOK_pre_packets_final) (void); +typedef void (*HPMHOOK_post_packets_final) (void); +typedef void (*HPMHOOK_pre_packets_addLens) (void); +typedef void (*HPMHOOK_post_packets_addLens) (void); +typedef void (*HPMHOOK_pre_packets_addLen) (int *id, int *len); +typedef void (*HPMHOOK_post_packets_addLen) (int id, int len); +#endif // COMMON_PACKETS_H #ifdef MAP_PARTY_H /* party */ typedef void (*HPMHOOK_pre_party_init) (bool *minimal); typedef void (*HPMHOOK_post_party_init) (bool minimal); |