summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-12-02 20:55:11 +0100
committerHaru <haru@dotalux.com>2016-12-03 15:38:59 +0100
commit2150e64f1df5f5586274a1fde49029c4444db641 (patch)
tree7f342a4bf53777ed740ce6600b0272bb09386e55 /src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
parentc1b4b0b2fb1066087e928e9440b40edd185b188e (diff)
downloadhercules-2150e64f1df5f5586274a1fde49029c4444db641.tar.gz
hercules-2150e64f1df5f5586274a1fde49029c4444db641.tar.bz2
hercules-2150e64f1df5f5586274a1fde49029c4444db641.tar.xz
hercules-2150e64f1df5f5586274a1fde49029c4444db641.zip
HPM Hooks Update
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_char.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.Hooks.inc24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
index bab2c2721..222f013ee 100644
--- a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
@@ -6694,15 +6694,15 @@ void HP_inter_do_final_msg(void) {
}
return;
}
-const char* HP_inter_job_name(int class_) {
+const char* HP_inter_job_name(int class) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_inter_job_name_pre ) {
- const char* (*preHookFunc) (int *class_);
+ const char* (*preHookFunc) (int *class);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_job_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_inter_job_name_pre[hIndex].func;
- retVal___ = preHookFunc(&class_);
+ retVal___ = preHookFunc(&class);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6710,13 +6710,13 @@ const char* HP_inter_job_name(int class_) {
}
}
{
- retVal___ = HPMHooks.source.inter.job_name(class_);
+ retVal___ = HPMHooks.source.inter.job_name(class);
}
if( HPMHooks.count.HP_inter_job_name_post ) {
- const char* (*postHookFunc) (const char* retVal___, int class_);
+ const char* (*postHookFunc) (const char* retVal___, int class);
for(hIndex = 0; hIndex < HPMHooks.count.HP_inter_job_name_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_inter_job_name_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, class_);
+ retVal___ = postHookFunc(retVal___, class);
}
}
return retVal___;
@@ -11873,15 +11873,15 @@ int HP_mapif_parse_GuildLeave(int fd, int guild_id, int account_id, int char_id,
}
return retVal___;
}
-int HP_mapif_parse_GuildChangeMemberInfoShort(int fd, int guild_id, int account_id, int char_id, int online, int lv, int class_) {
+int HP_mapif_parse_GuildChangeMemberInfoShort(int fd, int guild_id, int account_id, int char_id, int online, int lv, int16 class) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mapif_parse_GuildChangeMemberInfoShort_pre ) {
- int (*preHookFunc) (int *fd, int *guild_id, int *account_id, int *char_id, int *online, int *lv, int *class_);
+ int (*preHookFunc) (int *fd, int *guild_id, int *account_id, int *char_id, int *online, int *lv, int16 *class);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildChangeMemberInfoShort_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapif_parse_GuildChangeMemberInfoShort_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, &guild_id, &account_id, &char_id, &online, &lv, &class_);
+ retVal___ = preHookFunc(&fd, &guild_id, &account_id, &char_id, &online, &lv, &class);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11889,13 +11889,13 @@ int HP_mapif_parse_GuildChangeMemberInfoShort(int fd, int guild_id, int account_
}
}
{
- retVal___ = HPMHooks.source.mapif.parse_GuildChangeMemberInfoShort(fd, guild_id, account_id, char_id, online, lv, class_);
+ retVal___ = HPMHooks.source.mapif.parse_GuildChangeMemberInfoShort(fd, guild_id, account_id, char_id, online, lv, class);
}
if( HPMHooks.count.HP_mapif_parse_GuildChangeMemberInfoShort_post ) {
- int (*postHookFunc) (int retVal___, int fd, int guild_id, int account_id, int char_id, int online, int lv, int class_);
+ int (*postHookFunc) (int retVal___, int fd, int guild_id, int account_id, int char_id, int online, int lv, int16 class);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_parse_GuildChangeMemberInfoShort_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mapif_parse_GuildChangeMemberInfoShort_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, fd, guild_id, account_id, char_id, online, lv, class_);
+ retVal___ = postHookFunc(retVal___, fd, guild_id, account_id, char_id, online, lv, class);
}
}
return retVal___;