diff options
author | shennetsind <ind@henn.et> | 2013-11-08 15:39:59 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-08 15:39:59 -0200 |
commit | 4858233f3aebe920417eaa9531fa298bc2763c04 (patch) | |
tree | c3be7f9847c59e56bdfeadf0f52a71835626caab /src/plugins/HPMHooking/HPMHooking.Hooks.inc | |
parent | 0876387f293ee633f7bfe12f8adf3f4a37d5b736 (diff) | |
parent | 9cbaab60234b6c633c8dff46a52aeb2bf981f078 (diff) | |
download | hercules-4858233f3aebe920417eaa9531fa298bc2763c04.tar.gz hercules-4858233f3aebe920417eaa9531fa298bc2763c04.tar.bz2 hercules-4858233f3aebe920417eaa9531fa298bc2763c04.tar.xz hercules-4858233f3aebe920417eaa9531fa298bc2763c04.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Hooks.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Hooks.inc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Hooks.inc b/src/plugins/HPMHooking/HPMHooking.Hooks.inc index 575e004f1..fdf4a6763 100644 --- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc @@ -40166,6 +40166,31 @@ int HP_mob_read_sqldb(void) { } return retVal___; } +void HP_mob_name_constants(void) { + int hIndex = 0; + if( HPMHooks.count.HP_mob_name_constants_pre ) { + void (*preHookFunc) (void); + for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_name_constants_pre; hIndex++ ) { + preHookFunc = HPMHooks.list.HP_mob_name_constants_pre[hIndex].func; + preHookFunc(); + } + if( *HPMforce_return ) { + *HPMforce_return = false; + return; + } + } + { + HPMHooks.source.mob.name_constants(); + } + if( HPMHooks.count.HP_mob_name_constants_post ) { + void (*postHookFunc) (void); + for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_name_constants_post; hIndex++ ) { + postHookFunc = HPMHooks.list.HP_mob_name_constants_post[hIndex].func; + postHookFunc(); + } + } + return; +} bool HP_mob_readdb_mobavail(char *str[], int columns, int current) { int hIndex = 0; bool retVal___ = false; |