diff options
author | gumi <git@gumi.ca> | 2018-02-15 13:14:49 -0500 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-02-15 14:01:15 -0500 |
commit | fdaa7d2568d03cd6bb7507e5cedbf597f847f178 (patch) | |
tree | fe84cd81e231f10d8b339b2b1cfac66f1bd8bad3 /src/plugins/HPMHooking/HPMHooking.Defs.inc | |
parent | 59f02f1d406a1238f90d072949ac07279a90e9ea (diff) | |
download | hercules-fdaa7d2568d03cd6bb7507e5cedbf597f847f178.tar.gz hercules-fdaa7d2568d03cd6bb7507e5cedbf597f847f178.tar.bz2 hercules-fdaa7d2568d03cd6bb7507e5cedbf597f847f178.tar.xz hercules-fdaa7d2568d03cd6bb7507e5cedbf597f847f178.zip |
expose script_sprintf to plugins
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Defs.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Defs.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc index 816e1981d..daa6f0a9f 100644 --- a/src/plugins/HPMHooking/HPMHooking.Defs.inc +++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc @@ -6434,6 +6434,8 @@ typedef int (*HPMHOOK_pre_script_cleanfloor_sub) (struct block_list **bl, va_lis typedef int (*HPMHOOK_post_script_cleanfloor_sub) (int retVal___, struct block_list *bl, va_list ap); typedef int (*HPMHOOK_pre_script_run_func) (struct script_state **st); typedef int (*HPMHOOK_post_script_run_func) (int retVal___, struct script_state *st); +typedef bool (*HPMHOOK_pre_script_sprintf) (struct script_state **st, int *start, struct StringBuf **out); +typedef bool (*HPMHOOK_post_script_sprintf) (bool retVal___, struct script_state *st, int start, struct StringBuf *out); typedef const char* (*HPMHOOK_pre_script_getfuncname) (struct script_state **st); typedef const char* (*HPMHOOK_post_script_getfuncname) (const char* retVal___, struct script_state *st); typedef unsigned int (*HPMHOOK_pre_script_calc_hash_ci) (const char **p); |