summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc8948
1 files changed, 4474 insertions, 4474 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index 51eca1a11..ab2def6cd 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -54,11 +54,11 @@ bool HP_HCache_check(const char *file) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_HCache_check_pre ) {
- bool (*preHookFunc) (const char *file);
+ bool (*preHookFunc) (const char **file);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_HCache_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_HCache_check_pre[hIndex].func;
- retVal___ = preHookFunc(file);
+ retVal___ = preHookFunc(&file);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -81,11 +81,11 @@ FILE* HP_HCache_open(const char *file, const char *opt) {
int hIndex = 0;
FILE* retVal___ = NULL;
if( HPMHooks.count.HP_HCache_open_pre ) {
- FILE* (*preHookFunc) (const char *file, const char *opt);
+ FILE* (*preHookFunc) (const char **file, const char **opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_HCache_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_HCache_open_pre[hIndex].func;
- retVal___ = preHookFunc(file, opt);
+ retVal___ = preHookFunc(&file, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -161,11 +161,11 @@ bool HP_atcommand_exec(const int fd, struct map_session_data *sd, const char *me
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_atcommand_exec_pre ) {
- bool (*preHookFunc) (const int *fd, struct map_session_data *sd, const char *message, bool *player_invoked);
+ bool (*preHookFunc) (const int *fd, struct map_session_data **sd, const char **message, bool *player_invoked);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_exec_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_exec_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd, message, &player_invoked);
+ retVal___ = preHookFunc(&fd, &sd, &message, &player_invoked);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -188,11 +188,11 @@ bool HP_atcommand_create(char *name, AtCommandFunc func) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_atcommand_create_pre ) {
- bool (*preHookFunc) (char *name, AtCommandFunc *func);
+ bool (*preHookFunc) (char **name, AtCommandFunc *func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_create_pre[hIndex].func;
- retVal___ = preHookFunc(name, &func);
+ retVal___ = preHookFunc(&name, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -215,11 +215,11 @@ bool HP_atcommand_can_use(struct map_session_data *sd, const char *command) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_atcommand_can_use_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *command);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **command);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_can_use_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_can_use_pre[hIndex].func;
- retVal___ = preHookFunc(sd, command);
+ retVal___ = preHookFunc(&sd, &command);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -242,11 +242,11 @@ bool HP_atcommand_can_use2(struct map_session_data *sd, const char *command, AtC
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_atcommand_can_use2_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *command, AtCommandType *type);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **command, AtCommandType *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_can_use2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_can_use2_pre[hIndex].func;
- retVal___ = preHookFunc(sd, command, &type);
+ retVal___ = preHookFunc(&sd, &command, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -268,11 +268,11 @@ bool HP_atcommand_can_use2(struct map_session_data *sd, const char *command, AtC
void HP_atcommand_load_groups(GroupSettings **groups, struct config_setting_t **commands_, size_t sz) {
int hIndex = 0;
if( HPMHooks.count.HP_atcommand_load_groups_pre ) {
- void (*preHookFunc) (GroupSettings **groups, struct config_setting_t **commands_, size_t *sz);
+ void (*preHookFunc) (GroupSettings ***groups, struct config_setting_t ***commands_, size_t *sz);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_load_groups_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_load_groups_pre[hIndex].func;
- preHookFunc(groups, commands_, &sz);
+ preHookFunc(&groups, &commands_, &sz);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -295,11 +295,11 @@ AtCommandInfo* HP_atcommand_exists(const char *name) {
int hIndex = 0;
AtCommandInfo* retVal___ = NULL;
if( HPMHooks.count.HP_atcommand_exists_pre ) {
- AtCommandInfo* (*preHookFunc) (const char *name);
+ AtCommandInfo* (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_exists_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_exists_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -322,11 +322,11 @@ bool HP_atcommand_msg_read(const char *cfg_name, bool allow_override) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_atcommand_msg_read_pre ) {
- bool (*preHookFunc) (const char *cfg_name, bool *allow_override);
+ bool (*preHookFunc) (const char **cfg_name, bool *allow_override);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_msg_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_msg_read_pre[hIndex].func;
- retVal___ = preHookFunc(cfg_name, &allow_override);
+ retVal___ = preHookFunc(&cfg_name, &allow_override);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -375,11 +375,11 @@ struct atcmd_binding_data* HP_atcommand_get_bind_byname(const char *name) {
int hIndex = 0;
struct atcmd_binding_data* retVal___ = NULL;
if( HPMHooks.count.HP_atcommand_get_bind_byname_pre ) {
- struct atcmd_binding_data* (*preHookFunc) (const char *name);
+ struct atcmd_binding_data* (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_get_bind_byname_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_get_bind_byname_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -402,11 +402,11 @@ AtCommandInfo* HP_atcommand_get_info_byname(const char *name) {
int hIndex = 0;
AtCommandInfo* retVal___ = NULL;
if( HPMHooks.count.HP_atcommand_get_info_byname_pre ) {
- AtCommandInfo* (*preHookFunc) (const char *name);
+ AtCommandInfo* (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_get_info_byname_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_get_info_byname_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -429,11 +429,11 @@ const char* HP_atcommand_check_alias(const char *aliasname) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_atcommand_check_alias_pre ) {
- const char* (*preHookFunc) (const char *aliasname);
+ const char* (*preHookFunc) (const char **aliasname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_check_alias_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_check_alias_pre[hIndex].func;
- retVal___ = preHookFunc(aliasname);
+ retVal___ = preHookFunc(&aliasname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -455,11 +455,11 @@ const char* HP_atcommand_check_alias(const char *aliasname) {
void HP_atcommand_get_suggestions(struct map_session_data *sd, const char *name, bool is_atcmd_cmd) {
int hIndex = 0;
if( HPMHooks.count.HP_atcommand_get_suggestions_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *name, bool *is_atcmd_cmd);
+ void (*preHookFunc) (struct map_session_data **sd, const char **name, bool *is_atcmd_cmd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_get_suggestions_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_get_suggestions_pre[hIndex].func;
- preHookFunc(sd, name, &is_atcmd_cmd);
+ preHookFunc(&sd, &name, &is_atcmd_cmd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -481,11 +481,11 @@ void HP_atcommand_get_suggestions(struct map_session_data *sd, const char *name,
void HP_atcommand_config_read(const char *config_filename) {
int hIndex = 0;
if( HPMHooks.count.HP_atcommand_config_read_pre ) {
- void (*preHookFunc) (const char *config_filename);
+ void (*preHookFunc) (const char **config_filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_config_read_pre[hIndex].func;
- preHookFunc(config_filename);
+ preHookFunc(&config_filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -508,12 +508,12 @@ int HP_atcommand_stopattack(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_atcommand_stopattack_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_stopattack_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_atcommand_stopattack_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -541,12 +541,12 @@ int HP_atcommand_pvpoff_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_atcommand_pvpoff_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_pvpoff_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_atcommand_pvpoff_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -574,12 +574,12 @@ int HP_atcommand_pvpon_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_atcommand_pvpon_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_pvpon_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_atcommand_pvpon_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -607,12 +607,12 @@ int HP_atcommand_atkillmonster_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_atcommand_atkillmonster_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_atkillmonster_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_atcommand_atkillmonster_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -639,11 +639,11 @@ int HP_atcommand_atkillmonster_sub(struct block_list *bl, va_list ap) {
void HP_atcommand_raise_sub(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_atcommand_raise_sub_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_raise_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_raise_sub_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -665,11 +665,11 @@ void HP_atcommand_raise_sub(struct map_session_data *sd) {
void HP_atcommand_get_jail_time(int jailtime, int *year, int *month, int *day, int *hour, int *minute) {
int hIndex = 0;
if( HPMHooks.count.HP_atcommand_get_jail_time_pre ) {
- void (*preHookFunc) (int *jailtime, int *year, int *month, int *day, int *hour, int *minute);
+ void (*preHookFunc) (int *jailtime, int **year, int **month, int **day, int **hour, int **minute);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_get_jail_time_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_get_jail_time_pre[hIndex].func;
- preHookFunc(&jailtime, year, month, day, hour, minute);
+ preHookFunc(&jailtime, &year, &month, &day, &hour, &minute);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -692,12 +692,12 @@ int HP_atcommand_cleanfloor_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_atcommand_cleanfloor_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_cleanfloor_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_atcommand_cleanfloor_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -725,12 +725,12 @@ int HP_atcommand_mutearea_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_atcommand_mutearea_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_mutearea_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_atcommand_mutearea_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -757,11 +757,11 @@ int HP_atcommand_mutearea_sub(struct block_list *bl, va_list ap) {
void HP_atcommand_getring(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_atcommand_getring_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_getring_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_getring_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -783,11 +783,11 @@ void HP_atcommand_getring(struct map_session_data *sd) {
void HP_atcommand_channel_help(int fd, const char *command, bool can_create) {
int hIndex = 0;
if( HPMHooks.count.HP_atcommand_channel_help_pre ) {
- void (*preHookFunc) (int *fd, const char *command, bool *can_create);
+ void (*preHookFunc) (int *fd, const char **command, bool *can_create);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_channel_help_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_channel_help_pre[hIndex].func;
- preHookFunc(&fd, command, &can_create);
+ preHookFunc(&fd, &command, &can_create);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -809,11 +809,11 @@ void HP_atcommand_channel_help(int fd, const char *command, bool can_create) {
void HP_atcommand_commands_sub(struct map_session_data *sd, const int fd, AtCommandType type) {
int hIndex = 0;
if( HPMHooks.count.HP_atcommand_commands_sub_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const int *fd, AtCommandType *type);
+ void (*preHookFunc) (struct map_session_data **sd, const int *fd, AtCommandType *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_commands_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_commands_sub_pre[hIndex].func;
- preHookFunc(sd, &fd, &type);
+ preHookFunc(&sd, &fd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -862,12 +862,12 @@ int HP_atcommand_cmd_db_clear_sub(union DBKey key, struct DBData *data, va_list
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_atcommand_cmd_db_clear_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list args);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_cmd_db_clear_sub_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_atcommand_cmd_db_clear_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, args___copy);
+ retVal___ = preHookFunc(&key, &data, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -947,11 +947,11 @@ bool HP_atcommand_add(char *name, AtCommandFunc func, bool replace) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_atcommand_add_pre ) {
- bool (*preHookFunc) (char *name, AtCommandFunc *func, bool *replace);
+ bool (*preHookFunc) (char **name, AtCommandFunc *func, bool *replace);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_add_pre[hIndex].func;
- retVal___ = preHookFunc(name, &func, &replace);
+ retVal___ = preHookFunc(&name, &func, &replace);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1054,11 +1054,11 @@ const char* HP_atcommand_msgsd(struct map_session_data *sd, int msg_number) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_atcommand_msgsd_pre ) {
- const char* (*preHookFunc) (struct map_session_data *sd, int *msg_number);
+ const char* (*preHookFunc) (struct map_session_data **sd, int *msg_number);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_atcommand_msgsd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_atcommand_msgsd_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &msg_number);
+ retVal___ = preHookFunc(&sd, &msg_number);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1134,11 +1134,11 @@ struct Damage HP_battle_calc_attack(int attack_type, struct block_list *bl, stru
int hIndex = 0;
struct Damage retVal___ = { 0 };
if( HPMHooks.count.HP_battle_calc_attack_pre ) {
- struct Damage (*preHookFunc) (int *attack_type, struct block_list *bl, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *count);
+ struct Damage (*preHookFunc) (int *attack_type, struct block_list **bl, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, int *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_attack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_attack_pre[hIndex].func;
- retVal___ = preHookFunc(&attack_type, bl, target, &skill_id, &skill_lv, &count);
+ retVal___ = preHookFunc(&attack_type, &bl, &target, &skill_id, &skill_lv, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1161,11 +1161,11 @@ int64 HP_battle_calc_damage(struct block_list *src, struct block_list *bl, struc
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_damage_pre ) {
- int64 (*preHookFunc) (struct block_list *src, struct block_list *bl, struct Damage *d, int64 *damage, uint16 *skill_id, uint16 *skill_lv);
+ int64 (*preHookFunc) (struct block_list **src, struct block_list **bl, struct Damage **d, int64 *damage, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_damage_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, d, &damage, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&src, &bl, &d, &damage, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1188,11 +1188,11 @@ int64 HP_battle_calc_gvg_damage(struct block_list *src, struct block_list *bl, i
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_gvg_damage_pre ) {
- int64 (*preHookFunc) (struct block_list *src, struct block_list *bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
+ int64 (*preHookFunc) (struct block_list **src, struct block_list **bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_gvg_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_gvg_damage_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &damage, &div_, &skill_id, &skill_lv, &flag);
+ retVal___ = preHookFunc(&src, &bl, &damage, &div_, &skill_id, &skill_lv, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1215,11 +1215,11 @@ int64 HP_battle_calc_bg_damage(struct block_list *src, struct block_list *bl, in
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_bg_damage_pre ) {
- int64 (*preHookFunc) (struct block_list *src, struct block_list *bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
+ int64 (*preHookFunc) (struct block_list **src, struct block_list **bl, int64 *damage, int *div_, uint16 *skill_id, uint16 *skill_lv, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_bg_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_bg_damage_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &damage, &div_, &skill_id, &skill_lv, &flag);
+ retVal___ = preHookFunc(&src, &bl, &damage, &div_, &skill_id, &skill_lv, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1242,11 +1242,11 @@ enum damage_lv HP_battle_weapon_attack(struct block_list *bl, struct block_list
int hIndex = 0;
enum damage_lv retVal___ = ATK_NONE;
if( HPMHooks.count.HP_battle_weapon_attack_pre ) {
- enum damage_lv (*preHookFunc) (struct block_list *bl, struct block_list *target, int64 *tick, int *flag);
+ enum damage_lv (*preHookFunc) (struct block_list **bl, struct block_list **target, int64 *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_weapon_attack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_weapon_attack_pre[hIndex].func;
- retVal___ = preHookFunc(bl, target, &tick, &flag);
+ retVal___ = preHookFunc(&bl, &target, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1269,11 +1269,11 @@ struct Damage HP_battle_calc_weapon_attack(struct block_list *src, struct block_
int hIndex = 0;
struct Damage retVal___ = { 0 };
if( HPMHooks.count.HP_battle_calc_weapon_attack_pre ) {
- struct Damage (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *wflag);
+ struct Damage (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, int *wflag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_weapon_attack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_weapon_attack_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &skill_id, &skill_lv, &wflag);
+ retVal___ = preHookFunc(&src, &target, &skill_id, &skill_lv, &wflag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1296,11 +1296,11 @@ int HP_battle_delay_damage(int64 tick, int amotion, struct block_list *src, stru
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_delay_damage_pre ) {
- int (*preHookFunc) (int64 *tick, int *amotion, struct block_list *src, struct block_list *target, int *attack_type, uint16 *skill_id, uint16 *skill_lv, int64 *damage, enum damage_lv *dmg_lv, int *ddelay, bool *additional_effects);
+ int (*preHookFunc) (int64 *tick, int *amotion, struct block_list **src, struct block_list **target, int *attack_type, uint16 *skill_id, uint16 *skill_lv, int64 *damage, enum damage_lv *dmg_lv, int *ddelay, bool *additional_effects);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_delay_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_delay_damage_pre[hIndex].func;
- retVal___ = preHookFunc(&tick, &amotion, src, target, &attack_type, &skill_id, &skill_lv, &damage, &dmg_lv, &ddelay, &additional_effects);
+ retVal___ = preHookFunc(&tick, &amotion, &src, &target, &attack_type, &skill_id, &skill_lv, &damage, &dmg_lv, &ddelay, &additional_effects);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1322,11 +1322,11 @@ int HP_battle_delay_damage(int64 tick, int amotion, struct block_list *src, stru
void HP_battle_drain(struct map_session_data *sd, struct block_list *tbl, int64 rdamage, int64 ldamage, int race, int boss) {
int hIndex = 0;
if( HPMHooks.count.HP_battle_drain_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct block_list *tbl, int64 *rdamage, int64 *ldamage, int *race, int *boss);
+ void (*preHookFunc) (struct map_session_data **sd, struct block_list **tbl, int64 *rdamage, int64 *ldamage, int *race, int *boss);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_drain_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_drain_pre[hIndex].func;
- preHookFunc(sd, tbl, &rdamage, &ldamage, &race, &boss);
+ preHookFunc(&sd, &tbl, &rdamage, &ldamage, &race, &boss);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1348,11 +1348,11 @@ void HP_battle_drain(struct map_session_data *sd, struct block_list *tbl, int64
void HP_battle_reflect_damage(struct block_list *target, struct block_list *src, struct Damage *wd, uint16 skill_id) {
int hIndex = 0;
if( HPMHooks.count.HP_battle_reflect_damage_pre ) {
- void (*preHookFunc) (struct block_list *target, struct block_list *src, struct Damage *wd, uint16 *skill_id);
+ void (*preHookFunc) (struct block_list **target, struct block_list **src, struct Damage **wd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_reflect_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_reflect_damage_pre[hIndex].func;
- preHookFunc(target, src, wd, &skill_id);
+ preHookFunc(&target, &src, &wd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1402,11 +1402,11 @@ int64 HP_battle_attr_fix(struct block_list *src, struct block_list *target, int6
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_attr_fix_pre ) {
- int64 (*preHookFunc) (struct block_list *src, struct block_list *target, int64 *damage, int *atk_elem, int *def_type, int *def_lv);
+ int64 (*preHookFunc) (struct block_list **src, struct block_list **target, int64 *damage, int *atk_elem, int *def_type, int *def_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_attr_fix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_attr_fix_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &damage, &atk_elem, &def_type, &def_lv);
+ retVal___ = preHookFunc(&src, &target, &damage, &atk_elem, &def_type, &def_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1429,11 +1429,11 @@ int64 HP_battle_calc_cardfix(int attack_type, struct block_list *src, struct blo
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_cardfix_pre ) {
- int64 (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *target, int *nk, int *s_ele, int *s_ele_, int64 *damage, int *left, int *flag);
+ int64 (*preHookFunc) (int *attack_type, struct block_list **src, struct block_list **target, int *nk, int *s_ele, int *s_ele_, int64 *damage, int *left, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_cardfix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_cardfix_pre[hIndex].func;
- retVal___ = preHookFunc(&attack_type, src, target, &nk, &s_ele, &s_ele_, &damage, &left, &flag);
+ retVal___ = preHookFunc(&attack_type, &src, &target, &nk, &s_ele, &s_ele_, &damage, &left, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1456,11 +1456,11 @@ int64 HP_battle_calc_cardfix2(struct block_list *src, struct block_list *bl, int
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_cardfix2_pre ) {
- int64 (*preHookFunc) (struct block_list *src, struct block_list *bl, int64 *damage, int *s_ele, int *nk, int *flag);
+ int64 (*preHookFunc) (struct block_list **src, struct block_list **bl, int64 *damage, int *s_ele, int *nk, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_cardfix2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_cardfix2_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &damage, &s_ele, &nk, &flag);
+ retVal___ = preHookFunc(&src, &bl, &damage, &s_ele, &nk, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1483,11 +1483,11 @@ int64 HP_battle_calc_elefix(struct block_list *src, struct block_list *target, u
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_elefix_pre ) {
- int64 (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *nk, int *n_ele, int *s_ele, int *s_ele_, bool *left, int *flag);
+ int64 (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *nk, int *n_ele, int *s_ele, int *s_ele_, bool *left, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_elefix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_elefix_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &skill_id, &skill_lv, &damage, &nk, &n_ele, &s_ele, &s_ele_, &left, &flag);
+ retVal___ = preHookFunc(&src, &target, &skill_id, &skill_lv, &damage, &nk, &n_ele, &s_ele, &s_ele_, &left, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1510,11 +1510,11 @@ int64 HP_battle_calc_masteryfix(struct block_list *src, struct block_list *targe
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_masteryfix_pre ) {
- int64 (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *div, bool *left, bool *weapon);
+ int64 (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *div, bool *left, bool *weapon);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_masteryfix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_masteryfix_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &skill_id, &skill_lv, &damage, &div, &left, &weapon);
+ retVal___ = preHookFunc(&src, &target, &skill_id, &skill_lv, &damage, &div, &left, &weapon);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1537,11 +1537,11 @@ int HP_battle_calc_chorusbonus(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_chorusbonus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_chorusbonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_chorusbonus_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1564,11 +1564,11 @@ int HP_battle_calc_skillratio(int attack_type, struct block_list *src, struct bl
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_skillratio_pre ) {
- int (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *skillratio, int *flag);
+ int (*preHookFunc) (int *attack_type, struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, int *skillratio, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_skillratio_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_skillratio_pre[hIndex].func;
- retVal___ = preHookFunc(&attack_type, src, target, &skill_id, &skill_lv, &skillratio, &flag);
+ retVal___ = preHookFunc(&attack_type, &src, &target, &skill_id, &skill_lv, &skillratio, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1591,11 +1591,11 @@ int64 HP_battle_calc_sizefix(struct map_session_data *sd, int64 damage, int type
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_sizefix_pre ) {
- int64 (*preHookFunc) (struct map_session_data *sd, int64 *damage, int *type, int *size, bool *ignore);
+ int64 (*preHookFunc) (struct map_session_data **sd, int64 *damage, int *type, int *size, bool *ignore);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_sizefix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_sizefix_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &damage, &type, &size, &ignore);
+ retVal___ = preHookFunc(&sd, &damage, &type, &size, &ignore);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1618,11 +1618,11 @@ int64 HP_battle_calc_weapon_damage(struct block_list *src, struct block_list *bl
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_weapon_damage_pre ) {
- int64 (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, struct weapon_atk *watk, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *size, int *type, int *flag, int *flag2);
+ int64 (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 *skill_id, uint16 *skill_lv, struct weapon_atk **watk, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *size, int *type, int *flag, int *flag2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_weapon_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_weapon_damage_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &skill_id, &skill_lv, watk, &nk, &n_ele, &s_ele, &s_ele_, &size, &type, &flag, &flag2);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &watk, &nk, &n_ele, &s_ele, &s_ele_, &size, &type, &flag, &flag2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1645,11 +1645,11 @@ int64 HP_battle_calc_defense(int attack_type, struct block_list *src, struct blo
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_defense_pre ) {
- int64 (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *flag, int *pdef);
+ int64 (*preHookFunc) (int *attack_type, struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *flag, int *pdef);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_defense_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_defense_pre[hIndex].func;
- retVal___ = preHookFunc(&attack_type, src, target, &skill_id, &skill_lv, &damage, &flag, &pdef);
+ retVal___ = preHookFunc(&attack_type, &src, &target, &skill_id, &skill_lv, &damage, &flag, &pdef);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1672,11 +1672,11 @@ struct block_list* HP_battle_get_master(struct block_list *src) {
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_battle_get_master_pre ) {
- struct block_list* (*preHookFunc) (struct block_list *src);
+ struct block_list* (*preHookFunc) (struct block_list **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_master_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_get_master_pre[hIndex].func;
- retVal___ = preHookFunc(src);
+ retVal___ = preHookFunc(&src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1699,11 +1699,11 @@ struct block_list* HP_battle_get_targeted(struct block_list *target) {
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_battle_get_targeted_pre ) {
- struct block_list* (*preHookFunc) (struct block_list *target);
+ struct block_list* (*preHookFunc) (struct block_list **target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_targeted_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_get_targeted_pre[hIndex].func;
- retVal___ = preHookFunc(target);
+ retVal___ = preHookFunc(&target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1726,11 +1726,11 @@ struct block_list* HP_battle_get_enemy(struct block_list *target, int type, int
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_battle_get_enemy_pre ) {
- struct block_list* (*preHookFunc) (struct block_list *target, int *type, int *range);
+ struct block_list* (*preHookFunc) (struct block_list **target, int *type, int *range);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_enemy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_get_enemy_pre[hIndex].func;
- retVal___ = preHookFunc(target, &type, &range);
+ retVal___ = preHookFunc(&target, &type, &range);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1753,11 +1753,11 @@ int HP_battle_get_target(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_get_target_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_target_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_get_target_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1780,11 +1780,11 @@ int HP_battle_get_current_skill(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_get_current_skill_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_current_skill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_get_current_skill_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1834,11 +1834,11 @@ int HP_battle_check_target(struct block_list *src, struct block_list *target, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_check_target_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_check_target_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_check_target_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &flag);
+ retVal___ = preHookFunc(&src, &target, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1861,11 +1861,11 @@ bool HP_battle_check_range(struct block_list *src, struct block_list *bl, int ra
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_battle_check_range_pre ) {
- bool (*preHookFunc) (struct block_list *src, struct block_list *bl, int *range);
+ bool (*preHookFunc) (struct block_list **src, struct block_list **bl, int *range);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_check_range_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_check_range_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &range);
+ retVal___ = preHookFunc(&src, &bl, &range);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1887,11 +1887,11 @@ bool HP_battle_check_range(struct block_list *src, struct block_list *bl, int ra
void HP_battle_consume_ammo(struct map_session_data *sd, int skill_id, int lv) {
int hIndex = 0;
if( HPMHooks.count.HP_battle_consume_ammo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *skill_id, int *lv);
+ void (*preHookFunc) (struct map_session_data **sd, int *skill_id, int *lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_consume_ammo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_consume_ammo_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &lv);
+ preHookFunc(&sd, &skill_id, &lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1914,12 +1914,12 @@ int HP_battle_get_targeted_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_get_targeted_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_targeted_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_battle_get_targeted_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -1947,12 +1947,12 @@ int HP_battle_get_enemy_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_get_enemy_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_enemy_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_battle_get_enemy_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -1980,12 +1980,12 @@ int HP_battle_get_enemy_area_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_get_enemy_area_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_enemy_area_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_battle_get_enemy_area_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -2040,11 +2040,11 @@ int HP_battle_blewcount_bonus(struct map_session_data *sd, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_blewcount_bonus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_blewcount_bonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_blewcount_bonus_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id);
+ retVal___ = preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2067,11 +2067,11 @@ int HP_battle_range_type(struct block_list *src, struct block_list *target, uint
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_range_type_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_range_type_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_range_type_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&src, &target, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2094,11 +2094,11 @@ int64 HP_battle_calc_base_damage(struct block_list *src, struct block_list *bl,
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_base_damage_pre ) {
- int64 (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *type, int *flag, int *flag2);
+ int64 (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 *skill_id, uint16 *skill_lv, int *nk, bool *n_ele, short *s_ele, short *s_ele_, int *type, int *flag, int *flag2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_base_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_base_damage_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &skill_id, &skill_lv, &nk, &n_ele, &s_ele, &s_ele_, &type, &flag, &flag2);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &nk, &n_ele, &s_ele, &s_ele_, &type, &flag, &flag2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2121,11 +2121,11 @@ int64 HP_battle_calc_base_damage2(struct status_data *st, struct weapon_atk *wa,
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_calc_base_damage2_pre ) {
- int64 (*preHookFunc) (struct status_data *st, struct weapon_atk *wa, struct status_change *sc, unsigned short *t_size, struct map_session_data *sd, int *flag);
+ int64 (*preHookFunc) (struct status_data **st, struct weapon_atk **wa, struct status_change **sc, unsigned short *t_size, struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_base_damage2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_base_damage2_pre[hIndex].func;
- retVal___ = preHookFunc(st, wa, sc, &t_size, sd, &flag);
+ retVal___ = preHookFunc(&st, &wa, &sc, &t_size, &sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2148,11 +2148,11 @@ struct Damage HP_battle_calc_misc_attack(struct block_list *src, struct block_li
int hIndex = 0;
struct Damage retVal___ = { 0 };
if( HPMHooks.count.HP_battle_calc_misc_attack_pre ) {
- struct Damage (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
+ struct Damage (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_misc_attack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_misc_attack_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &skill_id, &skill_lv, &mflag);
+ retVal___ = preHookFunc(&src, &target, &skill_id, &skill_lv, &mflag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2175,11 +2175,11 @@ struct Damage HP_battle_calc_magic_attack(struct block_list *src, struct block_l
int hIndex = 0;
struct Damage retVal___ = { 0 };
if( HPMHooks.count.HP_battle_calc_magic_attack_pre ) {
- struct Damage (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
+ struct Damage (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, int *mflag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_magic_attack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_magic_attack_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &skill_id, &skill_lv, &mflag);
+ retVal___ = preHookFunc(&src, &target, &skill_id, &skill_lv, &mflag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2229,11 +2229,11 @@ int64 HP_battle_add_mastery(struct map_session_data *sd, struct block_list *targ
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_battle_add_mastery_pre ) {
- int64 (*preHookFunc) (struct map_session_data *sd, struct block_list *target, int64 *dmg, int *type);
+ int64 (*preHookFunc) (struct map_session_data **sd, struct block_list **target, int64 *dmg, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_add_mastery_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_add_mastery_pre[hIndex].func;
- retVal___ = preHookFunc(sd, target, &dmg, &type);
+ retVal___ = preHookFunc(&sd, &target, &dmg, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2283,11 +2283,11 @@ int HP_battle_config_read(const char *cfgName) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_config_read_pre ) {
- int (*preHookFunc) (const char *cfgName);
+ int (*preHookFunc) (const char **cfgName);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_config_read_pre[hIndex].func;
- retVal___ = preHookFunc(cfgName);
+ retVal___ = preHookFunc(&cfgName);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2336,11 +2336,11 @@ int HP_battle_config_set_value(const char *w1, const char *w2) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_config_set_value_pre ) {
- int (*preHookFunc) (const char *w1, const char *w2);
+ int (*preHookFunc) (const char **w1, const char **w2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_config_set_value_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_config_set_value_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2);
+ retVal___ = preHookFunc(&w1, &w2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2363,11 +2363,11 @@ bool HP_battle_config_get_value(const char *w1, int *value) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_battle_config_get_value_pre ) {
- bool (*preHookFunc) (const char *w1, int *value);
+ bool (*preHookFunc) (const char **w1, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_config_get_value_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_config_get_value_pre[hIndex].func;
- retVal___ = preHookFunc(w1, value);
+ retVal___ = preHookFunc(&w1, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2416,11 +2416,11 @@ struct block_list* HP_battle_get_enemy_area(struct block_list *src, int x, int y
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_battle_get_enemy_area_pre ) {
- struct block_list* (*preHookFunc) (struct block_list *src, int *x, int *y, int *range, int *type, int *ignore_id);
+ struct block_list* (*preHookFunc) (struct block_list **src, int *x, int *y, int *range, int *type, int *ignore_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_get_enemy_area_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_get_enemy_area_pre[hIndex].func;
- retVal___ = preHookFunc(src, &x, &y, &range, &type, &ignore_id);
+ retVal___ = preHookFunc(&src, &x, &y, &range, &type, &ignore_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2443,12 +2443,12 @@ int HP_battle_damage_area(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_battle_damage_area_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_damage_area_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_battle_damage_area_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -2475,11 +2475,11 @@ int HP_battle_damage_area(struct block_list *bl, va_list ap) {
void HP_battle_calc_masteryfix_unknown(struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *div, bool *left, bool *weapon) {
int hIndex = 0;
if( HPMHooks.count.HP_battle_calc_masteryfix_unknown_pre ) {
- void (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *damage, int *div, bool *left, bool *weapon);
+ void (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 **skill_id, uint16 **skill_lv, int64 **damage, int **div, bool **left, bool **weapon);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_masteryfix_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_masteryfix_unknown_pre[hIndex].func;
- preHookFunc(src, target, skill_id, skill_lv, damage, div, left, weapon);
+ preHookFunc(&src, &target, &skill_id, &skill_lv, &damage, &div, &left, &weapon);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2501,11 +2501,11 @@ void HP_battle_calc_masteryfix_unknown(struct block_list *src, struct block_list
void HP_battle_calc_skillratio_magic_unknown(int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *skillratio, int *flag) {
int hIndex = 0;
if( HPMHooks.count.HP_battle_calc_skillratio_magic_unknown_pre ) {
- void (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *skillratio, int *flag);
+ void (*preHookFunc) (int **attack_type, struct block_list **src, struct block_list **target, uint16 **skill_id, uint16 **skill_lv, int **skillratio, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_skillratio_magic_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_skillratio_magic_unknown_pre[hIndex].func;
- preHookFunc(attack_type, src, target, skill_id, skill_lv, skillratio, flag);
+ preHookFunc(&attack_type, &src, &target, &skill_id, &skill_lv, &skillratio, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2527,11 +2527,11 @@ void HP_battle_calc_skillratio_magic_unknown(int *attack_type, struct block_list
void HP_battle_calc_skillratio_weapon_unknown(int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *skillratio, int *flag) {
int hIndex = 0;
if( HPMHooks.count.HP_battle_calc_skillratio_weapon_unknown_pre ) {
- void (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *skillratio, int *flag);
+ void (*preHookFunc) (int **attack_type, struct block_list **src, struct block_list **target, uint16 **skill_id, uint16 **skill_lv, int **skillratio, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_skillratio_weapon_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_skillratio_weapon_unknown_pre[hIndex].func;
- preHookFunc(attack_type, src, target, skill_id, skill_lv, skillratio, flag);
+ preHookFunc(&attack_type, &src, &target, &skill_id, &skill_lv, &skillratio, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2553,11 +2553,11 @@ void HP_battle_calc_skillratio_weapon_unknown(int *attack_type, struct block_lis
void HP_battle_calc_misc_attack_unknown(struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag, struct Damage *md) {
int hIndex = 0;
if( HPMHooks.count.HP_battle_calc_misc_attack_unknown_pre ) {
- void (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int *mflag, struct Damage *md);
+ void (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 **skill_id, uint16 **skill_lv, int **mflag, struct Damage **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_battle_calc_misc_attack_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_battle_calc_misc_attack_unknown_pre[hIndex].func;
- preHookFunc(src, target, skill_id, skill_lv, mflag, md);
+ preHookFunc(&src, &target, &skill_id, &skill_lv, &mflag, &md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2633,11 +2633,11 @@ struct bg_arena* HP_bg_name2arena(const char *name) {
int hIndex = 0;
struct bg_arena* retVal___ = NULL;
if( HPMHooks.count.HP_bg_name2arena_pre ) {
- struct bg_arena* (*preHookFunc) (const char *name);
+ struct bg_arena* (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_name2arena_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_name2arena_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2659,11 +2659,11 @@ struct bg_arena* HP_bg_name2arena(const char *name) {
void HP_bg_queue_add(struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types type) {
int hIndex = 0;
if( HPMHooks.count.HP_bg_queue_add_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types *type);
+ void (*preHookFunc) (struct map_session_data **sd, struct bg_arena **arena, enum bg_queue_types *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_queue_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_queue_add_pre[hIndex].func;
- preHookFunc(sd, arena, &type);
+ preHookFunc(&sd, &arena, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2686,11 +2686,11 @@ enum BATTLEGROUNDS_QUEUE_ACK HP_bg_can_queue(struct map_session_data *sd, struct
int hIndex = 0;
enum BATTLEGROUNDS_QUEUE_ACK retVal___ = BGQA_SUCCESS;
if( HPMHooks.count.HP_bg_can_queue_pre ) {
- enum BATTLEGROUNDS_QUEUE_ACK (*preHookFunc) (struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types *type);
+ enum BATTLEGROUNDS_QUEUE_ACK (*preHookFunc) (struct map_session_data **sd, struct bg_arena **arena, enum bg_queue_types *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_can_queue_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_can_queue_pre[hIndex].func;
- retVal___ = preHookFunc(sd, arena, &type);
+ retVal___ = preHookFunc(&sd, &arena, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2739,11 +2739,11 @@ int HP_bg_id2pos(int queue_id, int account_id) {
void HP_bg_queue_pc_cleanup(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_bg_queue_pc_cleanup_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_queue_pc_cleanup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_queue_pc_cleanup_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2765,11 +2765,11 @@ void HP_bg_queue_pc_cleanup(struct map_session_data *sd) {
void HP_bg_begin(struct bg_arena *arena) {
int hIndex = 0;
if( HPMHooks.count.HP_bg_begin_pre ) {
- void (*preHookFunc) (struct bg_arena *arena);
+ void (*preHookFunc) (struct bg_arena **arena);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_begin_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_begin_pre[hIndex].func;
- preHookFunc(arena);
+ preHookFunc(&arena);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2818,11 +2818,11 @@ int HP_bg_begin_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_bg_queue_pregame(struct bg_arena *arena) {
int hIndex = 0;
if( HPMHooks.count.HP_bg_queue_pregame_pre ) {
- void (*preHookFunc) (struct bg_arena *arena);
+ void (*preHookFunc) (struct bg_arena **arena);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_queue_pregame_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_queue_pregame_pre[hIndex].func;
- preHookFunc(arena);
+ preHookFunc(&arena);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2871,11 +2871,11 @@ int HP_bg_fillup_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_bg_queue_ready_ack(struct bg_arena *arena, struct map_session_data *sd, bool response) {
int hIndex = 0;
if( HPMHooks.count.HP_bg_queue_ready_ack_pre ) {
- void (*preHookFunc) (struct bg_arena *arena, struct map_session_data *sd, bool *response);
+ void (*preHookFunc) (struct bg_arena **arena, struct map_session_data **sd, bool *response);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_queue_ready_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_queue_ready_ack_pre[hIndex].func;
- preHookFunc(arena, sd, &response);
+ preHookFunc(&arena, &sd, &response);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2897,11 +2897,11 @@ void HP_bg_queue_ready_ack(struct bg_arena *arena, struct map_session_data *sd,
void HP_bg_match_over(struct bg_arena *arena, bool canceled) {
int hIndex = 0;
if( HPMHooks.count.HP_bg_match_over_pre ) {
- void (*preHookFunc) (struct bg_arena *arena, bool *canceled);
+ void (*preHookFunc) (struct bg_arena **arena, bool *canceled);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_match_over_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_match_over_pre[hIndex].func;
- preHookFunc(arena, &canceled);
+ preHookFunc(&arena, &canceled);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2923,11 +2923,11 @@ void HP_bg_match_over(struct bg_arena *arena, bool canceled) {
void HP_bg_queue_check(struct bg_arena *arena) {
int hIndex = 0;
if( HPMHooks.count.HP_bg_queue_check_pre ) {
- void (*preHookFunc) (struct bg_arena *arena);
+ void (*preHookFunc) (struct bg_arena **arena);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_queue_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_queue_check_pre[hIndex].func;
- preHookFunc(arena);
+ preHookFunc(&arena);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2977,11 +2977,11 @@ struct map_session_data* HP_bg_getavailablesd(struct battleground_data *bgd) {
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_bg_getavailablesd_pre ) {
- struct map_session_data* (*preHookFunc) (struct battleground_data *bgd);
+ struct map_session_data* (*preHookFunc) (struct battleground_data **bgd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_getavailablesd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_getavailablesd_pre[hIndex].func;
- retVal___ = preHookFunc(bgd);
+ retVal___ = preHookFunc(&bgd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3057,11 +3057,11 @@ bool HP_bg_team_warp(int bg_id, unsigned short map_index, short x, short y) {
void HP_bg_send_dot_remove(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_bg_send_dot_remove_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_send_dot_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_send_dot_remove_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3084,11 +3084,11 @@ bool HP_bg_team_join(int bg_id, struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_bg_team_join_pre ) {
- bool (*preHookFunc) (int *bg_id, struct map_session_data *sd);
+ bool (*preHookFunc) (int *bg_id, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_team_join_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_team_join_pre[hIndex].func;
- retVal___ = preHookFunc(&bg_id, sd);
+ retVal___ = preHookFunc(&bg_id, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3111,11 +3111,11 @@ int HP_bg_team_leave(struct map_session_data *sd, enum bg_team_leave_type flag)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_bg_team_leave_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, enum bg_team_leave_type *flag);
+ int (*preHookFunc) (struct map_session_data **sd, enum bg_team_leave_type *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_team_leave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_team_leave_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &flag);
+ retVal___ = preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3138,11 +3138,11 @@ bool HP_bg_member_respawn(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_bg_member_respawn_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_member_respawn_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_member_respawn_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3165,11 +3165,11 @@ int HP_bg_create(unsigned short map_index, short rx, short ry, const char *ev, c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_bg_create_pre ) {
- int (*preHookFunc) (unsigned short *map_index, short *rx, short *ry, const char *ev, const char *dev);
+ int (*preHookFunc) (unsigned short *map_index, short *rx, short *ry, const char **ev, const char **dev);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_create_pre[hIndex].func;
- retVal___ = preHookFunc(&map_index, &rx, &ry, ev, dev);
+ retVal___ = preHookFunc(&map_index, &rx, &ry, &ev, &dev);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3192,11 +3192,11 @@ int HP_bg_team_get_id(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_bg_team_get_id_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_team_get_id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_team_get_id_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3219,11 +3219,11 @@ bool HP_bg_send_message(struct map_session_data *sd, const char *mes) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_bg_send_message_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *mes);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_send_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_send_message_pre[hIndex].func;
- retVal___ = preHookFunc(sd, mes);
+ retVal___ = preHookFunc(&sd, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3246,12 +3246,12 @@ int HP_bg_send_xy_timer_sub(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_bg_send_xy_timer_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_send_xy_timer_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_bg_send_xy_timer_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -3333,12 +3333,12 @@ int HP_bg_team_db_final(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_bg_team_db_final_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_team_db_final_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_bg_team_db_final_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -3366,11 +3366,11 @@ enum bg_queue_types HP_bg_str2teamtype(const char *str) {
int hIndex = 0;
enum bg_queue_types retVal___ = BGQT_INVALID;
if( HPMHooks.count.HP_bg_str2teamtype_pre ) {
- enum bg_queue_types (*preHookFunc) (const char *str);
+ enum bg_queue_types (*preHookFunc) (const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_str2teamtype_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_str2teamtype_pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3420,11 +3420,11 @@ bool HP_buyingstore_setup(struct map_session_data *sd, unsigned char slots) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_buyingstore_setup_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, unsigned char *slots);
+ bool (*preHookFunc) (struct map_session_data **sd, unsigned char *slots);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_setup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_buyingstore_setup_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &slots);
+ retVal___ = preHookFunc(&sd, &slots);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3446,11 +3446,11 @@ bool HP_buyingstore_setup(struct map_session_data *sd, unsigned char slots) {
void HP_buyingstore_create(struct map_session_data *sd, int zenylimit, unsigned char result, const char *storename, const uint8 *itemlist, unsigned int count) {
int hIndex = 0;
if( HPMHooks.count.HP_buyingstore_create_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *zenylimit, unsigned char *result, const char *storename, const uint8 *itemlist, unsigned int *count);
+ void (*preHookFunc) (struct map_session_data **sd, int *zenylimit, unsigned char *result, const char **storename, const uint8 **itemlist, unsigned int *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_buyingstore_create_pre[hIndex].func;
- preHookFunc(sd, &zenylimit, &result, storename, itemlist, &count);
+ preHookFunc(&sd, &zenylimit, &result, &storename, &itemlist, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3472,11 +3472,11 @@ void HP_buyingstore_create(struct map_session_data *sd, int zenylimit, unsigned
void HP_buyingstore_close(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_buyingstore_close_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_close_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_buyingstore_close_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3498,11 +3498,11 @@ void HP_buyingstore_close(struct map_session_data *sd) {
void HP_buyingstore_open(struct map_session_data *sd, int account_id) {
int hIndex = 0;
if( HPMHooks.count.HP_buyingstore_open_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *account_id);
+ void (*preHookFunc) (struct map_session_data **sd, int *account_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_buyingstore_open_pre[hIndex].func;
- preHookFunc(sd, &account_id);
+ preHookFunc(&sd, &account_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3524,11 +3524,11 @@ void HP_buyingstore_open(struct map_session_data *sd, int account_id) {
void HP_buyingstore_trade(struct map_session_data *sd, int account_id, unsigned int buyer_id, const uint8 *itemlist, unsigned int count) {
int hIndex = 0;
if( HPMHooks.count.HP_buyingstore_trade_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *account_id, unsigned int *buyer_id, const uint8 *itemlist, unsigned int *count);
+ void (*preHookFunc) (struct map_session_data **sd, int *account_id, unsigned int *buyer_id, const uint8 **itemlist, unsigned int *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_trade_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_buyingstore_trade_pre[hIndex].func;
- preHookFunc(sd, &account_id, &buyer_id, itemlist, &count);
+ preHookFunc(&sd, &account_id, &buyer_id, &itemlist, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3551,11 +3551,11 @@ bool HP_buyingstore_search(struct map_session_data *sd, unsigned short nameid) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_buyingstore_search_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, unsigned short *nameid);
+ bool (*preHookFunc) (struct map_session_data **sd, unsigned short *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_buyingstore_search_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid);
+ retVal___ = preHookFunc(&sd, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3578,11 +3578,11 @@ bool HP_buyingstore_searchall(struct map_session_data *sd, const struct s_search
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_buyingstore_searchall_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const struct s_search_store_search *s);
+ bool (*preHookFunc) (struct map_session_data **sd, const struct s_search_store_search **s);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_buyingstore_searchall_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_buyingstore_searchall_pre[hIndex].func;
- retVal___ = preHookFunc(sd, s);
+ retVal___ = preHookFunc(&sd, &s);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3686,11 +3686,11 @@ struct channel_data* HP_channel_search(const char *name, struct map_session_data
int hIndex = 0;
struct channel_data* retVal___ = NULL;
if( HPMHooks.count.HP_channel_search_pre ) {
- struct channel_data* (*preHookFunc) (const char *name, struct map_session_data *sd);
+ struct channel_data* (*preHookFunc) (const char **name, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_search_pre[hIndex].func;
- retVal___ = preHookFunc(name, sd);
+ retVal___ = preHookFunc(&name, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3713,11 +3713,11 @@ struct channel_data* HP_channel_create(enum channel_types type, const char *name
int hIndex = 0;
struct channel_data* retVal___ = NULL;
if( HPMHooks.count.HP_channel_create_pre ) {
- struct channel_data* (*preHookFunc) (enum channel_types *type, const char *name, unsigned char *color);
+ struct channel_data* (*preHookFunc) (enum channel_types *type, const char **name, unsigned char *color);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_create_pre[hIndex].func;
- retVal___ = preHookFunc(&type, name, &color);
+ retVal___ = preHookFunc(&type, &name, &color);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3739,11 +3739,11 @@ struct channel_data* HP_channel_create(enum channel_types type, const char *name
void HP_channel_delete(struct channel_data *chan) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_delete_pre ) {
- void (*preHookFunc) (struct channel_data *chan);
+ void (*preHookFunc) (struct channel_data **chan);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_delete_pre[hIndex].func;
- preHookFunc(chan);
+ preHookFunc(&chan);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3765,11 +3765,11 @@ void HP_channel_delete(struct channel_data *chan) {
void HP_channel_set_password(struct channel_data *chan, const char *password) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_set_password_pre ) {
- void (*preHookFunc) (struct channel_data *chan, const char *password);
+ void (*preHookFunc) (struct channel_data **chan, const char **password);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_set_password_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_set_password_pre[hIndex].func;
- preHookFunc(chan, password);
+ preHookFunc(&chan, &password);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3792,11 +3792,11 @@ enum channel_operation_status HP_channel_ban(struct channel_data *chan, const st
int hIndex = 0;
enum channel_operation_status retVal___ = HCS_STATUS_FAIL;
if( HPMHooks.count.HP_channel_ban_pre ) {
- enum channel_operation_status (*preHookFunc) (struct channel_data *chan, const struct map_session_data *ssd, struct map_session_data *tsd);
+ enum channel_operation_status (*preHookFunc) (struct channel_data **chan, const struct map_session_data **ssd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_ban_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_ban_pre[hIndex].func;
- retVal___ = preHookFunc(chan, ssd, tsd);
+ retVal___ = preHookFunc(&chan, &ssd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3819,11 +3819,11 @@ enum channel_operation_status HP_channel_unban(struct channel_data *chan, const
int hIndex = 0;
enum channel_operation_status retVal___ = HCS_STATUS_FAIL;
if( HPMHooks.count.HP_channel_unban_pre ) {
- enum channel_operation_status (*preHookFunc) (struct channel_data *chan, const struct map_session_data *ssd, struct map_session_data *tsd);
+ enum channel_operation_status (*preHookFunc) (struct channel_data **chan, const struct map_session_data **ssd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_unban_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_unban_pre[hIndex].func;
- retVal___ = preHookFunc(chan, ssd, tsd);
+ retVal___ = preHookFunc(&chan, &ssd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3845,11 +3845,11 @@ enum channel_operation_status HP_channel_unban(struct channel_data *chan, const
void HP_channel_set_options(struct channel_data *chan, unsigned int options) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_set_options_pre ) {
- void (*preHookFunc) (struct channel_data *chan, unsigned int *options);
+ void (*preHookFunc) (struct channel_data **chan, unsigned int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_set_options_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_set_options_pre[hIndex].func;
- preHookFunc(chan, &options);
+ preHookFunc(&chan, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3871,11 +3871,11 @@ void HP_channel_set_options(struct channel_data *chan, unsigned int options) {
void HP_channel_send(struct channel_data *chan, struct map_session_data *sd, const char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_send_pre ) {
- void (*preHookFunc) (struct channel_data *chan, struct map_session_data *sd, const char *msg);
+ void (*preHookFunc) (struct channel_data **chan, struct map_session_data **sd, const char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_send_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_send_pre[hIndex].func;
- preHookFunc(chan, sd, msg);
+ preHookFunc(&chan, &sd, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3897,11 +3897,11 @@ void HP_channel_send(struct channel_data *chan, struct map_session_data *sd, con
void HP_channel_join_sub(struct channel_data *chan, struct map_session_data *sd, bool stealth) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_join_sub_pre ) {
- void (*preHookFunc) (struct channel_data *chan, struct map_session_data *sd, bool *stealth);
+ void (*preHookFunc) (struct channel_data **chan, struct map_session_data **sd, bool *stealth);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_join_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_join_sub_pre[hIndex].func;
- preHookFunc(chan, sd, &stealth);
+ preHookFunc(&chan, &sd, &stealth);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3924,11 +3924,11 @@ enum channel_operation_status HP_channel_join(struct channel_data *chan, struct
int hIndex = 0;
enum channel_operation_status retVal___ = HCS_STATUS_FAIL;
if( HPMHooks.count.HP_channel_join_pre ) {
- enum channel_operation_status (*preHookFunc) (struct channel_data *chan, struct map_session_data *sd, const char *password, bool *silent);
+ enum channel_operation_status (*preHookFunc) (struct channel_data **chan, struct map_session_data **sd, const char **password, bool *silent);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_join_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_join_pre[hIndex].func;
- retVal___ = preHookFunc(chan, sd, password, &silent);
+ retVal___ = preHookFunc(&chan, &sd, &password, &silent);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3950,11 +3950,11 @@ enum channel_operation_status HP_channel_join(struct channel_data *chan, struct
void HP_channel_leave(struct channel_data *chan, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_leave_pre ) {
- void (*preHookFunc) (struct channel_data *chan, struct map_session_data *sd);
+ void (*preHookFunc) (struct channel_data **chan, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_leave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_leave_pre[hIndex].func;
- preHookFunc(chan, sd);
+ preHookFunc(&chan, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3976,11 +3976,11 @@ void HP_channel_leave(struct channel_data *chan, struct map_session_data *sd) {
void HP_channel_leave_sub(struct channel_data *chan, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_leave_sub_pre ) {
- void (*preHookFunc) (struct channel_data *chan, struct map_session_data *sd);
+ void (*preHookFunc) (struct channel_data **chan, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_leave_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_leave_sub_pre[hIndex].func;
- preHookFunc(chan, sd);
+ preHookFunc(&chan, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4002,11 +4002,11 @@ void HP_channel_leave_sub(struct channel_data *chan, struct map_session_data *sd
void HP_channel_quit(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_quit_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_quit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_quit_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4028,11 +4028,11 @@ void HP_channel_quit(struct map_session_data *sd) {
void HP_channel_map_join(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_map_join_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_map_join_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_map_join_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4054,11 +4054,11 @@ void HP_channel_map_join(struct map_session_data *sd) {
void HP_channel_guild_join_alliance(const struct guild *g_source, const struct guild *g_ally) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_guild_join_alliance_pre ) {
- void (*preHookFunc) (const struct guild *g_source, const struct guild *g_ally);
+ void (*preHookFunc) (const struct guild **g_source, const struct guild **g_ally);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_guild_join_alliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_guild_join_alliance_pre[hIndex].func;
- preHookFunc(g_source, g_ally);
+ preHookFunc(&g_source, &g_ally);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4080,11 +4080,11 @@ void HP_channel_guild_join_alliance(const struct guild *g_source, const struct g
void HP_channel_guild_leave_alliance(const struct guild *g_source, const struct guild *g_ally) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_guild_leave_alliance_pre ) {
- void (*preHookFunc) (const struct guild *g_source, const struct guild *g_ally);
+ void (*preHookFunc) (const struct guild **g_source, const struct guild **g_ally);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_guild_leave_alliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_guild_leave_alliance_pre[hIndex].func;
- preHookFunc(g_source, g_ally);
+ preHookFunc(&g_source, &g_ally);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4106,11 +4106,11 @@ void HP_channel_guild_leave_alliance(const struct guild *g_source, const struct
void HP_channel_quit_guild(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_quit_guild_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_quit_guild_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_quit_guild_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4132,11 +4132,11 @@ void HP_channel_quit_guild(struct map_session_data *sd) {
void HP_channel_irc_join(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_channel_irc_join_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_channel_irc_join_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_channel_irc_join_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4186,11 +4186,11 @@ bool HP_chat_create_pc_chat(struct map_session_data *sd, const char *title, cons
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_create_pc_chat_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *title, const char *pass, int *limit, bool *pub);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **title, const char **pass, int *limit, bool *pub);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_create_pc_chat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_create_pc_chat_pre[hIndex].func;
- retVal___ = preHookFunc(sd, title, pass, &limit, &pub);
+ retVal___ = preHookFunc(&sd, &title, &pass, &limit, &pub);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4213,11 +4213,11 @@ bool HP_chat_join(struct map_session_data *sd, int chatid, const char *pass) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_join_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *chatid, const char *pass);
+ bool (*preHookFunc) (struct map_session_data **sd, int *chatid, const char **pass);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_join_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_join_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &chatid, pass);
+ retVal___ = preHookFunc(&sd, &chatid, &pass);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4240,11 +4240,11 @@ int HP_chat_leave(struct map_session_data *sd, bool kicked) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_chat_leave_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, bool *kicked);
+ int (*preHookFunc) (struct map_session_data **sd, bool *kicked);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_leave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_leave_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &kicked);
+ retVal___ = preHookFunc(&sd, &kicked);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4267,11 +4267,11 @@ bool HP_chat_change_owner(struct map_session_data *sd, const char *nextownername
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_change_owner_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *nextownername);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **nextownername);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_change_owner_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_change_owner_pre[hIndex].func;
- retVal___ = preHookFunc(sd, nextownername);
+ retVal___ = preHookFunc(&sd, &nextownername);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4294,11 +4294,11 @@ bool HP_chat_change_status(struct map_session_data *sd, const char *title, const
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_change_status_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *title, const char *pass, int *limit, bool *pub);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **title, const char **pass, int *limit, bool *pub);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_change_status_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_change_status_pre[hIndex].func;
- retVal___ = preHookFunc(sd, title, pass, &limit, &pub);
+ retVal___ = preHookFunc(&sd, &title, &pass, &limit, &pub);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4321,11 +4321,11 @@ bool HP_chat_kick(struct map_session_data *sd, const char *kickusername) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_kick_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *kickusername);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **kickusername);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_kick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_kick_pre[hIndex].func;
- retVal___ = preHookFunc(sd, kickusername);
+ retVal___ = preHookFunc(&sd, &kickusername);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4348,11 +4348,11 @@ bool HP_chat_create_npc_chat(struct npc_data *nd, const char *title, int limit,
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_create_npc_chat_pre ) {
- bool (*preHookFunc) (struct npc_data *nd, const char *title, int *limit, bool *pub, int *trigger, const char *ev, int *zeny, int *minLvl, int *maxLvl);
+ bool (*preHookFunc) (struct npc_data **nd, const char **title, int *limit, bool *pub, int *trigger, const char **ev, int *zeny, int *minLvl, int *maxLvl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_create_npc_chat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_create_npc_chat_pre[hIndex].func;
- retVal___ = preHookFunc(nd, title, &limit, &pub, &trigger, ev, &zeny, &minLvl, &maxLvl);
+ retVal___ = preHookFunc(&nd, &title, &limit, &pub, &trigger, &ev, &zeny, &minLvl, &maxLvl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4375,11 +4375,11 @@ bool HP_chat_delete_npc_chat(struct npc_data *nd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_delete_npc_chat_pre ) {
- bool (*preHookFunc) (struct npc_data *nd);
+ bool (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_delete_npc_chat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_delete_npc_chat_pre[hIndex].func;
- retVal___ = preHookFunc(nd);
+ retVal___ = preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4402,11 +4402,11 @@ bool HP_chat_enable_event(struct chat_data *cd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_enable_event_pre ) {
- bool (*preHookFunc) (struct chat_data *cd);
+ bool (*preHookFunc) (struct chat_data **cd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_enable_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_enable_event_pre[hIndex].func;
- retVal___ = preHookFunc(cd);
+ retVal___ = preHookFunc(&cd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4429,11 +4429,11 @@ bool HP_chat_disable_event(struct chat_data *cd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_disable_event_pre ) {
- bool (*preHookFunc) (struct chat_data *cd);
+ bool (*preHookFunc) (struct chat_data **cd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_disable_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_disable_event_pre[hIndex].func;
- retVal___ = preHookFunc(cd);
+ retVal___ = preHookFunc(&cd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4456,11 +4456,11 @@ bool HP_chat_npc_kick_all(struct chat_data *cd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_npc_kick_all_pre ) {
- bool (*preHookFunc) (struct chat_data *cd);
+ bool (*preHookFunc) (struct chat_data **cd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_npc_kick_all_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_npc_kick_all_pre[hIndex].func;
- retVal___ = preHookFunc(cd);
+ retVal___ = preHookFunc(&cd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4483,11 +4483,11 @@ bool HP_chat_trigger_event(struct chat_data *cd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chat_trigger_event_pre ) {
- bool (*preHookFunc) (struct chat_data *cd);
+ bool (*preHookFunc) (struct chat_data **cd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_trigger_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_trigger_event_pre[hIndex].func;
- retVal___ = preHookFunc(cd);
+ retVal___ = preHookFunc(&cd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4510,11 +4510,11 @@ struct chat_data* HP_chat_create(struct block_list *bl, const char *title, const
int hIndex = 0;
struct chat_data* retVal___ = NULL;
if( HPMHooks.count.HP_chat_create_pre ) {
- struct chat_data* (*preHookFunc) (struct block_list *bl, const char *title, const char *pass, int *limit, bool *pub, int *trigger, const char *ev, int *zeny, int *minLvl, int *maxLvl);
+ struct chat_data* (*preHookFunc) (struct block_list **bl, const char **title, const char **pass, int *limit, bool *pub, int *trigger, const char **ev, int *zeny, int *minLvl, int *maxLvl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chat_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chat_create_pre[hIndex].func;
- retVal___ = preHookFunc(bl, title, pass, &limit, &pub, &trigger, ev, &zeny, &minLvl, &maxLvl);
+ retVal___ = preHookFunc(&bl, &title, &pass, &limit, &pub, &trigger, &ev, &zeny, &minLvl, &maxLvl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4589,11 +4589,11 @@ void HP_chrif_final(void) {
void HP_chrif_setuserid(char *id) {
int hIndex = 0;
if( HPMHooks.count.HP_chrif_setuserid_pre ) {
- void (*preHookFunc) (char *id);
+ void (*preHookFunc) (char **id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_setuserid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_setuserid_pre[hIndex].func;
- preHookFunc(id);
+ preHookFunc(&id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4615,11 +4615,11 @@ void HP_chrif_setuserid(char *id) {
void HP_chrif_setpasswd(char *pwd) {
int hIndex = 0;
if( HPMHooks.count.HP_chrif_setpasswd_pre ) {
- void (*preHookFunc) (char *pwd);
+ void (*preHookFunc) (char **pwd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_setpasswd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_setpasswd_pre[hIndex].func;
- preHookFunc(pwd);
+ preHookFunc(&pwd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4668,11 +4668,11 @@ bool HP_chrif_setip(const char *ip) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_setip_pre ) {
- bool (*preHookFunc) (const char *ip);
+ bool (*preHookFunc) (const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_setip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_setip_pre[hIndex].func;
- retVal___ = preHookFunc(ip);
+ retVal___ = preHookFunc(&ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4855,11 +4855,11 @@ bool HP_chrif_auth_finished(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_auth_finished_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_auth_finished_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_auth_finished_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4881,11 +4881,11 @@ bool HP_chrif_auth_finished(struct map_session_data *sd) {
void HP_chrif_authreq(struct map_session_data *sd, bool hstandalone) {
int hIndex = 0;
if( HPMHooks.count.HP_chrif_authreq_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, bool *hstandalone);
+ void (*preHookFunc) (struct map_session_data **sd, bool *hstandalone);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_authreq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_authreq_pre[hIndex].func;
- preHookFunc(sd, &hstandalone);
+ preHookFunc(&sd, &hstandalone);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4961,11 +4961,11 @@ bool HP_chrif_save(struct map_session_data *sd, int flag) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_save_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *flag);
+ bool (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_save_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_save_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &flag);
+ retVal___ = preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4988,11 +4988,11 @@ bool HP_chrif_charselectreq(struct map_session_data *sd, uint32 s_ip) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_charselectreq_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, uint32 *s_ip);
+ bool (*preHookFunc) (struct map_session_data **sd, uint32 *s_ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_charselectreq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_charselectreq_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &s_ip);
+ retVal___ = preHookFunc(&sd, &s_ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5015,11 +5015,11 @@ bool HP_chrif_changemapserver(struct map_session_data *sd, uint32 ip, uint16 por
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_changemapserver_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, uint32 *ip, uint16 *port);
+ bool (*preHookFunc) (struct map_session_data **sd, uint32 *ip, uint16 *port);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_changemapserver_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_changemapserver_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &ip, &port);
+ retVal___ = preHookFunc(&sd, &ip, &port);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5069,11 +5069,11 @@ bool HP_chrif_changeemail(int id, const char *actual_email, const char *new_emai
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_changeemail_pre ) {
- bool (*preHookFunc) (int *id, const char *actual_email, const char *new_email);
+ bool (*preHookFunc) (int *id, const char **actual_email, const char **new_email);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_changeemail_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_changeemail_pre[hIndex].func;
- retVal___ = preHookFunc(&id, actual_email, new_email);
+ retVal___ = preHookFunc(&id, &actual_email, &new_email);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5096,11 +5096,11 @@ bool HP_chrif_char_ask_name(int acc, const char *character_name, unsigned short
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_char_ask_name_pre ) {
- bool (*preHookFunc) (int *acc, const char *character_name, unsigned short *operation_type, int *year, int *month, int *day, int *hour, int *minute, int *second);
+ bool (*preHookFunc) (int *acc, const char **character_name, unsigned short *operation_type, int *year, int *month, int *day, int *hour, int *minute, int *second);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_char_ask_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_char_ask_name_pre[hIndex].func;
- retVal___ = preHookFunc(&acc, character_name, &operation_type, &year, &month, &day, &hour, &minute, &second);
+ retVal___ = preHookFunc(&acc, &character_name, &operation_type, &year, &month, &day, &hour, &minute, &second);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5123,11 +5123,11 @@ int HP_chrif_updatefamelist(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_chrif_updatefamelist_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_updatefamelist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_updatefamelist_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5177,11 +5177,11 @@ bool HP_chrif_save_scdata(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_save_scdata_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_save_scdata_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_save_scdata_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5312,11 +5312,11 @@ bool HP_chrif_char_online(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_char_online_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_char_online_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_char_online_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5339,11 +5339,11 @@ bool HP_chrif_changesex(struct map_session_data *sd, bool change_account) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_changesex_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, bool *change_account);
+ bool (*preHookFunc) (struct map_session_data **sd, bool *change_account);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_changesex_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_changesex_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &change_account);
+ retVal___ = preHookFunc(&sd, &change_account);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5419,11 +5419,11 @@ bool HP_chrif_removefriend(int char_id, int friend_id) {
void HP_chrif_send_report(char *buf, int len) {
int hIndex = 0;
if( HPMHooks.count.HP_chrif_send_report_pre ) {
- void (*preHookFunc) (char *buf, int *len);
+ void (*preHookFunc) (char **buf, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_send_report_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_send_report_pre[hIndex].func;
- preHookFunc(buf, &len);
+ preHookFunc(&buf, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5499,11 +5499,11 @@ bool HP_chrif_sd_to_auth(struct map_session_data *sd, enum sd_state state) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_sd_to_auth_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, enum sd_state *state);
+ bool (*preHookFunc) (struct map_session_data **sd, enum sd_state *state);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_sd_to_auth_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_sd_to_auth_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &state);
+ retVal___ = preHookFunc(&sd, &state);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5553,11 +5553,11 @@ bool HP_chrif_auth_logout(struct map_session_data *sd, enum sd_state state) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_auth_logout_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, enum sd_state *state);
+ bool (*preHookFunc) (struct map_session_data **sd, enum sd_state *state);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_auth_logout_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_auth_logout_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &state);
+ retVal___ = preHookFunc(&sd, &state);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5606,12 +5606,12 @@ int HP_chrif_reconnect(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_chrif_reconnect_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_reconnect_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_chrif_reconnect_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -5639,12 +5639,12 @@ int HP_chrif_auth_db_cleanup_sub(union DBKey key, struct DBData *data, va_list a
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_chrif_auth_db_cleanup_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_auth_db_cleanup_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_chrif_auth_db_cleanup_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -5672,11 +5672,11 @@ bool HP_chrif_char_ask_name_answer(int acc, const char *player_name, uint16 type
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_chrif_char_ask_name_answer_pre ) {
- bool (*preHookFunc) (int *acc, const char *player_name, uint16 *type, uint16 *answer);
+ bool (*preHookFunc) (int *acc, const char **player_name, uint16 *type, uint16 *answer);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_char_ask_name_answer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_char_ask_name_answer_pre[hIndex].func;
- retVal___ = preHookFunc(&acc, player_name, &type, &answer);
+ retVal___ = preHookFunc(&acc, &player_name, &type, &answer);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5699,12 +5699,12 @@ int HP_chrif_auth_db_final(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_chrif_auth_db_final_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_auth_db_final_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_chrif_auth_db_final_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -6363,11 +6363,11 @@ int HP_chrif_parse(int fd) {
void HP_chrif_save_scdata_single(int account_id, int char_id, short type, struct status_change_entry *sce) {
int hIndex = 0;
if( HPMHooks.count.HP_chrif_save_scdata_single_pre ) {
- void (*preHookFunc) (int *account_id, int *char_id, short *type, struct status_change_entry *sce);
+ void (*preHookFunc) (int *account_id, int *char_id, short *type, struct status_change_entry **sce);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_chrif_save_scdata_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_chrif_save_scdata_single_pre[hIndex].func;
- preHookFunc(&account_id, &char_id, &type, sce);
+ preHookFunc(&account_id, &char_id, &type, &sce);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6470,11 +6470,11 @@ bool HP_clif_setip(const char *ip) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_clif_setip_pre ) {
- bool (*preHookFunc) (const char *ip);
+ bool (*preHookFunc) (const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_setip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_setip_pre[hIndex].func;
- retVal___ = preHookFunc(ip);
+ retVal___ = preHookFunc(&ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6497,11 +6497,11 @@ bool HP_clif_setbindip(const char *ip) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_clif_setbindip_pre ) {
- bool (*preHookFunc) (const char *ip);
+ bool (*preHookFunc) (const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_setbindip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_setbindip_pre[hIndex].func;
- retVal___ = preHookFunc(ip);
+ retVal___ = preHookFunc(&ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6577,11 +6577,11 @@ bool HP_clif_send(const void *buf, int len, struct block_list *bl, enum send_tar
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_clif_send_pre ) {
- bool (*preHookFunc) (const void *buf, int *len, struct block_list *bl, enum send_target *type);
+ bool (*preHookFunc) (const void **buf, int *len, struct block_list **bl, enum send_target *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_send_pre[hIndex].func;
- retVal___ = preHookFunc(buf, &len, bl, &type);
+ retVal___ = preHookFunc(&buf, &len, &bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6604,12 +6604,12 @@ int HP_clif_send_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_send_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_clif_send_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -6637,11 +6637,11 @@ int HP_clif_send_actual(int fd, void *buf, int len) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_send_actual_pre ) {
- int (*preHookFunc) (int *fd, void *buf, int *len);
+ int (*preHookFunc) (int *fd, void **buf, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_actual_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_send_actual_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, buf, &len);
+ retVal___ = preHookFunc(&fd, &buf, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6718,11 +6718,11 @@ unsigned short HP_clif_parse_cmd(int fd, struct map_session_data *sd) {
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_clif_parse_cmd_pre ) {
- unsigned short (*preHookFunc) (int *fd, struct map_session_data *sd);
+ unsigned short (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_parse_cmd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_parse_cmd_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6745,11 +6745,11 @@ unsigned short HP_clif_decrypt_cmd(int cmd, struct map_session_data *sd) {
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_clif_decrypt_cmd_pre ) {
- unsigned short (*preHookFunc) (int *cmd, struct map_session_data *sd);
+ unsigned short (*preHookFunc) (int *cmd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_decrypt_cmd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_decrypt_cmd_pre[hIndex].func;
- retVal___ = preHookFunc(&cmd, sd);
+ retVal___ = preHookFunc(&cmd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6771,11 +6771,11 @@ unsigned short HP_clif_decrypt_cmd(int cmd, struct map_session_data *sd) {
void HP_clif_authok(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_authok_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_authok_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_authok_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6875,11 +6875,11 @@ void HP_clif_charselectok(int id, uint8 ok) {
void HP_clif_dropflooritem(struct flooritem_data *fitem) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_dropflooritem_pre ) {
- void (*preHookFunc) (struct flooritem_data *fitem);
+ void (*preHookFunc) (struct flooritem_data **fitem);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_dropflooritem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_dropflooritem_pre[hIndex].func;
- preHookFunc(fitem);
+ preHookFunc(&fitem);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6901,11 +6901,11 @@ void HP_clif_dropflooritem(struct flooritem_data *fitem) {
void HP_clif_clearflooritem(struct flooritem_data *fitem, int fd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_clearflooritem_pre ) {
- void (*preHookFunc) (struct flooritem_data *fitem, int *fd);
+ void (*preHookFunc) (struct flooritem_data **fitem, int *fd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearflooritem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_clearflooritem_pre[hIndex].func;
- preHookFunc(fitem, &fd);
+ preHookFunc(&fitem, &fd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6927,11 +6927,11 @@ void HP_clif_clearflooritem(struct flooritem_data *fitem, int fd) {
void HP_clif_additem(struct map_session_data *sd, int n, int amount, int fail) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_additem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *n, int *amount, int *fail);
+ void (*preHookFunc) (struct map_session_data **sd, int *n, int *amount, int *fail);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_additem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_additem_pre[hIndex].func;
- preHookFunc(sd, &n, &amount, &fail);
+ preHookFunc(&sd, &n, &amount, &fail);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6953,11 +6953,11 @@ void HP_clif_additem(struct map_session_data *sd, int n, int amount, int fail) {
void HP_clif_dropitem(struct map_session_data *sd, int n, int amount) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_dropitem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *n, int *amount);
+ void (*preHookFunc) (struct map_session_data **sd, int *n, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_dropitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_dropitem_pre[hIndex].func;
- preHookFunc(sd, &n, &amount);
+ preHookFunc(&sd, &n, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6979,11 +6979,11 @@ void HP_clif_dropitem(struct map_session_data *sd, int n, int amount) {
void HP_clif_delitem(struct map_session_data *sd, int n, int amount, short reason) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_delitem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *n, int *amount, short *reason);
+ void (*preHookFunc) (struct map_session_data **sd, int *n, int *amount, short *reason);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_delitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_delitem_pre[hIndex].func;
- preHookFunc(sd, &n, &amount, &reason);
+ preHookFunc(&sd, &n, &amount, &reason);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7005,11 +7005,11 @@ void HP_clif_delitem(struct map_session_data *sd, int n, int amount, short reaso
void HP_clif_takeitem(struct block_list *src, struct block_list *dst) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_takeitem_pre ) {
- void (*preHookFunc) (struct block_list *src, struct block_list *dst);
+ void (*preHookFunc) (struct block_list **src, struct block_list **dst);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_takeitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_takeitem_pre[hIndex].func;
- preHookFunc(src, dst);
+ preHookFunc(&src, &dst);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7031,11 +7031,11 @@ void HP_clif_takeitem(struct block_list *src, struct block_list *dst) {
void HP_clif_item_equip(short idx, struct EQUIPITEM_INFO *p, struct item *i, struct item_data *id, int eqp_pos) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_equip_pre ) {
- void (*preHookFunc) (short *idx, struct EQUIPITEM_INFO *p, struct item *i, struct item_data *id, int *eqp_pos);
+ void (*preHookFunc) (short *idx, struct EQUIPITEM_INFO **p, struct item **i, struct item_data **id, int *eqp_pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_equip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_equip_pre[hIndex].func;
- preHookFunc(&idx, p, i, id, &eqp_pos);
+ preHookFunc(&idx, &p, &i, &id, &eqp_pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7057,11 +7057,11 @@ void HP_clif_item_equip(short idx, struct EQUIPITEM_INFO *p, struct item *i, str
void HP_clif_item_normal(short idx, struct NORMALITEM_INFO *p, struct item *i, struct item_data *id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_normal_pre ) {
- void (*preHookFunc) (short *idx, struct NORMALITEM_INFO *p, struct item *i, struct item_data *id);
+ void (*preHookFunc) (short *idx, struct NORMALITEM_INFO **p, struct item **i, struct item_data **id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_normal_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_normal_pre[hIndex].func;
- preHookFunc(&idx, p, i, id);
+ preHookFunc(&idx, &p, &i, &id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7083,11 +7083,11 @@ void HP_clif_item_normal(short idx, struct NORMALITEM_INFO *p, struct item *i, s
void HP_clif_arrowequip(struct map_session_data *sd, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_arrowequip_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *val);
+ void (*preHookFunc) (struct map_session_data **sd, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_arrowequip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_arrowequip_pre[hIndex].func;
- preHookFunc(sd, &val);
+ preHookFunc(&sd, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7109,11 +7109,11 @@ void HP_clif_arrowequip(struct map_session_data *sd, int val) {
void HP_clif_arrow_fail(struct map_session_data *sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_arrow_fail_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_arrow_fail_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_arrow_fail_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7135,11 +7135,11 @@ void HP_clif_arrow_fail(struct map_session_data *sd, int type) {
void HP_clif_use_card(struct map_session_data *sd, int idx) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_use_card_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *idx);
+ void (*preHookFunc) (struct map_session_data **sd, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_use_card_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_use_card_pre[hIndex].func;
- preHookFunc(sd, &idx);
+ preHookFunc(&sd, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7161,11 +7161,11 @@ void HP_clif_use_card(struct map_session_data *sd, int idx) {
void HP_clif_cart_additem(struct map_session_data *sd, int n, int amount, int fail) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cart_additem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *n, int *amount, int *fail);
+ void (*preHookFunc) (struct map_session_data **sd, int *n, int *amount, int *fail);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cart_additem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cart_additem_pre[hIndex].func;
- preHookFunc(sd, &n, &amount, &fail);
+ preHookFunc(&sd, &n, &amount, &fail);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7187,11 +7187,11 @@ void HP_clif_cart_additem(struct map_session_data *sd, int n, int amount, int fa
void HP_clif_cart_delitem(struct map_session_data *sd, int n, int amount) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cart_delitem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *n, int *amount);
+ void (*preHookFunc) (struct map_session_data **sd, int *n, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cart_delitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cart_delitem_pre[hIndex].func;
- preHookFunc(sd, &n, &amount);
+ preHookFunc(&sd, &n, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7213,11 +7213,11 @@ void HP_clif_cart_delitem(struct map_session_data *sd, int n, int amount) {
void HP_clif_equipitemack(struct map_session_data *sd, int n, int pos, enum e_EQUIP_ITEM_ACK result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_equipitemack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *n, int *pos, enum e_EQUIP_ITEM_ACK *result);
+ void (*preHookFunc) (struct map_session_data **sd, int *n, int *pos, enum e_EQUIP_ITEM_ACK *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_equipitemack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_equipitemack_pre[hIndex].func;
- preHookFunc(sd, &n, &pos, &result);
+ preHookFunc(&sd, &n, &pos, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7239,11 +7239,11 @@ void HP_clif_equipitemack(struct map_session_data *sd, int n, int pos, enum e_EQ
void HP_clif_unequipitemack(struct map_session_data *sd, int n, int pos, enum e_UNEQUIP_ITEM_ACK result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_unequipitemack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *n, int *pos, enum e_UNEQUIP_ITEM_ACK *result);
+ void (*preHookFunc) (struct map_session_data **sd, int *n, int *pos, enum e_UNEQUIP_ITEM_ACK *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_unequipitemack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_unequipitemack_pre[hIndex].func;
- preHookFunc(sd, &n, &pos, &result);
+ preHookFunc(&sd, &n, &pos, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7265,11 +7265,11 @@ void HP_clif_unequipitemack(struct map_session_data *sd, int n, int pos, enum e_
void HP_clif_useitemack(struct map_session_data *sd, int index, int amount, bool ok) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_useitemack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *index, int *amount, bool *ok);
+ void (*preHookFunc) (struct map_session_data **sd, int *index, int *amount, bool *ok);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_useitemack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_useitemack_pre[hIndex].func;
- preHookFunc(sd, &index, &amount, &ok);
+ preHookFunc(&sd, &index, &amount, &ok);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7291,11 +7291,11 @@ void HP_clif_useitemack(struct map_session_data *sd, int index, int amount, bool
void HP_clif_addcards(unsigned char *buf, struct item *item) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_addcards_pre ) {
- void (*preHookFunc) (unsigned char *buf, struct item *item);
+ void (*preHookFunc) (unsigned char **buf, struct item **item);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_addcards_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_addcards_pre[hIndex].func;
- preHookFunc(buf, item);
+ preHookFunc(&buf, &item);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7317,11 +7317,11 @@ void HP_clif_addcards(unsigned char *buf, struct item *item) {
void HP_clif_addcards2(unsigned short *cards, struct item *item) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_addcards2_pre ) {
- void (*preHookFunc) (unsigned short *cards, struct item *item);
+ void (*preHookFunc) (unsigned short **cards, struct item **item);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_addcards2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_addcards2_pre[hIndex].func;
- preHookFunc(cards, item);
+ preHookFunc(&cards, &item);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7343,11 +7343,11 @@ void HP_clif_addcards2(unsigned short *cards, struct item *item) {
void HP_clif_item_sub(unsigned char *buf, int n, struct item *i, struct item_data *id, int equip) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_sub_pre ) {
- void (*preHookFunc) (unsigned char *buf, int *n, struct item *i, struct item_data *id, int *equip);
+ void (*preHookFunc) (unsigned char **buf, int *n, struct item **i, struct item_data **id, int *equip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_sub_pre[hIndex].func;
- preHookFunc(buf, &n, i, id, &equip);
+ preHookFunc(&buf, &n, &i, &id, &equip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7369,11 +7369,11 @@ void HP_clif_item_sub(unsigned char *buf, int n, struct item *i, struct item_dat
void HP_clif_getareachar_item(struct map_session_data *sd, struct flooritem_data *fitem) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_getareachar_item_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct flooritem_data *fitem);
+ void (*preHookFunc) (struct map_session_data **sd, struct flooritem_data **fitem);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_getareachar_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_getareachar_item_pre[hIndex].func;
- preHookFunc(sd, fitem);
+ preHookFunc(&sd, &fitem);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7395,11 +7395,11 @@ void HP_clif_getareachar_item(struct map_session_data *sd, struct flooritem_data
void HP_clif_cart_additem_ack(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cart_additem_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cart_additem_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cart_additem_ack_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7447,11 +7447,11 @@ void HP_clif_cashshop_load(void) {
void HP_clif_package_announce(struct map_session_data *sd, unsigned short nameid, unsigned short containerid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_package_announce_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *nameid, unsigned short *containerid);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *nameid, unsigned short *containerid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_package_announce_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_package_announce_pre[hIndex].func;
- preHookFunc(sd, &nameid, &containerid);
+ preHookFunc(&sd, &nameid, &containerid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7473,11 +7473,11 @@ void HP_clif_package_announce(struct map_session_data *sd, unsigned short nameid
void HP_clif_item_drop_announce(struct map_session_data *sd, unsigned short nameid, char *monsterName) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_drop_announce_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *nameid, char *monsterName);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *nameid, char **monsterName);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_drop_announce_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_drop_announce_pre[hIndex].func;
- preHookFunc(sd, &nameid, monsterName);
+ preHookFunc(&sd, &nameid, &monsterName);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7525,11 +7525,11 @@ void HP_clif_clearunit_single(int id, clr_type type, int fd) {
void HP_clif_clearunit_area(struct block_list *bl, clr_type type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_clearunit_area_pre ) {
- void (*preHookFunc) (struct block_list *bl, clr_type *type);
+ void (*preHookFunc) (struct block_list **bl, clr_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearunit_area_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_clearunit_area_pre[hIndex].func;
- preHookFunc(bl, &type);
+ preHookFunc(&bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7551,11 +7551,11 @@ void HP_clif_clearunit_area(struct block_list *bl, clr_type type) {
void HP_clif_clearunit_delayed(struct block_list *bl, clr_type type, int64 tick) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_clearunit_delayed_pre ) {
- void (*preHookFunc) (struct block_list *bl, clr_type *type, int64 *tick);
+ void (*preHookFunc) (struct block_list **bl, clr_type *type, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearunit_delayed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_clearunit_delayed_pre[hIndex].func;
- preHookFunc(bl, &type, &tick);
+ preHookFunc(&bl, &type, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7577,11 +7577,11 @@ void HP_clif_clearunit_delayed(struct block_list *bl, clr_type type, int64 tick)
void HP_clif_walkok(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_walkok_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_walkok_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_walkok_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7603,11 +7603,11 @@ void HP_clif_walkok(struct map_session_data *sd) {
void HP_clif_move(struct unit_data *ud) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_move_pre ) {
- void (*preHookFunc) (struct unit_data *ud);
+ void (*preHookFunc) (struct unit_data **ud);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_move_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_move_pre[hIndex].func;
- preHookFunc(ud);
+ preHookFunc(&ud);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7629,11 +7629,11 @@ void HP_clif_move(struct unit_data *ud) {
void HP_clif_move2(struct block_list *bl, struct view_data *vd, struct unit_data *ud) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_move2_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct view_data *vd, struct unit_data *ud);
+ void (*preHookFunc) (struct block_list **bl, struct view_data **vd, struct unit_data **ud);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_move2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_move2_pre[hIndex].func;
- preHookFunc(bl, vd, ud);
+ preHookFunc(&bl, &vd, &ud);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7655,11 +7655,11 @@ void HP_clif_move2(struct block_list *bl, struct view_data *vd, struct unit_data
void HP_clif_blown(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_blown_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_blown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_blown_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7681,11 +7681,11 @@ void HP_clif_blown(struct block_list *bl) {
void HP_clif_slide(struct block_list *bl, int x, int y) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_slide_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *x, int *y);
+ void (*preHookFunc) (struct block_list **bl, int *x, int *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_slide_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_slide_pre[hIndex].func;
- preHookFunc(bl, &x, &y);
+ preHookFunc(&bl, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7707,11 +7707,11 @@ void HP_clif_slide(struct block_list *bl, int x, int y) {
void HP_clif_fixpos(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_fixpos_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_fixpos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_fixpos_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7733,11 +7733,11 @@ void HP_clif_fixpos(struct block_list *bl) {
void HP_clif_changelook(struct block_list *bl, int type, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changelook_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *type, int *val);
+ void (*preHookFunc) (struct block_list **bl, int *type, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changelook_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changelook_pre[hIndex].func;
- preHookFunc(bl, &type, &val);
+ preHookFunc(&bl, &type, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7759,11 +7759,11 @@ void HP_clif_changelook(struct block_list *bl, int type, int val) {
void HP_clif_changetraplook(struct block_list *bl, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changetraplook_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *val);
+ void (*preHookFunc) (struct block_list **bl, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changetraplook_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changetraplook_pre[hIndex].func;
- preHookFunc(bl, &val);
+ preHookFunc(&bl, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7785,11 +7785,11 @@ void HP_clif_changetraplook(struct block_list *bl, int val) {
void HP_clif_refreshlook(struct block_list *bl, int id, int type, int val, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_refreshlook_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *id, int *type, int *val, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, int *id, int *type, int *val, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_refreshlook_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_refreshlook_pre[hIndex].func;
- preHookFunc(bl, &id, &type, &val, &target);
+ preHookFunc(&bl, &id, &type, &val, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7811,11 +7811,11 @@ void HP_clif_refreshlook(struct block_list *bl, int id, int type, int val, enum
void HP_clif_sendlook(struct block_list *bl, int id, int type, int val, int val2, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_sendlook_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *id, int *type, int *val, int *val2, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, int *id, int *type, int *val, int *val2, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sendlook_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_sendlook_pre[hIndex].func;
- preHookFunc(bl, &id, &type, &val, &val2, &target);
+ preHookFunc(&bl, &id, &type, &val, &val2, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7837,11 +7837,11 @@ void HP_clif_sendlook(struct block_list *bl, int id, int type, int val, int val2
void HP_clif_class_change(struct block_list *bl, int class_, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_class_change_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *class_, int *type);
+ void (*preHookFunc) (struct block_list **bl, int *class_, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_class_change_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_class_change_pre[hIndex].func;
- preHookFunc(bl, &class_, &type);
+ preHookFunc(&bl, &class_, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7863,11 +7863,11 @@ void HP_clif_class_change(struct block_list *bl, int class_, int type) {
void HP_clif_skill_delunit(struct skill_unit *su) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skill_delunit_pre ) {
- void (*preHookFunc) (struct skill_unit *su);
+ void (*preHookFunc) (struct skill_unit **su);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_delunit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_delunit_pre[hIndex].func;
- preHookFunc(su);
+ preHookFunc(&su);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7889,11 +7889,11 @@ void HP_clif_skill_delunit(struct skill_unit *su) {
void HP_clif_skillunit_update(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skillunit_update_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skillunit_update_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skillunit_update_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7942,11 +7942,11 @@ int HP_clif_clearunit_delayed_sub(int tid, int64 tick, int id, intptr_t data) {
void HP_clif_set_unit_idle(struct block_list *bl, struct map_session_data *tsd, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_set_unit_idle_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct map_session_data *tsd, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, struct map_session_data **tsd, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_set_unit_idle_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_set_unit_idle_pre[hIndex].func;
- preHookFunc(bl, tsd, &target);
+ preHookFunc(&bl, &tsd, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7968,11 +7968,11 @@ void HP_clif_set_unit_idle(struct block_list *bl, struct map_session_data *tsd,
void HP_clif_spawn_unit(struct block_list *bl, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_spawn_unit_pre ) {
- void (*preHookFunc) (struct block_list *bl, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spawn_unit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_spawn_unit_pre[hIndex].func;
- preHookFunc(bl, &target);
+ preHookFunc(&bl, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7994,11 +7994,11 @@ void HP_clif_spawn_unit(struct block_list *bl, enum send_target target) {
void HP_clif_spawn_unit2(struct block_list *bl, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_spawn_unit2_pre ) {
- void (*preHookFunc) (struct block_list *bl, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spawn_unit2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_spawn_unit2_pre[hIndex].func;
- preHookFunc(bl, &target);
+ preHookFunc(&bl, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8020,11 +8020,11 @@ void HP_clif_spawn_unit2(struct block_list *bl, enum send_target target) {
void HP_clif_set_unit_idle2(struct block_list *bl, struct map_session_data *tsd, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_set_unit_idle2_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct map_session_data *tsd, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, struct map_session_data **tsd, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_set_unit_idle2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_set_unit_idle2_pre[hIndex].func;
- preHookFunc(bl, tsd, &target);
+ preHookFunc(&bl, &tsd, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8046,11 +8046,11 @@ void HP_clif_set_unit_idle2(struct block_list *bl, struct map_session_data *tsd,
void HP_clif_set_unit_walking(struct block_list *bl, struct map_session_data *tsd, struct unit_data *ud, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_set_unit_walking_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct map_session_data *tsd, struct unit_data *ud, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, struct map_session_data **tsd, struct unit_data **ud, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_set_unit_walking_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_set_unit_walking_pre[hIndex].func;
- preHookFunc(bl, tsd, ud, &target);
+ preHookFunc(&bl, &tsd, &ud, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8073,11 +8073,11 @@ int HP_clif_calc_walkdelay(struct block_list *bl, int delay, int type, int damag
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_calc_walkdelay_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *delay, int *type, int *damage, int *div_);
+ int (*preHookFunc) (struct block_list **bl, int *delay, int *type, int *damage, int *div_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_calc_walkdelay_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_calc_walkdelay_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &delay, &type, &damage, &div_);
+ retVal___ = preHookFunc(&bl, &delay, &type, &damage, &div_);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8099,11 +8099,11 @@ int HP_clif_calc_walkdelay(struct block_list *bl, int delay, int type, int damag
void HP_clif_getareachar_skillunit(struct block_list *bl, struct skill_unit *su, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_getareachar_skillunit_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct skill_unit *su, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, struct skill_unit **su, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_getareachar_skillunit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_getareachar_skillunit_pre[hIndex].func;
- preHookFunc(bl, su, &target);
+ preHookFunc(&bl, &su, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8125,11 +8125,11 @@ void HP_clif_getareachar_skillunit(struct block_list *bl, struct skill_unit *su,
void HP_clif_getareachar_unit(struct map_session_data *sd, struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_getareachar_unit_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct block_list *bl);
+ void (*preHookFunc) (struct map_session_data **sd, struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_getareachar_unit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_getareachar_unit_pre[hIndex].func;
- preHookFunc(sd, bl);
+ preHookFunc(&sd, &bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8151,11 +8151,11 @@ void HP_clif_getareachar_unit(struct map_session_data *sd, struct block_list *bl
void HP_clif_clearchar_skillunit(struct skill_unit *su, int fd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_clearchar_skillunit_pre ) {
- void (*preHookFunc) (struct skill_unit *su, int *fd);
+ void (*preHookFunc) (struct skill_unit **su, int *fd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearchar_skillunit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_clearchar_skillunit_pre[hIndex].func;
- preHookFunc(su, &fd);
+ preHookFunc(&su, &fd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8178,12 +8178,12 @@ int HP_clif_getareachar(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_getareachar_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_getareachar_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_clif_getareachar_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -8210,11 +8210,11 @@ int HP_clif_getareachar(struct block_list *bl, va_list ap) {
void HP_clif_graffiti_entry(struct block_list *bl, struct skill_unit *su, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_graffiti_entry_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct skill_unit *su, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, struct skill_unit **su, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_graffiti_entry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_graffiti_entry_pre[hIndex].func;
- preHookFunc(bl, su, &target);
+ preHookFunc(&bl, &su, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8237,11 +8237,11 @@ bool HP_clif_spawn(struct block_list *bl) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_clif_spawn_pre ) {
- bool (*preHookFunc) (struct block_list *bl);
+ bool (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spawn_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_spawn_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8263,11 +8263,11 @@ bool HP_clif_spawn(struct block_list *bl) {
void HP_clif_changemap(struct map_session_data *sd, short m, int x, int y) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changemap_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *m, int *x, int *y);
+ void (*preHookFunc) (struct map_session_data **sd, short *m, int *x, int *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changemap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changemap_pre[hIndex].func;
- preHookFunc(sd, &m, &x, &y);
+ preHookFunc(&sd, &m, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8315,11 +8315,11 @@ void HP_clif_changemapcell(int fd, int16 m, int x, int y, int type, enum send_ta
void HP_clif_map_property(struct map_session_data *sd, enum map_property property) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_map_property_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum map_property *property);
+ void (*preHookFunc) (struct map_session_data **sd, enum map_property *property);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_map_property_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_map_property_pre[hIndex].func;
- preHookFunc(sd, &property);
+ preHookFunc(&sd, &property);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8341,11 +8341,11 @@ void HP_clif_map_property(struct map_session_data *sd, enum map_property propert
void HP_clif_pvpset(struct map_session_data *sd, int pvprank, int pvpnum, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pvpset_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *pvprank, int *pvpnum, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *pvprank, int *pvpnum, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pvpset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pvpset_pre[hIndex].func;
- preHookFunc(sd, &pvprank, &pvpnum, &type);
+ preHookFunc(&sd, &pvprank, &pvpnum, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8393,11 +8393,11 @@ void HP_clif_map_property_mapall(int mapid, enum map_property property) {
void HP_clif_bossmapinfo(int fd, struct mob_data *md, short flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bossmapinfo_pre ) {
- void (*preHookFunc) (int *fd, struct mob_data *md, short *flag);
+ void (*preHookFunc) (int *fd, struct mob_data **md, short *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bossmapinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bossmapinfo_pre[hIndex].func;
- preHookFunc(&fd, md, &flag);
+ preHookFunc(&fd, &md, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8419,11 +8419,11 @@ void HP_clif_bossmapinfo(int fd, struct mob_data *md, short flag) {
void HP_clif_map_type(struct map_session_data *sd, enum map_type type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_map_type_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum map_type *type);
+ void (*preHookFunc) (struct map_session_data **sd, enum map_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_map_type_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_map_type_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8445,11 +8445,11 @@ void HP_clif_map_type(struct map_session_data *sd, enum map_type type) {
void HP_clif_maptypeproperty2(struct block_list *bl, enum send_target t) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_maptypeproperty2_pre ) {
- void (*preHookFunc) (struct block_list *bl, enum send_target *t);
+ void (*preHookFunc) (struct block_list **bl, enum send_target *t);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_maptypeproperty2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_maptypeproperty2_pre[hIndex].func;
- preHookFunc(bl, &t);
+ preHookFunc(&bl, &t);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8471,11 +8471,11 @@ void HP_clif_maptypeproperty2(struct block_list *bl, enum send_target t) {
void HP_clif_changemapserver(struct map_session_data *sd, unsigned short map_index, int x, int y, uint32 ip, uint16 port) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changemapserver_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *map_index, int *x, int *y, uint32 *ip, uint16 *port);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *map_index, int *x, int *y, uint32 *ip, uint16 *port);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changemapserver_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changemapserver_pre[hIndex].func;
- preHookFunc(sd, &map_index, &x, &y, &ip, &port);
+ preHookFunc(&sd, &map_index, &x, &y, &ip, &port);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8497,11 +8497,11 @@ void HP_clif_changemapserver(struct map_session_data *sd, unsigned short map_ind
void HP_clif_npcbuysell(struct map_session_data *sd, int id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_npcbuysell_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *id);
+ void (*preHookFunc) (struct map_session_data **sd, int *id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_npcbuysell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_npcbuysell_pre[hIndex].func;
- preHookFunc(sd, &id);
+ preHookFunc(&sd, &id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8523,11 +8523,11 @@ void HP_clif_npcbuysell(struct map_session_data *sd, int id) {
void HP_clif_buylist(struct map_session_data *sd, struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buylist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct npc_data *nd);
+ void (*preHookFunc) (struct map_session_data **sd, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buylist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buylist_pre[hIndex].func;
- preHookFunc(sd, nd);
+ preHookFunc(&sd, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8549,11 +8549,11 @@ void HP_clif_buylist(struct map_session_data *sd, struct npc_data *nd) {
void HP_clif_selllist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_selllist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_selllist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_selllist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8575,11 +8575,11 @@ void HP_clif_selllist(struct map_session_data *sd) {
void HP_clif_cashshop_show(struct map_session_data *sd, struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cashshop_show_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct npc_data *nd);
+ void (*preHookFunc) (struct map_session_data **sd, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cashshop_show_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cashshop_show_pre[hIndex].func;
- preHookFunc(sd, nd);
+ preHookFunc(&sd, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8601,11 +8601,11 @@ void HP_clif_cashshop_show(struct map_session_data *sd, struct npc_data *nd) {
void HP_clif_npc_buy_result(struct map_session_data *sd, unsigned char result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_npc_buy_result_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *result);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_npc_buy_result_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_npc_buy_result_pre[hIndex].func;
- preHookFunc(sd, &result);
+ preHookFunc(&sd, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8627,11 +8627,11 @@ void HP_clif_npc_buy_result(struct map_session_data *sd, unsigned char result) {
void HP_clif_npc_sell_result(struct map_session_data *sd, unsigned char result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_npc_sell_result_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *result);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_npc_sell_result_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_npc_sell_result_pre[hIndex].func;
- preHookFunc(sd, &result);
+ preHookFunc(&sd, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8653,11 +8653,11 @@ void HP_clif_npc_sell_result(struct map_session_data *sd, unsigned char result)
void HP_clif_cashshop_ack(struct map_session_data *sd, int error) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cashshop_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *error);
+ void (*preHookFunc) (struct map_session_data **sd, int *error);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cashshop_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cashshop_ack_pre[hIndex].func;
- preHookFunc(sd, &error);
+ preHookFunc(&sd, &error);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8679,11 +8679,11 @@ void HP_clif_cashshop_ack(struct map_session_data *sd, int error) {
void HP_clif_scriptmes(struct map_session_data *sd, int npcid, const char *mes) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_scriptmes_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *npcid, const char *mes);
+ void (*preHookFunc) (struct map_session_data **sd, int *npcid, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptmes_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_scriptmes_pre[hIndex].func;
- preHookFunc(sd, &npcid, mes);
+ preHookFunc(&sd, &npcid, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8705,11 +8705,11 @@ void HP_clif_scriptmes(struct map_session_data *sd, int npcid, const char *mes)
void HP_clif_scriptnext(struct map_session_data *sd, int npcid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_scriptnext_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*preHookFunc) (struct map_session_data **sd, int *npcid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptnext_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_scriptnext_pre[hIndex].func;
- preHookFunc(sd, &npcid);
+ preHookFunc(&sd, &npcid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8731,11 +8731,11 @@ void HP_clif_scriptnext(struct map_session_data *sd, int npcid) {
void HP_clif_scriptclose(struct map_session_data *sd, int npcid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_scriptclose_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*preHookFunc) (struct map_session_data **sd, int *npcid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptclose_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_scriptclose_pre[hIndex].func;
- preHookFunc(sd, &npcid);
+ preHookFunc(&sd, &npcid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8757,11 +8757,11 @@ void HP_clif_scriptclose(struct map_session_data *sd, int npcid) {
void HP_clif_scriptmenu(struct map_session_data *sd, int npcid, const char *mes) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_scriptmenu_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *npcid, const char *mes);
+ void (*preHookFunc) (struct map_session_data **sd, int *npcid, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptmenu_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_scriptmenu_pre[hIndex].func;
- preHookFunc(sd, &npcid, mes);
+ preHookFunc(&sd, &npcid, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8783,11 +8783,11 @@ void HP_clif_scriptmenu(struct map_session_data *sd, int npcid, const char *mes)
void HP_clif_scriptinput(struct map_session_data *sd, int npcid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_scriptinput_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*preHookFunc) (struct map_session_data **sd, int *npcid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptinput_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_scriptinput_pre[hIndex].func;
- preHookFunc(sd, &npcid);
+ preHookFunc(&sd, &npcid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8809,11 +8809,11 @@ void HP_clif_scriptinput(struct map_session_data *sd, int npcid) {
void HP_clif_scriptinputstr(struct map_session_data *sd, int npcid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_scriptinputstr_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*preHookFunc) (struct map_session_data **sd, int *npcid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptinputstr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_scriptinputstr_pre[hIndex].func;
- preHookFunc(sd, &npcid);
+ preHookFunc(&sd, &npcid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8835,11 +8835,11 @@ void HP_clif_scriptinputstr(struct map_session_data *sd, int npcid) {
void HP_clif_cutin(struct map_session_data *sd, const char *image, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cutin_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *image, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, const char **image, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cutin_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cutin_pre[hIndex].func;
- preHookFunc(sd, image, &type);
+ preHookFunc(&sd, &image, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8861,11 +8861,11 @@ void HP_clif_cutin(struct map_session_data *sd, const char *image, int type) {
void HP_clif_sendfakenpc(struct map_session_data *sd, int npcid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_sendfakenpc_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*preHookFunc) (struct map_session_data **sd, int *npcid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sendfakenpc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_sendfakenpc_pre[hIndex].func;
- preHookFunc(sd, &npcid);
+ preHookFunc(&sd, &npcid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8887,11 +8887,11 @@ void HP_clif_sendfakenpc(struct map_session_data *sd, int npcid) {
void HP_clif_scriptclear(struct map_session_data *sd, int npcid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_scriptclear_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *npcid);
+ void (*preHookFunc) (struct map_session_data **sd, int *npcid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_scriptclear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_scriptclear_pre[hIndex].func;
- preHookFunc(sd, &npcid);
+ preHookFunc(&sd, &npcid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8913,11 +8913,11 @@ void HP_clif_scriptclear(struct map_session_data *sd, int npcid) {
void HP_clif_viewpoint(struct map_session_data *sd, int npc_id, int type, int x, int y, int id, int color) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_viewpoint_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *npc_id, int *type, int *x, int *y, int *id, int *color);
+ void (*preHookFunc) (struct map_session_data **sd, int *npc_id, int *type, int *x, int *y, int *id, int *color);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_viewpoint_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_viewpoint_pre[hIndex].func;
- preHookFunc(sd, &npc_id, &type, &x, &y, &id, &color);
+ preHookFunc(&sd, &npc_id, &type, &x, &y, &id, &color);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8940,11 +8940,11 @@ int HP_clif_damage(struct block_list *src, struct block_list *dst, int sdelay, i
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_damage_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *dst, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
+ int (*preHookFunc) (struct block_list **src, struct block_list **dst, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_damage_pre[hIndex].func;
- retVal___ = preHookFunc(src, dst, &sdelay, &ddelay, &damage, &div, &type, &damage2);
+ retVal___ = preHookFunc(&src, &dst, &sdelay, &ddelay, &damage, &div, &type, &damage2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8966,11 +8966,11 @@ int HP_clif_damage(struct block_list *src, struct block_list *dst, int sdelay, i
void HP_clif_sitting(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_sitting_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sitting_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_sitting_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8992,11 +8992,11 @@ void HP_clif_sitting(struct block_list *bl) {
void HP_clif_standing(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_standing_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_standing_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_standing_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9018,11 +9018,11 @@ void HP_clif_standing(struct block_list *bl) {
void HP_clif_arrow_create_list(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_arrow_create_list_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_arrow_create_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_arrow_create_list_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9044,11 +9044,11 @@ void HP_clif_arrow_create_list(struct map_session_data *sd) {
void HP_clif_refresh_storagewindow(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_refresh_storagewindow_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_refresh_storagewindow_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_refresh_storagewindow_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9070,11 +9070,11 @@ void HP_clif_refresh_storagewindow(struct map_session_data *sd) {
void HP_clif_refresh(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_refresh_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_refresh_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_refresh_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9096,11 +9096,11 @@ void HP_clif_refresh(struct map_session_data *sd) {
void HP_clif_fame_blacksmith(struct map_session_data *sd, int points) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_fame_blacksmith_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *points);
+ void (*preHookFunc) (struct map_session_data **sd, int *points);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_fame_blacksmith_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_fame_blacksmith_pre[hIndex].func;
- preHookFunc(sd, &points);
+ preHookFunc(&sd, &points);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9122,11 +9122,11 @@ void HP_clif_fame_blacksmith(struct map_session_data *sd, int points) {
void HP_clif_fame_alchemist(struct map_session_data *sd, int points) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_fame_alchemist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *points);
+ void (*preHookFunc) (struct map_session_data **sd, int *points);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_fame_alchemist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_fame_alchemist_pre[hIndex].func;
- preHookFunc(sd, &points);
+ preHookFunc(&sd, &points);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9148,11 +9148,11 @@ void HP_clif_fame_alchemist(struct map_session_data *sd, int points) {
void HP_clif_fame_taekwon(struct map_session_data *sd, int points) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_fame_taekwon_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *points);
+ void (*preHookFunc) (struct map_session_data **sd, int *points);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_fame_taekwon_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_fame_taekwon_pre[hIndex].func;
- preHookFunc(sd, &points);
+ preHookFunc(&sd, &points);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9174,11 +9174,11 @@ void HP_clif_fame_taekwon(struct map_session_data *sd, int points) {
void HP_clif_ranklist(struct map_session_data *sd, enum fame_list_type type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_ranklist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum fame_list_type *type);
+ void (*preHookFunc) (struct map_session_data **sd, enum fame_list_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_ranklist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_ranklist_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9200,11 +9200,11 @@ void HP_clif_ranklist(struct map_session_data *sd, enum fame_list_type type) {
void HP_clif_update_rankingpoint(struct map_session_data *sd, enum fame_list_type type, int points) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_update_rankingpoint_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum fame_list_type *type, int *points);
+ void (*preHookFunc) (struct map_session_data **sd, enum fame_list_type *type, int *points);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_update_rankingpoint_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_update_rankingpoint_pre[hIndex].func;
- preHookFunc(sd, &type, &points);
+ preHookFunc(&sd, &type, &points);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9226,11 +9226,11 @@ void HP_clif_update_rankingpoint(struct map_session_data *sd, enum fame_list_typ
void HP_clif_pRanklist(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRanklist_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRanklist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRanklist_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9252,11 +9252,11 @@ void HP_clif_pRanklist(int fd, struct map_session_data *sd) {
void HP_clif_hotkeys(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_hotkeys_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hotkeys_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_hotkeys_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9279,12 +9279,12 @@ int HP_clif_insight(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_insight_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_insight_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_clif_insight_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -9312,12 +9312,12 @@ int HP_clif_outsight(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_outsight_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_outsight_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_clif_outsight_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -9344,11 +9344,11 @@ int HP_clif_outsight(struct block_list *bl, va_list ap) {
void HP_clif_skillcastcancel(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skillcastcancel_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skillcastcancel_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skillcastcancel_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9370,11 +9370,11 @@ void HP_clif_skillcastcancel(struct block_list *bl) {
void HP_clif_skill_fail(struct map_session_data *sd, uint16 skill_id, enum useskill_fail_cause cause, int btype) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skill_fail_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, enum useskill_fail_cause *cause, int *btype);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, enum useskill_fail_cause *cause, int *btype);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_fail_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_fail_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &cause, &btype);
+ preHookFunc(&sd, &skill_id, &cause, &btype);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9396,11 +9396,11 @@ void HP_clif_skill_fail(struct map_session_data *sd, uint16 skill_id, enum usesk
void HP_clif_skill_cooldown(struct map_session_data *sd, uint16 skill_id, unsigned int duration) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skill_cooldown_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, unsigned int *duration);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, unsigned int *duration);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_cooldown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_cooldown_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &duration);
+ preHookFunc(&sd, &skill_id, &duration);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9422,11 +9422,11 @@ void HP_clif_skill_cooldown(struct map_session_data *sd, uint16 skill_id, unsign
void HP_clif_skill_memomessage(struct map_session_data *sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skill_memomessage_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_memomessage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_memomessage_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9448,11 +9448,11 @@ void HP_clif_skill_memomessage(struct map_session_data *sd, int type) {
void HP_clif_skill_mapinfomessage(struct map_session_data *sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skill_mapinfomessage_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_mapinfomessage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_mapinfomessage_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9474,11 +9474,11 @@ void HP_clif_skill_mapinfomessage(struct map_session_data *sd, int type) {
void HP_clif_skill_produce_mix_list(struct map_session_data *sd, int skill_id, int trigger) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skill_produce_mix_list_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *skill_id, int *trigger);
+ void (*preHookFunc) (struct map_session_data **sd, int *skill_id, int *trigger);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_produce_mix_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_produce_mix_list_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &trigger);
+ preHookFunc(&sd, &skill_id, &trigger);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9500,11 +9500,11 @@ void HP_clif_skill_produce_mix_list(struct map_session_data *sd, int skill_id, i
void HP_clif_cooking_list(struct map_session_data *sd, int trigger, uint16 skill_id, int qty, int list_type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cooking_list_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *trigger, uint16 *skill_id, int *qty, int *list_type);
+ void (*preHookFunc) (struct map_session_data **sd, int *trigger, uint16 *skill_id, int *qty, int *list_type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cooking_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cooking_list_pre[hIndex].func;
- preHookFunc(sd, &trigger, &skill_id, &qty, &list_type);
+ preHookFunc(&sd, &trigger, &skill_id, &qty, &list_type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9526,11 +9526,11 @@ void HP_clif_cooking_list(struct map_session_data *sd, int trigger, uint16 skill
void HP_clif_autospell(struct map_session_data *sd, uint16 skill_lv) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_autospell_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_lv);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_autospell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_autospell_pre[hIndex].func;
- preHookFunc(sd, &skill_lv);
+ preHookFunc(&sd, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9552,11 +9552,11 @@ void HP_clif_autospell(struct map_session_data *sd, uint16 skill_lv) {
void HP_clif_combo_delay(struct block_list *bl, int wait) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_combo_delay_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *wait);
+ void (*preHookFunc) (struct block_list **bl, int *wait);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_combo_delay_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_combo_delay_pre[hIndex].func;
- preHookFunc(bl, &wait);
+ preHookFunc(&bl, &wait);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9578,11 +9578,11 @@ void HP_clif_combo_delay(struct block_list *bl, int wait) {
void HP_clif_status_change(struct block_list *bl, int type, int flag, int tick, int val1, int val2, int val3) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_status_change_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *type, int *flag, int *tick, int *val1, int *val2, int *val3);
+ void (*preHookFunc) (struct block_list **bl, int *type, int *flag, int *tick, int *val1, int *val2, int *val3);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_status_change_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_status_change_pre[hIndex].func;
- preHookFunc(bl, &type, &flag, &tick, &val1, &val2, &val3);
+ preHookFunc(&bl, &type, &flag, &tick, &val1, &val2, &val3);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9604,11 +9604,11 @@ void HP_clif_status_change(struct block_list *bl, int type, int flag, int tick,
void HP_clif_insert_card(struct map_session_data *sd, int idx_equip, int idx_card, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_insert_card_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *idx_equip, int *idx_card, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *idx_equip, int *idx_card, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_insert_card_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_insert_card_pre[hIndex].func;
- preHookFunc(sd, &idx_equip, &idx_card, &flag);
+ preHookFunc(&sd, &idx_equip, &idx_card, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9630,11 +9630,11 @@ void HP_clif_insert_card(struct map_session_data *sd, int idx_equip, int idx_car
void HP_clif_inventorylist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_inventorylist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_inventorylist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_inventorylist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9656,11 +9656,11 @@ void HP_clif_inventorylist(struct map_session_data *sd) {
void HP_clif_equiplist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_equiplist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_equiplist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_equiplist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9682,11 +9682,11 @@ void HP_clif_equiplist(struct map_session_data *sd) {
void HP_clif_cartlist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cartlist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cartlist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cartlist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9708,11 +9708,11 @@ void HP_clif_cartlist(struct map_session_data *sd) {
void HP_clif_favorite_item(struct map_session_data *sd, unsigned short index) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_favorite_item_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *index);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_favorite_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_favorite_item_pre[hIndex].func;
- preHookFunc(sd, &index);
+ preHookFunc(&sd, &index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9760,11 +9760,11 @@ void HP_clif_clearcart(int fd) {
void HP_clif_item_identify_list(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_identify_list_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_identify_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_identify_list_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9786,11 +9786,11 @@ void HP_clif_item_identify_list(struct map_session_data *sd) {
void HP_clif_item_identified(struct map_session_data *sd, int idx, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_identified_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *idx, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *idx, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_identified_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_identified_pre[hIndex].func;
- preHookFunc(sd, &idx, &flag);
+ preHookFunc(&sd, &idx, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9812,11 +9812,11 @@ void HP_clif_item_identified(struct map_session_data *sd, int idx, int flag) {
void HP_clif_item_repair_list(struct map_session_data *sd, struct map_session_data *dstsd, int lv) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_repair_list_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *dstsd, int *lv);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **dstsd, int *lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_repair_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_repair_list_pre[hIndex].func;
- preHookFunc(sd, dstsd, &lv);
+ preHookFunc(&sd, &dstsd, &lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9838,11 +9838,11 @@ void HP_clif_item_repair_list(struct map_session_data *sd, struct map_session_da
void HP_clif_item_repaireffect(struct map_session_data *sd, int idx, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_repaireffect_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *idx, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *idx, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_repaireffect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_repaireffect_pre[hIndex].func;
- preHookFunc(sd, &idx, &flag);
+ preHookFunc(&sd, &idx, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9864,11 +9864,11 @@ void HP_clif_item_repaireffect(struct map_session_data *sd, int idx, int flag) {
void HP_clif_item_damaged(struct map_session_data *sd, unsigned short position) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_damaged_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *position);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *position);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_damaged_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_damaged_pre[hIndex].func;
- preHookFunc(sd, &position);
+ preHookFunc(&sd, &position);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9890,11 +9890,11 @@ void HP_clif_item_damaged(struct map_session_data *sd, unsigned short position)
void HP_clif_item_refine_list(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_refine_list_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_refine_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_refine_list_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9916,11 +9916,11 @@ void HP_clif_item_refine_list(struct map_session_data *sd) {
void HP_clif_item_skill(struct map_session_data *sd, uint16 skill_id, uint16 skill_lv) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_item_skill_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_item_skill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_item_skill_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &skill_lv);
+ preHookFunc(&sd, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9942,11 +9942,11 @@ void HP_clif_item_skill(struct map_session_data *sd, uint16 skill_id, uint16 ski
void HP_clif_mvp_item(struct map_session_data *sd, int nameid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mvp_item_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *nameid);
+ void (*preHookFunc) (struct map_session_data **sd, int *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mvp_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mvp_item_pre[hIndex].func;
- preHookFunc(sd, &nameid);
+ preHookFunc(&sd, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9968,11 +9968,11 @@ void HP_clif_mvp_item(struct map_session_data *sd, int nameid) {
void HP_clif_mvp_exp(struct map_session_data *sd, unsigned int exp) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mvp_exp_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *exp);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *exp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mvp_exp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mvp_exp_pre[hIndex].func;
- preHookFunc(sd, &exp);
+ preHookFunc(&sd, &exp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -9994,11 +9994,11 @@ void HP_clif_mvp_exp(struct map_session_data *sd, unsigned int exp) {
void HP_clif_mvp_noitem(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mvp_noitem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mvp_noitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mvp_noitem_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10020,11 +10020,11 @@ void HP_clif_mvp_noitem(struct map_session_data *sd) {
void HP_clif_changed_dir(struct block_list *bl, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changed_dir_pre ) {
- void (*preHookFunc) (struct block_list *bl, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changed_dir_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changed_dir_pre[hIndex].func;
- preHookFunc(bl, &target);
+ preHookFunc(&bl, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10046,11 +10046,11 @@ void HP_clif_changed_dir(struct block_list *bl, enum send_target target) {
void HP_clif_charnameack(int fd, struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_charnameack_pre ) {
- void (*preHookFunc) (int *fd, struct block_list *bl);
+ void (*preHookFunc) (int *fd, struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_charnameack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_charnameack_pre[hIndex].func;
- preHookFunc(&fd, bl);
+ preHookFunc(&fd, &bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10072,11 +10072,11 @@ void HP_clif_charnameack(int fd, struct block_list *bl) {
void HP_clif_monster_hp_bar(struct mob_data *md, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_monster_hp_bar_pre ) {
- void (*preHookFunc) (struct mob_data *md, struct map_session_data *sd);
+ void (*preHookFunc) (struct mob_data **md, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_monster_hp_bar_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_monster_hp_bar_pre[hIndex].func;
- preHookFunc(md, sd);
+ preHookFunc(&md, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10099,11 +10099,11 @@ int HP_clif_hpmeter(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_hpmeter_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hpmeter_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_hpmeter_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10152,12 +10152,12 @@ int HP_clif_hpmeter_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_hpmeter_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hpmeter_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_clif_hpmeter_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -10210,11 +10210,11 @@ void HP_clif_upgrademessage(int fd, int result, int item_id) {
void HP_clif_get_weapon_view(struct map_session_data *sd, unsigned short *rhand, unsigned short *lhand) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_get_weapon_view_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *rhand, unsigned short *lhand);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short **rhand, unsigned short **lhand);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_get_weapon_view_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_get_weapon_view_pre[hIndex].func;
- preHookFunc(sd, rhand, lhand);
+ preHookFunc(&sd, &rhand, &lhand);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10236,11 +10236,11 @@ void HP_clif_get_weapon_view(struct map_session_data *sd, unsigned short *rhand,
void HP_clif_gospel_info(struct map_session_data *sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_gospel_info_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_gospel_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_gospel_info_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10262,11 +10262,11 @@ void HP_clif_gospel_info(struct map_session_data *sd, int type) {
void HP_clif_feel_req(int fd, struct map_session_data *sd, uint16 skill_lv) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_feel_req_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd, uint16 *skill_lv);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_feel_req_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_feel_req_pre[hIndex].func;
- preHookFunc(&fd, sd, &skill_lv);
+ preHookFunc(&fd, &sd, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10288,11 +10288,11 @@ void HP_clif_feel_req(int fd, struct map_session_data *sd, uint16 skill_lv) {
void HP_clif_starskill(struct map_session_data *sd, const char *mapname, int monster_id, unsigned char star, unsigned char result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_starskill_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *mapname, int *monster_id, unsigned char *star, unsigned char *result);
+ void (*preHookFunc) (struct map_session_data **sd, const char **mapname, int *monster_id, unsigned char *star, unsigned char *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_starskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_starskill_pre[hIndex].func;
- preHookFunc(sd, mapname, &monster_id, &star, &result);
+ preHookFunc(&sd, &mapname, &monster_id, &star, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10314,11 +10314,11 @@ void HP_clif_starskill(struct map_session_data *sd, const char *mapname, int mon
void HP_clif_feel_info(struct map_session_data *sd, unsigned char feel_level, unsigned char type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_feel_info_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *feel_level, unsigned char *type);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *feel_level, unsigned char *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_feel_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_feel_info_pre[hIndex].func;
- preHookFunc(sd, &feel_level, &type);
+ preHookFunc(&sd, &feel_level, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10340,11 +10340,11 @@ void HP_clif_feel_info(struct map_session_data *sd, unsigned char feel_level, un
void HP_clif_hate_info(struct map_session_data *sd, unsigned char hate_level, int class_, unsigned char type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_hate_info_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *hate_level, int *class_, unsigned char *type);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *hate_level, int *class_, unsigned char *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hate_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_hate_info_pre[hIndex].func;
- preHookFunc(sd, &hate_level, &class_, &type);
+ preHookFunc(&sd, &hate_level, &class_, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10366,11 +10366,11 @@ void HP_clif_hate_info(struct map_session_data *sd, unsigned char hate_level, in
void HP_clif_mission_info(struct map_session_data *sd, int mob_id, unsigned char progress) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mission_info_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *mob_id, unsigned char *progress);
+ void (*preHookFunc) (struct map_session_data **sd, int *mob_id, unsigned char *progress);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mission_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mission_info_pre[hIndex].func;
- preHookFunc(sd, &mob_id, &progress);
+ preHookFunc(&sd, &mob_id, &progress);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10392,11 +10392,11 @@ void HP_clif_mission_info(struct map_session_data *sd, int mob_id, unsigned char
void HP_clif_feel_hate_reset(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_feel_hate_reset_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_feel_hate_reset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_feel_hate_reset_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10418,11 +10418,11 @@ void HP_clif_feel_hate_reset(struct map_session_data *sd) {
void HP_clif_partytickack(struct map_session_data *sd, bool flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_partytickack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*preHookFunc) (struct map_session_data **sd, bool *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_partytickack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_partytickack_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10444,11 +10444,11 @@ void HP_clif_partytickack(struct map_session_data *sd, bool flag) {
void HP_clif_equiptickack(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_equiptickack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_equiptickack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_equiptickack_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10470,11 +10470,11 @@ void HP_clif_equiptickack(struct map_session_data *sd, int flag) {
void HP_clif_viewequip_ack(struct map_session_data *sd, struct map_session_data *tsd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_viewequip_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_viewequip_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_viewequip_ack_pre[hIndex].func;
- preHookFunc(sd, tsd);
+ preHookFunc(&sd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10496,11 +10496,11 @@ void HP_clif_viewequip_ack(struct map_session_data *sd, struct map_session_data
void HP_clif_equpcheckbox(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_equpcheckbox_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_equpcheckbox_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_equpcheckbox_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10522,11 +10522,11 @@ void HP_clif_equpcheckbox(struct map_session_data *sd) {
void HP_clif_displayexp(struct map_session_data *sd, unsigned int exp, char type, bool is_quest) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_displayexp_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *exp, char *type, bool *is_quest);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *exp, char *type, bool *is_quest);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_displayexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_displayexp_pre[hIndex].func;
- preHookFunc(sd, &exp, &type, &is_quest);
+ preHookFunc(&sd, &exp, &type, &is_quest);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10548,11 +10548,11 @@ void HP_clif_displayexp(struct map_session_data *sd, unsigned int exp, char type
void HP_clif_font(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_font_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_font_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_font_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10574,11 +10574,11 @@ void HP_clif_font(struct map_session_data *sd) {
void HP_clif_progressbar(struct map_session_data *sd, unsigned int color, unsigned int second) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_progressbar_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *color, unsigned int *second);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *color, unsigned int *second);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_progressbar_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_progressbar_pre[hIndex].func;
- preHookFunc(sd, &color, &second);
+ preHookFunc(&sd, &color, &second);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10600,11 +10600,11 @@ void HP_clif_progressbar(struct map_session_data *sd, unsigned int color, unsign
void HP_clif_progressbar_abort(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_progressbar_abort_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_progressbar_abort_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_progressbar_abort_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10626,11 +10626,11 @@ void HP_clif_progressbar_abort(struct map_session_data *sd) {
void HP_clif_showdigit(struct map_session_data *sd, unsigned char type, int value) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_showdigit_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *type, int *value);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *type, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_showdigit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_showdigit_pre[hIndex].func;
- preHookFunc(sd, &type, &value);
+ preHookFunc(&sd, &type, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10653,11 +10653,11 @@ int HP_clif_elementalconverter_list(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_elementalconverter_list_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_elementalconverter_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_elementalconverter_list_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10680,11 +10680,11 @@ int HP_clif_spellbook_list(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_spellbook_list_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spellbook_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_spellbook_list_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10707,11 +10707,11 @@ int HP_clif_magicdecoy_list(struct map_session_data *sd, uint16 skill_lv, short
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_magicdecoy_list_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_lv, short *x, short *y);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_lv, short *x, short *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_magicdecoy_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_magicdecoy_list_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_lv, &x, &y);
+ retVal___ = preHookFunc(&sd, &skill_lv, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10734,11 +10734,11 @@ int HP_clif_poison_list(struct map_session_data *sd, uint16 skill_lv) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_poison_list_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_lv);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_poison_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_poison_list_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_lv);
+ retVal___ = preHookFunc(&sd, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10761,11 +10761,11 @@ int HP_clif_autoshadowspell_list(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_autoshadowspell_list_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_autoshadowspell_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_autoshadowspell_list_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10788,11 +10788,11 @@ int HP_clif_skill_itemlistwindow(struct map_session_data *sd, uint16 skill_id, u
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_skill_itemlistwindow_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_itemlistwindow_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_itemlistwindow_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&sd, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10814,11 +10814,11 @@ int HP_clif_skill_itemlistwindow(struct map_session_data *sd, uint16 skill_id, u
void HP_clif_sc_load(struct block_list *bl, int tid, enum send_target target, int type, int val1, int val2, int val3) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_sc_load_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *tid, enum send_target *target, int *type, int *val1, int *val2, int *val3);
+ void (*preHookFunc) (struct block_list **bl, int *tid, enum send_target *target, int *type, int *val1, int *val2, int *val3);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sc_load_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_sc_load_pre[hIndex].func;
- preHookFunc(bl, &tid, &target, &type, &val1, &val2, &val3);
+ preHookFunc(&bl, &tid, &target, &type, &val1, &val2, &val3);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10840,11 +10840,11 @@ void HP_clif_sc_load(struct block_list *bl, int tid, enum send_target target, in
void HP_clif_sc_end(struct block_list *bl, int tid, enum send_target target, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_sc_end_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *tid, enum send_target *target, int *type);
+ void (*preHookFunc) (struct block_list **bl, int *tid, enum send_target *target, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sc_end_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_sc_end_pre[hIndex].func;
- preHookFunc(bl, &tid, &target, &type);
+ preHookFunc(&bl, &tid, &target, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10866,11 +10866,11 @@ void HP_clif_sc_end(struct block_list *bl, int tid, enum send_target target, int
void HP_clif_initialstatus(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_initialstatus_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_initialstatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_initialstatus_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10892,11 +10892,11 @@ void HP_clif_initialstatus(struct map_session_data *sd) {
void HP_clif_cooldown_list(int fd, struct skill_cd *cd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cooldown_list_pre ) {
- void (*preHookFunc) (int *fd, struct skill_cd *cd);
+ void (*preHookFunc) (int *fd, struct skill_cd **cd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cooldown_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cooldown_list_pre[hIndex].func;
- preHookFunc(&fd, cd);
+ preHookFunc(&fd, &cd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10918,11 +10918,11 @@ void HP_clif_cooldown_list(int fd, struct skill_cd *cd) {
void HP_clif_updatestatus(struct map_session_data *sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_updatestatus_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_updatestatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_updatestatus_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10944,11 +10944,11 @@ void HP_clif_updatestatus(struct map_session_data *sd, int type) {
void HP_clif_changestatus(struct map_session_data *sd, int type, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changestatus_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type, int *val);
+ void (*preHookFunc) (struct map_session_data **sd, int *type, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changestatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changestatus_pre[hIndex].func;
- preHookFunc(sd, &type, &val);
+ preHookFunc(&sd, &type, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10970,11 +10970,11 @@ void HP_clif_changestatus(struct map_session_data *sd, int type, int val) {
void HP_clif_statusupack(struct map_session_data *sd, int type, int ok, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_statusupack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type, int *ok, int *val);
+ void (*preHookFunc) (struct map_session_data **sd, int *type, int *ok, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_statusupack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_statusupack_pre[hIndex].func;
- preHookFunc(sd, &type, &ok, &val);
+ preHookFunc(&sd, &type, &ok, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -10996,11 +10996,11 @@ void HP_clif_statusupack(struct map_session_data *sd, int type, int ok, int val)
void HP_clif_movetoattack(struct map_session_data *sd, struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_movetoattack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct block_list *bl);
+ void (*preHookFunc) (struct map_session_data **sd, struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_movetoattack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_movetoattack_pre[hIndex].func;
- preHookFunc(sd, bl);
+ preHookFunc(&sd, &bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11022,11 +11022,11 @@ void HP_clif_movetoattack(struct map_session_data *sd, struct block_list *bl) {
void HP_clif_solved_charname(int fd, int charid, const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_solved_charname_pre ) {
- void (*preHookFunc) (int *fd, int *charid, const char *name);
+ void (*preHookFunc) (int *fd, int *charid, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_solved_charname_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_solved_charname_pre[hIndex].func;
- preHookFunc(&fd, &charid, name);
+ preHookFunc(&fd, &charid, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11048,11 +11048,11 @@ void HP_clif_solved_charname(int fd, int charid, const char *name) {
void HP_clif_charnameupdate(struct map_session_data *ssd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_charnameupdate_pre ) {
- void (*preHookFunc) (struct map_session_data *ssd);
+ void (*preHookFunc) (struct map_session_data **ssd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_charnameupdate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_charnameupdate_pre[hIndex].func;
- preHookFunc(ssd);
+ preHookFunc(&ssd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11101,11 +11101,11 @@ int HP_clif_delayquit(int tid, int64 tick, int id, intptr_t data) {
void HP_clif_getareachar_pc(struct map_session_data *sd, struct map_session_data *dstsd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_getareachar_pc_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *dstsd);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **dstsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_getareachar_pc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_getareachar_pc_pre[hIndex].func;
- preHookFunc(sd, dstsd);
+ preHookFunc(&sd, &dstsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11127,11 +11127,11 @@ void HP_clif_getareachar_pc(struct map_session_data *sd, struct map_session_data
void HP_clif_disconnect_ack(struct map_session_data *sd, short result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_disconnect_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *result);
+ void (*preHookFunc) (struct map_session_data **sd, short *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_disconnect_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_disconnect_ack_pre[hIndex].func;
- preHookFunc(sd, &result);
+ preHookFunc(&sd, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11153,11 +11153,11 @@ void HP_clif_disconnect_ack(struct map_session_data *sd, short result) {
void HP_clif_PVPInfo(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PVPInfo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PVPInfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PVPInfo_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11179,11 +11179,11 @@ void HP_clif_PVPInfo(struct map_session_data *sd) {
void HP_clif_blacksmith(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_blacksmith_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_blacksmith_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_blacksmith_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11205,11 +11205,11 @@ void HP_clif_blacksmith(struct map_session_data *sd) {
void HP_clif_alchemist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_alchemist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_alchemist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_alchemist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11231,11 +11231,11 @@ void HP_clif_alchemist(struct map_session_data *sd) {
void HP_clif_taekwon(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_taekwon_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_taekwon_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_taekwon_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11257,11 +11257,11 @@ void HP_clif_taekwon(struct map_session_data *sd) {
void HP_clif_ranking_pk(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_ranking_pk_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_ranking_pk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_ranking_pk_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11283,11 +11283,11 @@ void HP_clif_ranking_pk(struct map_session_data *sd) {
void HP_clif_quitsave(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_quitsave_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quitsave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_quitsave_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11309,11 +11309,11 @@ void HP_clif_quitsave(int fd, struct map_session_data *sd) {
void HP_clif_misceffect(struct block_list *bl, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_misceffect_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *type);
+ void (*preHookFunc) (struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_misceffect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_misceffect_pre[hIndex].func;
- preHookFunc(bl, &type);
+ preHookFunc(&bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11335,11 +11335,11 @@ void HP_clif_misceffect(struct block_list *bl, int type) {
void HP_clif_changeoption(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changeoption_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changeoption_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changeoption_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11361,11 +11361,11 @@ void HP_clif_changeoption(struct block_list *bl) {
void HP_clif_changeoption2(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changeoption2_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changeoption2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changeoption2_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11387,11 +11387,11 @@ void HP_clif_changeoption2(struct block_list *bl) {
void HP_clif_emotion(struct block_list *bl, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_emotion_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *type);
+ void (*preHookFunc) (struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_emotion_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_emotion_pre[hIndex].func;
- preHookFunc(bl, &type);
+ preHookFunc(&bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11413,11 +11413,11 @@ void HP_clif_emotion(struct block_list *bl, int type) {
void HP_clif_talkiebox(struct block_list *bl, const char *talkie) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_talkiebox_pre ) {
- void (*preHookFunc) (struct block_list *bl, const char *talkie);
+ void (*preHookFunc) (struct block_list **bl, const char **talkie);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_talkiebox_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_talkiebox_pre[hIndex].func;
- preHookFunc(bl, talkie);
+ preHookFunc(&bl, &talkie);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11439,11 +11439,11 @@ void HP_clif_talkiebox(struct block_list *bl, const char *talkie) {
void HP_clif_wedding_effect(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_wedding_effect_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_wedding_effect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_wedding_effect_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11465,11 +11465,11 @@ void HP_clif_wedding_effect(struct block_list *bl) {
void HP_clif_divorced(struct map_session_data *sd, const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_divorced_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *name);
+ void (*preHookFunc) (struct map_session_data **sd, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_divorced_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_divorced_pre[hIndex].func;
- preHookFunc(sd, name);
+ preHookFunc(&sd, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11491,11 +11491,11 @@ void HP_clif_divorced(struct map_session_data *sd, const char *name) {
void HP_clif_callpartner(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_callpartner_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_callpartner_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_callpartner_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11518,11 +11518,11 @@ int HP_clif_skill_damage(struct block_list *src, struct block_list *dst, int64 t
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_skill_damage_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *dst, int64 *tick, int *sdelay, int *ddelay, int64 *damage, int *div, uint16 *skill_id, uint16 *skill_lv, int *type);
+ int (*preHookFunc) (struct block_list **src, struct block_list **dst, int64 *tick, int *sdelay, int *ddelay, int64 *damage, int *div, uint16 *skill_id, uint16 *skill_lv, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_damage_pre[hIndex].func;
- retVal___ = preHookFunc(src, dst, &tick, &sdelay, &ddelay, &damage, &div, &skill_id, &skill_lv, &type);
+ retVal___ = preHookFunc(&src, &dst, &tick, &sdelay, &ddelay, &damage, &div, &skill_id, &skill_lv, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11545,11 +11545,11 @@ int HP_clif_skill_nodamage(struct block_list *src, struct block_list *dst, uint1
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_skill_nodamage_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *dst, uint16 *skill_id, int *heal, int *fail);
+ int (*preHookFunc) (struct block_list **src, struct block_list **dst, uint16 *skill_id, int *heal, int *fail);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_nodamage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_nodamage_pre[hIndex].func;
- retVal___ = preHookFunc(src, dst, &skill_id, &heal, &fail);
+ retVal___ = preHookFunc(&src, &dst, &skill_id, &heal, &fail);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11571,11 +11571,11 @@ int HP_clif_skill_nodamage(struct block_list *src, struct block_list *dst, uint1
void HP_clif_skill_poseffect(struct block_list *src, uint16 skill_id, int val, int x, int y, int64 tick) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skill_poseffect_pre ) {
- void (*preHookFunc) (struct block_list *src, uint16 *skill_id, int *val, int *x, int *y, int64 *tick);
+ void (*preHookFunc) (struct block_list **src, uint16 *skill_id, int *val, int *x, int *y, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_poseffect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_poseffect_pre[hIndex].func;
- preHookFunc(src, &skill_id, &val, &x, &y, &tick);
+ preHookFunc(&src, &skill_id, &val, &x, &y, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11597,11 +11597,11 @@ void HP_clif_skill_poseffect(struct block_list *src, uint16 skill_id, int val, i
void HP_clif_skill_estimation(struct map_session_data *sd, struct block_list *dst) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skill_estimation_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct block_list *dst);
+ void (*preHookFunc) (struct map_session_data **sd, struct block_list **dst);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_estimation_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_estimation_pre[hIndex].func;
- preHookFunc(sd, dst);
+ preHookFunc(&sd, &dst);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11623,11 +11623,11 @@ void HP_clif_skill_estimation(struct map_session_data *sd, struct block_list *ds
void HP_clif_skill_warppoint(struct map_session_data *sd, uint16 skill_id, uint16 skill_lv, unsigned short map1, unsigned short map2, unsigned short map3, unsigned short map4) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skill_warppoint_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, unsigned short *map1, unsigned short *map2, unsigned short *map3, unsigned short *map4);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 *skill_lv, unsigned short *map1, unsigned short *map2, unsigned short *map3, unsigned short *map4);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skill_warppoint_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skill_warppoint_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &skill_lv, &map1, &map2, &map3, &map4);
+ preHookFunc(&sd, &skill_id, &skill_lv, &map1, &map2, &map3, &map4);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11649,11 +11649,11 @@ void HP_clif_skill_warppoint(struct map_session_data *sd, uint16 skill_id, uint1
void HP_clif_skillcasting(struct block_list *bl, int src_id, int dst_id, int dst_x, int dst_y, uint16 skill_id, int property, int casttime) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skillcasting_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *src_id, int *dst_id, int *dst_x, int *dst_y, uint16 *skill_id, int *property, int *casttime);
+ void (*preHookFunc) (struct block_list **bl, int *src_id, int *dst_id, int *dst_x, int *dst_y, uint16 *skill_id, int *property, int *casttime);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skillcasting_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skillcasting_pre[hIndex].func;
- preHookFunc(bl, &src_id, &dst_id, &dst_x, &dst_y, &skill_id, &property, &casttime);
+ preHookFunc(&bl, &src_id, &dst_id, &dst_x, &dst_y, &skill_id, &property, &casttime);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11675,11 +11675,11 @@ void HP_clif_skillcasting(struct block_list *bl, int src_id, int dst_id, int dst
void HP_clif_produce_effect(struct map_session_data *sd, int flag, int nameid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_produce_effect_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag, int *nameid);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag, int *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_produce_effect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_produce_effect_pre[hIndex].func;
- preHookFunc(sd, &flag, &nameid);
+ preHookFunc(&sd, &flag, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11701,11 +11701,11 @@ void HP_clif_produce_effect(struct map_session_data *sd, int flag, int nameid) {
void HP_clif_devotion(struct block_list *src, struct map_session_data *tsd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_devotion_pre ) {
- void (*preHookFunc) (struct block_list *src, struct map_session_data *tsd);
+ void (*preHookFunc) (struct block_list **src, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_devotion_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_devotion_pre[hIndex].func;
- preHookFunc(src, tsd);
+ preHookFunc(&src, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11727,11 +11727,11 @@ void HP_clif_devotion(struct block_list *src, struct map_session_data *tsd) {
void HP_clif_spiritball(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_spiritball_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spiritball_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_spiritball_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11753,11 +11753,11 @@ void HP_clif_spiritball(struct block_list *bl) {
void HP_clif_spiritball_single(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_spiritball_single_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spiritball_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_spiritball_single_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11779,11 +11779,11 @@ void HP_clif_spiritball_single(int fd, struct map_session_data *sd) {
void HP_clif_bladestop(struct block_list *src, int dst_id, int active) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bladestop_pre ) {
- void (*preHookFunc) (struct block_list *src, int *dst_id, int *active);
+ void (*preHookFunc) (struct block_list **src, int *dst_id, int *active);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bladestop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bladestop_pre[hIndex].func;
- preHookFunc(src, &dst_id, &active);
+ preHookFunc(&src, &dst_id, &active);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11805,11 +11805,11 @@ void HP_clif_bladestop(struct block_list *src, int dst_id, int active) {
void HP_clif_mvp_effect(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mvp_effect_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mvp_effect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mvp_effect_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11857,11 +11857,11 @@ void HP_clif_heal(int fd, int type, int val) {
void HP_clif_resurrection(struct block_list *bl, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_resurrection_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *type);
+ void (*preHookFunc) (struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_resurrection_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_resurrection_pre[hIndex].func;
- preHookFunc(bl, &type);
+ preHookFunc(&bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11935,11 +11935,11 @@ void HP_clif_weather(int16 m) {
void HP_clif_specialeffect(struct block_list *bl, int type, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_specialeffect_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *type, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, int *type, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_specialeffect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_specialeffect_pre[hIndex].func;
- preHookFunc(bl, &type, &target);
+ preHookFunc(&bl, &type, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11961,11 +11961,11 @@ void HP_clif_specialeffect(struct block_list *bl, int type, enum send_target tar
void HP_clif_specialeffect_single(struct block_list *bl, int type, int fd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_specialeffect_single_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *type, int *fd);
+ void (*preHookFunc) (struct block_list **bl, int *type, int *fd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_specialeffect_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_specialeffect_single_pre[hIndex].func;
- preHookFunc(bl, &type, &fd);
+ preHookFunc(&bl, &type, &fd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -11987,11 +11987,11 @@ void HP_clif_specialeffect_single(struct block_list *bl, int type, int fd) {
void HP_clif_specialeffect_value(struct block_list *bl, int effect_id, int num, send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_specialeffect_value_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *effect_id, int *num, send_target *target);
+ void (*preHookFunc) (struct block_list **bl, int *effect_id, int *num, send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_specialeffect_value_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_specialeffect_value_pre[hIndex].func;
- preHookFunc(bl, &effect_id, &num, &target);
+ preHookFunc(&bl, &effect_id, &num, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12013,11 +12013,11 @@ void HP_clif_specialeffect_value(struct block_list *bl, int effect_id, int num,
void HP_clif_millenniumshield(struct block_list *bl, short shields) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_millenniumshield_pre ) {
- void (*preHookFunc) (struct block_list *bl, short *shields);
+ void (*preHookFunc) (struct block_list **bl, short *shields);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_millenniumshield_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_millenniumshield_pre[hIndex].func;
- preHookFunc(bl, &shields);
+ preHookFunc(&bl, &shields);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12039,11 +12039,11 @@ void HP_clif_millenniumshield(struct block_list *bl, short shields) {
void HP_clif_spiritcharm(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_spiritcharm_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_spiritcharm_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_spiritcharm_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12065,11 +12065,11 @@ void HP_clif_spiritcharm(struct map_session_data *sd) {
void HP_clif_charm_single(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_charm_single_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_charm_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_charm_single_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12091,11 +12091,11 @@ void HP_clif_charm_single(int fd, struct map_session_data *sd) {
void HP_clif_snap(struct block_list *bl, short x, short y) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_snap_pre ) {
- void (*preHookFunc) (struct block_list *bl, short *x, short *y);
+ void (*preHookFunc) (struct block_list **bl, short *x, short *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_snap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_snap_pre[hIndex].func;
- preHookFunc(bl, &x, &y);
+ preHookFunc(&bl, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12117,11 +12117,11 @@ void HP_clif_snap(struct block_list *bl, short x, short y) {
void HP_clif_weather_check(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_weather_check_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_weather_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_weather_check_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12143,11 +12143,11 @@ void HP_clif_weather_check(struct map_session_data *sd) {
void HP_clif_playBGM(struct map_session_data *sd, const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_playBGM_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *name);
+ void (*preHookFunc) (struct map_session_data **sd, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_playBGM_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_playBGM_pre[hIndex].func;
- preHookFunc(sd, name);
+ preHookFunc(&sd, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12169,11 +12169,11 @@ void HP_clif_playBGM(struct map_session_data *sd, const char *name) {
void HP_clif_soundeffect(struct map_session_data *sd, struct block_list *bl, const char *name, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_soundeffect_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct block_list *bl, const char *name, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, struct block_list **bl, const char **name, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_soundeffect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_soundeffect_pre[hIndex].func;
- preHookFunc(sd, bl, name, &type);
+ preHookFunc(&sd, &bl, &name, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12195,11 +12195,11 @@ void HP_clif_soundeffect(struct map_session_data *sd, struct block_list *bl, con
void HP_clif_soundeffectall(struct block_list *bl, const char *name, int type, enum send_target coverage) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_soundeffectall_pre ) {
- void (*preHookFunc) (struct block_list *bl, const char *name, int *type, enum send_target *coverage);
+ void (*preHookFunc) (struct block_list **bl, const char **name, int *type, enum send_target *coverage);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_soundeffectall_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_soundeffectall_pre[hIndex].func;
- preHookFunc(bl, name, &type, &coverage);
+ preHookFunc(&bl, &name, &type, &coverage);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12221,11 +12221,11 @@ void HP_clif_soundeffectall(struct block_list *bl, const char *name, int type, e
void HP_clif_GlobalMessage(struct block_list *bl, const char *message) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_GlobalMessage_pre ) {
- void (*preHookFunc) (struct block_list *bl, const char *message);
+ void (*preHookFunc) (struct block_list **bl, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_GlobalMessage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_GlobalMessage_pre[hIndex].func;
- preHookFunc(bl, message);
+ preHookFunc(&bl, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12247,11 +12247,11 @@ void HP_clif_GlobalMessage(struct block_list *bl, const char *message) {
void HP_clif_createchat(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_createchat_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_createchat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_createchat_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12273,11 +12273,11 @@ void HP_clif_createchat(struct map_session_data *sd, int flag) {
void HP_clif_dispchat(struct chat_data *cd, int fd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_dispchat_pre ) {
- void (*preHookFunc) (struct chat_data *cd, int *fd);
+ void (*preHookFunc) (struct chat_data **cd, int *fd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_dispchat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_dispchat_pre[hIndex].func;
- preHookFunc(cd, &fd);
+ preHookFunc(&cd, &fd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12299,11 +12299,11 @@ void HP_clif_dispchat(struct chat_data *cd, int fd) {
void HP_clif_joinchatfail(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_joinchatfail_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_joinchatfail_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_joinchatfail_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12325,11 +12325,11 @@ void HP_clif_joinchatfail(struct map_session_data *sd, int flag) {
void HP_clif_joinchatok(struct map_session_data *sd, struct chat_data *cd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_joinchatok_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct chat_data *cd);
+ void (*preHookFunc) (struct map_session_data **sd, struct chat_data **cd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_joinchatok_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_joinchatok_pre[hIndex].func;
- preHookFunc(sd, cd);
+ preHookFunc(&sd, &cd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12351,11 +12351,11 @@ void HP_clif_joinchatok(struct map_session_data *sd, struct chat_data *cd) {
void HP_clif_addchat(struct chat_data *cd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_addchat_pre ) {
- void (*preHookFunc) (struct chat_data *cd, struct map_session_data *sd);
+ void (*preHookFunc) (struct chat_data **cd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_addchat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_addchat_pre[hIndex].func;
- preHookFunc(cd, sd);
+ preHookFunc(&cd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12377,11 +12377,11 @@ void HP_clif_addchat(struct chat_data *cd, struct map_session_data *sd) {
void HP_clif_changechatowner(struct chat_data *cd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changechatowner_pre ) {
- void (*preHookFunc) (struct chat_data *cd, struct map_session_data *sd);
+ void (*preHookFunc) (struct chat_data **cd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changechatowner_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changechatowner_pre[hIndex].func;
- preHookFunc(cd, sd);
+ preHookFunc(&cd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12403,11 +12403,11 @@ void HP_clif_changechatowner(struct chat_data *cd, struct map_session_data *sd)
void HP_clif_clearchat(struct chat_data *cd, int fd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_clearchat_pre ) {
- void (*preHookFunc) (struct chat_data *cd, int *fd);
+ void (*preHookFunc) (struct chat_data **cd, int *fd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_clearchat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_clearchat_pre[hIndex].func;
- preHookFunc(cd, &fd);
+ preHookFunc(&cd, &fd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12429,11 +12429,11 @@ void HP_clif_clearchat(struct chat_data *cd, int fd) {
void HP_clif_leavechat(struct chat_data *cd, struct map_session_data *sd, bool flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_leavechat_pre ) {
- void (*preHookFunc) (struct chat_data *cd, struct map_session_data *sd, bool *flag);
+ void (*preHookFunc) (struct chat_data **cd, struct map_session_data **sd, bool *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_leavechat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_leavechat_pre[hIndex].func;
- preHookFunc(cd, sd, &flag);
+ preHookFunc(&cd, &sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12455,11 +12455,11 @@ void HP_clif_leavechat(struct chat_data *cd, struct map_session_data *sd, bool f
void HP_clif_changechatstatus(struct chat_data *cd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_changechatstatus_pre ) {
- void (*preHookFunc) (struct chat_data *cd);
+ void (*preHookFunc) (struct chat_data **cd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_changechatstatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_changechatstatus_pre[hIndex].func;
- preHookFunc(cd);
+ preHookFunc(&cd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12481,11 +12481,11 @@ void HP_clif_changechatstatus(struct chat_data *cd) {
void HP_clif_wis_message(int fd, const char *nick, const char *mes, int mes_len) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_wis_message_pre ) {
- void (*preHookFunc) (int *fd, const char *nick, const char *mes, int *mes_len);
+ void (*preHookFunc) (int *fd, const char **nick, const char **mes, int *mes_len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_wis_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_wis_message_pre[hIndex].func;
- preHookFunc(&fd, nick, mes, &mes_len);
+ preHookFunc(&fd, &nick, &mes, &mes_len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12533,11 +12533,11 @@ void HP_clif_wis_end(int fd, int flag) {
void HP_clif_disp_message(struct block_list *src, const char *mes, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_disp_message_pre ) {
- void (*preHookFunc) (struct block_list *src, const char *mes, enum send_target *target);
+ void (*preHookFunc) (struct block_list **src, const char **mes, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_disp_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_disp_message_pre[hIndex].func;
- preHookFunc(src, mes, &target);
+ preHookFunc(&src, &mes, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12559,11 +12559,11 @@ void HP_clif_disp_message(struct block_list *src, const char *mes, enum send_tar
void HP_clif_broadcast(struct block_list *bl, const char *mes, int len, int type, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_broadcast_pre ) {
- void (*preHookFunc) (struct block_list *bl, const char *mes, int *len, int *type, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, const char **mes, int *len, int *type, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_broadcast_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_broadcast_pre[hIndex].func;
- preHookFunc(bl, mes, &len, &type, &target);
+ preHookFunc(&bl, &mes, &len, &type, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12585,11 +12585,11 @@ void HP_clif_broadcast(struct block_list *bl, const char *mes, int len, int type
void HP_clif_broadcast2(struct block_list *bl, const char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_broadcast2_pre ) {
- void (*preHookFunc) (struct block_list *bl, const char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY, enum send_target *target);
+ void (*preHookFunc) (struct block_list **bl, const char **mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_broadcast2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_broadcast2_pre[hIndex].func;
- preHookFunc(bl, mes, &len, &fontColor, &fontType, &fontSize, &fontAlign, &fontY, &target);
+ preHookFunc(&bl, &mes, &len, &fontColor, &fontType, &fontSize, &fontAlign, &fontY, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12611,11 +12611,11 @@ void HP_clif_broadcast2(struct block_list *bl, const char *mes, int len, unsigne
void HP_clif_messagecolor_self(int fd, uint32 color, const char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_messagecolor_self_pre ) {
- void (*preHookFunc) (int *fd, uint32 *color, const char *msg);
+ void (*preHookFunc) (int *fd, uint32 *color, const char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_messagecolor_self_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_messagecolor_self_pre[hIndex].func;
- preHookFunc(&fd, &color, msg);
+ preHookFunc(&fd, &color, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12637,11 +12637,11 @@ void HP_clif_messagecolor_self(int fd, uint32 color, const char *msg) {
void HP_clif_messagecolor(struct block_list *bl, uint32 color, const char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_messagecolor_pre ) {
- void (*preHookFunc) (struct block_list *bl, uint32 *color, const char *msg);
+ void (*preHookFunc) (struct block_list **bl, uint32 *color, const char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_messagecolor_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_messagecolor_pre[hIndex].func;
- preHookFunc(bl, &color, msg);
+ preHookFunc(&bl, &color, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12663,11 +12663,11 @@ void HP_clif_messagecolor(struct block_list *bl, uint32 color, const char *msg)
void HP_clif_disp_overhead(struct block_list *bl, const char *mes) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_disp_overhead_pre ) {
- void (*preHookFunc) (struct block_list *bl, const char *mes);
+ void (*preHookFunc) (struct block_list **bl, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_disp_overhead_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_disp_overhead_pre[hIndex].func;
- preHookFunc(bl, mes);
+ preHookFunc(&bl, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12689,11 +12689,11 @@ void HP_clif_disp_overhead(struct block_list *bl, const char *mes) {
void HP_clif_msgtable(struct map_session_data *sd, unsigned short msg_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_msgtable_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *msg_id);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *msg_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_msgtable_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_msgtable_pre[hIndex].func;
- preHookFunc(sd, &msg_id);
+ preHookFunc(&sd, &msg_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12715,11 +12715,11 @@ void HP_clif_msgtable(struct map_session_data *sd, unsigned short msg_id) {
void HP_clif_msgtable_num(struct map_session_data *sd, unsigned short msg_id, int value) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_msgtable_num_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *msg_id, int *value);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *msg_id, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_msgtable_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_msgtable_num_pre[hIndex].func;
- preHookFunc(sd, &msg_id, &value);
+ preHookFunc(&sd, &msg_id, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12741,11 +12741,11 @@ void HP_clif_msgtable_num(struct map_session_data *sd, unsigned short msg_id, in
void HP_clif_msgtable_skill(struct map_session_data *sd, uint16 skill_id, int msg_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_msgtable_skill_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, int *msg_id);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, int *msg_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_msgtable_skill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_msgtable_skill_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &msg_id);
+ preHookFunc(&sd, &skill_id, &msg_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12767,11 +12767,11 @@ void HP_clif_msgtable_skill(struct map_session_data *sd, uint16 skill_id, int ms
void HP_clif_message(const int fd, const char *mes) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_message_pre ) {
- void (*preHookFunc) (const int *fd, const char *mes);
+ void (*preHookFunc) (const int *fd, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_message_pre[hIndex].func;
- preHookFunc(&fd, mes);
+ preHookFunc(&fd, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12793,11 +12793,11 @@ void HP_clif_message(const int fd, const char *mes) {
void HP_clif_messageln(const int fd, const char *mes) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_messageln_pre ) {
- void (*preHookFunc) (const int *fd, const char *mes);
+ void (*preHookFunc) (const int *fd, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_messageln_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_messageln_pre[hIndex].func;
- preHookFunc(&fd, mes);
+ preHookFunc(&fd, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12820,11 +12820,11 @@ const char* HP_clif_process_chat_message(struct map_session_data *sd, const stru
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_clif_process_chat_message_pre ) {
- const char* (*preHookFunc) (struct map_session_data *sd, const struct packet_chat_message *packet, char *out_buf, int *out_buflen);
+ const char* (*preHookFunc) (struct map_session_data **sd, const struct packet_chat_message **packet, char **out_buf, int *out_buflen);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_process_chat_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_process_chat_message_pre[hIndex].func;
- retVal___ = preHookFunc(sd, packet, out_buf, &out_buflen);
+ retVal___ = preHookFunc(&sd, &packet, &out_buf, &out_buflen);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12847,11 +12847,11 @@ bool HP_clif_process_whisper_message(struct map_session_data *sd, const struct p
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_clif_process_whisper_message_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const struct packet_whisper_message *packet, char *out_name, char *out_message, int *out_messagelen);
+ bool (*preHookFunc) (struct map_session_data **sd, const struct packet_whisper_message **packet, char **out_name, char **out_message, int *out_messagelen);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_process_whisper_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_process_whisper_message_pre[hIndex].func;
- retVal___ = preHookFunc(sd, packet, out_name, out_message, &out_messagelen);
+ retVal___ = preHookFunc(&sd, &packet, &out_name, &out_message, &out_messagelen);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12873,11 +12873,11 @@ bool HP_clif_process_whisper_message(struct map_session_data *sd, const struct p
void HP_clif_wisexin(struct map_session_data *sd, int type, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_wisexin_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *type, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_wisexin_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_wisexin_pre[hIndex].func;
- preHookFunc(sd, &type, &flag);
+ preHookFunc(&sd, &type, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12899,11 +12899,11 @@ void HP_clif_wisexin(struct map_session_data *sd, int type, int flag) {
void HP_clif_wisall(struct map_session_data *sd, int type, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_wisall_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *type, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_wisall_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_wisall_pre[hIndex].func;
- preHookFunc(sd, &type, &flag);
+ preHookFunc(&sd, &type, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12925,11 +12925,11 @@ void HP_clif_wisall(struct map_session_data *sd, int type, int flag) {
void HP_clif_PMIgnoreList(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PMIgnoreList_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PMIgnoreList_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PMIgnoreList_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12951,11 +12951,11 @@ void HP_clif_PMIgnoreList(struct map_session_data *sd) {
void HP_clif_ShowScript(struct block_list *bl, const char *message) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_ShowScript_pre ) {
- void (*preHookFunc) (struct block_list *bl, const char *message);
+ void (*preHookFunc) (struct block_list **bl, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_ShowScript_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_ShowScript_pre[hIndex].func;
- preHookFunc(bl, message);
+ preHookFunc(&bl, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -12977,11 +12977,11 @@ void HP_clif_ShowScript(struct block_list *bl, const char *message) {
void HP_clif_traderequest(struct map_session_data *sd, const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_traderequest_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *name);
+ void (*preHookFunc) (struct map_session_data **sd, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_traderequest_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_traderequest_pre[hIndex].func;
- preHookFunc(sd, name);
+ preHookFunc(&sd, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13003,11 +13003,11 @@ void HP_clif_traderequest(struct map_session_data *sd, const char *name) {
void HP_clif_tradestart(struct map_session_data *sd, uint8 type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_tradestart_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint8 *type);
+ void (*preHookFunc) (struct map_session_data **sd, uint8 *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradestart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_tradestart_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13029,11 +13029,11 @@ void HP_clif_tradestart(struct map_session_data *sd, uint8 type) {
void HP_clif_tradeadditem(struct map_session_data *sd, struct map_session_data *tsd, int index, int amount) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_tradeadditem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd, int *index, int *amount);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradeadditem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_tradeadditem_pre[hIndex].func;
- preHookFunc(sd, tsd, &index, &amount);
+ preHookFunc(&sd, &tsd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13055,11 +13055,11 @@ void HP_clif_tradeadditem(struct map_session_data *sd, struct map_session_data *
void HP_clif_tradeitemok(struct map_session_data *sd, int index, int fail) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_tradeitemok_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *index, int *fail);
+ void (*preHookFunc) (struct map_session_data **sd, int *index, int *fail);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradeitemok_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_tradeitemok_pre[hIndex].func;
- preHookFunc(sd, &index, &fail);
+ preHookFunc(&sd, &index, &fail);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13081,11 +13081,11 @@ void HP_clif_tradeitemok(struct map_session_data *sd, int index, int fail) {
void HP_clif_tradedeal_lock(struct map_session_data *sd, int fail) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_tradedeal_lock_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *fail);
+ void (*preHookFunc) (struct map_session_data **sd, int *fail);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradedeal_lock_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_tradedeal_lock_pre[hIndex].func;
- preHookFunc(sd, &fail);
+ preHookFunc(&sd, &fail);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13107,11 +13107,11 @@ void HP_clif_tradedeal_lock(struct map_session_data *sd, int fail) {
void HP_clif_tradecancelled(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_tradecancelled_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradecancelled_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_tradecancelled_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13133,11 +13133,11 @@ void HP_clif_tradecancelled(struct map_session_data *sd) {
void HP_clif_tradecompleted(struct map_session_data *sd, int fail) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_tradecompleted_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *fail);
+ void (*preHookFunc) (struct map_session_data **sd, int *fail);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradecompleted_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_tradecompleted_pre[hIndex].func;
- preHookFunc(sd, &fail);
+ preHookFunc(&sd, &fail);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13159,11 +13159,11 @@ void HP_clif_tradecompleted(struct map_session_data *sd, int fail) {
void HP_clif_tradeundo(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_tradeundo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_tradeundo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_tradeundo_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13185,11 +13185,11 @@ void HP_clif_tradeundo(struct map_session_data *sd) {
void HP_clif_openvendingreq(struct map_session_data *sd, int num) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_openvendingreq_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *num);
+ void (*preHookFunc) (struct map_session_data **sd, int *num);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_openvendingreq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_openvendingreq_pre[hIndex].func;
- preHookFunc(sd, &num);
+ preHookFunc(&sd, &num);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13211,11 +13211,11 @@ void HP_clif_openvendingreq(struct map_session_data *sd, int num) {
void HP_clif_showvendingboard(struct block_list *bl, const char *message, int fd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_showvendingboard_pre ) {
- void (*preHookFunc) (struct block_list *bl, const char *message, int *fd);
+ void (*preHookFunc) (struct block_list **bl, const char **message, int *fd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_showvendingboard_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_showvendingboard_pre[hIndex].func;
- preHookFunc(bl, message, &fd);
+ preHookFunc(&bl, &message, &fd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13237,11 +13237,11 @@ void HP_clif_showvendingboard(struct block_list *bl, const char *message, int fd
void HP_clif_closevendingboard(struct block_list *bl, int fd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_closevendingboard_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *fd);
+ void (*preHookFunc) (struct block_list **bl, int *fd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_closevendingboard_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_closevendingboard_pre[hIndex].func;
- preHookFunc(bl, &fd);
+ preHookFunc(&bl, &fd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13263,11 +13263,11 @@ void HP_clif_closevendingboard(struct block_list *bl, int fd) {
void HP_clif_vendinglist(struct map_session_data *sd, unsigned int id, struct s_vending *vending_list) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_vendinglist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *id, struct s_vending *vending_list);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *id, struct s_vending **vending_list);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_vendinglist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_vendinglist_pre[hIndex].func;
- preHookFunc(sd, &id, vending_list);
+ preHookFunc(&sd, &id, &vending_list);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13289,11 +13289,11 @@ void HP_clif_vendinglist(struct map_session_data *sd, unsigned int id, struct s_
void HP_clif_buyvending(struct map_session_data *sd, int index, int amount, int fail) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyvending_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *index, int *amount, int *fail);
+ void (*preHookFunc) (struct map_session_data **sd, int *index, int *amount, int *fail);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyvending_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyvending_pre[hIndex].func;
- preHookFunc(sd, &index, &amount, &fail);
+ preHookFunc(&sd, &index, &amount, &fail);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13315,11 +13315,11 @@ void HP_clif_buyvending(struct map_session_data *sd, int index, int amount, int
void HP_clif_openvending(struct map_session_data *sd, int id, struct s_vending *vending_list) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_openvending_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *id, struct s_vending *vending_list);
+ void (*preHookFunc) (struct map_session_data **sd, int *id, struct s_vending **vending_list);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_openvending_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_openvending_pre[hIndex].func;
- preHookFunc(sd, &id, vending_list);
+ preHookFunc(&sd, &id, &vending_list);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13341,11 +13341,11 @@ void HP_clif_openvending(struct map_session_data *sd, int id, struct s_vending *
void HP_clif_vendingreport(struct map_session_data *sd, int index, int amount) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_vendingreport_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ void (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_vendingreport_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_vendingreport_pre[hIndex].func;
- preHookFunc(sd, &index, &amount);
+ preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13367,11 +13367,11 @@ void HP_clif_vendingreport(struct map_session_data *sd, int index, int amount) {
void HP_clif_storagelist(struct map_session_data *sd, struct item *items, int items_length) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_storagelist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct item *items, int *items_length);
+ void (*preHookFunc) (struct map_session_data **sd, struct item **items, int *items_length);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_storagelist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_storagelist_pre[hIndex].func;
- preHookFunc(sd, items, &items_length);
+ preHookFunc(&sd, &items, &items_length);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13393,11 +13393,11 @@ void HP_clif_storagelist(struct map_session_data *sd, struct item *items, int it
void HP_clif_updatestorageamount(struct map_session_data *sd, int amount, int max_amount) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_updatestorageamount_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *amount, int *max_amount);
+ void (*preHookFunc) (struct map_session_data **sd, int *amount, int *max_amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_updatestorageamount_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_updatestorageamount_pre[hIndex].func;
- preHookFunc(sd, &amount, &max_amount);
+ preHookFunc(&sd, &amount, &max_amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13419,11 +13419,11 @@ void HP_clif_updatestorageamount(struct map_session_data *sd, int amount, int ma
void HP_clif_storageitemadded(struct map_session_data *sd, struct item *i, int index, int amount) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_storageitemadded_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct item *i, int *index, int *amount);
+ void (*preHookFunc) (struct map_session_data **sd, struct item **i, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_storageitemadded_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_storageitemadded_pre[hIndex].func;
- preHookFunc(sd, i, &index, &amount);
+ preHookFunc(&sd, &i, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13445,11 +13445,11 @@ void HP_clif_storageitemadded(struct map_session_data *sd, struct item *i, int i
void HP_clif_storageitemremoved(struct map_session_data *sd, int index, int amount) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_storageitemremoved_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ void (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_storageitemremoved_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_storageitemremoved_pre[hIndex].func;
- preHookFunc(sd, &index, &amount);
+ preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13471,11 +13471,11 @@ void HP_clif_storageitemremoved(struct map_session_data *sd, int index, int amou
void HP_clif_storageclose(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_storageclose_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_storageclose_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_storageclose_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13497,11 +13497,11 @@ void HP_clif_storageclose(struct map_session_data *sd) {
void HP_clif_skillinfoblock(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skillinfoblock_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skillinfoblock_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skillinfoblock_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13523,11 +13523,11 @@ void HP_clif_skillinfoblock(struct map_session_data *sd) {
void HP_clif_skillup(struct map_session_data *sd, uint16 skill_id, int skill_lv, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skillup_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, int *skill_lv, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, int *skill_lv, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skillup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skillup_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &skill_lv, &flag);
+ preHookFunc(&sd, &skill_id, &skill_lv, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13549,11 +13549,11 @@ void HP_clif_skillup(struct map_session_data *sd, uint16 skill_id, int skill_lv,
void HP_clif_skillinfo(struct map_session_data *sd, int skill_id, int inf) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_skillinfo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *skill_id, int *inf);
+ void (*preHookFunc) (struct map_session_data **sd, int *skill_id, int *inf);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_skillinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_skillinfo_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &inf);
+ preHookFunc(&sd, &skill_id, &inf);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13575,11 +13575,11 @@ void HP_clif_skillinfo(struct map_session_data *sd, int skill_id, int inf) {
void HP_clif_addskill(struct map_session_data *sd, int id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_addskill_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *id);
+ void (*preHookFunc) (struct map_session_data **sd, int *id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_addskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_addskill_pre[hIndex].func;
- preHookFunc(sd, &id);
+ preHookFunc(&sd, &id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13601,11 +13601,11 @@ void HP_clif_addskill(struct map_session_data *sd, int id) {
void HP_clif_deleteskill(struct map_session_data *sd, int id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_deleteskill_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *id);
+ void (*preHookFunc) (struct map_session_data **sd, int *id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_deleteskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_deleteskill_pre[hIndex].func;
- preHookFunc(sd, &id);
+ preHookFunc(&sd, &id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13627,11 +13627,11 @@ void HP_clif_deleteskill(struct map_session_data *sd, int id) {
void HP_clif_party_created(struct map_session_data *sd, int result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_created_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *result);
+ void (*preHookFunc) (struct map_session_data **sd, int *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_created_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_created_pre[hIndex].func;
- preHookFunc(sd, &result);
+ preHookFunc(&sd, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13653,11 +13653,11 @@ void HP_clif_party_created(struct map_session_data *sd, int result) {
void HP_clif_party_member_info(struct party_data *p, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_member_info_pre ) {
- void (*preHookFunc) (struct party_data *p, struct map_session_data *sd);
+ void (*preHookFunc) (struct party_data **p, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_member_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_member_info_pre[hIndex].func;
- preHookFunc(p, sd);
+ preHookFunc(&p, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13679,11 +13679,11 @@ void HP_clif_party_member_info(struct party_data *p, struct map_session_data *sd
void HP_clif_party_info(struct party_data *p, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_info_pre ) {
- void (*preHookFunc) (struct party_data *p, struct map_session_data *sd);
+ void (*preHookFunc) (struct party_data **p, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_info_pre[hIndex].func;
- preHookFunc(p, sd);
+ preHookFunc(&p, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13705,11 +13705,11 @@ void HP_clif_party_info(struct party_data *p, struct map_session_data *sd) {
void HP_clif_party_invite(struct map_session_data *sd, struct map_session_data *tsd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_invite_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_invite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_invite_pre[hIndex].func;
- preHookFunc(sd, tsd);
+ preHookFunc(&sd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13731,11 +13731,11 @@ void HP_clif_party_invite(struct map_session_data *sd, struct map_session_data *
void HP_clif_party_inviteack(struct map_session_data *sd, const char *nick, int result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_inviteack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *nick, int *result);
+ void (*preHookFunc) (struct map_session_data **sd, const char **nick, int *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_inviteack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_inviteack_pre[hIndex].func;
- preHookFunc(sd, nick, &result);
+ preHookFunc(&sd, &nick, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13757,11 +13757,11 @@ void HP_clif_party_inviteack(struct map_session_data *sd, const char *nick, int
void HP_clif_party_option(struct party_data *p, struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_option_pre ) {
- void (*preHookFunc) (struct party_data *p, struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct party_data **p, struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_option_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_option_pre[hIndex].func;
- preHookFunc(p, sd, &flag);
+ preHookFunc(&p, &sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13783,11 +13783,11 @@ void HP_clif_party_option(struct party_data *p, struct map_session_data *sd, int
void HP_clif_party_withdraw(struct party_data *p, struct map_session_data *sd, int account_id, const char *name, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_withdraw_pre ) {
- void (*preHookFunc) (struct party_data *p, struct map_session_data *sd, int *account_id, const char *name, int *flag);
+ void (*preHookFunc) (struct party_data **p, struct map_session_data **sd, int *account_id, const char **name, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_withdraw_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_withdraw_pre[hIndex].func;
- preHookFunc(p, sd, &account_id, name, &flag);
+ preHookFunc(&p, &sd, &account_id, &name, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13809,11 +13809,11 @@ void HP_clif_party_withdraw(struct party_data *p, struct map_session_data *sd, i
void HP_clif_party_message(struct party_data *p, int account_id, const char *mes, int len) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_message_pre ) {
- void (*preHookFunc) (struct party_data *p, int *account_id, const char *mes, int *len);
+ void (*preHookFunc) (struct party_data **p, int *account_id, const char **mes, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_message_pre[hIndex].func;
- preHookFunc(p, &account_id, mes, &len);
+ preHookFunc(&p, &account_id, &mes, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13835,11 +13835,11 @@ void HP_clif_party_message(struct party_data *p, int account_id, const char *mes
void HP_clif_party_xy(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_xy_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_xy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_xy_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13861,11 +13861,11 @@ void HP_clif_party_xy(struct map_session_data *sd) {
void HP_clif_party_xy_single(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_xy_single_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_xy_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_xy_single_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13887,11 +13887,11 @@ void HP_clif_party_xy_single(int fd, struct map_session_data *sd) {
void HP_clif_party_hp(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_hp_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_hp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_hp_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13913,11 +13913,11 @@ void HP_clif_party_hp(struct map_session_data *sd) {
void HP_clif_party_xy_remove(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_xy_remove_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_xy_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_xy_remove_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13939,11 +13939,11 @@ void HP_clif_party_xy_remove(struct map_session_data *sd) {
void HP_clif_party_show_picker(struct map_session_data *sd, struct item *item_data) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_party_show_picker_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct item *item_data);
+ void (*preHookFunc) (struct map_session_data **sd, struct item **item_data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_party_show_picker_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_party_show_picker_pre[hIndex].func;
- preHookFunc(sd, item_data);
+ preHookFunc(&sd, &item_data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13965,11 +13965,11 @@ void HP_clif_party_show_picker(struct map_session_data *sd, struct item *item_da
void HP_clif_partyinvitationstate(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_partyinvitationstate_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_partyinvitationstate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_partyinvitationstate_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -13991,11 +13991,11 @@ void HP_clif_partyinvitationstate(struct map_session_data *sd) {
void HP_clif_PartyLeaderChanged(struct map_session_data *sd, int prev_leader_aid, int new_leader_aid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyLeaderChanged_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *prev_leader_aid, int *new_leader_aid);
+ void (*preHookFunc) (struct map_session_data **sd, int *prev_leader_aid, int *new_leader_aid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyLeaderChanged_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyLeaderChanged_pre[hIndex].func;
- preHookFunc(sd, &prev_leader_aid, &new_leader_aid);
+ preHookFunc(&sd, &prev_leader_aid, &new_leader_aid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14017,11 +14017,11 @@ void HP_clif_PartyLeaderChanged(struct map_session_data *sd, int prev_leader_aid
void HP_clif_guild_created(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_created_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_created_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_created_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14043,11 +14043,11 @@ void HP_clif_guild_created(struct map_session_data *sd, int flag) {
void HP_clif_guild_belonginfo(struct map_session_data *sd, struct guild *g) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_belonginfo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct guild *g);
+ void (*preHookFunc) (struct map_session_data **sd, struct guild **g);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_belonginfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_belonginfo_pre[hIndex].func;
- preHookFunc(sd, g);
+ preHookFunc(&sd, &g);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14069,11 +14069,11 @@ void HP_clif_guild_belonginfo(struct map_session_data *sd, struct guild *g) {
void HP_clif_guild_masterormember(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_masterormember_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_masterormember_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_masterormember_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14095,11 +14095,11 @@ void HP_clif_guild_masterormember(struct map_session_data *sd) {
void HP_clif_guild_basicinfo(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_basicinfo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_basicinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_basicinfo_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14121,11 +14121,11 @@ void HP_clif_guild_basicinfo(struct map_session_data *sd) {
void HP_clif_guild_allianceinfo(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_allianceinfo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_allianceinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_allianceinfo_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14147,11 +14147,11 @@ void HP_clif_guild_allianceinfo(struct map_session_data *sd) {
void HP_clif_guild_memberlist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_memberlist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_memberlist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_memberlist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14173,11 +14173,11 @@ void HP_clif_guild_memberlist(struct map_session_data *sd) {
void HP_clif_guild_skillinfo(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_skillinfo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_skillinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_skillinfo_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14199,11 +14199,11 @@ void HP_clif_guild_skillinfo(struct map_session_data *sd) {
void HP_clif_guild_send_onlineinfo(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_send_onlineinfo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_send_onlineinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_send_onlineinfo_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14225,11 +14225,11 @@ void HP_clif_guild_send_onlineinfo(struct map_session_data *sd) {
void HP_clif_guild_memberlogin_notice(struct guild *g, int idx, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_memberlogin_notice_pre ) {
- void (*preHookFunc) (struct guild *g, int *idx, int *flag);
+ void (*preHookFunc) (struct guild **g, int *idx, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_memberlogin_notice_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_memberlogin_notice_pre[hIndex].func;
- preHookFunc(g, &idx, &flag);
+ preHookFunc(&g, &idx, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14251,11 +14251,11 @@ void HP_clif_guild_memberlogin_notice(struct guild *g, int idx, int flag) {
void HP_clif_guild_invite(struct map_session_data *sd, struct guild *g) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_invite_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct guild *g);
+ void (*preHookFunc) (struct map_session_data **sd, struct guild **g);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_invite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_invite_pre[hIndex].func;
- preHookFunc(sd, g);
+ preHookFunc(&sd, &g);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14277,11 +14277,11 @@ void HP_clif_guild_invite(struct map_session_data *sd, struct guild *g) {
void HP_clif_guild_inviteack(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_inviteack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_inviteack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_inviteack_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14303,11 +14303,11 @@ void HP_clif_guild_inviteack(struct map_session_data *sd, int flag) {
void HP_clif_guild_leave(struct map_session_data *sd, const char *name, const char *mes) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_leave_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *name, const char *mes);
+ void (*preHookFunc) (struct map_session_data **sd, const char **name, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_leave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_leave_pre[hIndex].func;
- preHookFunc(sd, name, mes);
+ preHookFunc(&sd, &name, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14329,11 +14329,11 @@ void HP_clif_guild_leave(struct map_session_data *sd, const char *name, const ch
void HP_clif_guild_expulsion(struct map_session_data *sd, const char *name, const char *mes, int account_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_expulsion_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *name, const char *mes, int *account_id);
+ void (*preHookFunc) (struct map_session_data **sd, const char **name, const char **mes, int *account_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_expulsion_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_expulsion_pre[hIndex].func;
- preHookFunc(sd, name, mes, &account_id);
+ preHookFunc(&sd, &name, &mes, &account_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14355,11 +14355,11 @@ void HP_clif_guild_expulsion(struct map_session_data *sd, const char *name, cons
void HP_clif_guild_positionchanged(struct guild *g, int idx) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_positionchanged_pre ) {
- void (*preHookFunc) (struct guild *g, int *idx);
+ void (*preHookFunc) (struct guild **g, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_positionchanged_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_positionchanged_pre[hIndex].func;
- preHookFunc(g, &idx);
+ preHookFunc(&g, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14381,11 +14381,11 @@ void HP_clif_guild_positionchanged(struct guild *g, int idx) {
void HP_clif_guild_memberpositionchanged(struct guild *g, int idx) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_memberpositionchanged_pre ) {
- void (*preHookFunc) (struct guild *g, int *idx);
+ void (*preHookFunc) (struct guild **g, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_memberpositionchanged_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_memberpositionchanged_pre[hIndex].func;
- preHookFunc(g, &idx);
+ preHookFunc(&g, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14407,11 +14407,11 @@ void HP_clif_guild_memberpositionchanged(struct guild *g, int idx) {
void HP_clif_guild_emblem(struct map_session_data *sd, struct guild *g) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_emblem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct guild *g);
+ void (*preHookFunc) (struct map_session_data **sd, struct guild **g);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_emblem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_emblem_pre[hIndex].func;
- preHookFunc(sd, g);
+ preHookFunc(&sd, &g);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14433,11 +14433,11 @@ void HP_clif_guild_emblem(struct map_session_data *sd, struct guild *g) {
void HP_clif_guild_emblem_area(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_emblem_area_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_emblem_area_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_emblem_area_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14459,11 +14459,11 @@ void HP_clif_guild_emblem_area(struct block_list *bl) {
void HP_clif_guild_notice(struct map_session_data *sd, struct guild *g) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_notice_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct guild *g);
+ void (*preHookFunc) (struct map_session_data **sd, struct guild **g);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_notice_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_notice_pre[hIndex].func;
- preHookFunc(sd, g);
+ preHookFunc(&sd, &g);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14485,11 +14485,11 @@ void HP_clif_guild_notice(struct map_session_data *sd, struct guild *g) {
void HP_clif_guild_message(struct guild *g, int account_id, const char *mes, int len) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_message_pre ) {
- void (*preHookFunc) (struct guild *g, int *account_id, const char *mes, int *len);
+ void (*preHookFunc) (struct guild **g, int *account_id, const char **mes, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_message_pre[hIndex].func;
- preHookFunc(g, &account_id, mes, &len);
+ preHookFunc(&g, &account_id, &mes, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14511,11 +14511,11 @@ void HP_clif_guild_message(struct guild *g, int account_id, const char *mes, int
void HP_clif_guild_reqalliance(struct map_session_data *sd, int account_id, const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_reqalliance_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *account_id, const char *name);
+ void (*preHookFunc) (struct map_session_data **sd, int *account_id, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_reqalliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_reqalliance_pre[hIndex].func;
- preHookFunc(sd, &account_id, name);
+ preHookFunc(&sd, &account_id, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14537,11 +14537,11 @@ void HP_clif_guild_reqalliance(struct map_session_data *sd, int account_id, cons
void HP_clif_guild_allianceack(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_allianceack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_allianceack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_allianceack_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14563,11 +14563,11 @@ void HP_clif_guild_allianceack(struct map_session_data *sd, int flag) {
void HP_clif_guild_delalliance(struct map_session_data *sd, int guild_id, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_delalliance_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *guild_id, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *guild_id, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_delalliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_delalliance_pre[hIndex].func;
- preHookFunc(sd, &guild_id, &flag);
+ preHookFunc(&sd, &guild_id, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14589,11 +14589,11 @@ void HP_clif_guild_delalliance(struct map_session_data *sd, int guild_id, int fl
void HP_clif_guild_oppositionack(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_oppositionack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_oppositionack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_oppositionack_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14615,11 +14615,11 @@ void HP_clif_guild_oppositionack(struct map_session_data *sd, int flag) {
void HP_clif_guild_broken(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_broken_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_broken_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_broken_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14641,11 +14641,11 @@ void HP_clif_guild_broken(struct map_session_data *sd, int flag) {
void HP_clif_guild_xy(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_xy_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_xy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_xy_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14667,11 +14667,11 @@ void HP_clif_guild_xy(struct map_session_data *sd) {
void HP_clif_guild_xy_single(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_xy_single_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_xy_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_xy_single_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14693,11 +14693,11 @@ void HP_clif_guild_xy_single(int fd, struct map_session_data *sd) {
void HP_clif_guild_xy_remove(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_xy_remove_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_xy_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_xy_remove_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14719,11 +14719,11 @@ void HP_clif_guild_xy_remove(struct map_session_data *sd) {
void HP_clif_guild_positionnamelist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_positionnamelist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_positionnamelist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_positionnamelist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14745,11 +14745,11 @@ void HP_clif_guild_positionnamelist(struct map_session_data *sd) {
void HP_clif_guild_positioninfolist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_positioninfolist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_positioninfolist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_positioninfolist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14771,11 +14771,11 @@ void HP_clif_guild_positioninfolist(struct map_session_data *sd) {
void HP_clif_guild_expulsionlist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_guild_expulsionlist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_guild_expulsionlist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_guild_expulsionlist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14798,11 +14798,11 @@ bool HP_clif_validate_emblem(const uint8 *emblem, unsigned long emblem_len) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_clif_validate_emblem_pre ) {
- bool (*preHookFunc) (const uint8 *emblem, unsigned long *emblem_len);
+ bool (*preHookFunc) (const uint8 **emblem, unsigned long *emblem_len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_validate_emblem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_validate_emblem_pre[hIndex].func;
- retVal___ = preHookFunc(emblem, &emblem_len);
+ retVal___ = preHookFunc(&emblem, &emblem_len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14824,11 +14824,11 @@ bool HP_clif_validate_emblem(const uint8 *emblem, unsigned long emblem_len) {
void HP_clif_bg_hp(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bg_hp_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bg_hp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bg_hp_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14850,11 +14850,11 @@ void HP_clif_bg_hp(struct map_session_data *sd) {
void HP_clif_bg_xy(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bg_xy_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bg_xy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bg_xy_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14876,11 +14876,11 @@ void HP_clif_bg_xy(struct map_session_data *sd) {
void HP_clif_bg_xy_remove(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bg_xy_remove_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bg_xy_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bg_xy_remove_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14902,11 +14902,11 @@ void HP_clif_bg_xy_remove(struct map_session_data *sd) {
void HP_clif_bg_message(struct battleground_data *bgd, int src_id, const char *name, const char *mes) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bg_message_pre ) {
- void (*preHookFunc) (struct battleground_data *bgd, int *src_id, const char *name, const char *mes);
+ void (*preHookFunc) (struct battleground_data **bgd, int *src_id, const char **name, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bg_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bg_message_pre[hIndex].func;
- preHookFunc(bgd, &src_id, name, mes);
+ preHookFunc(&bgd, &src_id, &name, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14954,11 +14954,11 @@ void HP_clif_bg_updatescore(int16 m) {
void HP_clif_bg_updatescore_single(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bg_updatescore_single_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bg_updatescore_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bg_updatescore_single_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -14980,11 +14980,11 @@ void HP_clif_bg_updatescore_single(struct map_session_data *sd) {
void HP_clif_sendbgemblem_area(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_sendbgemblem_area_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sendbgemblem_area_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_sendbgemblem_area_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15006,11 +15006,11 @@ void HP_clif_sendbgemblem_area(struct map_session_data *sd) {
void HP_clif_sendbgemblem_single(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_sendbgemblem_single_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sendbgemblem_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_sendbgemblem_single_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15111,11 +15111,11 @@ void HP_clif_instance_leave(int fd) {
void HP_clif_catch_process(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_catch_process_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_catch_process_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_catch_process_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15137,11 +15137,11 @@ void HP_clif_catch_process(struct map_session_data *sd) {
void HP_clif_pet_roulette(struct map_session_data *sd, int data) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pet_roulette_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *data);
+ void (*preHookFunc) (struct map_session_data **sd, int *data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pet_roulette_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pet_roulette_pre[hIndex].func;
- preHookFunc(sd, &data);
+ preHookFunc(&sd, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15163,11 +15163,11 @@ void HP_clif_pet_roulette(struct map_session_data *sd, int data) {
void HP_clif_sendegg(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_sendegg_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_sendegg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_sendegg_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15189,11 +15189,11 @@ void HP_clif_sendegg(struct map_session_data *sd) {
void HP_clif_send_petstatus(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_send_petstatus_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_petstatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_send_petstatus_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15215,11 +15215,11 @@ void HP_clif_send_petstatus(struct map_session_data *sd) {
void HP_clif_send_petdata(struct map_session_data *sd, struct pet_data *pd, int type, int param) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_send_petdata_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct pet_data *pd, int *type, int *param);
+ void (*preHookFunc) (struct map_session_data **sd, struct pet_data **pd, int *type, int *param);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_petdata_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_send_petdata_pre[hIndex].func;
- preHookFunc(sd, pd, &type, &param);
+ preHookFunc(&sd, &pd, &type, &param);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15241,11 +15241,11 @@ void HP_clif_send_petdata(struct map_session_data *sd, struct pet_data *pd, int
void HP_clif_pet_emotion(struct pet_data *pd, int param) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pet_emotion_pre ) {
- void (*preHookFunc) (struct pet_data *pd, int *param);
+ void (*preHookFunc) (struct pet_data **pd, int *param);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pet_emotion_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pet_emotion_pre[hIndex].func;
- preHookFunc(pd, &param);
+ preHookFunc(&pd, &param);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15267,11 +15267,11 @@ void HP_clif_pet_emotion(struct pet_data *pd, int param) {
void HP_clif_pet_food(struct map_session_data *sd, int foodid, int fail) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pet_food_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *foodid, int *fail);
+ void (*preHookFunc) (struct map_session_data **sd, int *foodid, int *fail);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pet_food_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pet_food_pre[hIndex].func;
- preHookFunc(sd, &foodid, &fail);
+ preHookFunc(&sd, &foodid, &fail);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15294,12 +15294,12 @@ int HP_clif_friendslist_toggle_sub(struct map_session_data *sd, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_friendslist_toggle_sub_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, va_list ap);
+ int (*preHookFunc) (struct map_session_data **sd, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_friendslist_toggle_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_clif_friendslist_toggle_sub_pre[hIndex].func;
- retVal___ = preHookFunc(sd, ap___copy);
+ retVal___ = preHookFunc(&sd, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -15326,11 +15326,11 @@ int HP_clif_friendslist_toggle_sub(struct map_session_data *sd, va_list ap) {
void HP_clif_friendslist_send(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_friendslist_send_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_friendslist_send_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_friendslist_send_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15352,11 +15352,11 @@ void HP_clif_friendslist_send(struct map_session_data *sd) {
void HP_clif_friendslist_reqack(struct map_session_data *sd, struct map_session_data *f_sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_friendslist_reqack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *f_sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **f_sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_friendslist_reqack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_friendslist_reqack_pre[hIndex].func;
- preHookFunc(sd, f_sd, &type);
+ preHookFunc(&sd, &f_sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15378,11 +15378,11 @@ void HP_clif_friendslist_reqack(struct map_session_data *sd, struct map_session_
void HP_clif_friendslist_toggle(struct map_session_data *sd, int account_id, int char_id, int online) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_friendslist_toggle_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *account_id, int *char_id, int *online);
+ void (*preHookFunc) (struct map_session_data **sd, int *account_id, int *char_id, int *online);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_friendslist_toggle_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_friendslist_toggle_pre[hIndex].func;
- preHookFunc(sd, &account_id, &char_id, &online);
+ preHookFunc(&sd, &account_id, &char_id, &online);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15404,11 +15404,11 @@ void HP_clif_friendslist_toggle(struct map_session_data *sd, int account_id, int
void HP_clif_friendlist_req(struct map_session_data *sd, int account_id, int char_id, const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_friendlist_req_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *account_id, int *char_id, const char *name);
+ void (*preHookFunc) (struct map_session_data **sd, int *account_id, int *char_id, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_friendlist_req_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_friendlist_req_pre[hIndex].func;
- preHookFunc(sd, &account_id, &char_id, name);
+ preHookFunc(&sd, &account_id, &char_id, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15430,11 +15430,11 @@ void HP_clif_friendlist_req(struct map_session_data *sd, int account_id, int cha
void HP_clif_GM_kickack(struct map_session_data *sd, int result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_GM_kickack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *result);
+ void (*preHookFunc) (struct map_session_data **sd, int *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_GM_kickack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_GM_kickack_pre[hIndex].func;
- preHookFunc(sd, &result);
+ preHookFunc(&sd, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15456,11 +15456,11 @@ void HP_clif_GM_kickack(struct map_session_data *sd, int result) {
void HP_clif_GM_kick(struct map_session_data *sd, struct map_session_data *tsd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_GM_kick_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_GM_kick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_GM_kick_pre[hIndex].func;
- preHookFunc(sd, tsd);
+ preHookFunc(&sd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15482,11 +15482,11 @@ void HP_clif_GM_kick(struct map_session_data *sd, struct map_session_data *tsd)
void HP_clif_manner_message(struct map_session_data *sd, uint32 type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_manner_message_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint32 *type);
+ void (*preHookFunc) (struct map_session_data **sd, uint32 *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_manner_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_manner_message_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15508,11 +15508,11 @@ void HP_clif_manner_message(struct map_session_data *sd, uint32 type) {
void HP_clif_GM_silence(struct map_session_data *sd, struct map_session_data *tsd, uint8 type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_GM_silence_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd, uint8 *type);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd, uint8 *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_GM_silence_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_GM_silence_pre[hIndex].func;
- preHookFunc(sd, tsd, &type);
+ preHookFunc(&sd, &tsd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15534,11 +15534,11 @@ void HP_clif_GM_silence(struct map_session_data *sd, struct map_session_data *ts
void HP_clif_account_name(struct map_session_data *sd, int account_id, const char *accname) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_account_name_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *account_id, const char *accname);
+ void (*preHookFunc) (struct map_session_data **sd, int *account_id, const char **accname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_account_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_account_name_pre[hIndex].func;
- preHookFunc(sd, &account_id, accname);
+ preHookFunc(&sd, &account_id, &accname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15560,11 +15560,11 @@ void HP_clif_account_name(struct map_session_data *sd, int account_id, const cha
void HP_clif_check(int fd, struct map_session_data *pl_sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_check_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *pl_sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **pl_sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_check_pre[hIndex].func;
- preHookFunc(&fd, pl_sd);
+ preHookFunc(&fd, &pl_sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15586,11 +15586,11 @@ void HP_clif_check(int fd, struct map_session_data *pl_sd) {
void HP_clif_hominfo(struct map_session_data *sd, struct homun_data *hd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_hominfo_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct homun_data *hd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, struct homun_data **hd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hominfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_hominfo_pre[hIndex].func;
- preHookFunc(sd, hd, &flag);
+ preHookFunc(&sd, &hd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15612,11 +15612,11 @@ void HP_clif_hominfo(struct map_session_data *sd, struct homun_data *hd, int fla
void HP_clif_homskillinfoblock(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_homskillinfoblock_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_homskillinfoblock_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_homskillinfoblock_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15638,11 +15638,11 @@ void HP_clif_homskillinfoblock(struct map_session_data *sd) {
void HP_clif_homskillup(struct map_session_data *sd, uint16 skill_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_homskillup_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_homskillup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_homskillup_pre[hIndex].func;
- preHookFunc(sd, &skill_id);
+ preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15664,11 +15664,11 @@ void HP_clif_homskillup(struct map_session_data *sd, uint16 skill_id) {
void HP_clif_hom_food(struct map_session_data *sd, int foodid, int fail) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_hom_food_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *foodid, int *fail);
+ void (*preHookFunc) (struct map_session_data **sd, int *foodid, int *fail);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_hom_food_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_hom_food_pre[hIndex].func;
- preHookFunc(sd, &foodid, &fail);
+ preHookFunc(&sd, &foodid, &fail);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15690,11 +15690,11 @@ void HP_clif_hom_food(struct map_session_data *sd, int foodid, int fail) {
void HP_clif_send_homdata(struct map_session_data *sd, int state, int param) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_send_homdata_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *state, int *param);
+ void (*preHookFunc) (struct map_session_data **sd, int *state, int *param);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_send_homdata_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_send_homdata_pre[hIndex].func;
- preHookFunc(sd, &state, &param);
+ preHookFunc(&sd, &state, &param);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15716,11 +15716,11 @@ void HP_clif_send_homdata(struct map_session_data *sd, int state, int param) {
void HP_clif_quest_send_list(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_quest_send_list_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_send_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_quest_send_list_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15742,11 +15742,11 @@ void HP_clif_quest_send_list(struct map_session_data *sd) {
void HP_clif_quest_send_mission(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_quest_send_mission_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_send_mission_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_quest_send_mission_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15768,11 +15768,11 @@ void HP_clif_quest_send_mission(struct map_session_data *sd) {
void HP_clif_quest_add(struct map_session_data *sd, struct quest *qd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_quest_add_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct quest *qd);
+ void (*preHookFunc) (struct map_session_data **sd, struct quest **qd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_quest_add_pre[hIndex].func;
- preHookFunc(sd, qd);
+ preHookFunc(&sd, &qd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15794,11 +15794,11 @@ void HP_clif_quest_add(struct map_session_data *sd, struct quest *qd) {
void HP_clif_quest_delete(struct map_session_data *sd, int quest_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_quest_delete_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *quest_id);
+ void (*preHookFunc) (struct map_session_data **sd, int *quest_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_quest_delete_pre[hIndex].func;
- preHookFunc(sd, &quest_id);
+ preHookFunc(&sd, &quest_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15820,11 +15820,11 @@ void HP_clif_quest_delete(struct map_session_data *sd, int quest_id) {
void HP_clif_quest_update_status(struct map_session_data *sd, int quest_id, bool active) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_quest_update_status_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *quest_id, bool *active);
+ void (*preHookFunc) (struct map_session_data **sd, int *quest_id, bool *active);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_update_status_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_quest_update_status_pre[hIndex].func;
- preHookFunc(sd, &quest_id, &active);
+ preHookFunc(&sd, &quest_id, &active);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15846,11 +15846,11 @@ void HP_clif_quest_update_status(struct map_session_data *sd, int quest_id, bool
void HP_clif_quest_update_objective(struct map_session_data *sd, struct quest *qd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_quest_update_objective_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct quest *qd);
+ void (*preHookFunc) (struct map_session_data **sd, struct quest **qd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_update_objective_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_quest_update_objective_pre[hIndex].func;
- preHookFunc(sd, qd);
+ preHookFunc(&sd, &qd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15872,11 +15872,11 @@ void HP_clif_quest_update_objective(struct map_session_data *sd, struct quest *q
void HP_clif_quest_show_event(struct map_session_data *sd, struct block_list *bl, short state, short color) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_quest_show_event_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct block_list *bl, short *state, short *color);
+ void (*preHookFunc) (struct map_session_data **sd, struct block_list **bl, short *state, short *color);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_quest_show_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_quest_show_event_pre[hIndex].func;
- preHookFunc(sd, bl, &state, &color);
+ preHookFunc(&sd, &bl, &state, &color);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -15924,11 +15924,11 @@ void HP_clif_mail_window(int fd, int flag) {
void HP_clif_mail_read(struct map_session_data *sd, int mail_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mail_read_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *mail_id);
+ void (*preHookFunc) (struct map_session_data **sd, int *mail_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mail_read_pre[hIndex].func;
- preHookFunc(sd, &mail_id);
+ preHookFunc(&sd, &mail_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16028,11 +16028,11 @@ void HP_clif_mail_send(int fd, bool fail) {
void HP_clif_mail_new(int fd, int mail_id, const char *sender, const char *title) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mail_new_pre ) {
- void (*preHookFunc) (int *fd, int *mail_id, const char *sender, const char *title);
+ void (*preHookFunc) (int *fd, int *mail_id, const char **sender, const char **title);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_new_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mail_new_pre[hIndex].func;
- preHookFunc(&fd, &mail_id, sender, title);
+ preHookFunc(&fd, &mail_id, &sender, &title);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16054,11 +16054,11 @@ void HP_clif_mail_new(int fd, int mail_id, const char *sender, const char *title
void HP_clif_mail_refreshinbox(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mail_refreshinbox_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mail_refreshinbox_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mail_refreshinbox_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16132,11 +16132,11 @@ void HP_clif_mail_setattachment(int fd, int index, uint8 flag) {
void HP_clif_auction_openwindow(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_auction_openwindow_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_auction_openwindow_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_auction_openwindow_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16158,11 +16158,11 @@ void HP_clif_auction_openwindow(struct map_session_data *sd) {
void HP_clif_auction_results(struct map_session_data *sd, short count, short pages, const uint8 *buf) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_auction_results_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *count, short *pages, const uint8 *buf);
+ void (*preHookFunc) (struct map_session_data **sd, short *count, short *pages, const uint8 **buf);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_auction_results_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_auction_results_pre[hIndex].func;
- preHookFunc(sd, &count, &pages, buf);
+ preHookFunc(&sd, &count, &pages, &buf);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16262,11 +16262,11 @@ void HP_clif_auction_setitem(int fd, int index, bool fail) {
void HP_clif_mercenary_info(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mercenary_info_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mercenary_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mercenary_info_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16288,11 +16288,11 @@ void HP_clif_mercenary_info(struct map_session_data *sd) {
void HP_clif_mercenary_skillblock(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mercenary_skillblock_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mercenary_skillblock_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mercenary_skillblock_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16314,11 +16314,11 @@ void HP_clif_mercenary_skillblock(struct map_session_data *sd) {
void HP_clif_mercenary_message(struct map_session_data *sd, int message) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mercenary_message_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *message);
+ void (*preHookFunc) (struct map_session_data **sd, int *message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mercenary_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mercenary_message_pre[hIndex].func;
- preHookFunc(sd, &message);
+ preHookFunc(&sd, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16340,11 +16340,11 @@ void HP_clif_mercenary_message(struct map_session_data *sd, int message) {
void HP_clif_mercenary_updatestatus(struct map_session_data *sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_mercenary_updatestatus_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_mercenary_updatestatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_mercenary_updatestatus_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16418,11 +16418,11 @@ void HP_clif_rental_expired(int fd, int index, int nameid) {
void HP_clif_PartyBookingRegisterAck(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingRegisterAck_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingRegisterAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingRegisterAck_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16444,11 +16444,11 @@ void HP_clif_PartyBookingRegisterAck(struct map_session_data *sd, int flag) {
void HP_clif_PartyBookingDeleteAck(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingDeleteAck_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingDeleteAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingDeleteAck_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16470,11 +16470,11 @@ void HP_clif_PartyBookingDeleteAck(struct map_session_data *sd, int flag) {
void HP_clif_PartyBookingSearchAck(int fd, struct party_booking_ad_info **results, int count, bool more_result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingSearchAck_pre ) {
- void (*preHookFunc) (int *fd, struct party_booking_ad_info **results, int *count, bool *more_result);
+ void (*preHookFunc) (int *fd, struct party_booking_ad_info ***results, int *count, bool *more_result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingSearchAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingSearchAck_pre[hIndex].func;
- preHookFunc(&fd, results, &count, &more_result);
+ preHookFunc(&fd, &results, &count, &more_result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16496,11 +16496,11 @@ void HP_clif_PartyBookingSearchAck(int fd, struct party_booking_ad_info **result
void HP_clif_PartyBookingUpdateNotify(struct map_session_data *sd, struct party_booking_ad_info *pb_ad) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingUpdateNotify_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
+ void (*preHookFunc) (struct map_session_data **sd, struct party_booking_ad_info **pb_ad);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingUpdateNotify_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingUpdateNotify_pre[hIndex].func;
- preHookFunc(sd, pb_ad);
+ preHookFunc(&sd, &pb_ad);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16522,11 +16522,11 @@ void HP_clif_PartyBookingUpdateNotify(struct map_session_data *sd, struct party_
void HP_clif_PartyBookingDeleteNotify(struct map_session_data *sd, int index) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingDeleteNotify_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *index);
+ void (*preHookFunc) (struct map_session_data **sd, int *index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingDeleteNotify_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingDeleteNotify_pre[hIndex].func;
- preHookFunc(sd, &index);
+ preHookFunc(&sd, &index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16548,11 +16548,11 @@ void HP_clif_PartyBookingDeleteNotify(struct map_session_data *sd, int index) {
void HP_clif_PartyBookingInsertNotify(struct map_session_data *sd, struct party_booking_ad_info *pb_ad) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingInsertNotify_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
+ void (*preHookFunc) (struct map_session_data **sd, struct party_booking_ad_info **pb_ad);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingInsertNotify_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingInsertNotify_pre[hIndex].func;
- preHookFunc(sd, pb_ad);
+ preHookFunc(&sd, &pb_ad);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16574,11 +16574,11 @@ void HP_clif_PartyBookingInsertNotify(struct map_session_data *sd, struct party_
void HP_clif_PartyRecruitRegisterAck(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyRecruitRegisterAck_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitRegisterAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyRecruitRegisterAck_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16600,11 +16600,11 @@ void HP_clif_PartyRecruitRegisterAck(struct map_session_data *sd, int flag) {
void HP_clif_PartyRecruitDeleteAck(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyRecruitDeleteAck_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitDeleteAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyRecruitDeleteAck_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16626,11 +16626,11 @@ void HP_clif_PartyRecruitDeleteAck(struct map_session_data *sd, int flag) {
void HP_clif_PartyRecruitSearchAck(int fd, struct party_booking_ad_info **results, int count, bool more_result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyRecruitSearchAck_pre ) {
- void (*preHookFunc) (int *fd, struct party_booking_ad_info **results, int *count, bool *more_result);
+ void (*preHookFunc) (int *fd, struct party_booking_ad_info ***results, int *count, bool *more_result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitSearchAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyRecruitSearchAck_pre[hIndex].func;
- preHookFunc(&fd, results, &count, &more_result);
+ preHookFunc(&fd, &results, &count, &more_result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16652,11 +16652,11 @@ void HP_clif_PartyRecruitSearchAck(int fd, struct party_booking_ad_info **result
void HP_clif_PartyRecruitUpdateNotify(struct map_session_data *sd, struct party_booking_ad_info *pb_ad) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyRecruitUpdateNotify_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
+ void (*preHookFunc) (struct map_session_data **sd, struct party_booking_ad_info **pb_ad);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitUpdateNotify_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyRecruitUpdateNotify_pre[hIndex].func;
- preHookFunc(sd, pb_ad);
+ preHookFunc(&sd, &pb_ad);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16678,11 +16678,11 @@ void HP_clif_PartyRecruitUpdateNotify(struct map_session_data *sd, struct party_
void HP_clif_PartyRecruitDeleteNotify(struct map_session_data *sd, int index) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyRecruitDeleteNotify_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *index);
+ void (*preHookFunc) (struct map_session_data **sd, int *index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitDeleteNotify_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyRecruitDeleteNotify_pre[hIndex].func;
- preHookFunc(sd, &index);
+ preHookFunc(&sd, &index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16704,11 +16704,11 @@ void HP_clif_PartyRecruitDeleteNotify(struct map_session_data *sd, int index) {
void HP_clif_PartyRecruitInsertNotify(struct map_session_data *sd, struct party_booking_ad_info *pb_ad) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyRecruitInsertNotify_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct party_booking_ad_info *pb_ad);
+ void (*preHookFunc) (struct map_session_data **sd, struct party_booking_ad_info **pb_ad);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyRecruitInsertNotify_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyRecruitInsertNotify_pre[hIndex].func;
- preHookFunc(sd, pb_ad);
+ preHookFunc(&sd, &pb_ad);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16730,11 +16730,11 @@ void HP_clif_PartyRecruitInsertNotify(struct map_session_data *sd, struct party_
void HP_clif_PartyBookingVolunteerInfo(int index, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingVolunteerInfo_pre ) {
- void (*preHookFunc) (int *index, struct map_session_data *sd);
+ void (*preHookFunc) (int *index, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingVolunteerInfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingVolunteerInfo_pre[hIndex].func;
- preHookFunc(&index, sd);
+ preHookFunc(&index, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16756,11 +16756,11 @@ void HP_clif_PartyBookingVolunteerInfo(int index, struct map_session_data *sd) {
void HP_clif_PartyBookingRefuseVolunteer(unsigned int aid, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingRefuseVolunteer_pre ) {
- void (*preHookFunc) (unsigned int *aid, struct map_session_data *sd);
+ void (*preHookFunc) (unsigned int *aid, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingRefuseVolunteer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingRefuseVolunteer_pre[hIndex].func;
- preHookFunc(&aid, sd);
+ preHookFunc(&aid, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16782,11 +16782,11 @@ void HP_clif_PartyBookingRefuseVolunteer(unsigned int aid, struct map_session_da
void HP_clif_PartyBookingCancelVolunteer(int index, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingCancelVolunteer_pre ) {
- void (*preHookFunc) (int *index, struct map_session_data *sd);
+ void (*preHookFunc) (int *index, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingCancelVolunteer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingCancelVolunteer_pre[hIndex].func;
- preHookFunc(&index, sd);
+ preHookFunc(&index, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16808,11 +16808,11 @@ void HP_clif_PartyBookingCancelVolunteer(int index, struct map_session_data *sd)
void HP_clif_PartyBookingAddFilteringList(int index, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingAddFilteringList_pre ) {
- void (*preHookFunc) (int *index, struct map_session_data *sd);
+ void (*preHookFunc) (int *index, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingAddFilteringList_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingAddFilteringList_pre[hIndex].func;
- preHookFunc(&index, sd);
+ preHookFunc(&index, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16834,11 +16834,11 @@ void HP_clif_PartyBookingAddFilteringList(int index, struct map_session_data *sd
void HP_clif_PartyBookingSubFilteringList(int gid, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_PartyBookingSubFilteringList_pre ) {
- void (*preHookFunc) (int *gid, struct map_session_data *sd);
+ void (*preHookFunc) (int *gid, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_PartyBookingSubFilteringList_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_PartyBookingSubFilteringList_pre[hIndex].func;
- preHookFunc(&gid, sd);
+ preHookFunc(&gid, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16860,11 +16860,11 @@ void HP_clif_PartyBookingSubFilteringList(int gid, struct map_session_data *sd)
void HP_clif_buyingstore_open(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_open_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_open_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16886,11 +16886,11 @@ void HP_clif_buyingstore_open(struct map_session_data *sd) {
void HP_clif_buyingstore_open_failed(struct map_session_data *sd, unsigned short result, unsigned int weight) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_open_failed_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *result, unsigned int *weight);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *result, unsigned int *weight);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_open_failed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_open_failed_pre[hIndex].func;
- preHookFunc(sd, &result, &weight);
+ preHookFunc(&sd, &result, &weight);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16912,11 +16912,11 @@ void HP_clif_buyingstore_open_failed(struct map_session_data *sd, unsigned short
void HP_clif_buyingstore_myitemlist(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_myitemlist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_myitemlist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_myitemlist_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16938,11 +16938,11 @@ void HP_clif_buyingstore_myitemlist(struct map_session_data *sd) {
void HP_clif_buyingstore_entry(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_entry_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_entry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_entry_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16964,11 +16964,11 @@ void HP_clif_buyingstore_entry(struct map_session_data *sd) {
void HP_clif_buyingstore_entry_single(struct map_session_data *sd, struct map_session_data *pl_sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_entry_single_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *pl_sd);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **pl_sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_entry_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_entry_single_pre[hIndex].func;
- preHookFunc(sd, pl_sd);
+ preHookFunc(&sd, &pl_sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -16990,11 +16990,11 @@ void HP_clif_buyingstore_entry_single(struct map_session_data *sd, struct map_se
void HP_clif_buyingstore_disappear_entry(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_disappear_entry_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_disappear_entry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_disappear_entry_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17016,11 +17016,11 @@ void HP_clif_buyingstore_disappear_entry(struct map_session_data *sd) {
void HP_clif_buyingstore_disappear_entry_single(struct map_session_data *sd, struct map_session_data *pl_sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_disappear_entry_single_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *pl_sd);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **pl_sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_disappear_entry_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_disappear_entry_single_pre[hIndex].func;
- preHookFunc(sd, pl_sd);
+ preHookFunc(&sd, &pl_sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17042,11 +17042,11 @@ void HP_clif_buyingstore_disappear_entry_single(struct map_session_data *sd, str
void HP_clif_buyingstore_itemlist(struct map_session_data *sd, struct map_session_data *pl_sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_itemlist_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *pl_sd);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **pl_sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_itemlist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_itemlist_pre[hIndex].func;
- preHookFunc(sd, pl_sd);
+ preHookFunc(&sd, &pl_sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17068,11 +17068,11 @@ void HP_clif_buyingstore_itemlist(struct map_session_data *sd, struct map_sessio
void HP_clif_buyingstore_trade_failed_buyer(struct map_session_data *sd, short result) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_trade_failed_buyer_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *result);
+ void (*preHookFunc) (struct map_session_data **sd, short *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_trade_failed_buyer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_trade_failed_buyer_pre[hIndex].func;
- preHookFunc(sd, &result);
+ preHookFunc(&sd, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17094,11 +17094,11 @@ void HP_clif_buyingstore_trade_failed_buyer(struct map_session_data *sd, short r
void HP_clif_buyingstore_update_item(struct map_session_data *sd, unsigned short nameid, unsigned short amount) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_update_item_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *nameid, unsigned short *amount);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *nameid, unsigned short *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_update_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_update_item_pre[hIndex].func;
- preHookFunc(sd, &nameid, &amount);
+ preHookFunc(&sd, &nameid, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17120,11 +17120,11 @@ void HP_clif_buyingstore_update_item(struct map_session_data *sd, unsigned short
void HP_clif_buyingstore_delete_item(struct map_session_data *sd, short index, unsigned short amount, int price) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_delete_item_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *index, unsigned short *amount, int *price);
+ void (*preHookFunc) (struct map_session_data **sd, short *index, unsigned short *amount, int *price);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_delete_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_delete_item_pre[hIndex].func;
- preHookFunc(sd, &index, &amount, &price);
+ preHookFunc(&sd, &index, &amount, &price);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17146,11 +17146,11 @@ void HP_clif_buyingstore_delete_item(struct map_session_data *sd, short index, u
void HP_clif_buyingstore_trade_failed_seller(struct map_session_data *sd, short result, unsigned short nameid) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_buyingstore_trade_failed_seller_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *result, unsigned short *nameid);
+ void (*preHookFunc) (struct map_session_data **sd, short *result, unsigned short *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_buyingstore_trade_failed_seller_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_buyingstore_trade_failed_seller_pre[hIndex].func;
- preHookFunc(sd, &result, &nameid);
+ preHookFunc(&sd, &result, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17172,11 +17172,11 @@ void HP_clif_buyingstore_trade_failed_seller(struct map_session_data *sd, short
void HP_clif_search_store_info_ack(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_search_store_info_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_search_store_info_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_search_store_info_ack_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17198,11 +17198,11 @@ void HP_clif_search_store_info_ack(struct map_session_data *sd) {
void HP_clif_search_store_info_failed(struct map_session_data *sd, unsigned char reason) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_search_store_info_failed_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *reason);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *reason);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_search_store_info_failed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_search_store_info_failed_pre[hIndex].func;
- preHookFunc(sd, &reason);
+ preHookFunc(&sd, &reason);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17224,11 +17224,11 @@ void HP_clif_search_store_info_failed(struct map_session_data *sd, unsigned char
void HP_clif_open_search_store_info(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_open_search_store_info_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_open_search_store_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_open_search_store_info_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17250,11 +17250,11 @@ void HP_clif_open_search_store_info(struct map_session_data *sd) {
void HP_clif_search_store_info_click_ack(struct map_session_data *sd, short x, short y) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_search_store_info_click_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *x, short *y);
+ void (*preHookFunc) (struct map_session_data **sd, short *x, short *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_search_store_info_click_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_search_store_info_click_ack_pre[hIndex].func;
- preHookFunc(sd, &x, &y);
+ preHookFunc(&sd, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17276,11 +17276,11 @@ void HP_clif_search_store_info_click_ack(struct map_session_data *sd, short x, s
void HP_clif_elemental_info(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_elemental_info_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_elemental_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_elemental_info_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17302,11 +17302,11 @@ void HP_clif_elemental_info(struct map_session_data *sd) {
void HP_clif_elemental_updatestatus(struct map_session_data *sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_elemental_updatestatus_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_elemental_updatestatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_elemental_updatestatus_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17328,11 +17328,11 @@ void HP_clif_elemental_updatestatus(struct map_session_data *sd, int type) {
void HP_clif_bgqueue_ack(struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_ACK response, unsigned char arena_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bgqueue_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_ACK *response, unsigned char *arena_id);
+ void (*preHookFunc) (struct map_session_data **sd, enum BATTLEGROUNDS_QUEUE_ACK *response, unsigned char *arena_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bgqueue_ack_pre[hIndex].func;
- preHookFunc(sd, &response, &arena_id);
+ preHookFunc(&sd, &response, &arena_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17354,11 +17354,11 @@ void HP_clif_bgqueue_ack(struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_A
void HP_clif_bgqueue_notice_delete(struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED response, const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bgqueue_notice_delete_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED *response, const char *name);
+ void (*preHookFunc) (struct map_session_data **sd, enum BATTLEGROUNDS_QUEUE_NOTICE_DELETED *response, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_notice_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bgqueue_notice_delete_pre[hIndex].func;
- preHookFunc(sd, &response, name);
+ preHookFunc(&sd, &response, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17380,11 +17380,11 @@ void HP_clif_bgqueue_notice_delete(struct map_session_data *sd, enum BATTLEGROUN
void HP_clif_bgqueue_update_info(struct map_session_data *sd, unsigned char arena_id, int position) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bgqueue_update_info_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *arena_id, int *position);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *arena_id, int *position);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_update_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bgqueue_update_info_pre[hIndex].func;
- preHookFunc(sd, &arena_id, &position);
+ preHookFunc(&sd, &arena_id, &position);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17406,11 +17406,11 @@ void HP_clif_bgqueue_update_info(struct map_session_data *sd, unsigned char aren
void HP_clif_bgqueue_joined(struct map_session_data *sd, int pos) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bgqueue_joined_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *pos);
+ void (*preHookFunc) (struct map_session_data **sd, int *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_joined_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bgqueue_joined_pre[hIndex].func;
- preHookFunc(sd, &pos);
+ preHookFunc(&sd, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17432,11 +17432,11 @@ void HP_clif_bgqueue_joined(struct map_session_data *sd, int pos) {
void HP_clif_bgqueue_pcleft(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bgqueue_pcleft_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_pcleft_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bgqueue_pcleft_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17458,11 +17458,11 @@ void HP_clif_bgqueue_pcleft(struct map_session_data *sd) {
void HP_clif_bgqueue_battlebegins(struct map_session_data *sd, unsigned char arena_id, enum send_target target) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bgqueue_battlebegins_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *arena_id, enum send_target *target);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *arena_id, enum send_target *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bgqueue_battlebegins_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bgqueue_battlebegins_pre[hIndex].func;
- preHookFunc(sd, &arena_id, &target);
+ preHookFunc(&sd, &arena_id, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17484,11 +17484,11 @@ void HP_clif_bgqueue_battlebegins(struct map_session_data *sd, unsigned char are
void HP_clif_adopt_reply(struct map_session_data *sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_adopt_reply_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_adopt_reply_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_adopt_reply_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17510,11 +17510,11 @@ void HP_clif_adopt_reply(struct map_session_data *sd, int type) {
void HP_clif_adopt_request(struct map_session_data *sd, struct map_session_data *src, int p_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_adopt_request_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *src, int *p_id);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **src, int *p_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_adopt_request_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_adopt_request_pre[hIndex].func;
- preHookFunc(sd, src, &p_id);
+ preHookFunc(&sd, &src, &p_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17562,11 +17562,11 @@ void HP_clif_readbook(int fd, int book_id, int page) {
void HP_clif_notify_time(struct map_session_data *sd, int64 time) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_notify_time_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int64 *time);
+ void (*preHookFunc) (struct map_session_data **sd, int64 *time);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_notify_time_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_notify_time_pre[hIndex].func;
- preHookFunc(sd, &time);
+ preHookFunc(&sd, &time);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17588,11 +17588,11 @@ void HP_clif_notify_time(struct map_session_data *sd, int64 time) {
void HP_clif_user_count(struct map_session_data *sd, int count) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_user_count_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *count);
+ void (*preHookFunc) (struct map_session_data **sd, int *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_user_count_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_user_count_pre[hIndex].func;
- preHookFunc(sd, &count);
+ preHookFunc(&sd, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17614,11 +17614,11 @@ void HP_clif_user_count(struct map_session_data *sd, int count) {
void HP_clif_noask_sub(struct map_session_data *src, struct map_session_data *target, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_noask_sub_pre ) {
- void (*preHookFunc) (struct map_session_data *src, struct map_session_data *target, int *type);
+ void (*preHookFunc) (struct map_session_data **src, struct map_session_data **target, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_noask_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_noask_sub_pre[hIndex].func;
- preHookFunc(src, target, &type);
+ preHookFunc(&src, &target, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17666,11 +17666,11 @@ void HP_clif_bc_ready(void) {
void HP_clif_channel_msg(struct channel_data *chan, struct map_session_data *sd, char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_channel_msg_pre ) {
- void (*preHookFunc) (struct channel_data *chan, struct map_session_data *sd, char *msg);
+ void (*preHookFunc) (struct channel_data **chan, struct map_session_data **sd, char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_channel_msg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_channel_msg_pre[hIndex].func;
- preHookFunc(chan, sd, msg);
+ preHookFunc(&chan, &sd, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17692,11 +17692,11 @@ void HP_clif_channel_msg(struct channel_data *chan, struct map_session_data *sd,
void HP_clif_channel_msg2(struct channel_data *chan, char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_channel_msg2_pre ) {
- void (*preHookFunc) (struct channel_data *chan, char *msg);
+ void (*preHookFunc) (struct channel_data **chan, char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_channel_msg2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_channel_msg2_pre[hIndex].func;
- preHookFunc(chan, msg);
+ preHookFunc(&chan, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17745,11 +17745,11 @@ int HP_clif_undisguise_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_clif_bank_deposit(struct map_session_data *sd, enum e_BANKING_DEPOSIT_ACK reason) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bank_deposit_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum e_BANKING_DEPOSIT_ACK *reason);
+ void (*preHookFunc) (struct map_session_data **sd, enum e_BANKING_DEPOSIT_ACK *reason);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bank_deposit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bank_deposit_pre[hIndex].func;
- preHookFunc(sd, &reason);
+ preHookFunc(&sd, &reason);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17771,11 +17771,11 @@ void HP_clif_bank_deposit(struct map_session_data *sd, enum e_BANKING_DEPOSIT_AC
void HP_clif_bank_withdraw(struct map_session_data *sd, enum e_BANKING_WITHDRAW_ACK reason) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_bank_withdraw_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum e_BANKING_WITHDRAW_ACK *reason);
+ void (*preHookFunc) (struct map_session_data **sd, enum e_BANKING_WITHDRAW_ACK *reason);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_bank_withdraw_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_bank_withdraw_pre[hIndex].func;
- preHookFunc(sd, &reason);
+ preHookFunc(&sd, &reason);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17797,11 +17797,11 @@ void HP_clif_bank_withdraw(struct map_session_data *sd, enum e_BANKING_WITHDRAW_
void HP_clif_show_modifiers(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_show_modifiers_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_show_modifiers_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_show_modifiers_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17823,11 +17823,11 @@ void HP_clif_show_modifiers(struct map_session_data *sd) {
void HP_clif_notify_bounditem(struct map_session_data *sd, unsigned short index) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_notify_bounditem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned short *index);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned short *index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_notify_bounditem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_notify_bounditem_pre[hIndex].func;
- preHookFunc(sd, &index);
+ preHookFunc(&sd, &index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17850,11 +17850,11 @@ int HP_clif_delay_damage(int64 tick, struct block_list *src, struct block_list *
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_delay_damage_pre ) {
- int (*preHookFunc) (int64 *tick, struct block_list *src, struct block_list *dst, int *sdelay, int *ddelay, int64 *in_damage, short *div, unsigned char *type);
+ int (*preHookFunc) (int64 *tick, struct block_list **src, struct block_list **dst, int *sdelay, int *ddelay, int64 *in_damage, short *div, unsigned char *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_delay_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_delay_damage_pre[hIndex].func;
- retVal___ = preHookFunc(&tick, src, dst, &sdelay, &ddelay, &in_damage, &div, &type);
+ retVal___ = preHookFunc(&tick, &src, &dst, &sdelay, &ddelay, &in_damage, &div, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17903,11 +17903,11 @@ int HP_clif_delay_damage_sub(int tid, int64 tick, int id, intptr_t data) {
void HP_clif_npc_market_open(struct map_session_data *sd, struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_npc_market_open_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct npc_data *nd);
+ void (*preHookFunc) (struct map_session_data **sd, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_npc_market_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_npc_market_open_pre[hIndex].func;
- preHookFunc(sd, nd);
+ preHookFunc(&sd, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17929,11 +17929,11 @@ void HP_clif_npc_market_open(struct map_session_data *sd, struct npc_data *nd) {
void HP_clif_npc_market_purchase_ack(struct map_session_data *sd, const struct itemlist *item_list, unsigned char response) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_npc_market_purchase_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const struct itemlist *item_list, unsigned char *response);
+ void (*preHookFunc) (struct map_session_data **sd, const struct itemlist **item_list, unsigned char *response);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_npc_market_purchase_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_npc_market_purchase_ack_pre[hIndex].func;
- preHookFunc(sd, item_list, &response);
+ preHookFunc(&sd, &item_list, &response);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -17982,11 +17982,11 @@ bool HP_clif_parse_roulette_db(void) {
void HP_clif_roulette_generate_ack(struct map_session_data *sd, unsigned char result, short stage, short prizeIdx, short bonusItemID) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_roulette_generate_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *result, short *stage, short *prizeIdx, short *bonusItemID);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *result, short *stage, short *prizeIdx, short *bonusItemID);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_roulette_generate_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_roulette_generate_ack_pre[hIndex].func;
- preHookFunc(sd, &result, &stage, &prizeIdx, &bonusItemID);
+ preHookFunc(&sd, &result, &stage, &prizeIdx, &bonusItemID);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18008,11 +18008,11 @@ void HP_clif_roulette_generate_ack(struct map_session_data *sd, unsigned char re
void HP_clif_openmergeitem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_openmergeitem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_openmergeitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_openmergeitem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18034,11 +18034,11 @@ void HP_clif_openmergeitem(int fd, struct map_session_data *sd) {
void HP_clif_cancelmergeitem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_cancelmergeitem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_cancelmergeitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_cancelmergeitem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18061,11 +18061,11 @@ int HP_clif_comparemergeitem(const void *a, const void *b) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_clif_comparemergeitem_pre ) {
- int (*preHookFunc) (const void *a, const void *b);
+ int (*preHookFunc) (const void **a, const void **b);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_comparemergeitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_comparemergeitem_pre[hIndex].func;
- retVal___ = preHookFunc(a, b);
+ retVal___ = preHookFunc(&a, &b);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18087,11 +18087,11 @@ int HP_clif_comparemergeitem(const void *a, const void *b) {
void HP_clif_ackmergeitems(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_ackmergeitems_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_ackmergeitems_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_ackmergeitems_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18113,11 +18113,11 @@ void HP_clif_ackmergeitems(int fd, struct map_session_data *sd) {
void HP_clif_pWantToConnection(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pWantToConnection_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pWantToConnection_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pWantToConnection_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18139,11 +18139,11 @@ void HP_clif_pWantToConnection(int fd, struct map_session_data *sd) {
void HP_clif_pLoadEndAck(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pLoadEndAck_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pLoadEndAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pLoadEndAck_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18165,11 +18165,11 @@ void HP_clif_pLoadEndAck(int fd, struct map_session_data *sd) {
void HP_clif_pTickSend(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pTickSend_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTickSend_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pTickSend_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18191,11 +18191,11 @@ void HP_clif_pTickSend(int fd, struct map_session_data *sd) {
void HP_clif_pHotkey(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pHotkey_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHotkey_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pHotkey_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18217,11 +18217,11 @@ void HP_clif_pHotkey(int fd, struct map_session_data *sd) {
void HP_clif_pProgressbar(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pProgressbar_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pProgressbar_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pProgressbar_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18243,11 +18243,11 @@ void HP_clif_pProgressbar(int fd, struct map_session_data *sd) {
void HP_clif_pWalkToXY(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pWalkToXY_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pWalkToXY_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pWalkToXY_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18269,11 +18269,11 @@ void HP_clif_pWalkToXY(int fd, struct map_session_data *sd) {
void HP_clif_pQuitGame(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pQuitGame_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pQuitGame_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pQuitGame_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18295,11 +18295,11 @@ void HP_clif_pQuitGame(int fd, struct map_session_data *sd) {
void HP_clif_pGetCharNameRequest(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGetCharNameRequest_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGetCharNameRequest_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGetCharNameRequest_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18321,11 +18321,11 @@ void HP_clif_pGetCharNameRequest(int fd, struct map_session_data *sd) {
void HP_clif_pGlobalMessage(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGlobalMessage_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGlobalMessage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGlobalMessage_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18347,11 +18347,11 @@ void HP_clif_pGlobalMessage(int fd, struct map_session_data *sd) {
void HP_clif_pMapMove(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMapMove_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMapMove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMapMove_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18373,11 +18373,11 @@ void HP_clif_pMapMove(int fd, struct map_session_data *sd) {
void HP_clif_pChangeDir(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pChangeDir_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangeDir_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pChangeDir_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18399,11 +18399,11 @@ void HP_clif_pChangeDir(int fd, struct map_session_data *sd) {
void HP_clif_pEmotion(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pEmotion_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pEmotion_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pEmotion_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18425,11 +18425,11 @@ void HP_clif_pEmotion(int fd, struct map_session_data *sd) {
void HP_clif_pHowManyConnections(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pHowManyConnections_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHowManyConnections_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pHowManyConnections_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18451,11 +18451,11 @@ void HP_clif_pHowManyConnections(int fd, struct map_session_data *sd) {
void HP_clif_pActionRequest(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pActionRequest_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pActionRequest_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pActionRequest_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18477,11 +18477,11 @@ void HP_clif_pActionRequest(int fd, struct map_session_data *sd) {
void HP_clif_pActionRequest_sub(struct map_session_data *sd, int action_type, int target_id, int64 tick) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pActionRequest_sub_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *action_type, int *target_id, int64 *tick);
+ void (*preHookFunc) (struct map_session_data **sd, int *action_type, int *target_id, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pActionRequest_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pActionRequest_sub_pre[hIndex].func;
- preHookFunc(sd, &action_type, &target_id, &tick);
+ preHookFunc(&sd, &action_type, &target_id, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18503,11 +18503,11 @@ void HP_clif_pActionRequest_sub(struct map_session_data *sd, int action_type, in
void HP_clif_pRestart(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRestart_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRestart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRestart_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18529,11 +18529,11 @@ void HP_clif_pRestart(int fd, struct map_session_data *sd) {
void HP_clif_pWisMessage(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pWisMessage_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pWisMessage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pWisMessage_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18555,11 +18555,11 @@ void HP_clif_pWisMessage(int fd, struct map_session_data *sd) {
void HP_clif_pBroadcast(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBroadcast_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBroadcast_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBroadcast_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18581,11 +18581,11 @@ void HP_clif_pBroadcast(int fd, struct map_session_data *sd) {
void HP_clif_pTakeItem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pTakeItem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTakeItem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pTakeItem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18607,11 +18607,11 @@ void HP_clif_pTakeItem(int fd, struct map_session_data *sd) {
void HP_clif_pDropItem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pDropItem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pDropItem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pDropItem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18633,11 +18633,11 @@ void HP_clif_pDropItem(int fd, struct map_session_data *sd) {
void HP_clif_pUseItem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseItem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseItem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseItem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18659,11 +18659,11 @@ void HP_clif_pUseItem(int fd, struct map_session_data *sd) {
void HP_clif_pEquipItem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pEquipItem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pEquipItem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pEquipItem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18685,11 +18685,11 @@ void HP_clif_pEquipItem(int fd, struct map_session_data *sd) {
void HP_clif_pUnequipItem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUnequipItem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUnequipItem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUnequipItem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18711,11 +18711,11 @@ void HP_clif_pUnequipItem(int fd, struct map_session_data *sd) {
void HP_clif_pNpcClicked(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNpcClicked_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcClicked_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNpcClicked_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18737,11 +18737,11 @@ void HP_clif_pNpcClicked(int fd, struct map_session_data *sd) {
void HP_clif_pNpcBuySellSelected(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNpcBuySellSelected_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcBuySellSelected_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNpcBuySellSelected_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18763,11 +18763,11 @@ void HP_clif_pNpcBuySellSelected(int fd, struct map_session_data *sd) {
void HP_clif_pNpcBuyListSend(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNpcBuyListSend_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcBuyListSend_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNpcBuyListSend_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18789,11 +18789,11 @@ void HP_clif_pNpcBuyListSend(int fd, struct map_session_data *sd) {
void HP_clif_pNpcSellListSend(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNpcSellListSend_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcSellListSend_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNpcSellListSend_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18815,11 +18815,11 @@ void HP_clif_pNpcSellListSend(int fd, struct map_session_data *sd) {
void HP_clif_pCreateChatRoom(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCreateChatRoom_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCreateChatRoom_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCreateChatRoom_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18841,11 +18841,11 @@ void HP_clif_pCreateChatRoom(int fd, struct map_session_data *sd) {
void HP_clif_pChatAddMember(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pChatAddMember_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChatAddMember_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pChatAddMember_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18867,11 +18867,11 @@ void HP_clif_pChatAddMember(int fd, struct map_session_data *sd) {
void HP_clif_pChatRoomStatusChange(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pChatRoomStatusChange_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChatRoomStatusChange_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pChatRoomStatusChange_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18893,11 +18893,11 @@ void HP_clif_pChatRoomStatusChange(int fd, struct map_session_data *sd) {
void HP_clif_pChangeChatOwner(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pChangeChatOwner_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangeChatOwner_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pChangeChatOwner_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18919,11 +18919,11 @@ void HP_clif_pChangeChatOwner(int fd, struct map_session_data *sd) {
void HP_clif_pKickFromChat(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pKickFromChat_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pKickFromChat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pKickFromChat_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18945,11 +18945,11 @@ void HP_clif_pKickFromChat(int fd, struct map_session_data *sd) {
void HP_clif_pChatLeave(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pChatLeave_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChatLeave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pChatLeave_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18971,11 +18971,11 @@ void HP_clif_pChatLeave(int fd, struct map_session_data *sd) {
void HP_clif_pTradeRequest(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pTradeRequest_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeRequest_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pTradeRequest_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -18997,11 +18997,11 @@ void HP_clif_pTradeRequest(int fd, struct map_session_data *sd) {
void HP_clif_pTradeAck(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pTradeAck_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pTradeAck_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19023,11 +19023,11 @@ void HP_clif_pTradeAck(int fd, struct map_session_data *sd) {
void HP_clif_pTradeAddItem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pTradeAddItem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeAddItem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pTradeAddItem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19049,11 +19049,11 @@ void HP_clif_pTradeAddItem(int fd, struct map_session_data *sd) {
void HP_clif_pTradeOk(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pTradeOk_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeOk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pTradeOk_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19075,11 +19075,11 @@ void HP_clif_pTradeOk(int fd, struct map_session_data *sd) {
void HP_clif_pTradeCancel(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pTradeCancel_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeCancel_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pTradeCancel_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19101,11 +19101,11 @@ void HP_clif_pTradeCancel(int fd, struct map_session_data *sd) {
void HP_clif_pTradeCommit(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pTradeCommit_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTradeCommit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pTradeCommit_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19127,11 +19127,11 @@ void HP_clif_pTradeCommit(int fd, struct map_session_data *sd) {
void HP_clif_pStopAttack(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pStopAttack_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pStopAttack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pStopAttack_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19153,11 +19153,11 @@ void HP_clif_pStopAttack(int fd, struct map_session_data *sd) {
void HP_clif_pPutItemToCart(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPutItemToCart_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPutItemToCart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPutItemToCart_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19179,11 +19179,11 @@ void HP_clif_pPutItemToCart(int fd, struct map_session_data *sd) {
void HP_clif_pGetItemFromCart(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGetItemFromCart_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGetItemFromCart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGetItemFromCart_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19205,11 +19205,11 @@ void HP_clif_pGetItemFromCart(int fd, struct map_session_data *sd) {
void HP_clif_pRemoveOption(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRemoveOption_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRemoveOption_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRemoveOption_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19231,11 +19231,11 @@ void HP_clif_pRemoveOption(int fd, struct map_session_data *sd) {
void HP_clif_pChangeCart(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pChangeCart_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangeCart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pChangeCart_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19257,11 +19257,11 @@ void HP_clif_pChangeCart(int fd, struct map_session_data *sd) {
void HP_clif_pStatusUp(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pStatusUp_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pStatusUp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pStatusUp_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19283,11 +19283,11 @@ void HP_clif_pStatusUp(int fd, struct map_session_data *sd) {
void HP_clif_pSkillUp(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSkillUp_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSkillUp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSkillUp_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19309,11 +19309,11 @@ void HP_clif_pSkillUp(int fd, struct map_session_data *sd) {
void HP_clif_pUseSkillToId(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseSkillToId_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToId_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseSkillToId_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19335,11 +19335,11 @@ void HP_clif_pUseSkillToId(int fd, struct map_session_data *sd) {
void HP_clif_pUseSkillToId_homun(struct homun_data *hd, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, int target_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseSkillToId_homun_pre ) {
- void (*preHookFunc) (struct homun_data *hd, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
+ void (*preHookFunc) (struct homun_data **hd, struct map_session_data **sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToId_homun_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseSkillToId_homun_pre[hIndex].func;
- preHookFunc(hd, sd, &tick, &skill_id, &skill_lv, &target_id);
+ preHookFunc(&hd, &sd, &tick, &skill_id, &skill_lv, &target_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19361,11 +19361,11 @@ void HP_clif_pUseSkillToId_homun(struct homun_data *hd, struct map_session_data
void HP_clif_pUseSkillToId_mercenary(struct mercenary_data *md, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, int target_id) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseSkillToId_mercenary_pre ) {
- void (*preHookFunc) (struct mercenary_data *md, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
+ void (*preHookFunc) (struct mercenary_data **md, struct map_session_data **sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, int *target_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToId_mercenary_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseSkillToId_mercenary_pre[hIndex].func;
- preHookFunc(md, sd, &tick, &skill_id, &skill_lv, &target_id);
+ preHookFunc(&md, &sd, &tick, &skill_id, &skill_lv, &target_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19387,11 +19387,11 @@ void HP_clif_pUseSkillToId_mercenary(struct mercenary_data *md, struct map_sessi
void HP_clif_pUseSkillToPos(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseSkillToPos_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseSkillToPos_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19413,11 +19413,11 @@ void HP_clif_pUseSkillToPos(int fd, struct map_session_data *sd) {
void HP_clif_pUseSkillToPosSub(int fd, struct map_session_data *sd, uint16 skill_lv, uint16 skill_id, short x, short y, int skillmoreinfo) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseSkillToPosSub_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd, uint16 *skill_lv, uint16 *skill_id, short *x, short *y, int *skillmoreinfo);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd, uint16 *skill_lv, uint16 *skill_id, short *x, short *y, int *skillmoreinfo);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPosSub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseSkillToPosSub_pre[hIndex].func;
- preHookFunc(&fd, sd, &skill_lv, &skill_id, &x, &y, &skillmoreinfo);
+ preHookFunc(&fd, &sd, &skill_lv, &skill_id, &x, &y, &skillmoreinfo);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19439,11 +19439,11 @@ void HP_clif_pUseSkillToPosSub(int fd, struct map_session_data *sd, uint16 skill
void HP_clif_pUseSkillToPos_homun(struct homun_data *hd, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, short x, short y, int skillmoreinfo) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseSkillToPos_homun_pre ) {
- void (*preHookFunc) (struct homun_data *hd, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
+ void (*preHookFunc) (struct homun_data **hd, struct map_session_data **sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPos_homun_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseSkillToPos_homun_pre[hIndex].func;
- preHookFunc(hd, sd, &tick, &skill_id, &skill_lv, &x, &y, &skillmoreinfo);
+ preHookFunc(&hd, &sd, &tick, &skill_id, &skill_lv, &x, &y, &skillmoreinfo);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19465,11 +19465,11 @@ void HP_clif_pUseSkillToPos_homun(struct homun_data *hd, struct map_session_data
void HP_clif_pUseSkillToPos_mercenary(struct mercenary_data *md, struct map_session_data *sd, int64 tick, uint16 skill_id, uint16 skill_lv, short x, short y, int skillmoreinfo) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseSkillToPos_mercenary_pre ) {
- void (*preHookFunc) (struct mercenary_data *md, struct map_session_data *sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
+ void (*preHookFunc) (struct mercenary_data **md, struct map_session_data **sd, int64 *tick, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *skillmoreinfo);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPos_mercenary_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseSkillToPos_mercenary_pre[hIndex].func;
- preHookFunc(md, sd, &tick, &skill_id, &skill_lv, &x, &y, &skillmoreinfo);
+ preHookFunc(&md, &sd, &tick, &skill_id, &skill_lv, &x, &y, &skillmoreinfo);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19491,11 +19491,11 @@ void HP_clif_pUseSkillToPos_mercenary(struct mercenary_data *md, struct map_sess
void HP_clif_pUseSkillToPosMoreInfo(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseSkillToPosMoreInfo_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillToPosMoreInfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseSkillToPosMoreInfo_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19517,11 +19517,11 @@ void HP_clif_pUseSkillToPosMoreInfo(int fd, struct map_session_data *sd) {
void HP_clif_pUseSkillMap(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseSkillMap_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseSkillMap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseSkillMap_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19543,11 +19543,11 @@ void HP_clif_pUseSkillMap(int fd, struct map_session_data *sd) {
void HP_clif_pRequestMemo(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRequestMemo_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRequestMemo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRequestMemo_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19569,11 +19569,11 @@ void HP_clif_pRequestMemo(int fd, struct map_session_data *sd) {
void HP_clif_pProduceMix(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pProduceMix_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pProduceMix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pProduceMix_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19595,11 +19595,11 @@ void HP_clif_pProduceMix(int fd, struct map_session_data *sd) {
void HP_clif_pCooking(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCooking_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCooking_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCooking_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19621,11 +19621,11 @@ void HP_clif_pCooking(int fd, struct map_session_data *sd) {
void HP_clif_pRepairItem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRepairItem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRepairItem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRepairItem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19647,11 +19647,11 @@ void HP_clif_pRepairItem(int fd, struct map_session_data *sd) {
void HP_clif_pWeaponRefine(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pWeaponRefine_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pWeaponRefine_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pWeaponRefine_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19673,11 +19673,11 @@ void HP_clif_pWeaponRefine(int fd, struct map_session_data *sd) {
void HP_clif_pNpcSelectMenu(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNpcSelectMenu_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcSelectMenu_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNpcSelectMenu_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19699,11 +19699,11 @@ void HP_clif_pNpcSelectMenu(int fd, struct map_session_data *sd) {
void HP_clif_pNpcNextClicked(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNpcNextClicked_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcNextClicked_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNpcNextClicked_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19725,11 +19725,11 @@ void HP_clif_pNpcNextClicked(int fd, struct map_session_data *sd) {
void HP_clif_pNpcAmountInput(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNpcAmountInput_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcAmountInput_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNpcAmountInput_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19751,11 +19751,11 @@ void HP_clif_pNpcAmountInput(int fd, struct map_session_data *sd) {
void HP_clif_pNpcStringInput(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNpcStringInput_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcStringInput_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNpcStringInput_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19777,11 +19777,11 @@ void HP_clif_pNpcStringInput(int fd, struct map_session_data *sd) {
void HP_clif_pNpcCloseClicked(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNpcCloseClicked_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNpcCloseClicked_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNpcCloseClicked_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19803,11 +19803,11 @@ void HP_clif_pNpcCloseClicked(int fd, struct map_session_data *sd) {
void HP_clif_pItemIdentify(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pItemIdentify_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pItemIdentify_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pItemIdentify_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19829,11 +19829,11 @@ void HP_clif_pItemIdentify(int fd, struct map_session_data *sd) {
void HP_clif_pSelectArrow(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSelectArrow_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSelectArrow_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSelectArrow_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19855,11 +19855,11 @@ void HP_clif_pSelectArrow(int fd, struct map_session_data *sd) {
void HP_clif_pAutoSpell(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAutoSpell_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAutoSpell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAutoSpell_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19881,11 +19881,11 @@ void HP_clif_pAutoSpell(int fd, struct map_session_data *sd) {
void HP_clif_pUseCard(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pUseCard_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pUseCard_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pUseCard_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19907,11 +19907,11 @@ void HP_clif_pUseCard(int fd, struct map_session_data *sd) {
void HP_clif_pInsertCard(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pInsertCard_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pInsertCard_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pInsertCard_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19933,11 +19933,11 @@ void HP_clif_pInsertCard(int fd, struct map_session_data *sd) {
void HP_clif_pSolveCharName(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSolveCharName_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSolveCharName_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSolveCharName_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19959,11 +19959,11 @@ void HP_clif_pSolveCharName(int fd, struct map_session_data *sd) {
void HP_clif_pResetChar(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pResetChar_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pResetChar_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pResetChar_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -19985,11 +19985,11 @@ void HP_clif_pResetChar(int fd, struct map_session_data *sd) {
void HP_clif_pLocalBroadcast(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pLocalBroadcast_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pLocalBroadcast_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pLocalBroadcast_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20011,11 +20011,11 @@ void HP_clif_pLocalBroadcast(int fd, struct map_session_data *sd) {
void HP_clif_pMoveToKafra(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMoveToKafra_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveToKafra_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMoveToKafra_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20037,11 +20037,11 @@ void HP_clif_pMoveToKafra(int fd, struct map_session_data *sd) {
void HP_clif_pMoveFromKafra(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMoveFromKafra_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveFromKafra_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMoveFromKafra_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20063,11 +20063,11 @@ void HP_clif_pMoveFromKafra(int fd, struct map_session_data *sd) {
void HP_clif_pMoveToKafraFromCart(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMoveToKafraFromCart_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveToKafraFromCart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMoveToKafraFromCart_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20089,11 +20089,11 @@ void HP_clif_pMoveToKafraFromCart(int fd, struct map_session_data *sd) {
void HP_clif_pMoveFromKafraToCart(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMoveFromKafraToCart_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveFromKafraToCart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMoveFromKafraToCart_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20115,11 +20115,11 @@ void HP_clif_pMoveFromKafraToCart(int fd, struct map_session_data *sd) {
void HP_clif_pCloseKafra(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCloseKafra_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCloseKafra_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCloseKafra_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20141,11 +20141,11 @@ void HP_clif_pCloseKafra(int fd, struct map_session_data *sd) {
void HP_clif_pStoragePassword(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pStoragePassword_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pStoragePassword_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pStoragePassword_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20167,11 +20167,11 @@ void HP_clif_pStoragePassword(int fd, struct map_session_data *sd) {
void HP_clif_pCreateParty(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCreateParty_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCreateParty_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCreateParty_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20193,11 +20193,11 @@ void HP_clif_pCreateParty(int fd, struct map_session_data *sd) {
void HP_clif_pCreateParty2(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCreateParty2_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCreateParty2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCreateParty2_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20219,11 +20219,11 @@ void HP_clif_pCreateParty2(int fd, struct map_session_data *sd) {
void HP_clif_pPartyInvite(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyInvite_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyInvite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyInvite_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20245,11 +20245,11 @@ void HP_clif_pPartyInvite(int fd, struct map_session_data *sd) {
void HP_clif_pPartyInvite2(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyInvite2_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyInvite2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyInvite2_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20271,11 +20271,11 @@ void HP_clif_pPartyInvite2(int fd, struct map_session_data *sd) {
void HP_clif_pReplyPartyInvite(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pReplyPartyInvite_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReplyPartyInvite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pReplyPartyInvite_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20297,11 +20297,11 @@ void HP_clif_pReplyPartyInvite(int fd, struct map_session_data *sd) {
void HP_clif_pReplyPartyInvite2(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pReplyPartyInvite2_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReplyPartyInvite2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pReplyPartyInvite2_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20323,11 +20323,11 @@ void HP_clif_pReplyPartyInvite2(int fd, struct map_session_data *sd) {
void HP_clif_pLeaveParty(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pLeaveParty_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pLeaveParty_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pLeaveParty_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20349,11 +20349,11 @@ void HP_clif_pLeaveParty(int fd, struct map_session_data *sd) {
void HP_clif_pRemovePartyMember(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRemovePartyMember_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRemovePartyMember_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRemovePartyMember_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20375,11 +20375,11 @@ void HP_clif_pRemovePartyMember(int fd, struct map_session_data *sd) {
void HP_clif_pPartyChangeOption(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyChangeOption_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyChangeOption_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyChangeOption_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20401,11 +20401,11 @@ void HP_clif_pPartyChangeOption(int fd, struct map_session_data *sd) {
void HP_clif_pPartyMessage(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyMessage_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyMessage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyMessage_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20427,11 +20427,11 @@ void HP_clif_pPartyMessage(int fd, struct map_session_data *sd) {
void HP_clif_pPartyChangeLeader(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyChangeLeader_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyChangeLeader_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyChangeLeader_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20453,11 +20453,11 @@ void HP_clif_pPartyChangeLeader(int fd, struct map_session_data *sd) {
void HP_clif_pPartyBookingRegisterReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyBookingRegisterReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingRegisterReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyBookingRegisterReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20479,11 +20479,11 @@ void HP_clif_pPartyBookingRegisterReq(int fd, struct map_session_data *sd) {
void HP_clif_pPartyBookingSearchReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyBookingSearchReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingSearchReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyBookingSearchReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20505,11 +20505,11 @@ void HP_clif_pPartyBookingSearchReq(int fd, struct map_session_data *sd) {
void HP_clif_pPartyBookingDeleteReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyBookingDeleteReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingDeleteReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyBookingDeleteReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20531,11 +20531,11 @@ void HP_clif_pPartyBookingDeleteReq(int fd, struct map_session_data *sd) {
void HP_clif_pPartyBookingUpdateReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyBookingUpdateReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingUpdateReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyBookingUpdateReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20557,11 +20557,11 @@ void HP_clif_pPartyBookingUpdateReq(int fd, struct map_session_data *sd) {
void HP_clif_pPartyRecruitRegisterReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyRecruitRegisterReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyRecruitRegisterReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyRecruitRegisterReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20583,11 +20583,11 @@ void HP_clif_pPartyRecruitRegisterReq(int fd, struct map_session_data *sd) {
void HP_clif_pPartyRecruitSearchReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyRecruitSearchReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyRecruitSearchReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyRecruitSearchReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20609,11 +20609,11 @@ void HP_clif_pPartyRecruitSearchReq(int fd, struct map_session_data *sd) {
void HP_clif_pPartyRecruitDeleteReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyRecruitDeleteReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyRecruitDeleteReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyRecruitDeleteReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20635,11 +20635,11 @@ void HP_clif_pPartyRecruitDeleteReq(int fd, struct map_session_data *sd) {
void HP_clif_pPartyRecruitUpdateReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyRecruitUpdateReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyRecruitUpdateReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyRecruitUpdateReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20661,11 +20661,11 @@ void HP_clif_pPartyRecruitUpdateReq(int fd, struct map_session_data *sd) {
void HP_clif_pCloseVending(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCloseVending_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCloseVending_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCloseVending_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20687,11 +20687,11 @@ void HP_clif_pCloseVending(int fd, struct map_session_data *sd) {
void HP_clif_pVendingListReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pVendingListReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pVendingListReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pVendingListReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20713,11 +20713,11 @@ void HP_clif_pVendingListReq(int fd, struct map_session_data *sd) {
void HP_clif_pPurchaseReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPurchaseReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPurchaseReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPurchaseReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20739,11 +20739,11 @@ void HP_clif_pPurchaseReq(int fd, struct map_session_data *sd) {
void HP_clif_pPurchaseReq2(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPurchaseReq2_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPurchaseReq2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPurchaseReq2_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20765,11 +20765,11 @@ void HP_clif_pPurchaseReq2(int fd, struct map_session_data *sd) {
void HP_clif_pOpenVending(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pOpenVending_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pOpenVending_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pOpenVending_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20791,11 +20791,11 @@ void HP_clif_pOpenVending(int fd, struct map_session_data *sd) {
void HP_clif_pCreateGuild(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCreateGuild_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCreateGuild_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCreateGuild_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20817,11 +20817,11 @@ void HP_clif_pCreateGuild(int fd, struct map_session_data *sd) {
void HP_clif_pGuildCheckMaster(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildCheckMaster_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildCheckMaster_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildCheckMaster_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20843,11 +20843,11 @@ void HP_clif_pGuildCheckMaster(int fd, struct map_session_data *sd) {
void HP_clif_pGuildRequestInfo(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildRequestInfo_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildRequestInfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildRequestInfo_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20869,11 +20869,11 @@ void HP_clif_pGuildRequestInfo(int fd, struct map_session_data *sd) {
void HP_clif_pGuildChangePositionInfo(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildChangePositionInfo_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildChangePositionInfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildChangePositionInfo_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20895,11 +20895,11 @@ void HP_clif_pGuildChangePositionInfo(int fd, struct map_session_data *sd) {
void HP_clif_pGuildChangeMemberPosition(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildChangeMemberPosition_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildChangeMemberPosition_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildChangeMemberPosition_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20921,11 +20921,11 @@ void HP_clif_pGuildChangeMemberPosition(int fd, struct map_session_data *sd) {
void HP_clif_pGuildRequestEmblem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildRequestEmblem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildRequestEmblem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildRequestEmblem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20947,11 +20947,11 @@ void HP_clif_pGuildRequestEmblem(int fd, struct map_session_data *sd) {
void HP_clif_pGuildChangeEmblem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildChangeEmblem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildChangeEmblem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildChangeEmblem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20973,11 +20973,11 @@ void HP_clif_pGuildChangeEmblem(int fd, struct map_session_data *sd) {
void HP_clif_pGuildChangeNotice(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildChangeNotice_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildChangeNotice_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildChangeNotice_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -20999,11 +20999,11 @@ void HP_clif_pGuildChangeNotice(int fd, struct map_session_data *sd) {
void HP_clif_pGuildInvite(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildInvite_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildInvite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildInvite_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21025,11 +21025,11 @@ void HP_clif_pGuildInvite(int fd, struct map_session_data *sd) {
void HP_clif_pGuildReplyInvite(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildReplyInvite_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildReplyInvite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildReplyInvite_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21051,11 +21051,11 @@ void HP_clif_pGuildReplyInvite(int fd, struct map_session_data *sd) {
void HP_clif_pGuildLeave(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildLeave_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildLeave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildLeave_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21077,11 +21077,11 @@ void HP_clif_pGuildLeave(int fd, struct map_session_data *sd) {
void HP_clif_pGuildExpulsion(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildExpulsion_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildExpulsion_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildExpulsion_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21103,11 +21103,11 @@ void HP_clif_pGuildExpulsion(int fd, struct map_session_data *sd) {
void HP_clif_pGuildMessage(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildMessage_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildMessage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildMessage_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21129,11 +21129,11 @@ void HP_clif_pGuildMessage(int fd, struct map_session_data *sd) {
void HP_clif_pGuildRequestAlliance(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildRequestAlliance_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildRequestAlliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildRequestAlliance_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21155,11 +21155,11 @@ void HP_clif_pGuildRequestAlliance(int fd, struct map_session_data *sd) {
void HP_clif_pGuildReplyAlliance(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildReplyAlliance_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildReplyAlliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildReplyAlliance_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21181,11 +21181,11 @@ void HP_clif_pGuildReplyAlliance(int fd, struct map_session_data *sd) {
void HP_clif_pGuildDelAlliance(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildDelAlliance_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildDelAlliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildDelAlliance_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21207,11 +21207,11 @@ void HP_clif_pGuildDelAlliance(int fd, struct map_session_data *sd) {
void HP_clif_pGuildOpposition(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildOpposition_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildOpposition_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildOpposition_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21233,11 +21233,11 @@ void HP_clif_pGuildOpposition(int fd, struct map_session_data *sd) {
void HP_clif_pGuildBreak(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildBreak_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildBreak_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildBreak_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21259,11 +21259,11 @@ void HP_clif_pGuildBreak(int fd, struct map_session_data *sd) {
void HP_clif_pPetMenu(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPetMenu_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPetMenu_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPetMenu_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21285,11 +21285,11 @@ void HP_clif_pPetMenu(int fd, struct map_session_data *sd) {
void HP_clif_pCatchPet(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCatchPet_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCatchPet_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCatchPet_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21311,11 +21311,11 @@ void HP_clif_pCatchPet(int fd, struct map_session_data *sd) {
void HP_clif_pSelectEgg(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSelectEgg_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSelectEgg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSelectEgg_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21337,11 +21337,11 @@ void HP_clif_pSelectEgg(int fd, struct map_session_data *sd) {
void HP_clif_pSendEmotion(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSendEmotion_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSendEmotion_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSendEmotion_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21363,11 +21363,11 @@ void HP_clif_pSendEmotion(int fd, struct map_session_data *sd) {
void HP_clif_pChangePetName(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pChangePetName_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangePetName_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pChangePetName_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21389,11 +21389,11 @@ void HP_clif_pChangePetName(int fd, struct map_session_data *sd) {
void HP_clif_pGMKick(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMKick_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMKick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMKick_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21415,11 +21415,11 @@ void HP_clif_pGMKick(int fd, struct map_session_data *sd) {
void HP_clif_pGMKickAll(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMKickAll_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMKickAll_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMKickAll_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21441,11 +21441,11 @@ void HP_clif_pGMKickAll(int fd, struct map_session_data *sd) {
void HP_clif_pGMShift(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMShift_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMShift_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMShift_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21467,11 +21467,11 @@ void HP_clif_pGMShift(int fd, struct map_session_data *sd) {
void HP_clif_pGMRemove2(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMRemove2_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMRemove2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMRemove2_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21493,11 +21493,11 @@ void HP_clif_pGMRemove2(int fd, struct map_session_data *sd) {
void HP_clif_pGMRecall(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMRecall_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMRecall_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMRecall_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21519,11 +21519,11 @@ void HP_clif_pGMRecall(int fd, struct map_session_data *sd) {
void HP_clif_pGMRecall2(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMRecall2_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMRecall2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMRecall2_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21545,11 +21545,11 @@ void HP_clif_pGMRecall2(int fd, struct map_session_data *sd) {
void HP_clif_pGM_Monster_Item(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGM_Monster_Item_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGM_Monster_Item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGM_Monster_Item_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21571,11 +21571,11 @@ void HP_clif_pGM_Monster_Item(int fd, struct map_session_data *sd) {
void HP_clif_pGMHide(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMHide_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMHide_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMHide_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21597,11 +21597,11 @@ void HP_clif_pGMHide(int fd, struct map_session_data *sd) {
void HP_clif_pGMReqNoChat(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMReqNoChat_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMReqNoChat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMReqNoChat_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21623,11 +21623,11 @@ void HP_clif_pGMReqNoChat(int fd, struct map_session_data *sd) {
void HP_clif_pGMRc(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMRc_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMRc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMRc_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21649,11 +21649,11 @@ void HP_clif_pGMRc(int fd, struct map_session_data *sd) {
void HP_clif_pGMReqAccountName(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMReqAccountName_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMReqAccountName_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMReqAccountName_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21675,11 +21675,11 @@ void HP_clif_pGMReqAccountName(int fd, struct map_session_data *sd) {
void HP_clif_pGMChangeMapType(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMChangeMapType_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMChangeMapType_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMChangeMapType_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21701,11 +21701,11 @@ void HP_clif_pGMChangeMapType(int fd, struct map_session_data *sd) {
void HP_clif_pGMFullStrip(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGMFullStrip_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGMFullStrip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGMFullStrip_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21727,11 +21727,11 @@ void HP_clif_pGMFullStrip(int fd, struct map_session_data *sd) {
void HP_clif_pPMIgnore(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPMIgnore_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPMIgnore_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPMIgnore_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21753,11 +21753,11 @@ void HP_clif_pPMIgnore(int fd, struct map_session_data *sd) {
void HP_clif_pPMIgnoreAll(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPMIgnoreAll_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPMIgnoreAll_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPMIgnoreAll_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21779,11 +21779,11 @@ void HP_clif_pPMIgnoreAll(int fd, struct map_session_data *sd) {
void HP_clif_pPMIgnoreList(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPMIgnoreList_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPMIgnoreList_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPMIgnoreList_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21805,11 +21805,11 @@ void HP_clif_pPMIgnoreList(int fd, struct map_session_data *sd) {
void HP_clif_pNoviceDoriDori(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNoviceDoriDori_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNoviceDoriDori_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNoviceDoriDori_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21831,11 +21831,11 @@ void HP_clif_pNoviceDoriDori(int fd, struct map_session_data *sd) {
void HP_clif_pNoviceExplosionSpirits(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNoviceExplosionSpirits_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNoviceExplosionSpirits_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNoviceExplosionSpirits_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21857,11 +21857,11 @@ void HP_clif_pNoviceExplosionSpirits(int fd, struct map_session_data *sd) {
void HP_clif_pFriendsListAdd(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pFriendsListAdd_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pFriendsListAdd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pFriendsListAdd_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21883,11 +21883,11 @@ void HP_clif_pFriendsListAdd(int fd, struct map_session_data *sd) {
void HP_clif_pFriendsListReply(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pFriendsListReply_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pFriendsListReply_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pFriendsListReply_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21909,11 +21909,11 @@ void HP_clif_pFriendsListReply(int fd, struct map_session_data *sd) {
void HP_clif_pFriendsListRemove(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pFriendsListRemove_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pFriendsListRemove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pFriendsListRemove_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21935,11 +21935,11 @@ void HP_clif_pFriendsListRemove(int fd, struct map_session_data *sd) {
void HP_clif_pPVPInfo(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPVPInfo_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPVPInfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPVPInfo_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21961,11 +21961,11 @@ void HP_clif_pPVPInfo(int fd, struct map_session_data *sd) {
void HP_clif_pBlacksmith(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBlacksmith_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBlacksmith_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBlacksmith_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -21987,11 +21987,11 @@ void HP_clif_pBlacksmith(int fd, struct map_session_data *sd) {
void HP_clif_pAlchemist(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAlchemist_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAlchemist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAlchemist_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22013,11 +22013,11 @@ void HP_clif_pAlchemist(int fd, struct map_session_data *sd) {
void HP_clif_pTaekwon(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pTaekwon_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pTaekwon_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pTaekwon_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22039,11 +22039,11 @@ void HP_clif_pTaekwon(int fd, struct map_session_data *sd) {
void HP_clif_pRankingPk(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRankingPk_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRankingPk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRankingPk_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22065,11 +22065,11 @@ void HP_clif_pRankingPk(int fd, struct map_session_data *sd) {
void HP_clif_pFeelSaveOk(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pFeelSaveOk_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pFeelSaveOk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pFeelSaveOk_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22091,11 +22091,11 @@ void HP_clif_pFeelSaveOk(int fd, struct map_session_data *sd) {
void HP_clif_pChangeHomunculusName(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pChangeHomunculusName_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pChangeHomunculusName_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pChangeHomunculusName_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22117,11 +22117,11 @@ void HP_clif_pChangeHomunculusName(int fd, struct map_session_data *sd) {
void HP_clif_pHomMoveToMaster(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pHomMoveToMaster_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHomMoveToMaster_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pHomMoveToMaster_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22143,11 +22143,11 @@ void HP_clif_pHomMoveToMaster(int fd, struct map_session_data *sd) {
void HP_clif_pHomMoveTo(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pHomMoveTo_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHomMoveTo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pHomMoveTo_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22169,11 +22169,11 @@ void HP_clif_pHomMoveTo(int fd, struct map_session_data *sd) {
void HP_clif_pHomAttack(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pHomAttack_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHomAttack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pHomAttack_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22195,11 +22195,11 @@ void HP_clif_pHomAttack(int fd, struct map_session_data *sd) {
void HP_clif_pHomMenu(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pHomMenu_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHomMenu_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pHomMenu_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22221,11 +22221,11 @@ void HP_clif_pHomMenu(int fd, struct map_session_data *sd) {
void HP_clif_pAutoRevive(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAutoRevive_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAutoRevive_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAutoRevive_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22247,11 +22247,11 @@ void HP_clif_pAutoRevive(int fd, struct map_session_data *sd) {
void HP_clif_pCheck(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCheck_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCheck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCheck_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22273,11 +22273,11 @@ void HP_clif_pCheck(int fd, struct map_session_data *sd) {
void HP_clif_pMail_refreshinbox(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMail_refreshinbox_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_refreshinbox_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMail_refreshinbox_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22299,11 +22299,11 @@ void HP_clif_pMail_refreshinbox(int fd, struct map_session_data *sd) {
void HP_clif_pMail_read(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMail_read_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMail_read_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22325,11 +22325,11 @@ void HP_clif_pMail_read(int fd, struct map_session_data *sd) {
void HP_clif_pMail_getattach(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMail_getattach_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_getattach_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMail_getattach_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22351,11 +22351,11 @@ void HP_clif_pMail_getattach(int fd, struct map_session_data *sd) {
void HP_clif_pMail_delete(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMail_delete_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMail_delete_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22377,11 +22377,11 @@ void HP_clif_pMail_delete(int fd, struct map_session_data *sd) {
void HP_clif_pMail_return(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMail_return_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_return_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMail_return_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22403,11 +22403,11 @@ void HP_clif_pMail_return(int fd, struct map_session_data *sd) {
void HP_clif_pMail_setattach(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMail_setattach_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_setattach_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMail_setattach_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22429,11 +22429,11 @@ void HP_clif_pMail_setattach(int fd, struct map_session_data *sd) {
void HP_clif_pMail_winopen(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMail_winopen_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_winopen_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMail_winopen_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22455,11 +22455,11 @@ void HP_clif_pMail_winopen(int fd, struct map_session_data *sd) {
void HP_clif_pMail_send(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMail_send_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMail_send_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMail_send_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22481,11 +22481,11 @@ void HP_clif_pMail_send(int fd, struct map_session_data *sd) {
void HP_clif_pAuction_cancelreg(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAuction_cancelreg_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_cancelreg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAuction_cancelreg_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22507,11 +22507,11 @@ void HP_clif_pAuction_cancelreg(int fd, struct map_session_data *sd) {
void HP_clif_pAuction_setitem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAuction_setitem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_setitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAuction_setitem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22533,11 +22533,11 @@ void HP_clif_pAuction_setitem(int fd, struct map_session_data *sd) {
void HP_clif_pAuction_register(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAuction_register_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_register_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAuction_register_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22559,11 +22559,11 @@ void HP_clif_pAuction_register(int fd, struct map_session_data *sd) {
void HP_clif_pAuction_cancel(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAuction_cancel_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_cancel_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAuction_cancel_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22585,11 +22585,11 @@ void HP_clif_pAuction_cancel(int fd, struct map_session_data *sd) {
void HP_clif_pAuction_close(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAuction_close_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_close_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAuction_close_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22611,11 +22611,11 @@ void HP_clif_pAuction_close(int fd, struct map_session_data *sd) {
void HP_clif_pAuction_bid(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAuction_bid_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_bid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAuction_bid_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22637,11 +22637,11 @@ void HP_clif_pAuction_bid(int fd, struct map_session_data *sd) {
void HP_clif_pAuction_search(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAuction_search_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAuction_search_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22663,11 +22663,11 @@ void HP_clif_pAuction_search(int fd, struct map_session_data *sd) {
void HP_clif_pAuction_buysell(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAuction_buysell_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAuction_buysell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAuction_buysell_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22689,11 +22689,11 @@ void HP_clif_pAuction_buysell(int fd, struct map_session_data *sd) {
void HP_clif_pcashshop_buy(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pcashshop_buy_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pcashshop_buy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pcashshop_buy_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22715,11 +22715,11 @@ void HP_clif_pcashshop_buy(int fd, struct map_session_data *sd) {
void HP_clif_pAdopt_request(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAdopt_request_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAdopt_request_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAdopt_request_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22741,11 +22741,11 @@ void HP_clif_pAdopt_request(int fd, struct map_session_data *sd) {
void HP_clif_pAdopt_reply(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pAdopt_reply_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pAdopt_reply_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pAdopt_reply_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22767,11 +22767,11 @@ void HP_clif_pAdopt_reply(int fd, struct map_session_data *sd) {
void HP_clif_pViewPlayerEquip(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pViewPlayerEquip_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pViewPlayerEquip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pViewPlayerEquip_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22793,11 +22793,11 @@ void HP_clif_pViewPlayerEquip(int fd, struct map_session_data *sd) {
void HP_clif_pEquipTick(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pEquipTick_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pEquipTick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pEquipTick_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22819,11 +22819,11 @@ void HP_clif_pEquipTick(int fd, struct map_session_data *sd) {
void HP_clif_pquestStateAck(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pquestStateAck_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pquestStateAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pquestStateAck_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22845,11 +22845,11 @@ void HP_clif_pquestStateAck(int fd, struct map_session_data *sd) {
void HP_clif_pmercenary_action(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pmercenary_action_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pmercenary_action_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pmercenary_action_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22871,11 +22871,11 @@ void HP_clif_pmercenary_action(int fd, struct map_session_data *sd) {
void HP_clif_pBattleChat(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBattleChat_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBattleChat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBattleChat_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22897,11 +22897,11 @@ void HP_clif_pBattleChat(int fd, struct map_session_data *sd) {
void HP_clif_pLessEffect(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pLessEffect_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pLessEffect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pLessEffect_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22923,11 +22923,11 @@ void HP_clif_pLessEffect(int fd, struct map_session_data *sd) {
void HP_clif_pItemListWindowSelected(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pItemListWindowSelected_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pItemListWindowSelected_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pItemListWindowSelected_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22949,11 +22949,11 @@ void HP_clif_pItemListWindowSelected(int fd, struct map_session_data *sd) {
void HP_clif_pReqOpenBuyingStore(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pReqOpenBuyingStore_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReqOpenBuyingStore_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pReqOpenBuyingStore_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -22975,11 +22975,11 @@ void HP_clif_pReqOpenBuyingStore(int fd, struct map_session_data *sd) {
void HP_clif_pReqCloseBuyingStore(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pReqCloseBuyingStore_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReqCloseBuyingStore_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pReqCloseBuyingStore_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23001,11 +23001,11 @@ void HP_clif_pReqCloseBuyingStore(int fd, struct map_session_data *sd) {
void HP_clif_pReqClickBuyingStore(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pReqClickBuyingStore_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReqClickBuyingStore_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pReqClickBuyingStore_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23027,11 +23027,11 @@ void HP_clif_pReqClickBuyingStore(int fd, struct map_session_data *sd) {
void HP_clif_pReqTradeBuyingStore(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pReqTradeBuyingStore_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pReqTradeBuyingStore_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pReqTradeBuyingStore_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23053,11 +23053,11 @@ void HP_clif_pReqTradeBuyingStore(int fd, struct map_session_data *sd) {
void HP_clif_pSearchStoreInfo(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSearchStoreInfo_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSearchStoreInfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSearchStoreInfo_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23079,11 +23079,11 @@ void HP_clif_pSearchStoreInfo(int fd, struct map_session_data *sd) {
void HP_clif_pSearchStoreInfoNextPage(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSearchStoreInfoNextPage_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSearchStoreInfoNextPage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSearchStoreInfoNextPage_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23105,11 +23105,11 @@ void HP_clif_pSearchStoreInfoNextPage(int fd, struct map_session_data *sd) {
void HP_clif_pCloseSearchStoreInfo(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCloseSearchStoreInfo_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCloseSearchStoreInfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCloseSearchStoreInfo_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23131,11 +23131,11 @@ void HP_clif_pCloseSearchStoreInfo(int fd, struct map_session_data *sd) {
void HP_clif_pSearchStoreInfoListItemClick(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSearchStoreInfoListItemClick_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSearchStoreInfoListItemClick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSearchStoreInfoListItemClick_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23157,11 +23157,11 @@ void HP_clif_pSearchStoreInfoListItemClick(int fd, struct map_session_data *sd)
void HP_clif_pDebug(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pDebug_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pDebug_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pDebug_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23183,11 +23183,11 @@ void HP_clif_pDebug(int fd, struct map_session_data *sd) {
void HP_clif_pSkillSelectMenu(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSkillSelectMenu_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSkillSelectMenu_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSkillSelectMenu_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23209,11 +23209,11 @@ void HP_clif_pSkillSelectMenu(int fd, struct map_session_data *sd) {
void HP_clif_pMoveItem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pMoveItem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pMoveItem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pMoveItem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23235,11 +23235,11 @@ void HP_clif_pMoveItem(int fd, struct map_session_data *sd) {
void HP_clif_pDull(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pDull_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pDull_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pDull_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23261,11 +23261,11 @@ void HP_clif_pDull(int fd, struct map_session_data *sd) {
void HP_clif_pBGQueueRegister(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBGQueueRegister_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBGQueueRegister_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBGQueueRegister_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23287,11 +23287,11 @@ void HP_clif_pBGQueueRegister(int fd, struct map_session_data *sd) {
void HP_clif_pBGQueueCheckState(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBGQueueCheckState_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBGQueueCheckState_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBGQueueCheckState_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23313,11 +23313,11 @@ void HP_clif_pBGQueueCheckState(int fd, struct map_session_data *sd) {
void HP_clif_pBGQueueRevokeReq(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBGQueueRevokeReq_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBGQueueRevokeReq_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBGQueueRevokeReq_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23339,11 +23339,11 @@ void HP_clif_pBGQueueRevokeReq(int fd, struct map_session_data *sd) {
void HP_clif_pBGQueueBattleBeginAck(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBGQueueBattleBeginAck_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBGQueueBattleBeginAck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBGQueueBattleBeginAck_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23365,11 +23365,11 @@ void HP_clif_pBGQueueBattleBeginAck(int fd, struct map_session_data *sd) {
void HP_clif_pCashShopOpen(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCashShopOpen_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopOpen_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCashShopOpen_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23391,11 +23391,11 @@ void HP_clif_pCashShopOpen(int fd, struct map_session_data *sd) {
void HP_clif_pCashShopClose(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCashShopClose_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopClose_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCashShopClose_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23417,11 +23417,11 @@ void HP_clif_pCashShopClose(int fd, struct map_session_data *sd) {
void HP_clif_pCashShopReqTab(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCashShopReqTab_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopReqTab_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCashShopReqTab_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23443,11 +23443,11 @@ void HP_clif_pCashShopReqTab(int fd, struct map_session_data *sd) {
void HP_clif_pCashShopSchedule(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCashShopSchedule_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopSchedule_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCashShopSchedule_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23469,11 +23469,11 @@ void HP_clif_pCashShopSchedule(int fd, struct map_session_data *sd) {
void HP_clif_pCashShopBuy(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pCashShopBuy_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pCashShopBuy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pCashShopBuy_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23495,11 +23495,11 @@ void HP_clif_pCashShopBuy(int fd, struct map_session_data *sd) {
void HP_clif_pPartyTick(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyTick_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyTick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyTick_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23521,11 +23521,11 @@ void HP_clif_pPartyTick(int fd, struct map_session_data *sd) {
void HP_clif_pGuildInvite2(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pGuildInvite2_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pGuildInvite2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pGuildInvite2_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23547,11 +23547,11 @@ void HP_clif_pGuildInvite2(int fd, struct map_session_data *sd) {
void HP_clif_pPartyBookingAddFilter(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyBookingAddFilter_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingAddFilter_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyBookingAddFilter_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23573,11 +23573,11 @@ void HP_clif_pPartyBookingAddFilter(int fd, struct map_session_data *sd) {
void HP_clif_pPartyBookingSubFilter(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyBookingSubFilter_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingSubFilter_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyBookingSubFilter_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23599,11 +23599,11 @@ void HP_clif_pPartyBookingSubFilter(int fd, struct map_session_data *sd) {
void HP_clif_pPartyBookingReqVolunteer(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyBookingReqVolunteer_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingReqVolunteer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyBookingReqVolunteer_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23625,11 +23625,11 @@ void HP_clif_pPartyBookingReqVolunteer(int fd, struct map_session_data *sd) {
void HP_clif_pPartyBookingRefuseVolunteer(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyBookingRefuseVolunteer_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingRefuseVolunteer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyBookingRefuseVolunteer_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23651,11 +23651,11 @@ void HP_clif_pPartyBookingRefuseVolunteer(int fd, struct map_session_data *sd) {
void HP_clif_pPartyBookingCancelVolunteer(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pPartyBookingCancelVolunteer_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pPartyBookingCancelVolunteer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pPartyBookingCancelVolunteer_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23677,11 +23677,11 @@ void HP_clif_pPartyBookingCancelVolunteer(int fd, struct map_session_data *sd) {
void HP_clif_pBankDeposit(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBankDeposit_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankDeposit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBankDeposit_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23703,11 +23703,11 @@ void HP_clif_pBankDeposit(int fd, struct map_session_data *sd) {
void HP_clif_pBankWithdraw(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBankWithdraw_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankWithdraw_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBankWithdraw_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23729,11 +23729,11 @@ void HP_clif_pBankWithdraw(int fd, struct map_session_data *sd) {
void HP_clif_pBankCheck(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBankCheck_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankCheck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBankCheck_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23755,11 +23755,11 @@ void HP_clif_pBankCheck(int fd, struct map_session_data *sd) {
void HP_clif_pBankOpen(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBankOpen_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankOpen_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBankOpen_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23781,11 +23781,11 @@ void HP_clif_pBankOpen(int fd, struct map_session_data *sd) {
void HP_clif_pBankClose(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pBankClose_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pBankClose_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pBankClose_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23807,11 +23807,11 @@ void HP_clif_pBankClose(int fd, struct map_session_data *sd) {
void HP_clif_pRouletteOpen(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRouletteOpen_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteOpen_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRouletteOpen_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23833,11 +23833,11 @@ void HP_clif_pRouletteOpen(int fd, struct map_session_data *sd) {
void HP_clif_pRouletteInfo(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRouletteInfo_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteInfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRouletteInfo_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23859,11 +23859,11 @@ void HP_clif_pRouletteInfo(int fd, struct map_session_data *sd) {
void HP_clif_pRouletteClose(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRouletteClose_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteClose_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRouletteClose_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23885,11 +23885,11 @@ void HP_clif_pRouletteClose(int fd, struct map_session_data *sd) {
void HP_clif_pRouletteGenerate(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRouletteGenerate_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteGenerate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRouletteGenerate_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23911,11 +23911,11 @@ void HP_clif_pRouletteGenerate(int fd, struct map_session_data *sd) {
void HP_clif_pRouletteRecvItem(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pRouletteRecvItem_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pRouletteRecvItem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pRouletteRecvItem_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23937,11 +23937,11 @@ void HP_clif_pRouletteRecvItem(int fd, struct map_session_data *sd) {
void HP_clif_pNPCShopClosed(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNPCShopClosed_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNPCShopClosed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNPCShopClosed_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23963,11 +23963,11 @@ void HP_clif_pNPCShopClosed(int fd, struct map_session_data *sd) {
void HP_clif_pNPCMarketClosed(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNPCMarketClosed_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNPCMarketClosed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNPCMarketClosed_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -23989,11 +23989,11 @@ void HP_clif_pNPCMarketClosed(int fd, struct map_session_data *sd) {
void HP_clif_pNPCMarketPurchase(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pNPCMarketPurchase_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pNPCMarketPurchase_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pNPCMarketPurchase_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24015,11 +24015,11 @@ void HP_clif_pNPCMarketPurchase(int fd, struct map_session_data *sd) {
void HP_clif_add_random_options(unsigned char *buf, struct item *item) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_add_random_options_pre ) {
- void (*preHookFunc) (unsigned char *buf, struct item *item);
+ void (*preHookFunc) (unsigned char **buf, struct item **item);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_add_random_options_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_add_random_options_pre[hIndex].func;
- preHookFunc(buf, item);
+ preHookFunc(&buf, &item);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24041,11 +24041,11 @@ void HP_clif_add_random_options(unsigned char *buf, struct item *item) {
void HP_clif_pHotkeyRowShift(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pHotkeyRowShift_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pHotkeyRowShift_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pHotkeyRowShift_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24067,11 +24067,11 @@ void HP_clif_pHotkeyRowShift(int fd, struct map_session_data *sd) {
void HP_clif_dressroom_open(struct map_session_data *sd, int view) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_dressroom_open_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *view);
+ void (*preHookFunc) (struct map_session_data **sd, int *view);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_dressroom_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_dressroom_open_pre[hIndex].func;
- preHookFunc(sd, &view);
+ preHookFunc(&sd, &view);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24093,11 +24093,11 @@ void HP_clif_dressroom_open(struct map_session_data *sd, int view) {
void HP_clif_pOneClick_ItemIdentify(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pOneClick_ItemIdentify_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pOneClick_ItemIdentify_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pOneClick_ItemIdentify_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24119,11 +24119,11 @@ void HP_clif_pOneClick_ItemIdentify(int fd, struct map_session_data *sd) {
void HP_clif_selectcart(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_selectcart_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_selectcart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_selectcart_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24145,11 +24145,11 @@ void HP_clif_selectcart(struct map_session_data *sd) {
void HP_clif_pSelectCart(int fd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_clif_pSelectCart_pre ) {
- void (*preHookFunc) (int *fd, struct map_session_data *sd);
+ void (*preHookFunc) (int *fd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_pSelectCart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_pSelectCart_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24172,11 +24172,11 @@ const char* HP_clif_get_bl_name(const struct block_list *bl) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_clif_get_bl_name_pre ) {
- const char* (*preHookFunc) (const struct block_list *bl);
+ const char* (*preHookFunc) (const struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_get_bl_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_get_bl_name_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24252,11 +24252,11 @@ bool HP_cmdline_arg_add(unsigned int pluginID, const char *name, char shortname,
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_cmdline_arg_add_pre ) {
- bool (*preHookFunc) (unsigned int *pluginID, const char *name, char *shortname, CmdlineExecFunc *func, const char *help, unsigned int *options);
+ bool (*preHookFunc) (unsigned int *pluginID, const char **name, char *shortname, CmdlineExecFunc *func, const char **help, unsigned int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_arg_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_cmdline_arg_add_pre[hIndex].func;
- retVal___ = preHookFunc(&pluginID, name, &shortname, &func, help, &options);
+ retVal___ = preHookFunc(&pluginID, &name, &shortname, &func, &help, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24279,11 +24279,11 @@ int HP_cmdline_exec(int argc, char **argv, unsigned int options) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_cmdline_exec_pre ) {
- int (*preHookFunc) (int *argc, char **argv, unsigned int *options);
+ int (*preHookFunc) (int *argc, char ***argv, unsigned int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_exec_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_cmdline_exec_pre[hIndex].func;
- retVal___ = preHookFunc(&argc, argv, &options);
+ retVal___ = preHookFunc(&argc, &argv, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24306,11 +24306,11 @@ bool HP_cmdline_arg_next_value(const char *name, int current_arg, int argc) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_cmdline_arg_next_value_pre ) {
- bool (*preHookFunc) (const char *name, int *current_arg, int *argc);
+ bool (*preHookFunc) (const char **name, int *current_arg, int *argc);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_arg_next_value_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_cmdline_arg_next_value_pre[hIndex].func;
- retVal___ = preHookFunc(name, &current_arg, &argc);
+ retVal___ = preHookFunc(&name, &current_arg, &argc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24333,11 +24333,11 @@ const char* HP_cmdline_arg_source(struct CmdlineArgData *arg) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_cmdline_arg_source_pre ) {
- const char* (*preHookFunc) (struct CmdlineArgData *arg);
+ const char* (*preHookFunc) (struct CmdlineArgData **arg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_arg_source_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_cmdline_arg_source_pre[hIndex].func;
- retVal___ = preHookFunc(arg);
+ retVal___ = preHookFunc(&arg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24628,11 +24628,11 @@ struct DBMap* HP_DB_alloc(const char *file, const char *func, int line, enum DBT
int hIndex = 0;
struct DBMap* retVal___ = NULL;
if( HPMHooks.count.HP_DB_alloc_pre ) {
- struct DBMap* (*preHookFunc) (const char *file, const char *func, int *line, enum DBType *type, enum DBOptions *options, unsigned short *maxlen);
+ struct DBMap* (*preHookFunc) (const char **file, const char **func, int *line, enum DBType *type, enum DBOptions *options, unsigned short *maxlen);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_alloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_alloc_pre[hIndex].func;
- retVal___ = preHookFunc(file, func, &line, &type, &options, &maxlen);
+ retVal___ = preHookFunc(&file, &func, &line, &type, &options, &maxlen);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24709,11 +24709,11 @@ union DBKey HP_DB_str2key(const char *key) {
int hIndex = 0;
union DBKey retVal___ = { 0 };
if( HPMHooks.count.HP_DB_str2key_pre ) {
- union DBKey (*preHookFunc) (const char *key);
+ union DBKey (*preHookFunc) (const char **key);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_str2key_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_str2key_pre[hIndex].func;
- retVal___ = preHookFunc(key);
+ retVal___ = preHookFunc(&key);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24844,11 +24844,11 @@ struct DBData HP_DB_ptr2data(void *data) {
int hIndex = 0;
struct DBData retVal___ = { 0 };
if( HPMHooks.count.HP_DB_ptr2data_pre ) {
- struct DBData (*preHookFunc) (void *data);
+ struct DBData (*preHookFunc) (void **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_ptr2data_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_ptr2data_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24871,11 +24871,11 @@ int HP_DB_data2i(struct DBData *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_DB_data2i_pre ) {
- int (*preHookFunc) (struct DBData *data);
+ int (*preHookFunc) (struct DBData **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_data2i_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_data2i_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24898,11 +24898,11 @@ unsigned int HP_DB_data2ui(struct DBData *data) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_DB_data2ui_pre ) {
- unsigned int (*preHookFunc) (struct DBData *data);
+ unsigned int (*preHookFunc) (struct DBData **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_data2ui_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_data2ui_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -24925,11 +24925,11 @@ void* HP_DB_data2ptr(struct DBData *data) {
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_DB_data2ptr_pre ) {
- void* (*preHookFunc) (struct DBData *data);
+ void* (*preHookFunc) (struct DBData **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_data2ptr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_data2ptr_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25005,11 +25005,11 @@ int HP_duel_create(struct map_session_data *sd, const unsigned int maxpl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_duel_create_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const unsigned int *maxpl);
+ int (*preHookFunc) (struct map_session_data **sd, const unsigned int *maxpl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_duel_create_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &maxpl);
+ retVal___ = preHookFunc(&sd, &maxpl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25031,11 +25031,11 @@ int HP_duel_create(struct map_session_data *sd, const unsigned int maxpl) {
void HP_duel_invite(const unsigned int did, struct map_session_data *sd, struct map_session_data *target_sd) {
int hIndex = 0;
if( HPMHooks.count.HP_duel_invite_pre ) {
- void (*preHookFunc) (const unsigned int *did, struct map_session_data *sd, struct map_session_data *target_sd);
+ void (*preHookFunc) (const unsigned int *did, struct map_session_data **sd, struct map_session_data **target_sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_invite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_duel_invite_pre[hIndex].func;
- preHookFunc(&did, sd, target_sd);
+ preHookFunc(&did, &sd, &target_sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25057,11 +25057,11 @@ void HP_duel_invite(const unsigned int did, struct map_session_data *sd, struct
void HP_duel_accept(const unsigned int did, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_duel_accept_pre ) {
- void (*preHookFunc) (const unsigned int *did, struct map_session_data *sd);
+ void (*preHookFunc) (const unsigned int *did, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_accept_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_duel_accept_pre[hIndex].func;
- preHookFunc(&did, sd);
+ preHookFunc(&did, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25083,11 +25083,11 @@ void HP_duel_accept(const unsigned int did, struct map_session_data *sd) {
void HP_duel_reject(const unsigned int did, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_duel_reject_pre ) {
- void (*preHookFunc) (const unsigned int *did, struct map_session_data *sd);
+ void (*preHookFunc) (const unsigned int *did, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_reject_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_duel_reject_pre[hIndex].func;
- preHookFunc(&did, sd);
+ preHookFunc(&did, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25109,11 +25109,11 @@ void HP_duel_reject(const unsigned int did, struct map_session_data *sd) {
void HP_duel_leave(const unsigned int did, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_duel_leave_pre ) {
- void (*preHookFunc) (const unsigned int *did, struct map_session_data *sd);
+ void (*preHookFunc) (const unsigned int *did, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_leave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_duel_leave_pre[hIndex].func;
- preHookFunc(&did, sd);
+ preHookFunc(&did, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25135,11 +25135,11 @@ void HP_duel_leave(const unsigned int did, struct map_session_data *sd) {
void HP_duel_showinfo(const unsigned int did, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_duel_showinfo_pre ) {
- void (*preHookFunc) (const unsigned int *did, struct map_session_data *sd);
+ void (*preHookFunc) (const unsigned int *did, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_showinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_duel_showinfo_pre[hIndex].func;
- preHookFunc(&did, sd);
+ preHookFunc(&did, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25162,11 +25162,11 @@ int HP_duel_checktime(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_duel_checktime_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_duel_checktime_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_duel_checktime_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25349,11 +25349,11 @@ int HP_elemental_create(struct map_session_data *sd, int class_, unsigned int li
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_create_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *class_, unsigned int *lifetime);
+ int (*preHookFunc) (struct map_session_data **sd, int *class_, unsigned int *lifetime);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_create_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &class_, &lifetime);
+ retVal___ = preHookFunc(&sd, &class_, &lifetime);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25376,11 +25376,11 @@ int HP_elemental_data_received(const struct s_elemental *ele, bool flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_data_received_pre ) {
- int (*preHookFunc) (const struct s_elemental *ele, bool *flag);
+ int (*preHookFunc) (const struct s_elemental **ele, bool *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_data_received_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_data_received_pre[hIndex].func;
- retVal___ = preHookFunc(ele, &flag);
+ retVal___ = preHookFunc(&ele, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25403,11 +25403,11 @@ int HP_elemental_save(struct elemental_data *ed) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_save_pre ) {
- int (*preHookFunc) (struct elemental_data *ed);
+ int (*preHookFunc) (struct elemental_data **ed);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_save_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_save_pre[hIndex].func;
- retVal___ = preHookFunc(ed);
+ retVal___ = preHookFunc(&ed);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25430,11 +25430,11 @@ int HP_elemental_change_mode_ack(struct elemental_data *ed, int mode) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_change_mode_ack_pre ) {
- int (*preHookFunc) (struct elemental_data *ed, int *mode);
+ int (*preHookFunc) (struct elemental_data **ed, int *mode);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_change_mode_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_change_mode_ack_pre[hIndex].func;
- retVal___ = preHookFunc(ed, &mode);
+ retVal___ = preHookFunc(&ed, &mode);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25457,11 +25457,11 @@ int HP_elemental_change_mode(struct elemental_data *ed, uint32 mode) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_change_mode_pre ) {
- int (*preHookFunc) (struct elemental_data *ed, uint32 *mode);
+ int (*preHookFunc) (struct elemental_data **ed, uint32 *mode);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_change_mode_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_change_mode_pre[hIndex].func;
- retVal___ = preHookFunc(ed, &mode);
+ retVal___ = preHookFunc(&ed, &mode);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25483,11 +25483,11 @@ int HP_elemental_change_mode(struct elemental_data *ed, uint32 mode) {
void HP_elemental_heal(struct elemental_data *ed, int hp, int sp) {
int hIndex = 0;
if( HPMHooks.count.HP_elemental_heal_pre ) {
- void (*preHookFunc) (struct elemental_data *ed, int *hp, int *sp);
+ void (*preHookFunc) (struct elemental_data **ed, int *hp, int *sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_heal_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_heal_pre[hIndex].func;
- preHookFunc(ed, &hp, &sp);
+ preHookFunc(&ed, &hp, &sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25510,11 +25510,11 @@ int HP_elemental_dead(struct elemental_data *ed) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_dead_pre ) {
- int (*preHookFunc) (struct elemental_data *ed);
+ int (*preHookFunc) (struct elemental_data **ed);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_dead_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_dead_pre[hIndex].func;
- retVal___ = preHookFunc(ed);
+ retVal___ = preHookFunc(&ed);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25537,11 +25537,11 @@ int HP_elemental_delete(struct elemental_data *ed, int reply) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_delete_pre ) {
- int (*preHookFunc) (struct elemental_data *ed, int *reply);
+ int (*preHookFunc) (struct elemental_data **ed, int *reply);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_delete_pre[hIndex].func;
- retVal___ = preHookFunc(ed, &reply);
+ retVal___ = preHookFunc(&ed, &reply);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25563,11 +25563,11 @@ int HP_elemental_delete(struct elemental_data *ed, int reply) {
void HP_elemental_summon_stop(struct elemental_data *ed) {
int hIndex = 0;
if( HPMHooks.count.HP_elemental_summon_stop_pre ) {
- void (*preHookFunc) (struct elemental_data *ed);
+ void (*preHookFunc) (struct elemental_data **ed);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_summon_stop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_summon_stop_pre[hIndex].func;
- preHookFunc(ed);
+ preHookFunc(&ed);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25590,11 +25590,11 @@ int HP_elemental_get_lifetime(struct elemental_data *ed) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_get_lifetime_pre ) {
- int (*preHookFunc) (struct elemental_data *ed);
+ int (*preHookFunc) (struct elemental_data **ed);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_get_lifetime_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_get_lifetime_pre[hIndex].func;
- retVal___ = preHookFunc(ed);
+ retVal___ = preHookFunc(&ed);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25617,11 +25617,11 @@ int HP_elemental_unlocktarget(struct elemental_data *ed) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_unlocktarget_pre ) {
- int (*preHookFunc) (struct elemental_data *ed);
+ int (*preHookFunc) (struct elemental_data **ed);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_unlocktarget_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_unlocktarget_pre[hIndex].func;
- retVal___ = preHookFunc(ed);
+ retVal___ = preHookFunc(&ed);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25644,11 +25644,11 @@ int HP_elemental_skillnotok(uint16 skill_id, struct elemental_data *ed) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_skillnotok_pre ) {
- int (*preHookFunc) (uint16 *skill_id, struct elemental_data *ed);
+ int (*preHookFunc) (uint16 *skill_id, struct elemental_data **ed);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_skillnotok_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_skillnotok_pre[hIndex].func;
- retVal___ = preHookFunc(&skill_id, ed);
+ retVal___ = preHookFunc(&skill_id, &ed);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25671,11 +25671,11 @@ int HP_elemental_set_target(struct map_session_data *sd, struct block_list *bl)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_set_target_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct block_list *bl);
+ int (*preHookFunc) (struct map_session_data **sd, struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_set_target_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_set_target_pre[hIndex].func;
- retVal___ = preHookFunc(sd, bl);
+ retVal___ = preHookFunc(&sd, &bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25698,11 +25698,11 @@ int HP_elemental_clean_single_effect(struct elemental_data *ed, uint16 skill_id)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_clean_single_effect_pre ) {
- int (*preHookFunc) (struct elemental_data *ed, uint16 *skill_id);
+ int (*preHookFunc) (struct elemental_data **ed, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_clean_single_effect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_clean_single_effect_pre[hIndex].func;
- retVal___ = preHookFunc(ed, &skill_id);
+ retVal___ = preHookFunc(&ed, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25725,11 +25725,11 @@ int HP_elemental_clean_effect(struct elemental_data *ed) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_clean_effect_pre ) {
- int (*preHookFunc) (struct elemental_data *ed);
+ int (*preHookFunc) (struct elemental_data **ed);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_clean_effect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_clean_effect_pre[hIndex].func;
- retVal___ = preHookFunc(ed);
+ retVal___ = preHookFunc(&ed);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25752,11 +25752,11 @@ int HP_elemental_action(struct elemental_data *ed, struct block_list *bl, int64
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_action_pre ) {
- int (*preHookFunc) (struct elemental_data *ed, struct block_list *bl, int64 *tick);
+ int (*preHookFunc) (struct elemental_data **ed, struct block_list **bl, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_action_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_action_pre[hIndex].func;
- retVal___ = preHookFunc(ed, bl, &tick);
+ retVal___ = preHookFunc(&ed, &bl, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25911,11 +25911,11 @@ int HP_elemental_search_index(int class_) {
void HP_elemental_summon_init(struct elemental_data *ed) {
int hIndex = 0;
if( HPMHooks.count.HP_elemental_summon_init_pre ) {
- void (*preHookFunc) (struct elemental_data *ed);
+ void (*preHookFunc) (struct elemental_data **ed);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_summon_init_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_summon_init_pre[hIndex].func;
- preHookFunc(ed);
+ preHookFunc(&ed);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -25965,12 +25965,12 @@ int HP_elemental_ai_sub_timer_activesearch(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_ai_sub_timer_activesearch_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_ai_sub_timer_activesearch_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_elemental_ai_sub_timer_activesearch_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -25998,11 +25998,11 @@ int HP_elemental_ai_sub_timer(struct elemental_data *ed, struct map_session_data
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_ai_sub_timer_pre ) {
- int (*preHookFunc) (struct elemental_data *ed, struct map_session_data *sd, int64 *tick);
+ int (*preHookFunc) (struct elemental_data **ed, struct map_session_data **sd, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_ai_sub_timer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_elemental_ai_sub_timer_pre[hIndex].func;
- retVal___ = preHookFunc(ed, sd, &tick);
+ retVal___ = preHookFunc(&ed, &sd, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26025,12 +26025,12 @@ int HP_elemental_ai_sub_foreachclient(struct map_session_data *sd, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_elemental_ai_sub_foreachclient_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, va_list ap);
+ int (*preHookFunc) (struct map_session_data **sd, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_elemental_ai_sub_foreachclient_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_elemental_ai_sub_foreachclient_pre[hIndex].func;
- retVal___ = preHookFunc(sd, ap___copy);
+ retVal___ = preHookFunc(&sd, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -26192,11 +26192,11 @@ int HP_guild_checkskill(struct guild *g, int id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_checkskill_pre ) {
- int (*preHookFunc) (struct guild *g, int *id);
+ int (*preHookFunc) (struct guild **g, int *id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_checkskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_checkskill_pre[hIndex].func;
- retVal___ = preHookFunc(g, &id);
+ retVal___ = preHookFunc(&g, &id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26219,11 +26219,11 @@ int HP_guild_check_skill_require(struct guild *g, int id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_check_skill_require_pre ) {
- int (*preHookFunc) (struct guild *g, int *id);
+ int (*preHookFunc) (struct guild **g, int *id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_check_skill_require_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_check_skill_require_pre[hIndex].func;
- retVal___ = preHookFunc(g, &id);
+ retVal___ = preHookFunc(&g, &id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26246,11 +26246,11 @@ int HP_guild_checkcastles(struct guild *g) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_checkcastles_pre ) {
- int (*preHookFunc) (struct guild *g);
+ int (*preHookFunc) (struct guild **g);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_checkcastles_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_checkcastles_pre[hIndex].func;
- retVal___ = preHookFunc(g);
+ retVal___ = preHookFunc(&g);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26327,11 +26327,11 @@ struct guild* HP_guild_searchname(char *str) {
int hIndex = 0;
struct guild* retVal___ = NULL;
if( HPMHooks.count.HP_guild_searchname_pre ) {
- struct guild* (*preHookFunc) (char *str);
+ struct guild* (*preHookFunc) (char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_searchname_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_searchname_pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26381,11 +26381,11 @@ struct guild_castle* HP_guild_mapname2gc(const char *mapname) {
int hIndex = 0;
struct guild_castle* retVal___ = NULL;
if( HPMHooks.count.HP_guild_mapname2gc_pre ) {
- struct guild_castle* (*preHookFunc) (const char *mapname);
+ struct guild_castle* (*preHookFunc) (const char **mapname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_mapname2gc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_mapname2gc_pre[hIndex].func;
- retVal___ = preHookFunc(mapname);
+ retVal___ = preHookFunc(&mapname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26435,11 +26435,11 @@ struct map_session_data* HP_guild_getavailablesd(struct guild *g) {
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_guild_getavailablesd_pre ) {
- struct map_session_data* (*preHookFunc) (struct guild *g);
+ struct map_session_data* (*preHookFunc) (struct guild **g);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_getavailablesd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_getavailablesd_pre[hIndex].func;
- retVal___ = preHookFunc(g);
+ retVal___ = preHookFunc(&g);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26462,11 +26462,11 @@ int HP_guild_getindex(const struct guild *g, int account_id, int char_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_getindex_pre ) {
- int (*preHookFunc) (const struct guild *g, int *account_id, int *char_id);
+ int (*preHookFunc) (const struct guild **g, int *account_id, int *char_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_getindex_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_getindex_pre[hIndex].func;
- retVal___ = preHookFunc(g, &account_id, &char_id);
+ retVal___ = preHookFunc(&g, &account_id, &char_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26489,11 +26489,11 @@ int HP_guild_getposition(struct guild *g, struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_getposition_pre ) {
- int (*preHookFunc) (struct guild *g, struct map_session_data *sd);
+ int (*preHookFunc) (struct guild **g, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_getposition_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_getposition_pre[hIndex].func;
- retVal___ = preHookFunc(g, sd);
+ retVal___ = preHookFunc(&g, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26516,11 +26516,11 @@ unsigned int HP_guild_payexp(struct map_session_data *sd, unsigned int exp) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_guild_payexp_pre ) {
- unsigned int (*preHookFunc) (struct map_session_data *sd, unsigned int *exp);
+ unsigned int (*preHookFunc) (struct map_session_data **sd, unsigned int *exp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_payexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_payexp_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &exp);
+ retVal___ = preHookFunc(&sd, &exp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26543,11 +26543,11 @@ int HP_guild_getexp(struct map_session_data *sd, int exp) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_getexp_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *exp);
+ int (*preHookFunc) (struct map_session_data **sd, int *exp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_getexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_getexp_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &exp);
+ retVal___ = preHookFunc(&sd, &exp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26570,11 +26570,11 @@ int HP_guild_create(struct map_session_data *sd, const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_create_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *name);
+ int (*preHookFunc) (struct map_session_data **sd, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_create_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name);
+ retVal___ = preHookFunc(&sd, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26678,11 +26678,11 @@ int HP_guild_recv_info(const struct guild *sg) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_recv_info_pre ) {
- int (*preHookFunc) (const struct guild *sg);
+ int (*preHookFunc) (const struct guild **sg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_recv_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_recv_info_pre[hIndex].func;
- retVal___ = preHookFunc(sg);
+ retVal___ = preHookFunc(&sg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26705,11 +26705,11 @@ int HP_guild_npc_request_info(int guild_id, const char *ev) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_npc_request_info_pre ) {
- int (*preHookFunc) (int *guild_id, const char *ev);
+ int (*preHookFunc) (int *guild_id, const char **ev);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_npc_request_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_npc_request_info_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, ev);
+ retVal___ = preHookFunc(&guild_id, &ev);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26732,11 +26732,11 @@ int HP_guild_invite(struct map_session_data *sd, struct map_session_data *tsd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_invite_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd);
+ int (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_invite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_invite_pre[hIndex].func;
- retVal___ = preHookFunc(sd, tsd);
+ retVal___ = preHookFunc(&sd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26759,11 +26759,11 @@ int HP_guild_reply_invite(struct map_session_data *sd, int guild_id, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_reply_invite_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *guild_id, int *flag);
+ int (*preHookFunc) (struct map_session_data **sd, int *guild_id, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_reply_invite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_reply_invite_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &guild_id, &flag);
+ retVal___ = preHookFunc(&sd, &guild_id, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26785,11 +26785,11 @@ int HP_guild_reply_invite(struct map_session_data *sd, int guild_id, int flag) {
void HP_guild_member_joined(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_guild_member_joined_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_member_joined_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_member_joined_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26839,11 +26839,11 @@ int HP_guild_leave(struct map_session_data *sd, int guild_id, int account_id, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_leave_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *guild_id, int *account_id, int *char_id, const char *mes);
+ int (*preHookFunc) (struct map_session_data **sd, int *guild_id, int *account_id, int *char_id, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_leave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_leave_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &guild_id, &account_id, &char_id, mes);
+ retVal___ = preHookFunc(&sd, &guild_id, &account_id, &char_id, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26866,11 +26866,11 @@ int HP_guild_member_withdraw(int guild_id, int account_id, int char_id, int flag
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_member_withdraw_pre ) {
- int (*preHookFunc) (int *guild_id, int *account_id, int *char_id, int *flag, const char *name, const char *mes);
+ int (*preHookFunc) (int *guild_id, int *account_id, int *char_id, int *flag, const char **name, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_member_withdraw_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_member_withdraw_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &account_id, &char_id, &flag, name, mes);
+ retVal___ = preHookFunc(&guild_id, &account_id, &char_id, &flag, &name, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26893,11 +26893,11 @@ int HP_guild_expulsion(struct map_session_data *sd, int guild_id, int account_id
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_expulsion_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *guild_id, int *account_id, int *char_id, const char *mes);
+ int (*preHookFunc) (struct map_session_data **sd, int *guild_id, int *account_id, int *char_id, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_expulsion_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_expulsion_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &guild_id, &account_id, &char_id, mes);
+ retVal___ = preHookFunc(&sd, &guild_id, &account_id, &char_id, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26920,11 +26920,11 @@ int HP_guild_skillup(struct map_session_data *sd, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_skillup_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_skillup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_skillup_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id);
+ retVal___ = preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26946,11 +26946,11 @@ int HP_guild_skillup(struct map_session_data *sd, uint16 skill_id) {
void HP_guild_block_skill(struct map_session_data *sd, int time) {
int hIndex = 0;
if( HPMHooks.count.HP_guild_block_skill_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *time);
+ void (*preHookFunc) (struct map_session_data **sd, int *time);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_block_skill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_block_skill_pre[hIndex].func;
- preHookFunc(sd, &time);
+ preHookFunc(&sd, &time);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -26973,11 +26973,11 @@ int HP_guild_reqalliance(struct map_session_data *sd, struct map_session_data *t
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_reqalliance_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd);
+ int (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_reqalliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_reqalliance_pre[hIndex].func;
- retVal___ = preHookFunc(sd, tsd);
+ retVal___ = preHookFunc(&sd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27000,11 +27000,11 @@ int HP_guild_reply_reqalliance(struct map_session_data *sd, int account_id, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_reply_reqalliance_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *account_id, int *flag);
+ int (*preHookFunc) (struct map_session_data **sd, int *account_id, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_reply_reqalliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_reply_reqalliance_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &account_id, &flag);
+ retVal___ = preHookFunc(&sd, &account_id, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27027,11 +27027,11 @@ int HP_guild_allianceack(int guild_id1, int guild_id2, int account_id1, int acco
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_allianceack_pre ) {
- int (*preHookFunc) (int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag, const char *name1, const char *name2);
+ int (*preHookFunc) (int *guild_id1, int *guild_id2, int *account_id1, int *account_id2, int *flag, const char **name1, const char **name2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_allianceack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_allianceack_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id1, &guild_id2, &account_id1, &account_id2, &flag, name1, name2);
+ retVal___ = preHookFunc(&guild_id1, &guild_id2, &account_id1, &account_id2, &flag, &name1, &name2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27054,11 +27054,11 @@ int HP_guild_delalliance(struct map_session_data *sd, int guild_id, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_delalliance_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *guild_id, int *flag);
+ int (*preHookFunc) (struct map_session_data **sd, int *guild_id, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_delalliance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_delalliance_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &guild_id, &flag);
+ retVal___ = preHookFunc(&sd, &guild_id, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27081,11 +27081,11 @@ int HP_guild_opposition(struct map_session_data *sd, struct map_session_data *ts
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_opposition_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd);
+ int (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_opposition_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_opposition_pre[hIndex].func;
- retVal___ = preHookFunc(sd, tsd);
+ retVal___ = preHookFunc(&sd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27135,11 +27135,11 @@ int HP_guild_send_memberinfoshort(struct map_session_data *sd, int online) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_send_memberinfoshort_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *online);
+ int (*preHookFunc) (struct map_session_data **sd, int *online);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_send_memberinfoshort_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_send_memberinfoshort_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &online);
+ retVal___ = preHookFunc(&sd, &online);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27216,11 +27216,11 @@ int HP_guild_memberposition_changed(struct guild *g, int idx, int pos) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_memberposition_changed_pre ) {
- int (*preHookFunc) (struct guild *g, int *idx, int *pos);
+ int (*preHookFunc) (struct guild **g, int *idx, int *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_memberposition_changed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_memberposition_changed_pre[hIndex].func;
- retVal___ = preHookFunc(g, &idx, &pos);
+ retVal___ = preHookFunc(&g, &idx, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27243,11 +27243,11 @@ int HP_guild_change_position(int guild_id, int idx, int mode, int exp_mode, cons
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_change_position_pre ) {
- int (*preHookFunc) (int *guild_id, int *idx, int *mode, int *exp_mode, const char *name);
+ int (*preHookFunc) (int *guild_id, int *idx, int *mode, int *exp_mode, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_change_position_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_change_position_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &idx, &mode, &exp_mode, name);
+ retVal___ = preHookFunc(&guild_id, &idx, &mode, &exp_mode, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27270,11 +27270,11 @@ int HP_guild_position_changed(int guild_id, int idx, const struct guild_position
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_position_changed_pre ) {
- int (*preHookFunc) (int *guild_id, int *idx, const struct guild_position *p);
+ int (*preHookFunc) (int *guild_id, int *idx, const struct guild_position **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_position_changed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_position_changed_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &idx, p);
+ retVal___ = preHookFunc(&guild_id, &idx, &p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27297,11 +27297,11 @@ int HP_guild_change_notice(struct map_session_data *sd, int guild_id, const char
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_change_notice_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *guild_id, const char *mes1, const char *mes2);
+ int (*preHookFunc) (struct map_session_data **sd, int *guild_id, const char **mes1, const char **mes2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_change_notice_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_change_notice_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &guild_id, mes1, mes2);
+ retVal___ = preHookFunc(&sd, &guild_id, &mes1, &mes2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27324,11 +27324,11 @@ int HP_guild_notice_changed(int guild_id, const char *mes1, const char *mes2) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_notice_changed_pre ) {
- int (*preHookFunc) (int *guild_id, const char *mes1, const char *mes2);
+ int (*preHookFunc) (int *guild_id, const char **mes1, const char **mes2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_notice_changed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_notice_changed_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, mes1, mes2);
+ retVal___ = preHookFunc(&guild_id, &mes1, &mes2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27351,11 +27351,11 @@ int HP_guild_change_emblem(struct map_session_data *sd, int len, const char *dat
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_change_emblem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *len, const char *data);
+ int (*preHookFunc) (struct map_session_data **sd, int *len, const char **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_change_emblem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_change_emblem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &len, data);
+ retVal___ = preHookFunc(&sd, &len, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27378,11 +27378,11 @@ int HP_guild_emblem_changed(int len, int guild_id, int emblem_id, const char *da
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_emblem_changed_pre ) {
- int (*preHookFunc) (int *len, int *guild_id, int *emblem_id, const char *data);
+ int (*preHookFunc) (int *len, int *guild_id, int *emblem_id, const char **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_emblem_changed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_emblem_changed_pre[hIndex].func;
- retVal___ = preHookFunc(&len, &guild_id, &emblem_id, data);
+ retVal___ = preHookFunc(&len, &guild_id, &emblem_id, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27405,11 +27405,11 @@ int HP_guild_send_message(struct map_session_data *sd, const char *mes) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_send_message_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *mes);
+ int (*preHookFunc) (struct map_session_data **sd, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_send_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_send_message_pre[hIndex].func;
- retVal___ = preHookFunc(sd, mes);
+ retVal___ = preHookFunc(&sd, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27432,11 +27432,11 @@ int HP_guild_recv_message(int guild_id, int account_id, const char *mes, int len
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_recv_message_pre ) {
- int (*preHookFunc) (int *guild_id, int *account_id, const char *mes, int *len);
+ int (*preHookFunc) (int *guild_id, int *account_id, const char **mes, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_recv_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_recv_message_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &account_id, mes, &len);
+ retVal___ = preHookFunc(&guild_id, &account_id, &mes, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27459,11 +27459,11 @@ int HP_guild_send_dot_remove(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_send_dot_remove_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_send_dot_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_send_dot_remove_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27513,11 +27513,11 @@ int HP_guild_dobreak(struct map_session_data *sd, const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_dobreak_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *name);
+ int (*preHookFunc) (struct map_session_data **sd, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_dobreak_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_dobreak_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name);
+ retVal___ = preHookFunc(&sd, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27567,11 +27567,11 @@ int HP_guild_gm_change(int guild_id, struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_gm_change_pre ) {
- int (*preHookFunc) (int *guild_id, struct map_session_data *sd);
+ int (*preHookFunc) (int *guild_id, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_gm_change_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_gm_change_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, sd);
+ retVal___ = preHookFunc(&guild_id, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27674,11 +27674,11 @@ int HP_guild_castledataloadack(int len, const struct guild_castle *gc) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_castledataloadack_pre ) {
- int (*preHookFunc) (int *len, const struct guild_castle *gc);
+ int (*preHookFunc) (int *len, const struct guild_castle **gc);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_castledataloadack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_castledataloadack_pre[hIndex].func;
- retVal___ = preHookFunc(&len, gc);
+ retVal___ = preHookFunc(&len, &gc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27830,11 +27830,11 @@ void HP_guild_agit2_end(void) {
void HP_guild_flag_add(struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_guild_flag_add_pre ) {
- void (*preHookFunc) (struct npc_data *nd);
+ void (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_flag_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_flag_add_pre[hIndex].func;
- preHookFunc(nd);
+ preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27856,11 +27856,11 @@ void HP_guild_flag_add(struct npc_data *nd) {
void HP_guild_flag_remove(struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_guild_flag_remove_pre ) {
- void (*preHookFunc) (struct npc_data *nd);
+ void (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_flag_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_flag_remove_pre[hIndex].func;
- preHookFunc(nd);
+ preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -27908,11 +27908,11 @@ void HP_guild_flags_clear(void) {
void HP_guild_aura_refresh(struct map_session_data *sd, uint16 skill_id, uint16 skill_lv) {
int hIndex = 0;
if( HPMHooks.count.HP_guild_aura_refresh_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_aura_refresh_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_aura_refresh_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &skill_lv);
+ preHookFunc(&sd, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28015,11 +28015,11 @@ bool HP_guild_read_guildskill_tree_db(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_guild_read_guildskill_tree_db_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_read_guildskill_tree_db_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_read_guildskill_tree_db_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28042,11 +28042,11 @@ bool HP_guild_read_castledb(char *str[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_guild_read_castledb_pre ) {
- bool (*preHookFunc) (char *str[], int *columns, int *current);
+ bool (*preHookFunc) (char **str[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_read_castledb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_read_castledb_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
+ retVal___ = preHookFunc(&str, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28069,12 +28069,12 @@ int HP_guild_payexp_timer_sub(union DBKey key, struct DBData *data, va_list ap)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_payexp_timer_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_payexp_timer_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_guild_payexp_timer_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -28102,12 +28102,12 @@ int HP_guild_send_xy_timer_sub(union DBKey key, struct DBData *data, va_list ap)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_send_xy_timer_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_send_xy_timer_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_guild_send_xy_timer_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -28195,12 +28195,12 @@ int HP_guild_eventlist_db_final(union DBKey key, struct DBData *data, va_list ap
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_eventlist_db_final_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_eventlist_db_final_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_guild_eventlist_db_final_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -28228,12 +28228,12 @@ int HP_guild_expcache_db_final(union DBKey key, struct DBData *data, va_list ap)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_expcache_db_final_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_expcache_db_final_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_guild_expcache_db_final_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -28261,12 +28261,12 @@ int HP_guild_castle_db_final(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_castle_db_final_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_castle_db_final_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_guild_castle_db_final_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -28294,12 +28294,12 @@ int HP_guild_broken_sub(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_broken_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_broken_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_guild_broken_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -28327,12 +28327,12 @@ int HP_guild_castle_broken_sub(union DBKey key, struct DBData *data, va_list ap)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_castle_broken_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_castle_broken_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_guild_castle_broken_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -28359,11 +28359,11 @@ int HP_guild_castle_broken_sub(union DBKey key, struct DBData *data, va_list ap)
void HP_guild_makemember(struct guild_member *m, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_guild_makemember_pre ) {
- void (*preHookFunc) (struct guild_member *m, struct map_session_data *sd);
+ void (*preHookFunc) (struct guild_member **m, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_makemember_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_makemember_pre[hIndex].func;
- preHookFunc(m, sd);
+ preHookFunc(&m, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28386,11 +28386,11 @@ int HP_guild_check_member(const struct guild *g) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_check_member_pre ) {
- int (*preHookFunc) (const struct guild *g);
+ int (*preHookFunc) (const struct guild **g);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_check_member_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_check_member_pre[hIndex].func;
- retVal___ = preHookFunc(g);
+ retVal___ = preHookFunc(&g);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28413,11 +28413,11 @@ int HP_guild_get_alliance_count(struct guild *g, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_guild_get_alliance_count_pre ) {
- int (*preHookFunc) (struct guild *g, int *flag);
+ int (*preHookFunc) (struct guild **g, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_get_alliance_count_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_guild_get_alliance_count_pre[hIndex].func;
- retVal___ = preHookFunc(g, &flag);
+ retVal___ = preHookFunc(&g, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28439,12 +28439,12 @@ int HP_guild_get_alliance_count(struct guild *g, int flag) {
void HP_guild_castle_reconnect_sub(void *key, void *data, va_list ap) {
int hIndex = 0;
if( HPMHooks.count.HP_guild_castle_reconnect_sub_pre ) {
- void (*preHookFunc) (void *key, void *data, va_list ap);
+ void (*preHookFunc) (void **key, void **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_guild_castle_reconnect_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_guild_castle_reconnect_sub_pre[hIndex].func;
- preHookFunc(key, data, ap___copy);
+ preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -28579,11 +28579,11 @@ int HP_gstorage_open(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_gstorage_open_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_gstorage_open_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28606,11 +28606,11 @@ int HP_gstorage_additem(struct map_session_data *sd, struct guild_storage *stor,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_gstorage_additem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct guild_storage *stor, struct item *item_data, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, struct guild_storage **stor, struct item **item_data, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_additem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_gstorage_additem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, stor, item_data, &amount);
+ retVal___ = preHookFunc(&sd, &stor, &item_data, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28633,11 +28633,11 @@ int HP_gstorage_delitem(struct map_session_data *sd, struct guild_storage *stor,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_gstorage_delitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct guild_storage *stor, int *n, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, struct guild_storage **stor, int *n, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_delitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_gstorage_delitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, stor, &n, &amount);
+ retVal___ = preHookFunc(&sd, &stor, &n, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28660,11 +28660,11 @@ int HP_gstorage_add(struct map_session_data *sd, int index, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_gstorage_add_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_gstorage_add_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index, &amount);
+ retVal___ = preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28687,11 +28687,11 @@ int HP_gstorage_get(struct map_session_data *sd, int index, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_gstorage_get_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_get_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_gstorage_get_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index, &amount);
+ retVal___ = preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28714,11 +28714,11 @@ int HP_gstorage_addfromcart(struct map_session_data *sd, int index, int amount)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_gstorage_addfromcart_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_addfromcart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_gstorage_addfromcart_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index, &amount);
+ retVal___ = preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28741,11 +28741,11 @@ int HP_gstorage_gettocart(struct map_session_data *sd, int index, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_gstorage_gettocart_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_gettocart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_gstorage_gettocart_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index, &amount);
+ retVal___ = preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28768,11 +28768,11 @@ int HP_gstorage_close(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_gstorage_close_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_close_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_gstorage_close_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -28795,11 +28795,11 @@ int HP_gstorage_pc_quit(struct map_session_data *sd, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_gstorage_pc_quit_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *flag);
+ int (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_gstorage_pc_quit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_gstorage_pc_quit_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &flag);
+ retVal___ = preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29067,11 +29067,11 @@ enum homun_type HP_homun_class2type(int class_) {
void HP_homun_damaged(struct homun_data *hd) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_damaged_pre ) {
- void (*preHookFunc) (struct homun_data *hd);
+ void (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_damaged_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_damaged_pre[hIndex].func;
- preHookFunc(hd);
+ preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29094,11 +29094,11 @@ int HP_homun_dead(struct homun_data *hd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_homun_dead_pre ) {
- int (*preHookFunc) (struct homun_data *hd);
+ int (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_dead_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_dead_pre[hIndex].func;
- retVal___ = preHookFunc(hd);
+ retVal___ = preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29121,11 +29121,11 @@ int HP_homun_vaporize(struct map_session_data *sd, enum homun_state flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_homun_vaporize_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, enum homun_state *flag);
+ int (*preHookFunc) (struct map_session_data **sd, enum homun_state *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_vaporize_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_vaporize_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &flag);
+ retVal___ = preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29148,11 +29148,11 @@ int HP_homun_delete(struct homun_data *hd, int emote) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_homun_delete_pre ) {
- int (*preHookFunc) (struct homun_data *hd, int *emote);
+ int (*preHookFunc) (struct homun_data **hd, int *emote);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_delete_pre[hIndex].func;
- retVal___ = preHookFunc(hd, &emote);
+ retVal___ = preHookFunc(&hd, &emote);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29175,11 +29175,11 @@ int HP_homun_checkskill(struct homun_data *hd, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_homun_checkskill_pre ) {
- int (*preHookFunc) (struct homun_data *hd, uint16 *skill_id);
+ int (*preHookFunc) (struct homun_data **hd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_checkskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_checkskill_pre[hIndex].func;
- retVal___ = preHookFunc(hd, &skill_id);
+ retVal___ = preHookFunc(&hd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29202,11 +29202,11 @@ int HP_homun_calc_skilltree(struct homun_data *hd, int flag_evolve) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_homun_calc_skilltree_pre ) {
- int (*preHookFunc) (struct homun_data *hd, int *flag_evolve);
+ int (*preHookFunc) (struct homun_data **hd, int *flag_evolve);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_calc_skilltree_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_calc_skilltree_pre[hIndex].func;
- retVal___ = preHookFunc(hd, &flag_evolve);
+ retVal___ = preHookFunc(&hd, &flag_evolve);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29255,11 +29255,11 @@ int HP_homun_skill_tree_get_max(int id, int b_class) {
void HP_homun_skillup(struct homun_data *hd, uint16 skill_id) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_skillup_pre ) {
- void (*preHookFunc) (struct homun_data *hd, uint16 *skill_id);
+ void (*preHookFunc) (struct homun_data **hd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_skillup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_skillup_pre[hIndex].func;
- preHookFunc(hd, &skill_id);
+ preHookFunc(&hd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29282,11 +29282,11 @@ bool HP_homun_levelup(struct homun_data *hd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_levelup_pre ) {
- bool (*preHookFunc) (struct homun_data *hd);
+ bool (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_levelup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_levelup_pre[hIndex].func;
- retVal___ = preHookFunc(hd);
+ retVal___ = preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29309,11 +29309,11 @@ int HP_homun_change_class(struct homun_data *hd, short class_) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_homun_change_class_pre ) {
- int (*preHookFunc) (struct homun_data *hd, short *class_);
+ int (*preHookFunc) (struct homun_data **hd, short *class_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_change_class_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_change_class_pre[hIndex].func;
- retVal___ = preHookFunc(hd, &class_);
+ retVal___ = preHookFunc(&hd, &class_);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29336,11 +29336,11 @@ bool HP_homun_evolve(struct homun_data *hd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_evolve_pre ) {
- bool (*preHookFunc) (struct homun_data *hd);
+ bool (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_evolve_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_evolve_pre[hIndex].func;
- retVal___ = preHookFunc(hd);
+ retVal___ = preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29363,11 +29363,11 @@ bool HP_homun_mutate(struct homun_data *hd, int homun_id) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_mutate_pre ) {
- bool (*preHookFunc) (struct homun_data *hd, int *homun_id);
+ bool (*preHookFunc) (struct homun_data **hd, int *homun_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_mutate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_mutate_pre[hIndex].func;
- retVal___ = preHookFunc(hd, &homun_id);
+ retVal___ = preHookFunc(&hd, &homun_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29390,11 +29390,11 @@ int HP_homun_gainexp(struct homun_data *hd, unsigned int exp) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_homun_gainexp_pre ) {
- int (*preHookFunc) (struct homun_data *hd, unsigned int *exp);
+ int (*preHookFunc) (struct homun_data **hd, unsigned int *exp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_gainexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_gainexp_pre[hIndex].func;
- retVal___ = preHookFunc(hd, &exp);
+ retVal___ = preHookFunc(&hd, &exp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29417,11 +29417,11 @@ unsigned int HP_homun_add_intimacy(struct homun_data *hd, unsigned int value) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_homun_add_intimacy_pre ) {
- unsigned int (*preHookFunc) (struct homun_data *hd, unsigned int *value);
+ unsigned int (*preHookFunc) (struct homun_data **hd, unsigned int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_add_intimacy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_add_intimacy_pre[hIndex].func;
- retVal___ = preHookFunc(hd, &value);
+ retVal___ = preHookFunc(&hd, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29444,11 +29444,11 @@ unsigned int HP_homun_consume_intimacy(struct homun_data *hd, unsigned int value
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_homun_consume_intimacy_pre ) {
- unsigned int (*preHookFunc) (struct homun_data *hd, unsigned int *value);
+ unsigned int (*preHookFunc) (struct homun_data **hd, unsigned int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_consume_intimacy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_consume_intimacy_pre[hIndex].func;
- retVal___ = preHookFunc(hd, &value);
+ retVal___ = preHookFunc(&hd, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29470,11 +29470,11 @@ unsigned int HP_homun_consume_intimacy(struct homun_data *hd, unsigned int value
void HP_homun_healed(struct homun_data *hd) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_healed_pre ) {
- void (*preHookFunc) (struct homun_data *hd);
+ void (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_healed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_healed_pre[hIndex].func;
- preHookFunc(hd);
+ preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29496,11 +29496,11 @@ void HP_homun_healed(struct homun_data *hd) {
void HP_homun_save(struct homun_data *hd) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_save_pre ) {
- void (*preHookFunc) (struct homun_data *hd);
+ void (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_save_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_save_pre[hIndex].func;
- preHookFunc(hd);
+ preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29523,11 +29523,11 @@ unsigned char HP_homun_menu(struct map_session_data *sd, unsigned char menu_num)
int hIndex = 0;
unsigned char retVal___ = 0;
if( HPMHooks.count.HP_homun_menu_pre ) {
- unsigned char (*preHookFunc) (struct map_session_data *sd, unsigned char *menu_num);
+ unsigned char (*preHookFunc) (struct map_session_data **sd, unsigned char *menu_num);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_menu_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_menu_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &menu_num);
+ retVal___ = preHookFunc(&sd, &menu_num);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29550,11 +29550,11 @@ bool HP_homun_feed(struct map_session_data *sd, struct homun_data *hd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_feed_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, struct homun_data *hd);
+ bool (*preHookFunc) (struct map_session_data **sd, struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_feed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_feed_pre[hIndex].func;
- retVal___ = preHookFunc(sd, hd);
+ retVal___ = preHookFunc(&sd, &hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29603,11 +29603,11 @@ int HP_homun_hunger_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_homun_hunger_timer_delete(struct homun_data *hd) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_hunger_timer_delete_pre ) {
- void (*preHookFunc) (struct homun_data *hd);
+ void (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_hunger_timer_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_hunger_timer_delete_pre[hIndex].func;
- preHookFunc(hd);
+ preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29630,11 +29630,11 @@ int HP_homun_change_name(struct map_session_data *sd, const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_homun_change_name_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *name);
+ int (*preHookFunc) (struct map_session_data **sd, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_change_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_change_name_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name);
+ retVal___ = preHookFunc(&sd, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29657,11 +29657,11 @@ bool HP_homun_change_name_ack(struct map_session_data *sd, const char *name, int
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_change_name_ack_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *name, int *flag);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **name, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_change_name_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_change_name_ack_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name, &flag);
+ retVal___ = preHookFunc(&sd, &name, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29711,11 +29711,11 @@ bool HP_homun_create(struct map_session_data *sd, const struct s_homunculus *hom
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_create_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const struct s_homunculus *hom);
+ bool (*preHookFunc) (struct map_session_data **sd, const struct s_homunculus **hom);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_create_pre[hIndex].func;
- retVal___ = preHookFunc(sd, hom);
+ retVal___ = preHookFunc(&sd, &hom);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29737,11 +29737,11 @@ bool HP_homun_create(struct map_session_data *sd, const struct s_homunculus *hom
void HP_homun_init_timers(struct homun_data *hd) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_init_timers_pre ) {
- void (*preHookFunc) (struct homun_data *hd);
+ void (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_init_timers_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_init_timers_pre[hIndex].func;
- preHookFunc(hd);
+ preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29764,11 +29764,11 @@ bool HP_homun_call(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_call_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_call_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_call_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29791,11 +29791,11 @@ bool HP_homun_recv_data(int account_id, const struct s_homunculus *sh, int flag)
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_recv_data_pre ) {
- bool (*preHookFunc) (int *account_id, const struct s_homunculus *sh, int *flag);
+ bool (*preHookFunc) (int *account_id, const struct s_homunculus **sh, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_recv_data_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_recv_data_pre[hIndex].func;
- retVal___ = preHookFunc(&account_id, sh, &flag);
+ retVal___ = preHookFunc(&account_id, &sh, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29818,11 +29818,11 @@ bool HP_homun_creation_request(struct map_session_data *sd, int class_) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_creation_request_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *class_);
+ bool (*preHookFunc) (struct map_session_data **sd, int *class_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_creation_request_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_creation_request_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &class_);
+ retVal___ = preHookFunc(&sd, &class_);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29845,11 +29845,11 @@ bool HP_homun_ressurect(struct map_session_data *sd, unsigned char per, short x,
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_ressurect_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, unsigned char *per, short *x, short *y);
+ bool (*preHookFunc) (struct map_session_data **sd, unsigned char *per, short *x, short *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_ressurect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_ressurect_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &per, &x, &y);
+ retVal___ = preHookFunc(&sd, &per, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29871,11 +29871,11 @@ bool HP_homun_ressurect(struct map_session_data *sd, unsigned char per, short x,
void HP_homun_revive(struct homun_data *hd, unsigned int hp, unsigned int sp) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_revive_pre ) {
- void (*preHookFunc) (struct homun_data *hd, unsigned int *hp, unsigned int *sp);
+ void (*preHookFunc) (struct homun_data **hd, unsigned int *hp, unsigned int *sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_revive_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_revive_pre[hIndex].func;
- preHookFunc(hd, &hp, &sp);
+ preHookFunc(&hd, &hp, &sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29897,11 +29897,11 @@ void HP_homun_revive(struct homun_data *hd, unsigned int hp, unsigned int sp) {
void HP_homun_stat_reset(struct homun_data *hd) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_stat_reset_pre ) {
- void (*preHookFunc) (struct homun_data *hd);
+ void (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_stat_reset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_stat_reset_pre[hIndex].func;
- preHookFunc(hd);
+ preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29924,11 +29924,11 @@ bool HP_homun_shuffle(struct homun_data *hd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_shuffle_pre ) {
- bool (*preHookFunc) (struct homun_data *hd);
+ bool (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_shuffle_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_shuffle_pre[hIndex].func;
- retVal___ = preHookFunc(hd);
+ retVal___ = preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -29951,11 +29951,11 @@ bool HP_homun_read_db_sub(char *str[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_read_db_sub_pre ) {
- bool (*preHookFunc) (char *str[], int *columns, int *current);
+ bool (*preHookFunc) (char **str[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_read_db_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_read_db_sub_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
+ retVal___ = preHookFunc(&str, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30004,11 +30004,11 @@ bool HP_homun_read_skill_db_sub(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_homun_read_skill_db_sub_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_read_skill_db_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_read_skill_db_sub_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30082,11 +30082,11 @@ void HP_homun_exp_db_read(void) {
void HP_homun_addspiritball(struct homun_data *hd, int max) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_addspiritball_pre ) {
- void (*preHookFunc) (struct homun_data *hd, int *max);
+ void (*preHookFunc) (struct homun_data **hd, int *max);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_addspiritball_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_addspiritball_pre[hIndex].func;
- preHookFunc(hd, &max);
+ preHookFunc(&hd, &max);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30108,11 +30108,11 @@ void HP_homun_addspiritball(struct homun_data *hd, int max) {
void HP_homun_delspiritball(struct homun_data *hd, int count, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_homun_delspiritball_pre ) {
- void (*preHookFunc) (struct homun_data *hd, int *count, int *type);
+ void (*preHookFunc) (struct homun_data **hd, int *count, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_delspiritball_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_delspiritball_pre[hIndex].func;
- preHookFunc(hd, &count, &type);
+ preHookFunc(&hd, &count, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30135,11 +30135,11 @@ int8 HP_homun_get_intimacy_grade(struct homun_data *hd) {
int hIndex = 0;
int8 retVal___ = 0;
if( HPMHooks.count.HP_homun_get_intimacy_grade_pre ) {
- int8 (*preHookFunc) (struct homun_data *hd);
+ int8 (*preHookFunc) (struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_homun_get_intimacy_grade_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_homun_get_intimacy_grade_pre[hIndex].func;
- retVal___ = preHookFunc(hd);
+ retVal___ = preHookFunc(&hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30241,11 +30241,11 @@ int HP_instance_create(int party_id, const char *name, enum instance_owner_type
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_instance_create_pre ) {
- int (*preHookFunc) (int *party_id, const char *name, enum instance_owner_type *type);
+ int (*preHookFunc) (int *party_id, const char **name, enum instance_owner_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_instance_create_pre[hIndex].func;
- retVal___ = preHookFunc(&party_id, name, &type);
+ retVal___ = preHookFunc(&party_id, &name, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30268,11 +30268,11 @@ int HP_instance_add_map(const char *name, int instance_id, bool usebasename, con
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_instance_add_map_pre ) {
- int (*preHookFunc) (const char *name, int *instance_id, bool *usebasename, const char *map_name);
+ int (*preHookFunc) (const char **name, int *instance_id, bool *usebasename, const char **map_name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_add_map_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_instance_add_map_pre[hIndex].func;
- retVal___ = preHookFunc(name, &instance_id, &usebasename, map_name);
+ retVal___ = preHookFunc(&name, &instance_id, &usebasename, &map_name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30375,11 +30375,11 @@ int HP_instance_mapname2imap(const char *map_name, int instance_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_instance_mapname2imap_pre ) {
- int (*preHookFunc) (const char *map_name, int *instance_id);
+ int (*preHookFunc) (const char **map_name, int *instance_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_mapname2imap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_instance_mapname2imap_pre[hIndex].func;
- retVal___ = preHookFunc(map_name, &instance_id);
+ retVal___ = preHookFunc(&map_name, &instance_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30402,12 +30402,12 @@ int HP_instance_map_npcsub(struct block_list *bl, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_instance_map_npcsub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list args);
+ int (*preHookFunc) (struct block_list **bl, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_map_npcsub_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_instance_map_npcsub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, args___copy);
+ retVal___ = preHookFunc(&bl, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -30435,12 +30435,12 @@ int HP_instance_init_npc(struct block_list *bl, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_instance_init_npc_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list args);
+ int (*preHookFunc) (struct block_list **bl, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_init_npc_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_instance_init_npc_pre[hIndex].func;
- retVal___ = preHookFunc(bl, args___copy);
+ retVal___ = preHookFunc(&bl, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -30545,11 +30545,11 @@ void HP_instance_check_idle(int instance_id) {
void HP_instance_check_kick(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_instance_check_kick_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_instance_check_kick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_instance_check_kick_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30680,11 +30680,11 @@ int HP_intif_create_pet(int account_id, int char_id, short pet_type, short pet_l
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_create_pet_pre ) {
- int (*preHookFunc) (int *account_id, int *char_id, short *pet_type, short *pet_lv, short *pet_egg_id, short *pet_equip, short *intimate, short *hungry, char *rename_flag, char *incubate, char *pet_name);
+ int (*preHookFunc) (int *account_id, int *char_id, short *pet_type, short *pet_lv, short *pet_egg_id, short *pet_equip, short *intimate, short *hungry, char *rename_flag, char *incubate, char **pet_name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_create_pet_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_create_pet_pre[hIndex].func;
- retVal___ = preHookFunc(&account_id, &char_id, &pet_type, &pet_lv, &pet_egg_id, &pet_equip, &intimate, &hungry, &rename_flag, &incubate, pet_name);
+ retVal___ = preHookFunc(&account_id, &char_id, &pet_type, &pet_lv, &pet_egg_id, &pet_equip, &intimate, &hungry, &rename_flag, &incubate, &pet_name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30707,11 +30707,11 @@ int HP_intif_broadcast(const char *mes, int len, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_broadcast_pre ) {
- int (*preHookFunc) (const char *mes, int *len, int *type);
+ int (*preHookFunc) (const char **mes, int *len, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_broadcast_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_broadcast_pre[hIndex].func;
- retVal___ = preHookFunc(mes, &len, &type);
+ retVal___ = preHookFunc(&mes, &len, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30734,11 +30734,11 @@ int HP_intif_broadcast2(const char *mes, int len, unsigned int fontColor, short
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_broadcast2_pre ) {
- int (*preHookFunc) (const char *mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY);
+ int (*preHookFunc) (const char **mes, int *len, unsigned int *fontColor, short *fontType, short *fontSize, short *fontAlign, short *fontY);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_broadcast2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_broadcast2_pre[hIndex].func;
- retVal___ = preHookFunc(mes, &len, &fontColor, &fontType, &fontSize, &fontAlign, &fontY);
+ retVal___ = preHookFunc(&mes, &len, &fontColor, &fontType, &fontSize, &fontAlign, &fontY);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30761,11 +30761,11 @@ int HP_intif_main_message(struct map_session_data *sd, const char *message) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_main_message_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *message);
+ int (*preHookFunc) (struct map_session_data **sd, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_main_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_main_message_pre[hIndex].func;
- retVal___ = preHookFunc(sd, message);
+ retVal___ = preHookFunc(&sd, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30788,11 +30788,11 @@ int HP_intif_wis_message(struct map_session_data *sd, const char *nick, const ch
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_wis_message_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *nick, const char *mes, int *mes_len);
+ int (*preHookFunc) (struct map_session_data **sd, const char **nick, const char **mes, int *mes_len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_wis_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_wis_message_pre[hIndex].func;
- retVal___ = preHookFunc(sd, nick, mes, &mes_len);
+ retVal___ = preHookFunc(&sd, &nick, &mes, &mes_len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30815,11 +30815,11 @@ int HP_intif_wis_message_to_gm(char *Wisp_name, int permission, char *mes) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_wis_message_to_gm_pre ) {
- int (*preHookFunc) (char *Wisp_name, int *permission, char *mes);
+ int (*preHookFunc) (char **Wisp_name, int *permission, char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_wis_message_to_gm_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_wis_message_to_gm_pre[hIndex].func;
- retVal___ = preHookFunc(Wisp_name, &permission, mes);
+ retVal___ = preHookFunc(&Wisp_name, &permission, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30842,11 +30842,11 @@ int HP_intif_saveregistry(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_saveregistry_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_saveregistry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_saveregistry_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30869,11 +30869,11 @@ int HP_intif_request_registry(struct map_session_data *sd, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_request_registry_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *flag);
+ int (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_request_registry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_request_registry_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &flag);
+ retVal___ = preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30923,11 +30923,11 @@ int HP_intif_send_guild_storage(int account_id, struct guild_storage *gstor) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_send_guild_storage_pre ) {
- int (*preHookFunc) (int *account_id, struct guild_storage *gstor);
+ int (*preHookFunc) (int *account_id, struct guild_storage **gstor);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_send_guild_storage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_send_guild_storage_pre[hIndex].func;
- retVal___ = preHookFunc(&account_id, gstor);
+ retVal___ = preHookFunc(&account_id, &gstor);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -30950,11 +30950,11 @@ int HP_intif_create_party(struct party_member *member, const char *name, int ite
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_create_party_pre ) {
- int (*preHookFunc) (struct party_member *member, const char *name, int *item, int *item2);
+ int (*preHookFunc) (struct party_member **member, const char **name, int *item, int *item2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_create_party_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_create_party_pre[hIndex].func;
- retVal___ = preHookFunc(member, name, &item, &item2);
+ retVal___ = preHookFunc(&member, &name, &item, &item2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31004,11 +31004,11 @@ int HP_intif_party_addmember(int party_id, struct party_member *member) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_party_addmember_pre ) {
- int (*preHookFunc) (int *party_id, struct party_member *member);
+ int (*preHookFunc) (int *party_id, struct party_member **member);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_party_addmember_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_party_addmember_pre[hIndex].func;
- retVal___ = preHookFunc(&party_id, member);
+ retVal___ = preHookFunc(&party_id, &member);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31085,11 +31085,11 @@ int HP_intif_party_changemap(struct map_session_data *sd, int online) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_party_changemap_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *online);
+ int (*preHookFunc) (struct map_session_data **sd, int *online);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_party_changemap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_party_changemap_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &online);
+ retVal___ = preHookFunc(&sd, &online);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31139,11 +31139,11 @@ int HP_intif_party_message(int party_id, int account_id, const char *mes, int le
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_party_message_pre ) {
- int (*preHookFunc) (int *party_id, int *account_id, const char *mes, int *len);
+ int (*preHookFunc) (int *party_id, int *account_id, const char **mes, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_party_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_party_message_pre[hIndex].func;
- retVal___ = preHookFunc(&party_id, &account_id, mes, &len);
+ retVal___ = preHookFunc(&party_id, &account_id, &mes, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31193,11 +31193,11 @@ int HP_intif_guild_create(const char *name, const struct guild_member *master) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_create_pre ) {
- int (*preHookFunc) (const char *name, const struct guild_member *master);
+ int (*preHookFunc) (const char **name, const struct guild_member **master);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_create_pre[hIndex].func;
- retVal___ = preHookFunc(name, master);
+ retVal___ = preHookFunc(&name, &master);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31247,11 +31247,11 @@ int HP_intif_guild_addmember(int guild_id, struct guild_member *m) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_addmember_pre ) {
- int (*preHookFunc) (int *guild_id, struct guild_member *m);
+ int (*preHookFunc) (int *guild_id, struct guild_member **m);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_addmember_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_addmember_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, m);
+ retVal___ = preHookFunc(&guild_id, &m);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31274,11 +31274,11 @@ int HP_intif_guild_leave(int guild_id, int account_id, int char_id, int flag, co
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_leave_pre ) {
- int (*preHookFunc) (int *guild_id, int *account_id, int *char_id, int *flag, const char *mes);
+ int (*preHookFunc) (int *guild_id, int *account_id, int *char_id, int *flag, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_leave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_leave_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &account_id, &char_id, &flag, mes);
+ retVal___ = preHookFunc(&guild_id, &account_id, &char_id, &flag, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31355,11 +31355,11 @@ int HP_intif_guild_message(int guild_id, int account_id, const char *mes, int le
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_message_pre ) {
- int (*preHookFunc) (int *guild_id, int *account_id, const char *mes, int *len);
+ int (*preHookFunc) (int *guild_id, int *account_id, const char **mes, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_message_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &account_id, mes, &len);
+ retVal___ = preHookFunc(&guild_id, &account_id, &mes, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31382,11 +31382,11 @@ int HP_intif_guild_change_gm(int guild_id, const char *name, int len) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_change_gm_pre ) {
- int (*preHookFunc) (int *guild_id, const char *name, int *len);
+ int (*preHookFunc) (int *guild_id, const char **name, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_change_gm_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_change_gm_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, name, &len);
+ retVal___ = preHookFunc(&guild_id, &name, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31409,11 +31409,11 @@ int HP_intif_guild_change_basicinfo(int guild_id, int type, const void *data, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_change_basicinfo_pre ) {
- int (*preHookFunc) (int *guild_id, int *type, const void *data, int *len);
+ int (*preHookFunc) (int *guild_id, int *type, const void **data, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_change_basicinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_change_basicinfo_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &type, data, &len);
+ retVal___ = preHookFunc(&guild_id, &type, &data, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31436,11 +31436,11 @@ int HP_intif_guild_change_memberinfo(int guild_id, int account_id, int char_id,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_change_memberinfo_pre ) {
- int (*preHookFunc) (int *guild_id, int *account_id, int *char_id, int *type, const void *data, int *len);
+ int (*preHookFunc) (int *guild_id, int *account_id, int *char_id, int *type, const void **data, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_change_memberinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_change_memberinfo_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &account_id, &char_id, &type, data, &len);
+ retVal___ = preHookFunc(&guild_id, &account_id, &char_id, &type, &data, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31463,11 +31463,11 @@ int HP_intif_guild_position(int guild_id, int idx, struct guild_position *p) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_position_pre ) {
- int (*preHookFunc) (int *guild_id, int *idx, struct guild_position *p);
+ int (*preHookFunc) (int *guild_id, int *idx, struct guild_position **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_position_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_position_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &idx, p);
+ retVal___ = preHookFunc(&guild_id, &idx, &p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31544,11 +31544,11 @@ int HP_intif_guild_notice(int guild_id, const char *mes1, const char *mes2) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_notice_pre ) {
- int (*preHookFunc) (int *guild_id, const char *mes1, const char *mes2);
+ int (*preHookFunc) (int *guild_id, const char **mes1, const char **mes2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_notice_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_notice_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, mes1, mes2);
+ retVal___ = preHookFunc(&guild_id, &mes1, &mes2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31571,11 +31571,11 @@ int HP_intif_guild_emblem(int guild_id, int len, const char *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_emblem_pre ) {
- int (*preHookFunc) (int *guild_id, int *len, const char *data);
+ int (*preHookFunc) (int *guild_id, int *len, const char **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_emblem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_emblem_pre[hIndex].func;
- retVal___ = preHookFunc(&guild_id, &len, data);
+ retVal___ = preHookFunc(&guild_id, &len, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31598,11 +31598,11 @@ int HP_intif_guild_castle_dataload(int num, int *castle_ids) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_guild_castle_dataload_pre ) {
- int (*preHookFunc) (int *num, int *castle_ids);
+ int (*preHookFunc) (int *num, int **castle_ids);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_guild_castle_dataload_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_guild_castle_dataload_pre[hIndex].func;
- retVal___ = preHookFunc(&num, castle_ids);
+ retVal___ = preHookFunc(&num, &castle_ids);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31705,11 +31705,11 @@ int HP_intif_save_petdata(int account_id, struct s_pet *p) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_save_petdata_pre ) {
- int (*preHookFunc) (int *account_id, struct s_pet *p);
+ int (*preHookFunc) (int *account_id, struct s_pet **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_save_petdata_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_save_petdata_pre[hIndex].func;
- retVal___ = preHookFunc(&account_id, p);
+ retVal___ = preHookFunc(&account_id, &p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31759,11 +31759,11 @@ int HP_intif_rename(struct map_session_data *sd, int type, const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_rename_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, const char *name);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_rename_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_rename_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, name);
+ retVal___ = preHookFunc(&sd, &type, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31786,11 +31786,11 @@ int HP_intif_homunculus_create(int account_id, struct s_homunculus *sh) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_homunculus_create_pre ) {
- int (*preHookFunc) (int *account_id, struct s_homunculus *sh);
+ int (*preHookFunc) (int *account_id, struct s_homunculus **sh);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_homunculus_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_homunculus_create_pre[hIndex].func;
- retVal___ = preHookFunc(&account_id, sh);
+ retVal___ = preHookFunc(&account_id, &sh);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31840,11 +31840,11 @@ int HP_intif_homunculus_requestsave(int account_id, struct s_homunculus *sh) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_homunculus_requestsave_pre ) {
- int (*preHookFunc) (int *account_id, struct s_homunculus *sh);
+ int (*preHookFunc) (int *account_id, struct s_homunculus **sh);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_homunculus_requestsave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_homunculus_requestsave_pre[hIndex].func;
- retVal___ = preHookFunc(&account_id, sh);
+ retVal___ = preHookFunc(&account_id, &sh);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31893,11 +31893,11 @@ int HP_intif_homunculus_requestdelete(int homun_id) {
void HP_intif_request_questlog(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_intif_request_questlog_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_request_questlog_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_request_questlog_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31920,11 +31920,11 @@ int HP_intif_quest_save(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_quest_save_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_quest_save_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_quest_save_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -31947,11 +31947,11 @@ int HP_intif_mercenary_create(struct s_mercenary *merc) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_mercenary_create_pre ) {
- int (*preHookFunc) (struct s_mercenary *merc);
+ int (*preHookFunc) (struct s_mercenary **merc);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_mercenary_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_mercenary_create_pre[hIndex].func;
- retVal___ = preHookFunc(merc);
+ retVal___ = preHookFunc(&merc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -32028,11 +32028,11 @@ int HP_intif_mercenary_save(struct s_mercenary *merc) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_mercenary_save_pre ) {
- int (*preHookFunc) (struct s_mercenary *merc);
+ int (*preHookFunc) (struct s_mercenary **merc);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_mercenary_save_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_mercenary_save_pre[hIndex].func;
- retVal___ = preHookFunc(merc);
+ retVal___ = preHookFunc(&merc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -32190,11 +32190,11 @@ int HP_intif_Mail_send(int account_id, struct mail_message *msg) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_Mail_send_pre ) {
- int (*preHookFunc) (int *account_id, struct mail_message *msg);
+ int (*preHookFunc) (int *account_id, struct mail_message **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Mail_send_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_Mail_send_pre[hIndex].func;
- retVal___ = preHookFunc(&account_id, msg);
+ retVal___ = preHookFunc(&account_id, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -32217,11 +32217,11 @@ int HP_intif_Auction_requestlist(int char_id, short type, int price, const char
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_Auction_requestlist_pre ) {
- int (*preHookFunc) (int *char_id, short *type, int *price, const char *searchtext, short *page);
+ int (*preHookFunc) (int *char_id, short *type, int *price, const char **searchtext, short *page);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Auction_requestlist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_Auction_requestlist_pre[hIndex].func;
- retVal___ = preHookFunc(&char_id, &type, &price, searchtext, &page);
+ retVal___ = preHookFunc(&char_id, &type, &price, &searchtext, &page);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -32244,11 +32244,11 @@ int HP_intif_Auction_register(struct auction_data *auction) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_Auction_register_pre ) {
- int (*preHookFunc) (struct auction_data *auction);
+ int (*preHookFunc) (struct auction_data **auction);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Auction_register_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_Auction_register_pre[hIndex].func;
- retVal___ = preHookFunc(auction);
+ retVal___ = preHookFunc(&auction);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -32325,11 +32325,11 @@ int HP_intif_Auction_bid(int char_id, const char *name, unsigned int auction_id,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_Auction_bid_pre ) {
- int (*preHookFunc) (int *char_id, const char *name, unsigned int *auction_id, int *bid);
+ int (*preHookFunc) (int *char_id, const char **name, unsigned int *auction_id, int *bid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_Auction_bid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_Auction_bid_pre[hIndex].func;
- retVal___ = preHookFunc(&char_id, name, &auction_id, &bid);
+ retVal___ = preHookFunc(&char_id, &name, &auction_id, &bid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -32352,11 +32352,11 @@ int HP_intif_elemental_create(struct s_elemental *ele) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_elemental_create_pre ) {
- int (*preHookFunc) (struct s_elemental *ele);
+ int (*preHookFunc) (struct s_elemental **ele);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_elemental_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_elemental_create_pre[hIndex].func;
- retVal___ = preHookFunc(ele);
+ retVal___ = preHookFunc(&ele);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -32433,11 +32433,11 @@ int HP_intif_elemental_save(struct s_elemental *ele) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_elemental_save_pre ) {
- int (*preHookFunc) (struct s_elemental *ele);
+ int (*preHookFunc) (struct s_elemental **ele);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_elemental_save_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_elemental_save_pre[hIndex].func;
- retVal___ = preHookFunc(ele);
+ retVal___ = preHookFunc(&ele);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -32459,11 +32459,11 @@ int HP_intif_elemental_save(struct s_elemental *ele) {
void HP_intif_request_accinfo(int u_fd, int aid, int group_lv, char *query) {
int hIndex = 0;
if( HPMHooks.count.HP_intif_request_accinfo_pre ) {
- void (*preHookFunc) (int *u_fd, int *aid, int *group_lv, char *query);
+ void (*preHookFunc) (int *u_fd, int *aid, int *group_lv, char **query);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_request_accinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_intif_request_accinfo_pre[hIndex].func;
- preHookFunc(&u_fd, &aid, &group_lv, query);
+ preHookFunc(&u_fd, &aid, &group_lv, &query);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -32565,12 +32565,12 @@ int HP_intif_pWisToGM_sub(struct map_session_data *sd, va_list va) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_intif_pWisToGM_sub_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, va_list va);
+ int (*preHookFunc) (struct map_session_data **sd, va_list va);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_intif_pWisToGM_sub_pre; hIndex++ ) {
va_list va___copy; va_copy(va___copy, va);
preHookFunc = HPMHooks.list.HP_intif_pWisToGM_sub_pre[hIndex].func;
- retVal___ = preHookFunc(sd, va___copy);
+ retVal___ = preHookFunc(&sd, va___copy);
va_end(va___copy);
}
if( *HPMforce_return ) {
@@ -34211,11 +34211,11 @@ int HP_ircbot_parse(int fd) {
void HP_ircbot_parse_sub(int fd, char *str) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_parse_sub_pre ) {
- void (*preHookFunc) (int *fd, char *str);
+ void (*preHookFunc) (int *fd, char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_parse_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_parse_sub_pre[hIndex].func;
- preHookFunc(&fd, str);
+ preHookFunc(&fd, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34237,11 +34237,11 @@ void HP_ircbot_parse_sub(int fd, char *str) {
void HP_ircbot_parse_source(char *source, char *nick, char *ident, char *host) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_parse_source_pre ) {
- void (*preHookFunc) (char *source, char *nick, char *ident, char *host);
+ void (*preHookFunc) (char **source, char **nick, char **ident, char **host);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_parse_source_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_parse_source_pre[hIndex].func;
- preHookFunc(source, nick, ident, host);
+ preHookFunc(&source, &nick, &ident, &host);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34264,11 +34264,11 @@ struct irc_func* HP_ircbot_func_search(char *function_name) {
int hIndex = 0;
struct irc_func* retVal___ = NULL;
if( HPMHooks.count.HP_ircbot_func_search_pre ) {
- struct irc_func* (*preHookFunc) (char *function_name);
+ struct irc_func* (*preHookFunc) (char **function_name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_func_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_func_search_pre[hIndex].func;
- retVal___ = preHookFunc(function_name);
+ retVal___ = preHookFunc(&function_name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34398,11 +34398,11 @@ int HP_ircbot_queue_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_ircbot_queue(char *str) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_queue_pre ) {
- void (*preHookFunc) (char *str);
+ void (*preHookFunc) (char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_queue_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_queue_pre[hIndex].func;
- preHookFunc(str);
+ preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34424,11 +34424,11 @@ void HP_ircbot_queue(char *str) {
void HP_ircbot_send(char *str, bool force) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_send_pre ) {
- void (*preHookFunc) (char *str, bool *force);
+ void (*preHookFunc) (char **str, bool *force);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_send_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_send_pre[hIndex].func;
- preHookFunc(str, &force);
+ preHookFunc(&str, &force);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34450,11 +34450,11 @@ void HP_ircbot_send(char *str, bool force) {
void HP_ircbot_relay(const char *name, const char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_relay_pre ) {
- void (*preHookFunc) (const char *name, const char *msg);
+ void (*preHookFunc) (const char **name, const char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_relay_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_relay_pre[hIndex].func;
- preHookFunc(name, msg);
+ preHookFunc(&name, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34476,11 +34476,11 @@ void HP_ircbot_relay(const char *name, const char *msg) {
void HP_ircbot_pong(int fd, char *cmd, char *source, char *target, char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_pong_pre ) {
- void (*preHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*preHookFunc) (int *fd, char **cmd, char **source, char **target, char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_pong_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_pong_pre[hIndex].func;
- preHookFunc(&fd, cmd, source, target, msg);
+ preHookFunc(&fd, &cmd, &source, &target, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34502,11 +34502,11 @@ void HP_ircbot_pong(int fd, char *cmd, char *source, char *target, char *msg) {
void HP_ircbot_privmsg(int fd, char *cmd, char *source, char *target, char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_privmsg_pre ) {
- void (*preHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*preHookFunc) (int *fd, char **cmd, char **source, char **target, char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_privmsg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_privmsg_pre[hIndex].func;
- preHookFunc(&fd, cmd, source, target, msg);
+ preHookFunc(&fd, &cmd, &source, &target, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34528,11 +34528,11 @@ void HP_ircbot_privmsg(int fd, char *cmd, char *source, char *target, char *msg)
void HP_ircbot_privmsg_ctcp(int fd, char *cmd, char *source, char *target, char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_privmsg_ctcp_pre ) {
- void (*preHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*preHookFunc) (int *fd, char **cmd, char **source, char **target, char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_privmsg_ctcp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_privmsg_ctcp_pre[hIndex].func;
- preHookFunc(&fd, cmd, source, target, msg);
+ preHookFunc(&fd, &cmd, &source, &target, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34554,11 +34554,11 @@ void HP_ircbot_privmsg_ctcp(int fd, char *cmd, char *source, char *target, char
void HP_ircbot_userjoin(int fd, char *cmd, char *source, char *target, char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_userjoin_pre ) {
- void (*preHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*preHookFunc) (int *fd, char **cmd, char **source, char **target, char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_userjoin_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_userjoin_pre[hIndex].func;
- preHookFunc(&fd, cmd, source, target, msg);
+ preHookFunc(&fd, &cmd, &source, &target, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34580,11 +34580,11 @@ void HP_ircbot_userjoin(int fd, char *cmd, char *source, char *target, char *msg
void HP_ircbot_userleave(int fd, char *cmd, char *source, char *target, char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_userleave_pre ) {
- void (*preHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*preHookFunc) (int *fd, char **cmd, char **source, char **target, char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_userleave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_userleave_pre[hIndex].func;
- preHookFunc(&fd, cmd, source, target, msg);
+ preHookFunc(&fd, &cmd, &source, &target, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34606,11 +34606,11 @@ void HP_ircbot_userleave(int fd, char *cmd, char *source, char *target, char *ms
void HP_ircbot_usernick(int fd, char *cmd, char *source, char *target, char *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_ircbot_usernick_pre ) {
- void (*preHookFunc) (int *fd, char *cmd, char *source, char *target, char *msg);
+ void (*preHookFunc) (int *fd, char **cmd, char **source, char **target, char **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_ircbot_usernick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_ircbot_usernick_pre[hIndex].func;
- preHookFunc(&fd, cmd, source, target, msg);
+ preHookFunc(&fd, &cmd, &source, &target, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34815,11 +34815,11 @@ void HP_itemdb_read_packages(void) {
void HP_itemdb_write_cached_packages(const char *config_filename) {
int hIndex = 0;
if( HPMHooks.count.HP_itemdb_write_cached_packages_pre ) {
- void (*preHookFunc) (const char *config_filename);
+ void (*preHookFunc) (const char **config_filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_write_cached_packages_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_write_cached_packages_pre[hIndex].func;
- preHookFunc(config_filename);
+ preHookFunc(&config_filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34842,11 +34842,11 @@ bool HP_itemdb_read_cached_packages(const char *config_filename) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_itemdb_read_cached_packages_pre ) {
- bool (*preHookFunc) (const char *config_filename);
+ bool (*preHookFunc) (const char **config_filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_cached_packages_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_read_cached_packages_pre[hIndex].func;
- retVal___ = preHookFunc(config_filename);
+ retVal___ = preHookFunc(&config_filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34869,11 +34869,11 @@ struct item_data* HP_itemdb_name2id(const char *str) {
int hIndex = 0;
struct item_data* retVal___ = NULL;
if( HPMHooks.count.HP_itemdb_name2id_pre ) {
- struct item_data* (*preHookFunc) (const char *str);
+ struct item_data* (*preHookFunc) (const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_name2id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_name2id_pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34896,11 +34896,11 @@ struct item_data* HP_itemdb_search_name(const char *name) {
int hIndex = 0;
struct item_data* retVal___ = NULL;
if( HPMHooks.count.HP_itemdb_search_name_pre ) {
- struct item_data* (*preHookFunc) (const char *name);
+ struct item_data* (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_search_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_search_name_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -34923,11 +34923,11 @@ int HP_itemdb_search_name_array(struct item_data **data, int size, const char *s
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_search_name_array_pre ) {
- int (*preHookFunc) (struct item_data **data, int *size, const char *str, int *flag);
+ int (*preHookFunc) (struct item_data ***data, int *size, const char **str, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_search_name_array_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_search_name_array_pre[hIndex].func;
- retVal___ = preHookFunc(data, &size, str, &flag);
+ retVal___ = preHookFunc(&data, &size, &str, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35031,11 +35031,11 @@ bool HP_itemdb_in_group(struct item_group *group, int nameid) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_itemdb_in_group_pre ) {
- bool (*preHookFunc) (struct item_group *group, int *nameid);
+ bool (*preHookFunc) (struct item_group **group, int *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_in_group_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_in_group_pre[hIndex].func;
- retVal___ = preHookFunc(group, &nameid);
+ retVal___ = preHookFunc(&group, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35058,11 +35058,11 @@ int HP_itemdb_group_item(struct item_group *group) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_group_item_pre ) {
- int (*preHookFunc) (struct item_group *group);
+ int (*preHookFunc) (struct item_group **group);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_group_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_group_item_pre[hIndex].func;
- retVal___ = preHookFunc(group);
+ retVal___ = preHookFunc(&group);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35085,11 +35085,11 @@ int HP_itemdb_chain_item(unsigned short chain_id, int *rate) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_chain_item_pre ) {
- int (*preHookFunc) (unsigned short *chain_id, int *rate);
+ int (*preHookFunc) (unsigned short *chain_id, int **rate);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_chain_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_chain_item_pre[hIndex].func;
- retVal___ = preHookFunc(&chain_id, rate);
+ retVal___ = preHookFunc(&chain_id, &rate);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35111,11 +35111,11 @@ int HP_itemdb_chain_item(unsigned short chain_id, int *rate) {
void HP_itemdb_package_item(struct map_session_data *sd, struct item_package *package) {
int hIndex = 0;
if( HPMHooks.count.HP_itemdb_package_item_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct item_package *package);
+ void (*preHookFunc) (struct map_session_data **sd, struct item_package **package);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_package_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_package_item_pre[hIndex].func;
- preHookFunc(sd, package);
+ preHookFunc(&sd, &package);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35138,12 +35138,12 @@ int HP_itemdb_searchname_sub(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_searchname_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_searchname_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_itemdb_searchname_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -35204,11 +35204,11 @@ int HP_itemdb_searchrandomid(struct item_group *group) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_searchrandomid_pre ) {
- int (*preHookFunc) (struct item_group *group);
+ int (*preHookFunc) (struct item_group **group);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_searchrandomid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_searchrandomid_pre[hIndex].func;
- retVal___ = preHookFunc(group);
+ retVal___ = preHookFunc(&group);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35257,11 +35257,11 @@ const char* HP_itemdb_typename(int type) {
void HP_itemdb_jobmask2mapid(uint64 *bclass, uint64 jobmask) {
int hIndex = 0;
if( HPMHooks.count.HP_itemdb_jobmask2mapid_pre ) {
- void (*preHookFunc) (uint64 *bclass, uint64 *jobmask);
+ void (*preHookFunc) (uint64 **bclass, uint64 *jobmask);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_jobmask2mapid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_jobmask2mapid_pre[hIndex].func;
- preHookFunc(bclass, &jobmask);
+ preHookFunc(&bclass, &jobmask);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35283,11 +35283,11 @@ void HP_itemdb_jobmask2mapid(uint64 *bclass, uint64 jobmask) {
void HP_itemdb_jobid2mapid(uint64 *bclass, int job_id, bool enable) {
int hIndex = 0;
if( HPMHooks.count.HP_itemdb_jobid2mapid_pre ) {
- void (*preHookFunc) (uint64 *bclass, int *job_id, bool *enable);
+ void (*preHookFunc) (uint64 **bclass, int *job_id, bool *enable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_jobid2mapid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_jobid2mapid_pre[hIndex].func;
- preHookFunc(bclass, &job_id, &enable);
+ preHookFunc(&bclass, &job_id, &enable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35390,11 +35390,11 @@ int HP_itemdb_isequip2(struct item_data *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_isequip2_pre ) {
- int (*preHookFunc) (struct item_data *data);
+ int (*preHookFunc) (struct item_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isequip2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_isequip2_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35444,11 +35444,11 @@ int HP_itemdb_isstackable2(struct item_data *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_isstackable2_pre ) {
- int (*preHookFunc) (struct item_data *data);
+ int (*preHookFunc) (struct item_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isstackable2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_isstackable2_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35471,11 +35471,11 @@ int HP_itemdb_isdropable_sub(struct item_data *item, int gmlv, int unused) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_isdropable_sub_pre ) {
- int (*preHookFunc) (struct item_data *item, int *gmlv, int *unused);
+ int (*preHookFunc) (struct item_data **item, int *gmlv, int *unused);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isdropable_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_isdropable_sub_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &unused);
+ retVal___ = preHookFunc(&item, &gmlv, &unused);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35498,11 +35498,11 @@ int HP_itemdb_cantrade_sub(struct item_data *item, int gmlv, int gmlv2) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_cantrade_sub_pre ) {
- int (*preHookFunc) (struct item_data *item, int *gmlv, int *gmlv2);
+ int (*preHookFunc) (struct item_data **item, int *gmlv, int *gmlv2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_cantrade_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_cantrade_sub_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &gmlv2);
+ retVal___ = preHookFunc(&item, &gmlv, &gmlv2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35525,11 +35525,11 @@ int HP_itemdb_canpartnertrade_sub(struct item_data *item, int gmlv, int gmlv2) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_canpartnertrade_sub_pre ) {
- int (*preHookFunc) (struct item_data *item, int *gmlv, int *gmlv2);
+ int (*preHookFunc) (struct item_data **item, int *gmlv, int *gmlv2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canpartnertrade_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_canpartnertrade_sub_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &gmlv2);
+ retVal___ = preHookFunc(&item, &gmlv, &gmlv2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35552,11 +35552,11 @@ int HP_itemdb_cansell_sub(struct item_data *item, int gmlv, int unused) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_cansell_sub_pre ) {
- int (*preHookFunc) (struct item_data *item, int *gmlv, int *unused);
+ int (*preHookFunc) (struct item_data **item, int *gmlv, int *unused);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_cansell_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_cansell_sub_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &unused);
+ retVal___ = preHookFunc(&item, &gmlv, &unused);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35579,11 +35579,11 @@ int HP_itemdb_cancartstore_sub(struct item_data *item, int gmlv, int unused) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_cancartstore_sub_pre ) {
- int (*preHookFunc) (struct item_data *item, int *gmlv, int *unused);
+ int (*preHookFunc) (struct item_data **item, int *gmlv, int *unused);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_cancartstore_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_cancartstore_sub_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &unused);
+ retVal___ = preHookFunc(&item, &gmlv, &unused);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35606,11 +35606,11 @@ int HP_itemdb_canstore_sub(struct item_data *item, int gmlv, int unused) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_canstore_sub_pre ) {
- int (*preHookFunc) (struct item_data *item, int *gmlv, int *unused);
+ int (*preHookFunc) (struct item_data **item, int *gmlv, int *unused);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canstore_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_canstore_sub_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &unused);
+ retVal___ = preHookFunc(&item, &gmlv, &unused);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35633,11 +35633,11 @@ int HP_itemdb_canguildstore_sub(struct item_data *item, int gmlv, int unused) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_canguildstore_sub_pre ) {
- int (*preHookFunc) (struct item_data *item, int *gmlv, int *unused);
+ int (*preHookFunc) (struct item_data **item, int *gmlv, int *unused);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canguildstore_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_canguildstore_sub_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &unused);
+ retVal___ = preHookFunc(&item, &gmlv, &unused);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35660,11 +35660,11 @@ int HP_itemdb_canmail_sub(struct item_data *item, int gmlv, int unused) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_canmail_sub_pre ) {
- int (*preHookFunc) (struct item_data *item, int *gmlv, int *unused);
+ int (*preHookFunc) (struct item_data **item, int *gmlv, int *unused);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canmail_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_canmail_sub_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &unused);
+ retVal___ = preHookFunc(&item, &gmlv, &unused);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35687,11 +35687,11 @@ int HP_itemdb_canauction_sub(struct item_data *item, int gmlv, int unused) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_canauction_sub_pre ) {
- int (*preHookFunc) (struct item_data *item, int *gmlv, int *unused);
+ int (*preHookFunc) (struct item_data **item, int *gmlv, int *unused);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_canauction_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_canauction_sub_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &unused);
+ retVal___ = preHookFunc(&item, &gmlv, &unused);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35714,11 +35714,11 @@ int HP_itemdb_isrestricted(struct item *item, int gmlv, int gmlv2, int ( *func )
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_isrestricted_pre ) {
- int (*preHookFunc) (struct item *item, int *gmlv, int *gmlv2, int ( *func ) (struct item_data *, int, int));
+ int (*preHookFunc) (struct item **item, int *gmlv, int *gmlv2, int ( **func ) (struct item_data *, int, int));
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isrestricted_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_isrestricted_pre[hIndex].func;
- retVal___ = preHookFunc(item, &gmlv, &gmlv2, func);
+ retVal___ = preHookFunc(&item, &gmlv, &gmlv2, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35768,11 +35768,11 @@ int HP_itemdb_isidentified2(struct item_data *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_isidentified2_pre ) {
- int (*preHookFunc) (struct item_data *data);
+ int (*preHookFunc) (struct item_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_isidentified2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_isidentified2_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35795,11 +35795,11 @@ int HP_itemdb_combo_split_atoi(char *str, int *val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_combo_split_atoi_pre ) {
- int (*preHookFunc) (char *str, int *val);
+ int (*preHookFunc) (char **str, int **val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_combo_split_atoi_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_combo_split_atoi_pre[hIndex].func;
- retVal___ = preHookFunc(str, val);
+ retVal___ = preHookFunc(&str, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35848,11 +35848,11 @@ int HP_itemdb_gendercheck(struct item_data *id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_gendercheck_pre ) {
- int (*preHookFunc) (struct item_data *id);
+ int (*preHookFunc) (struct item_data **id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_gendercheck_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_gendercheck_pre[hIndex].func;
- retVal___ = preHookFunc(id);
+ retVal___ = preHookFunc(&id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35875,11 +35875,11 @@ int HP_itemdb_validate_entry(struct item_data *entry, int n, const char *source)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_validate_entry_pre ) {
- int (*preHookFunc) (struct item_data *entry, int *n, const char *source);
+ int (*preHookFunc) (struct item_data **entry, int *n, const char **source);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_validate_entry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_validate_entry_pre[hIndex].func;
- retVal___ = preHookFunc(entry, &n, source);
+ retVal___ = preHookFunc(&entry, &n, &source);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35901,11 +35901,11 @@ int HP_itemdb_validate_entry(struct item_data *entry, int n, const char *source)
void HP_itemdb_readdb_additional_fields(int itemid, struct config_setting_t *it, int n, const char *source) {
int hIndex = 0;
if( HPMHooks.count.HP_itemdb_readdb_additional_fields_pre ) {
- void (*preHookFunc) (int *itemid, struct config_setting_t *it, int *n, const char *source);
+ void (*preHookFunc) (int *itemid, struct config_setting_t **it, int *n, const char **source);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_readdb_additional_fields_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_readdb_additional_fields_pre[hIndex].func;
- preHookFunc(&itemid, it, &n, source);
+ preHookFunc(&itemid, &it, &n, &source);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35927,11 +35927,11 @@ void HP_itemdb_readdb_additional_fields(int itemid, struct config_setting_t *it,
void HP_itemdb_readdb_job_sub(struct item_data *id, struct config_setting_t *t) {
int hIndex = 0;
if( HPMHooks.count.HP_itemdb_readdb_job_sub_pre ) {
- void (*preHookFunc) (struct item_data *id, struct config_setting_t *t);
+ void (*preHookFunc) (struct item_data **id, struct config_setting_t **t);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_readdb_job_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_readdb_job_sub_pre[hIndex].func;
- preHookFunc(id, t);
+ preHookFunc(&id, &t);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35954,11 +35954,11 @@ int HP_itemdb_readdb_libconfig_sub(struct config_setting_t *it, int n, const cha
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_readdb_libconfig_sub_pre ) {
- int (*preHookFunc) (struct config_setting_t *it, int *n, const char *source);
+ int (*preHookFunc) (struct config_setting_t **it, int *n, const char **source);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_readdb_libconfig_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_readdb_libconfig_sub_pre[hIndex].func;
- retVal___ = preHookFunc(it, &n, source);
+ retVal___ = preHookFunc(&it, &n, &source);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -35981,11 +35981,11 @@ int HP_itemdb_readdb_libconfig(const char *filename) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_readdb_libconfig_pre ) {
- int (*preHookFunc) (const char *filename);
+ int (*preHookFunc) (const char **filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_readdb_libconfig_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_readdb_libconfig_pre[hIndex].func;
- retVal___ = preHookFunc(filename);
+ retVal___ = preHookFunc(&filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36008,11 +36008,11 @@ uint64 HP_itemdb_unique_id(struct map_session_data *sd) {
int hIndex = 0;
uint64 retVal___ = 0;
if( HPMHooks.count.HP_itemdb_unique_id_pre ) {
- uint64 (*preHookFunc) (struct map_session_data *sd);
+ uint64 (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_unique_id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_unique_id_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36060,11 +36060,11 @@ void HP_itemdb_read(bool minimal) {
void HP_itemdb_destroy_item_data(struct item_data *self, int free_self) {
int hIndex = 0;
if( HPMHooks.count.HP_itemdb_destroy_item_data_pre ) {
- void (*preHookFunc) (struct item_data *self, int *free_self);
+ void (*preHookFunc) (struct item_data **self, int *free_self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_destroy_item_data_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_destroy_item_data_pre[hIndex].func;
- preHookFunc(self, &free_self);
+ preHookFunc(&self, &free_self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36087,12 +36087,12 @@ int HP_itemdb_final_sub(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_itemdb_final_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_final_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_itemdb_final_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -36173,11 +36173,11 @@ bool HP_itemdb_is_item_usable(struct item_data *item) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_itemdb_is_item_usable_pre ) {
- bool (*preHookFunc) (struct item_data *item);
+ bool (*preHookFunc) (struct item_data **item);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_is_item_usable_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_is_item_usable_pre[hIndex].func;
- retVal___ = preHookFunc(item);
+ retVal___ = preHookFunc(&item);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36200,11 +36200,11 @@ bool HP_itemdb_lookup_const(const struct config_setting_t *it, const char *name,
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_itemdb_lookup_const_pre ) {
- bool (*preHookFunc) (const struct config_setting_t *it, const char *name, int *value);
+ bool (*preHookFunc) (const struct config_setting_t **it, const char **name, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_lookup_const_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_itemdb_lookup_const_pre[hIndex].func;
- retVal___ = preHookFunc(it, name, value);
+ retVal___ = preHookFunc(&it, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36228,11 +36228,11 @@ int HP_libconfig_read(struct config_t *config, FILE *stream) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_read_pre ) {
- int (*preHookFunc) (struct config_t *config, FILE *stream);
+ int (*preHookFunc) (struct config_t **config, FILE **stream);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_read_pre[hIndex].func;
- retVal___ = preHookFunc(config, stream);
+ retVal___ = preHookFunc(&config, &stream);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36254,11 +36254,11 @@ int HP_libconfig_read(struct config_t *config, FILE *stream) {
void HP_libconfig_write(const struct config_t *config, FILE *stream) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_write_pre ) {
- void (*preHookFunc) (const struct config_t *config, FILE *stream);
+ void (*preHookFunc) (const struct config_t **config, FILE **stream);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_write_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_write_pre[hIndex].func;
- preHookFunc(config, stream);
+ preHookFunc(&config, &stream);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36280,11 +36280,11 @@ void HP_libconfig_write(const struct config_t *config, FILE *stream) {
void HP_libconfig_set_options(struct config_t *config, int options) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_set_options_pre ) {
- void (*preHookFunc) (struct config_t *config, int *options);
+ void (*preHookFunc) (struct config_t **config, int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_set_options_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_set_options_pre[hIndex].func;
- preHookFunc(config, &options);
+ preHookFunc(&config, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36307,11 +36307,11 @@ int HP_libconfig_get_options(const struct config_t *config) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_get_options_pre ) {
- int (*preHookFunc) (const struct config_t *config);
+ int (*preHookFunc) (const struct config_t **config);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_get_options_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_get_options_pre[hIndex].func;
- retVal___ = preHookFunc(config);
+ retVal___ = preHookFunc(&config);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36334,11 +36334,11 @@ int HP_libconfig_read_string(struct config_t *config, const char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_read_string_pre ) {
- int (*preHookFunc) (struct config_t *config, const char *str);
+ int (*preHookFunc) (struct config_t **config, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_read_string_pre[hIndex].func;
- retVal___ = preHookFunc(config, str);
+ retVal___ = preHookFunc(&config, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36361,11 +36361,11 @@ int HP_libconfig_read_file_src(struct config_t *config, const char *filename) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_read_file_src_pre ) {
- int (*preHookFunc) (struct config_t *config, const char *filename);
+ int (*preHookFunc) (struct config_t **config, const char **filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_file_src_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_read_file_src_pre[hIndex].func;
- retVal___ = preHookFunc(config, filename);
+ retVal___ = preHookFunc(&config, &filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36388,11 +36388,11 @@ int HP_libconfig_write_file(struct config_t *config, const char *filename) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_write_file_pre ) {
- int (*preHookFunc) (struct config_t *config, const char *filename);
+ int (*preHookFunc) (struct config_t **config, const char **filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_write_file_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_write_file_pre[hIndex].func;
- retVal___ = preHookFunc(config, filename);
+ retVal___ = preHookFunc(&config, &filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36414,11 +36414,11 @@ int HP_libconfig_write_file(struct config_t *config, const char *filename) {
void HP_libconfig_set_destructor(struct config_t *config, void ( *destructor ) (void *)) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_set_destructor_pre ) {
- void (*preHookFunc) (struct config_t *config, void ( *destructor ) (void *));
+ void (*preHookFunc) (struct config_t **config, void ( **destructor ) (void *));
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_set_destructor_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_set_destructor_pre[hIndex].func;
- preHookFunc(config, destructor);
+ preHookFunc(&config, &destructor);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36440,11 +36440,11 @@ void HP_libconfig_set_destructor(struct config_t *config, void ( *destructor ) (
void HP_libconfig_set_include_dir(struct config_t *config, const char *include_dir) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_set_include_dir_pre ) {
- void (*preHookFunc) (struct config_t *config, const char *include_dir);
+ void (*preHookFunc) (struct config_t **config, const char **include_dir);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_set_include_dir_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_set_include_dir_pre[hIndex].func;
- preHookFunc(config, include_dir);
+ preHookFunc(&config, &include_dir);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36466,11 +36466,11 @@ void HP_libconfig_set_include_dir(struct config_t *config, const char *include_d
void HP_libconfig_init(struct config_t *config) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_init_pre ) {
- void (*preHookFunc) (struct config_t *config);
+ void (*preHookFunc) (struct config_t **config);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_init_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_init_pre[hIndex].func;
- preHookFunc(config);
+ preHookFunc(&config);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36492,11 +36492,11 @@ void HP_libconfig_init(struct config_t *config) {
void HP_libconfig_destroy(struct config_t *config) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_destroy_pre ) {
- void (*preHookFunc) (struct config_t *config);
+ void (*preHookFunc) (struct config_t **config);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_destroy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_destroy_pre[hIndex].func;
- preHookFunc(config);
+ preHookFunc(&config);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36519,11 +36519,11 @@ int HP_libconfig_setting_get_int(const struct config_setting_t *setting) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting);
+ int (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36546,11 +36546,11 @@ long long HP_libconfig_setting_get_int64(const struct config_setting_t *setting)
int hIndex = 0;
long long retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int64_pre ) {
- long long (*preHookFunc) (const struct config_setting_t *setting);
+ long long (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int64_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int64_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36573,11 +36573,11 @@ double HP_libconfig_setting_get_float(const struct config_setting_t *setting) {
int hIndex = 0;
double retVal___ = 0.;
if( HPMHooks.count.HP_libconfig_setting_get_float_pre ) {
- double (*preHookFunc) (const struct config_setting_t *setting);
+ double (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_float_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_float_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36600,11 +36600,11 @@ int HP_libconfig_setting_get_bool(const struct config_setting_t *setting) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_bool_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting);
+ int (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_bool_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_bool_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36627,11 +36627,11 @@ const char* HP_libconfig_setting_get_string(const struct config_setting_t *setti
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_get_string_pre ) {
- const char* (*preHookFunc) (const struct config_setting_t *setting);
+ const char* (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_string_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36654,11 +36654,11 @@ struct config_setting_t* HP_libconfig_setting_lookup(struct config_setting_t *se
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_lookup_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, const char *name);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name);
+ retVal___ = preHookFunc(&setting, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36681,11 +36681,11 @@ int HP_libconfig_setting_lookup_int(const struct config_setting_t *setting, cons
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_int_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, int *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_int_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_int_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36708,11 +36708,11 @@ int HP_libconfig_setting_lookup_int64(const struct config_setting_t *setting, co
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_int64_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, long long *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, long long **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_int64_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_int64_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36735,11 +36735,11 @@ int HP_libconfig_setting_lookup_float(const struct config_setting_t *setting, co
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_float_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, double *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, double **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_float_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_float_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36762,11 +36762,11 @@ int HP_libconfig_setting_lookup_bool(const struct config_setting_t *setting, con
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_bool_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, int *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_bool_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_bool_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36789,11 +36789,11 @@ int HP_libconfig_setting_lookup_string(const struct config_setting_t *setting, c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_string_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, const char **value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, const char ***value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_string_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36816,11 +36816,11 @@ int HP_libconfig_setting_set_int(struct config_setting_t *setting, int value) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_int_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, int *value);
+ int (*preHookFunc) (struct config_setting_t **setting, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_int_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36843,11 +36843,11 @@ int HP_libconfig_setting_set_int64(struct config_setting_t *setting, long long v
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_int64_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, long long *value);
+ int (*preHookFunc) (struct config_setting_t **setting, long long *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int64_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_int64_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36870,11 +36870,11 @@ int HP_libconfig_setting_set_float(struct config_setting_t *setting, double valu
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_float_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, double *value);
+ int (*preHookFunc) (struct config_setting_t **setting, double *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_float_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_float_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36897,11 +36897,11 @@ int HP_libconfig_setting_set_bool(struct config_setting_t *setting, int value) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_bool_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, int *value);
+ int (*preHookFunc) (struct config_setting_t **setting, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_bool_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_bool_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36924,11 +36924,11 @@ int HP_libconfig_setting_set_string(struct config_setting_t *setting, const char
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_string_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, const char *value);
+ int (*preHookFunc) (struct config_setting_t **setting, const char **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_string_pre[hIndex].func;
- retVal___ = preHookFunc(setting, value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36951,11 +36951,11 @@ int HP_libconfig_setting_set_format(struct config_setting_t *setting, short form
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_format_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, short *format);
+ int (*preHookFunc) (struct config_setting_t **setting, short *format);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_format_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_format_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &format);
+ retVal___ = preHookFunc(&setting, &format);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -36978,11 +36978,11 @@ short HP_libconfig_setting_get_format(const struct config_setting_t *setting) {
int hIndex = 0;
short retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_format_pre ) {
- short (*preHookFunc) (const struct config_setting_t *setting);
+ short (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_format_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_format_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37005,11 +37005,11 @@ int HP_libconfig_setting_get_int_elem(const struct config_setting_t *setting, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int_elem_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ int (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37032,11 +37032,11 @@ long long HP_libconfig_setting_get_int64_elem(const struct config_setting_t *set
int hIndex = 0;
long long retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int64_elem_pre ) {
- long long (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ long long (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int64_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int64_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37059,11 +37059,11 @@ double HP_libconfig_setting_get_float_elem(const struct config_setting_t *settin
int hIndex = 0;
double retVal___ = 0.;
if( HPMHooks.count.HP_libconfig_setting_get_float_elem_pre ) {
- double (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ double (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_float_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_float_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37086,11 +37086,11 @@ int HP_libconfig_setting_get_bool_elem(const struct config_setting_t *setting, i
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_bool_elem_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ int (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_bool_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_bool_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37113,11 +37113,11 @@ const char* HP_libconfig_setting_get_string_elem(const struct config_setting_t *
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_get_string_elem_pre ) {
- const char* (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ const char* (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_string_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_string_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37140,11 +37140,11 @@ struct config_setting_t* HP_libconfig_setting_set_int_elem(struct config_setting
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_int_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, int *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_int_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, &value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37167,11 +37167,11 @@ struct config_setting_t* HP_libconfig_setting_set_int64_elem(struct config_setti
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_int64_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, long long *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, long long *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int64_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_int64_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, &value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37194,11 +37194,11 @@ struct config_setting_t* HP_libconfig_setting_set_float_elem(struct config_setti
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_float_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, double *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, double *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_float_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_float_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, &value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37221,11 +37221,11 @@ struct config_setting_t* HP_libconfig_setting_set_bool_elem(struct config_settin
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_bool_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, int *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_bool_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_bool_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, &value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37248,11 +37248,11 @@ struct config_setting_t* HP_libconfig_setting_set_string_elem(struct config_sett
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_string_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, const char *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, const char **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_string_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_string_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37275,11 +37275,11 @@ int HP_libconfig_setting_index(const struct config_setting_t *setting) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_index_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting);
+ int (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_index_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_index_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37302,11 +37302,11 @@ int HP_libconfig_setting_length(const struct config_setting_t *setting) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_length_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting);
+ int (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_length_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_length_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37329,11 +37329,11 @@ struct config_setting_t* HP_libconfig_setting_get_elem(const struct config_setti
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_get_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (const struct config_setting_t *setting, unsigned int *idx);
+ struct config_setting_t* (*preHookFunc) (const struct config_setting_t **setting, unsigned int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37356,11 +37356,11 @@ struct config_setting_t* HP_libconfig_setting_get_member(const struct config_set
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_get_member_pre ) {
- struct config_setting_t* (*preHookFunc) (const struct config_setting_t *setting, const char *name);
+ struct config_setting_t* (*preHookFunc) (const struct config_setting_t **setting, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_member_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_member_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name);
+ retVal___ = preHookFunc(&setting, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37383,11 +37383,11 @@ struct config_setting_t* HP_libconfig_setting_add(struct config_setting_t *paren
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_add_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *parent, const char *name, int *type);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **parent, const char **name, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_add_pre[hIndex].func;
- retVal___ = preHookFunc(parent, name, &type);
+ retVal___ = preHookFunc(&parent, &name, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37410,11 +37410,11 @@ int HP_libconfig_setting_remove(struct config_setting_t *parent, const char *nam
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_remove_pre ) {
- int (*preHookFunc) (struct config_setting_t *parent, const char *name);
+ int (*preHookFunc) (struct config_setting_t **parent, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_remove_pre[hIndex].func;
- retVal___ = preHookFunc(parent, name);
+ retVal___ = preHookFunc(&parent, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37437,11 +37437,11 @@ int HP_libconfig_setting_remove_elem(struct config_setting_t *parent, unsigned i
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_remove_elem_pre ) {
- int (*preHookFunc) (struct config_setting_t *parent, unsigned int *idx);
+ int (*preHookFunc) (struct config_setting_t **parent, unsigned int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_remove_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_remove_elem_pre[hIndex].func;
- retVal___ = preHookFunc(parent, &idx);
+ retVal___ = preHookFunc(&parent, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37463,11 +37463,11 @@ int HP_libconfig_setting_remove_elem(struct config_setting_t *parent, unsigned i
void HP_libconfig_setting_set_hook(struct config_setting_t *setting, void *hook) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_setting_set_hook_pre ) {
- void (*preHookFunc) (struct config_setting_t *setting, void *hook);
+ void (*preHookFunc) (struct config_setting_t **setting, void **hook);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_hook_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_hook_pre[hIndex].func;
- preHookFunc(setting, hook);
+ preHookFunc(&setting, &hook);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37490,11 +37490,11 @@ struct config_setting_t* HP_libconfig_lookup(const struct config_t *config, cons
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_lookup_pre ) {
- struct config_setting_t* (*preHookFunc) (const struct config_t *config, const char *filepath);
+ struct config_setting_t* (*preHookFunc) (const struct config_t **config, const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath);
+ retVal___ = preHookFunc(&config, &filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37517,11 +37517,11 @@ int HP_libconfig_lookup_int(const struct config_t *config, const char *filepath,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_int_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, int *value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_int_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_int_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37544,11 +37544,11 @@ int HP_libconfig_lookup_int64(const struct config_t *config, const char *filepat
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_int64_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, long long *value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, long long **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_int64_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_int64_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37571,11 +37571,11 @@ int HP_libconfig_lookup_float(const struct config_t *config, const char *filepat
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_float_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, double *value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, double **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_float_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_float_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37598,11 +37598,11 @@ int HP_libconfig_lookup_bool(const struct config_t *config, const char *filepath
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_bool_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, int *value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_bool_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_bool_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37625,11 +37625,11 @@ int HP_libconfig_lookup_string(const struct config_t *config, const char *filepa
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_string_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, const char **value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, const char ***value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_string_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37652,11 +37652,11 @@ int HP_libconfig_load_file(struct config_t *config, const char *config_filename)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_load_file_pre ) {
- int (*preHookFunc) (struct config_t *config, const char *config_filename);
+ int (*preHookFunc) (struct config_t **config, const char **config_filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_load_file_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_load_file_pre[hIndex].func;
- retVal___ = preHookFunc(config, config_filename);
+ retVal___ = preHookFunc(&config, &config_filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37678,11 +37678,11 @@ int HP_libconfig_load_file(struct config_t *config, const char *config_filename)
void HP_libconfig_setting_copy_simple(struct config_setting_t *parent, const struct config_setting_t *src) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_setting_copy_simple_pre ) {
- void (*preHookFunc) (struct config_setting_t *parent, const struct config_setting_t *src);
+ void (*preHookFunc) (struct config_setting_t **parent, const struct config_setting_t **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_copy_simple_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_copy_simple_pre[hIndex].func;
- preHookFunc(parent, src);
+ preHookFunc(&parent, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37704,11 +37704,11 @@ void HP_libconfig_setting_copy_simple(struct config_setting_t *parent, const str
void HP_libconfig_setting_copy_elem(struct config_setting_t *parent, const struct config_setting_t *src) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_setting_copy_elem_pre ) {
- void (*preHookFunc) (struct config_setting_t *parent, const struct config_setting_t *src);
+ void (*preHookFunc) (struct config_setting_t **parent, const struct config_setting_t **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_copy_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_copy_elem_pre[hIndex].func;
- preHookFunc(parent, src);
+ preHookFunc(&parent, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37730,11 +37730,11 @@ void HP_libconfig_setting_copy_elem(struct config_setting_t *parent, const struc
void HP_libconfig_setting_copy_aggregate(struct config_setting_t *parent, const struct config_setting_t *src) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_setting_copy_aggregate_pre ) {
- void (*preHookFunc) (struct config_setting_t *parent, const struct config_setting_t *src);
+ void (*preHookFunc) (struct config_setting_t **parent, const struct config_setting_t **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_copy_aggregate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_copy_aggregate_pre[hIndex].func;
- preHookFunc(parent, src);
+ preHookFunc(&parent, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37757,11 +37757,11 @@ int HP_libconfig_setting_copy(struct config_setting_t *parent, const struct conf
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_copy_pre ) {
- int (*preHookFunc) (struct config_setting_t *parent, const struct config_setting_t *src);
+ int (*preHookFunc) (struct config_setting_t **parent, const struct config_setting_t **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_copy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_copy_pre[hIndex].func;
- retVal___ = preHookFunc(parent, src);
+ retVal___ = preHookFunc(&parent, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37784,11 +37784,11 @@ bool HP_libconfig_setting_get_bool_real(const struct config_setting_t *setting)
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_libconfig_setting_get_bool_real_pre ) {
- bool (*preHookFunc) (const struct config_setting_t *setting);
+ bool (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_bool_real_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_bool_real_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37811,11 +37811,11 @@ uint32 HP_libconfig_setting_get_uint32(const struct config_setting_t *setting) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_uint32_pre ) {
- uint32 (*preHookFunc) (const struct config_setting_t *setting);
+ uint32 (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_uint32_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_uint32_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37838,11 +37838,11 @@ uint16 HP_libconfig_setting_get_uint16(const struct config_setting_t *setting) {
int hIndex = 0;
uint16 retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_uint16_pre ) {
- uint16 (*preHookFunc) (const struct config_setting_t *setting);
+ uint16 (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_uint16_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_uint16_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37865,11 +37865,11 @@ int16 HP_libconfig_setting_get_int16(const struct config_setting_t *setting) {
int hIndex = 0;
int16 retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int16_pre ) {
- int16 (*preHookFunc) (const struct config_setting_t *setting);
+ int16 (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int16_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int16_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37892,11 +37892,11 @@ int HP_libconfig_setting_lookup_bool_real(const struct config_setting_t *setting
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_bool_real_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, bool *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, bool **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_bool_real_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_bool_real_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37919,11 +37919,11 @@ int HP_libconfig_setting_lookup_uint32(const struct config_setting_t *setting, c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_uint32_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, uint32 *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, uint32 **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_uint32_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_uint32_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37946,11 +37946,11 @@ int HP_libconfig_setting_lookup_uint16(const struct config_setting_t *setting, c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_uint16_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, uint16 *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, uint16 **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_uint16_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_uint16_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -37973,11 +37973,11 @@ int HP_libconfig_setting_lookup_int16(const struct config_setting_t *setting, co
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_int16_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, int16 *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, int16 **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_int16_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_int16_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38000,11 +38000,11 @@ int HP_libconfig_setting_lookup_mutable_string(const struct config_setting_t *se
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_mutable_string_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, char *out, size_t *out_size);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, char **out, size_t *out_size);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_mutable_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_mutable_string_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, out, &out_size);
+ retVal___ = preHookFunc(&setting, &name, &out, &out_size);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38027,11 +38027,11 @@ int HP_libconfig_lookup_mutable_string(const struct config_t *config, const char
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_mutable_string_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *name, char *out, size_t *out_size);
+ int (*preHookFunc) (const struct config_t **config, const char **name, char **out, size_t *out_size);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_mutable_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_mutable_string_pre[hIndex].func;
- retVal___ = preHookFunc(config, name, out, &out_size);
+ retVal___ = preHookFunc(&config, &name, &out, &out_size);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38054,11 +38054,11 @@ int HP_libconfig_lookup_mutable_string(const struct config_t *config, const char
void HP_logs_pick_pc(struct map_session_data *sd, e_log_pick_type type, int amount, struct item *itm, struct item_data *data) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_pick_pc_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
+ void (*preHookFunc) (struct map_session_data **sd, e_log_pick_type *type, int *amount, struct item **itm, struct item_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_pick_pc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_pick_pc_pre[hIndex].func;
- preHookFunc(sd, &type, &amount, itm, data);
+ preHookFunc(&sd, &type, &amount, &itm, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38080,11 +38080,11 @@ void HP_logs_pick_pc(struct map_session_data *sd, e_log_pick_type type, int amou
void HP_logs_pick_mob(struct mob_data *md, e_log_pick_type type, int amount, struct item *itm, struct item_data *data) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_pick_mob_pre ) {
- void (*preHookFunc) (struct mob_data *md, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
+ void (*preHookFunc) (struct mob_data **md, e_log_pick_type *type, int *amount, struct item **itm, struct item_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_pick_mob_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_pick_mob_pre[hIndex].func;
- preHookFunc(md, &type, &amount, itm, data);
+ preHookFunc(&md, &type, &amount, &itm, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38106,11 +38106,11 @@ void HP_logs_pick_mob(struct mob_data *md, e_log_pick_type type, int amount, str
void HP_logs_zeny(struct map_session_data *sd, e_log_pick_type type, struct map_session_data *src_sd, int amount) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_zeny_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, e_log_pick_type *type, struct map_session_data *src_sd, int *amount);
+ void (*preHookFunc) (struct map_session_data **sd, e_log_pick_type *type, struct map_session_data **src_sd, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_zeny_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_zeny_pre[hIndex].func;
- preHookFunc(sd, &type, src_sd, &amount);
+ preHookFunc(&sd, &type, &src_sd, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38132,11 +38132,11 @@ void HP_logs_zeny(struct map_session_data *sd, e_log_pick_type type, struct map_
void HP_logs_npc(struct map_session_data *sd, const char *message) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_npc_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *message);
+ void (*preHookFunc) (struct map_session_data **sd, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_npc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_npc_pre[hIndex].func;
- preHookFunc(sd, message);
+ preHookFunc(&sd, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38158,11 +38158,11 @@ void HP_logs_npc(struct map_session_data *sd, const char *message) {
void HP_logs_chat(e_log_chat_type type, int type_id, int src_charid, int src_accid, const char *mapname, int x, int y, const char *dst_charname, const char *message) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_chat_pre ) {
- void (*preHookFunc) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char *mapname, int *x, int *y, const char *dst_charname, const char *message);
+ void (*preHookFunc) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char **mapname, int *x, int *y, const char **dst_charname, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_chat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_chat_pre[hIndex].func;
- preHookFunc(&type, &type_id, &src_charid, &src_accid, mapname, &x, &y, dst_charname, message);
+ preHookFunc(&type, &type_id, &src_charid, &src_accid, &mapname, &x, &y, &dst_charname, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38184,11 +38184,11 @@ void HP_logs_chat(e_log_chat_type type, int type_id, int src_charid, int src_acc
void HP_logs_atcommand(struct map_session_data *sd, const char *message) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_atcommand_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *message);
+ void (*preHookFunc) (struct map_session_data **sd, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_atcommand_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_atcommand_pre[hIndex].func;
- preHookFunc(sd, message);
+ preHookFunc(&sd, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38210,11 +38210,11 @@ void HP_logs_atcommand(struct map_session_data *sd, const char *message) {
void HP_logs_branch(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_branch_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_branch_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_branch_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38236,11 +38236,11 @@ void HP_logs_branch(struct map_session_data *sd) {
void HP_logs_mvpdrop(struct map_session_data *sd, int monster_id, int *log_mvp) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_mvpdrop_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *monster_id, int *log_mvp);
+ void (*preHookFunc) (struct map_session_data **sd, int *monster_id, int **log_mvp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_mvpdrop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_mvpdrop_pre[hIndex].func;
- preHookFunc(sd, &monster_id, log_mvp);
+ preHookFunc(&sd, &monster_id, &log_mvp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38262,11 +38262,11 @@ void HP_logs_mvpdrop(struct map_session_data *sd, int monster_id, int *log_mvp)
void HP_logs_pick_sub(int id, int16 m, e_log_pick_type type, int amount, struct item *itm, struct item_data *data) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_pick_sub_pre ) {
- void (*preHookFunc) (int *id, int16 *m, e_log_pick_type *type, int *amount, struct item *itm, struct item_data *data);
+ void (*preHookFunc) (int *id, int16 *m, e_log_pick_type *type, int *amount, struct item **itm, struct item_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_pick_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_pick_sub_pre[hIndex].func;
- preHookFunc(&id, &m, &type, &amount, itm, data);
+ preHookFunc(&id, &m, &type, &amount, &itm, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38288,11 +38288,11 @@ void HP_logs_pick_sub(int id, int16 m, e_log_pick_type type, int amount, struct
void HP_logs_zeny_sub(struct map_session_data *sd, e_log_pick_type type, struct map_session_data *src_sd, int amount) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_zeny_sub_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, e_log_pick_type *type, struct map_session_data *src_sd, int *amount);
+ void (*preHookFunc) (struct map_session_data **sd, e_log_pick_type *type, struct map_session_data **src_sd, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_zeny_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_zeny_sub_pre[hIndex].func;
- preHookFunc(sd, &type, src_sd, &amount);
+ preHookFunc(&sd, &type, &src_sd, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38314,11 +38314,11 @@ void HP_logs_zeny_sub(struct map_session_data *sd, e_log_pick_type type, struct
void HP_logs_npc_sub(struct map_session_data *sd, const char *message) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_npc_sub_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *message);
+ void (*preHookFunc) (struct map_session_data **sd, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_npc_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_npc_sub_pre[hIndex].func;
- preHookFunc(sd, message);
+ preHookFunc(&sd, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38340,11 +38340,11 @@ void HP_logs_npc_sub(struct map_session_data *sd, const char *message) {
void HP_logs_chat_sub(e_log_chat_type type, int type_id, int src_charid, int src_accid, const char *mapname, int x, int y, const char *dst_charname, const char *message) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_chat_sub_pre ) {
- void (*preHookFunc) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char *mapname, int *x, int *y, const char *dst_charname, const char *message);
+ void (*preHookFunc) (e_log_chat_type *type, int *type_id, int *src_charid, int *src_accid, const char **mapname, int *x, int *y, const char **dst_charname, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_chat_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_chat_sub_pre[hIndex].func;
- preHookFunc(&type, &type_id, &src_charid, &src_accid, mapname, &x, &y, dst_charname, message);
+ preHookFunc(&type, &type_id, &src_charid, &src_accid, &mapname, &x, &y, &dst_charname, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38366,11 +38366,11 @@ void HP_logs_chat_sub(e_log_chat_type type, int type_id, int src_charid, int src
void HP_logs_atcommand_sub(struct map_session_data *sd, const char *message) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_atcommand_sub_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *message);
+ void (*preHookFunc) (struct map_session_data **sd, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_atcommand_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_atcommand_sub_pre[hIndex].func;
- preHookFunc(sd, message);
+ preHookFunc(&sd, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38392,11 +38392,11 @@ void HP_logs_atcommand_sub(struct map_session_data *sd, const char *message) {
void HP_logs_branch_sub(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_branch_sub_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_branch_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_branch_sub_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38418,11 +38418,11 @@ void HP_logs_branch_sub(struct map_session_data *sd) {
void HP_logs_mvpdrop_sub(struct map_session_data *sd, int monster_id, int *log_mvp) {
int hIndex = 0;
if( HPMHooks.count.HP_logs_mvpdrop_sub_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *monster_id, int *log_mvp);
+ void (*preHookFunc) (struct map_session_data **sd, int *monster_id, int **log_mvp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_mvpdrop_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_mvpdrop_sub_pre[hIndex].func;
- preHookFunc(sd, &monster_id, log_mvp);
+ preHookFunc(&sd, &monster_id, &log_mvp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38445,11 +38445,11 @@ int HP_logs_config_read(const char *cfgName) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_logs_config_read_pre ) {
- int (*preHookFunc) (const char *cfgName);
+ int (*preHookFunc) (const char **cfgName);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_config_read_pre[hIndex].func;
- retVal___ = preHookFunc(cfgName);
+ retVal___ = preHookFunc(&cfgName);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38604,11 +38604,11 @@ bool HP_logs_should_log_item(int nameid, int amount, int refine, struct item_dat
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_logs_should_log_item_pre ) {
- bool (*preHookFunc) (int *nameid, int *amount, int *refine, struct item_data *id);
+ bool (*preHookFunc) (int *nameid, int *amount, int *refine, struct item_data **id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_logs_should_log_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_logs_should_log_item_pre[hIndex].func;
- retVal___ = preHookFunc(&nameid, &amount, &refine, id);
+ retVal___ = preHookFunc(&nameid, &amount, &refine, &id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38631,11 +38631,11 @@ bool HP_logs_should_log_item(int nameid, int amount, int refine, struct item_dat
void HP_mail_clear(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_mail_clear_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_clear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mail_clear_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38658,11 +38658,11 @@ int HP_mail_removeitem(struct map_session_data *sd, short flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mail_removeitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, short *flag);
+ int (*preHookFunc) (struct map_session_data **sd, short *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_removeitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mail_removeitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &flag);
+ retVal___ = preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38685,11 +38685,11 @@ int HP_mail_removezeny(struct map_session_data *sd, short flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mail_removezeny_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, short *flag);
+ int (*preHookFunc) (struct map_session_data **sd, short *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_removezeny_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mail_removezeny_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &flag);
+ retVal___ = preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38712,11 +38712,11 @@ unsigned char HP_mail_setitem(struct map_session_data *sd, int idx, int amount)
int hIndex = 0;
unsigned char retVal___ = 0;
if( HPMHooks.count.HP_mail_setitem_pre ) {
- unsigned char (*preHookFunc) (struct map_session_data *sd, int *idx, int *amount);
+ unsigned char (*preHookFunc) (struct map_session_data **sd, int *idx, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_setitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mail_setitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &idx, &amount);
+ retVal___ = preHookFunc(&sd, &idx, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38739,11 +38739,11 @@ bool HP_mail_setattachment(struct map_session_data *sd, struct mail_message *msg
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mail_setattachment_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, struct mail_message *msg);
+ bool (*preHookFunc) (struct map_session_data **sd, struct mail_message **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_setattachment_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mail_setattachment_pre[hIndex].func;
- retVal___ = preHookFunc(sd, msg);
+ retVal___ = preHookFunc(&sd, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38765,11 +38765,11 @@ bool HP_mail_setattachment(struct map_session_data *sd, struct mail_message *msg
void HP_mail_getattachment(struct map_session_data *sd, int zeny, struct item *item) {
int hIndex = 0;
if( HPMHooks.count.HP_mail_getattachment_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *zeny, struct item *item);
+ void (*preHookFunc) (struct map_session_data **sd, int *zeny, struct item **item);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_getattachment_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mail_getattachment_pre[hIndex].func;
- preHookFunc(sd, &zeny, item);
+ preHookFunc(&sd, &zeny, &item);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38792,11 +38792,11 @@ int HP_mail_openmail(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mail_openmail_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_openmail_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mail_openmail_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38818,11 +38818,11 @@ int HP_mail_openmail(struct map_session_data *sd) {
void HP_mail_deliveryfail(struct map_session_data *sd, struct mail_message *msg) {
int hIndex = 0;
if( HPMHooks.count.HP_mail_deliveryfail_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct mail_message *msg);
+ void (*preHookFunc) (struct map_session_data **sd, struct mail_message **msg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_deliveryfail_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mail_deliveryfail_pre[hIndex].func;
- preHookFunc(sd, msg);
+ preHookFunc(&sd, &msg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38845,11 +38845,11 @@ bool HP_mail_invalid_operation(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mail_invalid_operation_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mail_invalid_operation_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mail_invalid_operation_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38925,11 +38925,11 @@ void* HP_iMalloc_malloc(size_t size, const char *file, int line, const char *fun
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_malloc_pre ) {
- void* (*preHookFunc) (size_t *size, const char *file, int *line, const char *func);
+ void* (*preHookFunc) (size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_malloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_malloc_pre[hIndex].func;
- retVal___ = preHookFunc(&size, file, &line, func);
+ retVal___ = preHookFunc(&size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38952,11 +38952,11 @@ void* HP_iMalloc_calloc(size_t num, size_t size, const char *file, int line, con
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_calloc_pre ) {
- void* (*preHookFunc) (size_t *num, size_t *size, const char *file, int *line, const char *func);
+ void* (*preHookFunc) (size_t *num, size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_calloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_calloc_pre[hIndex].func;
- retVal___ = preHookFunc(&num, &size, file, &line, func);
+ retVal___ = preHookFunc(&num, &size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -38979,11 +38979,11 @@ void* HP_iMalloc_realloc(void *p, size_t size, const char *file, int line, const
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_realloc_pre ) {
- void* (*preHookFunc) (void *p, size_t *size, const char *file, int *line, const char *func);
+ void* (*preHookFunc) (void **p, size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_realloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_realloc_pre[hIndex].func;
- retVal___ = preHookFunc(p, &size, file, &line, func);
+ retVal___ = preHookFunc(&p, &size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39006,11 +39006,11 @@ void* HP_iMalloc_reallocz(void *p, size_t size, const char *file, int line, cons
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_reallocz_pre ) {
- void* (*preHookFunc) (void *p, size_t *size, const char *file, int *line, const char *func);
+ void* (*preHookFunc) (void **p, size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_reallocz_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_reallocz_pre[hIndex].func;
- retVal___ = preHookFunc(p, &size, file, &line, func);
+ retVal___ = preHookFunc(&p, &size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39033,11 +39033,11 @@ char* HP_iMalloc_astrdup(const char *p, const char *file, int line, const char *
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_astrdup_pre ) {
- char* (*preHookFunc) (const char *p, const char *file, int *line, const char *func);
+ char* (*preHookFunc) (const char **p, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_astrdup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_astrdup_pre[hIndex].func;
- retVal___ = preHookFunc(p, file, &line, func);
+ retVal___ = preHookFunc(&p, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39060,11 +39060,11 @@ char* HP_iMalloc_astrndup(const char *p, size_t size, const char *file, int line
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_astrndup_pre ) {
- char* (*preHookFunc) (const char *p, size_t *size, const char *file, int *line, const char *func);
+ char* (*preHookFunc) (const char **p, size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_astrndup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_astrndup_pre[hIndex].func;
- retVal___ = preHookFunc(p, &size, file, &line, func);
+ retVal___ = preHookFunc(&p, &size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39086,11 +39086,11 @@ char* HP_iMalloc_astrndup(const char *p, size_t size, const char *file, int line
void HP_iMalloc_free(void *p, const char *file, int line, const char *func) {
int hIndex = 0;
if( HPMHooks.count.HP_iMalloc_free_pre ) {
- void (*preHookFunc) (void *p, const char *file, int *line, const char *func);
+ void (*preHookFunc) (void **p, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_free_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_free_pre[hIndex].func;
- preHookFunc(p, file, &line, func);
+ preHookFunc(&p, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39139,11 +39139,11 @@ bool HP_iMalloc_verify_ptr(void *ptr) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_iMalloc_verify_ptr_pre ) {
- bool (*preHookFunc) (void *ptr);
+ bool (*preHookFunc) (void **ptr);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_verify_ptr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_verify_ptr_pre[hIndex].func;
- retVal___ = preHookFunc(ptr);
+ retVal___ = preHookFunc(&ptr);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39297,11 +39297,11 @@ void HP_map_zone_remove(int m) {
void HP_map_zone_apply(int m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath) {
int hIndex = 0;
if( HPMHooks.count.HP_map_zone_apply_pre ) {
- void (*preHookFunc) (int *m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
+ void (*preHookFunc) (int *m, struct map_zone_data **zone, const char **start, const char **buffer, const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_apply_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_zone_apply_pre[hIndex].func;
- preHookFunc(&m, zone, start, buffer, filepath);
+ preHookFunc(&m, &zone, &start, &buffer, &filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39323,11 +39323,11 @@ void HP_map_zone_apply(int m, struct map_zone_data *zone, const char *start, con
void HP_map_zone_change(int m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath) {
int hIndex = 0;
if( HPMHooks.count.HP_map_zone_change_pre ) {
- void (*preHookFunc) (int *m, struct map_zone_data *zone, const char *start, const char *buffer, const char *filepath);
+ void (*preHookFunc) (int *m, struct map_zone_data **zone, const char **start, const char **buffer, const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_change_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_zone_change_pre[hIndex].func;
- preHookFunc(&m, zone, start, buffer, filepath);
+ preHookFunc(&m, &zone, &start, &buffer, &filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39349,11 +39349,11 @@ void HP_map_zone_change(int m, struct map_zone_data *zone, const char *start, co
void HP_map_zone_change2(int m, struct map_zone_data *zone) {
int hIndex = 0;
if( HPMHooks.count.HP_map_zone_change2_pre ) {
- void (*preHookFunc) (int *m, struct map_zone_data *zone);
+ void (*preHookFunc) (int *m, struct map_zone_data **zone);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_change2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_zone_change2_pre[hIndex].func;
- preHookFunc(&m, zone);
+ preHookFunc(&m, &zone);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39376,11 +39376,11 @@ int HP_map_getcell(int16 m, const struct block_list *bl, int16 x, int16 y, cell_
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_getcell_pre ) {
- int (*preHookFunc) (int16 *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
+ int (*preHookFunc) (int16 *m, const struct block_list **bl, int16 *x, int16 *y, cell_chk *cellchk);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_getcell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_getcell_pre[hIndex].func;
- retVal___ = preHookFunc(&m, bl, &x, &y, &cellchk);
+ retVal___ = preHookFunc(&m, &bl, &x, &y, &cellchk);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39428,11 +39428,11 @@ void HP_map_setgatcell(int16 m, int16 x, int16 y, int gat) {
void HP_map_cellfromcache(struct map_data *m) {
int hIndex = 0;
if( HPMHooks.count.HP_map_cellfromcache_pre ) {
- void (*preHookFunc) (struct map_data *m);
+ void (*preHookFunc) (struct map_data **m);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_cellfromcache_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_cellfromcache_pre[hIndex].func;
- preHookFunc(m);
+ preHookFunc(&m);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39535,11 +39535,11 @@ int HP_map_freeblock(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_freeblock_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_freeblock_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_freeblock_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39616,11 +39616,11 @@ int HP_map_addblock(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_addblock_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addblock_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_addblock_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39643,11 +39643,11 @@ int HP_map_delblock(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_delblock_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_delblock_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_delblock_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39670,11 +39670,11 @@ int HP_map_moveblock(struct block_list *bl, int x1, int y1, int64 tick) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_moveblock_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *x1, int *y1, int64 *tick);
+ int (*preHookFunc) (struct block_list **bl, int *x1, int *y1, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_moveblock_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_moveblock_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &x1, &y1, &tick);
+ retVal___ = preHookFunc(&bl, &x1, &y1, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39724,11 +39724,11 @@ struct skill_unit* HP_map_find_skill_unit_oncell(struct block_list *target, int1
int hIndex = 0;
struct skill_unit* retVal___ = NULL;
if( HPMHooks.count.HP_map_find_skill_unit_oncell_pre ) {
- struct skill_unit* (*preHookFunc) (struct block_list *target, int16 *x, int16 *y, uint16 *skill_id, struct skill_unit *out_unit, int *flag);
+ struct skill_unit* (*preHookFunc) (struct block_list **target, int16 *x, int16 *y, uint16 *skill_id, struct skill_unit **out_unit, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_find_skill_unit_oncell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_find_skill_unit_oncell_pre[hIndex].func;
- retVal___ = preHookFunc(target, &x, &y, &skill_id, out_unit, &flag);
+ retVal___ = preHookFunc(&target, &x, &y, &skill_id, &out_unit, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39778,11 +39778,11 @@ int HP_map_search_freecell(struct block_list *src, int16 m, int16 *x, int16 *y,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_search_freecell_pre ) {
- int (*preHookFunc) (struct block_list *src, int16 *m, int16 *x, int16 *y, int16 *rx, int16 *ry, int *flag);
+ int (*preHookFunc) (struct block_list **src, int16 *m, int16 **x, int16 **y, int16 *rx, int16 *ry, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_search_freecell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_search_freecell_pre[hIndex].func;
- retVal___ = preHookFunc(src, &m, x, y, &rx, &ry, &flag);
+ retVal___ = preHookFunc(&src, &m, &x, &y, &rx, &ry, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39805,11 +39805,11 @@ bool HP_map_closest_freecell(int16 m, const struct block_list *bl, int16 *x, int
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_map_closest_freecell_pre ) {
- bool (*preHookFunc) (int16 *m, const struct block_list *bl, int16 *x, int16 *y, int *type, int *flag);
+ bool (*preHookFunc) (int16 *m, const struct block_list **bl, int16 **x, int16 **y, int *type, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_closest_freecell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_closest_freecell_pre[hIndex].func;
- retVal___ = preHookFunc(&m, bl, x, y, &type, &flag);
+ retVal___ = preHookFunc(&m, &bl, &x, &y, &type, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39832,11 +39832,11 @@ int HP_map_quit(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_quit_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_quit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_quit_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39859,11 +39859,11 @@ bool HP_map_addnpc(int16 m, struct npc_data *nd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_map_addnpc_pre ) {
- bool (*preHookFunc) (int16 *m, struct npc_data *nd);
+ bool (*preHookFunc) (int16 *m, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addnpc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_addnpc_pre[hIndex].func;
- retVal___ = preHookFunc(&m, nd);
+ retVal___ = preHookFunc(&m, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39939,11 +39939,11 @@ int HP_map_removemobs_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_map_clearflooritem(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_map_clearflooritem_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_clearflooritem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_clearflooritem_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39966,11 +39966,11 @@ int HP_map_addflooritem(const struct block_list *bl, struct item *item_data, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_addflooritem_pre ) {
- int (*preHookFunc) (const struct block_list *bl, struct item *item_data, int *amount, int16 *m, int16 *x, int16 *y, int *first_charid, int *second_charid, int *third_charid, int *flags);
+ int (*preHookFunc) (const struct block_list **bl, struct item **item_data, int *amount, int16 *m, int16 *x, int16 *y, int *first_charid, int *second_charid, int *third_charid, int *flags);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addflooritem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_addflooritem_pre[hIndex].func;
- retVal___ = preHookFunc(bl, item_data, &amount, &m, &x, &y, &first_charid, &second_charid, &third_charid, &flags);
+ retVal___ = preHookFunc(&bl, &item_data, &amount, &m, &x, &y, &first_charid, &second_charid, &third_charid, &flags);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -39992,11 +39992,11 @@ int HP_map_addflooritem(const struct block_list *bl, struct item *item_data, int
void HP_map_addnickdb(int charid, const char *nick) {
int hIndex = 0;
if( HPMHooks.count.HP_map_addnickdb_pre ) {
- void (*preHookFunc) (int *charid, const char *nick);
+ void (*preHookFunc) (int *charid, const char **nick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addnickdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_addnickdb_pre[hIndex].func;
- preHookFunc(&charid, nick);
+ preHookFunc(&charid, &nick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -40018,11 +40018,11 @@ void HP_map_addnickdb(int charid, const char *nick) {
void HP_map_delnickdb(int charid, const char *nick) {
int hIndex = 0;
if( HPMHooks.count.HP_map_delnickdb_pre ) {
- void (*preHookFunc) (int *charid, const char *nick);
+ void (*preHookFunc) (int *charid, const char **nick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_delnickdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_delnickdb_pre[hIndex].func;
- preHookFunc(&charid, nick);
+ preHookFunc(&charid, &nick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -40044,11 +40044,11 @@ void HP_map_delnickdb(int charid, const char *nick) {
void HP_map_reqnickdb(struct map_session_data *sd, int charid) {
int hIndex = 0;
if( HPMHooks.count.HP_map_reqnickdb_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *charid);
+ void (*preHookFunc) (struct map_session_data **sd, int *charid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_reqnickdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_reqnickdb_pre[hIndex].func;
- preHookFunc(sd, &charid);
+ preHookFunc(&sd, &charid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -40124,12 +40124,12 @@ struct map_session_data* HP_map_charid2sd(int charid) {
void HP_map_vforeachpc(int ( *func ) (struct map_session_data *sd, va_list args), va_list args) {
int hIndex = 0;
if( HPMHooks.count.HP_map_vforeachpc_pre ) {
- void (*preHookFunc) (int ( *func ) (struct map_session_data *sd, va_list args), va_list args);
+ void (*preHookFunc) (int ( **func ) (struct map_session_data *sd, va_list args), va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachpc_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_map_vforeachpc_pre[hIndex].func;
- preHookFunc(func, args___copy);
+ preHookFunc(&func, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -40156,12 +40156,12 @@ void HP_map_vforeachpc(int ( *func ) (struct map_session_data *sd, va_list args)
void HP_map_vforeachmob(int ( *func ) (struct mob_data *md, va_list args), va_list args) {
int hIndex = 0;
if( HPMHooks.count.HP_map_vforeachmob_pre ) {
- void (*preHookFunc) (int ( *func ) (struct mob_data *md, va_list args), va_list args);
+ void (*preHookFunc) (int ( **func ) (struct mob_data *md, va_list args), va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachmob_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_map_vforeachmob_pre[hIndex].func;
- preHookFunc(func, args___copy);
+ preHookFunc(&func, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -40188,12 +40188,12 @@ void HP_map_vforeachmob(int ( *func ) (struct mob_data *md, va_list args), va_li
void HP_map_vforeachnpc(int ( *func ) (struct npc_data *nd, va_list args), va_list args) {
int hIndex = 0;
if( HPMHooks.count.HP_map_vforeachnpc_pre ) {
- void (*preHookFunc) (int ( *func ) (struct npc_data *nd, va_list args), va_list args);
+ void (*preHookFunc) (int ( **func ) (struct npc_data *nd, va_list args), va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachnpc_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_map_vforeachnpc_pre[hIndex].func;
- preHookFunc(func, args___copy);
+ preHookFunc(&func, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -40220,12 +40220,12 @@ void HP_map_vforeachnpc(int ( *func ) (struct npc_data *nd, va_list args), va_li
void HP_map_vforeachregen(int ( *func ) (struct block_list *bl, va_list args), va_list args) {
int hIndex = 0;
if( HPMHooks.count.HP_map_vforeachregen_pre ) {
- void (*preHookFunc) (int ( *func ) (struct block_list *bl, va_list args), va_list args);
+ void (*preHookFunc) (int ( **func ) (struct block_list *bl, va_list args), va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachregen_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_map_vforeachregen_pre[hIndex].func;
- preHookFunc(func, args___copy);
+ preHookFunc(&func, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -40252,12 +40252,12 @@ void HP_map_vforeachregen(int ( *func ) (struct block_list *bl, va_list args), v
void HP_map_vforeachiddb(int ( *func ) (struct block_list *bl, va_list args), va_list args) {
int hIndex = 0;
if( HPMHooks.count.HP_map_vforeachiddb_pre ) {
- void (*preHookFunc) (int ( *func ) (struct block_list *bl, va_list args), va_list args);
+ void (*preHookFunc) (int ( **func ) (struct block_list *bl, va_list args), va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachiddb_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_map_vforeachiddb_pre[hIndex].func;
- preHookFunc(func, args___copy);
+ preHookFunc(&func, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -40285,12 +40285,12 @@ int HP_map_vforeachinrange(int ( *func ) (struct block_list *, va_list), struct
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforeachinrange_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *type, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), struct block_list **center, int16 *range, int *type, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinrange_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_vforeachinrange_pre[hIndex].func;
- retVal___ = preHookFunc(func, center, &range, &type, ap___copy);
+ retVal___ = preHookFunc(&func, &center, &range, &type, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -40318,12 +40318,12 @@ int HP_map_vforeachinshootrange(int ( *func ) (struct block_list *, va_list), st
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforeachinshootrange_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *type, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), struct block_list **center, int16 *range, int *type, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinshootrange_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_vforeachinshootrange_pre[hIndex].func;
- retVal___ = preHookFunc(func, center, &range, &type, ap___copy);
+ retVal___ = preHookFunc(&func, &center, &range, &type, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -40351,12 +40351,12 @@ int HP_map_vforeachinarea(int ( *func ) (struct block_list *, va_list), int16 m,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforeachinarea_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *type, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *type, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinarea_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_vforeachinarea_pre[hIndex].func;
- retVal___ = preHookFunc(func, &m, &x0, &y0, &x1, &y1, &type, ap___copy);
+ retVal___ = preHookFunc(&func, &m, &x0, &y0, &x1, &y1, &type, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -40384,12 +40384,12 @@ int HP_map_vforcountinrange(int ( *func ) (struct block_list *, va_list), struct
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforcountinrange_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int *count, int *type, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), struct block_list **center, int16 *range, int *count, int *type, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforcountinrange_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_vforcountinrange_pre[hIndex].func;
- retVal___ = preHookFunc(func, center, &range, &count, &type, ap___copy);
+ retVal___ = preHookFunc(&func, &center, &range, &count, &type, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -40417,12 +40417,12 @@ int HP_map_vforcountinarea(int ( *func ) (struct block_list *, va_list), int16 m
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforcountinarea_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *count, int *type, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *count, int *type, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforcountinarea_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_vforcountinarea_pre[hIndex].func;
- retVal___ = preHookFunc(func, &m, &x0, &y0, &x1, &y1, &count, &type, ap___copy);
+ retVal___ = preHookFunc(&func, &m, &x0, &y0, &x1, &y1, &count, &type, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -40450,12 +40450,12 @@ int HP_map_vforeachinmovearea(int ( *func ) (struct block_list *, va_list), stru
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforeachinmovearea_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), struct block_list *center, int16 *range, int16 *dx, int16 *dy, int *type, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), struct block_list **center, int16 *range, int16 *dx, int16 *dy, int *type, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinmovearea_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_vforeachinmovearea_pre[hIndex].func;
- retVal___ = preHookFunc(func, center, &range, &dx, &dy, &type, ap___copy);
+ retVal___ = preHookFunc(&func, &center, &range, &dx, &dy, &type, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -40483,12 +40483,12 @@ int HP_map_vforeachincell(int ( *func ) (struct block_list *, va_list), int16 m,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforeachincell_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x, int16 *y, int *type, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), int16 *m, int16 *x, int16 *y, int *type, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachincell_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_vforeachincell_pre[hIndex].func;
- retVal___ = preHookFunc(func, &m, &x, &y, &type, ap___copy);
+ retVal___ = preHookFunc(&func, &m, &x, &y, &type, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -40516,12 +40516,12 @@ int HP_map_vforeachinpath(int ( *func ) (struct block_list *, va_list), int16 m,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforeachinpath_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int16 *range, int *length, int *type, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int16 *range, int *length, int *type, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinpath_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_vforeachinpath_pre[hIndex].func;
- retVal___ = preHookFunc(func, &m, &x0, &y0, &x1, &y1, &range, &length, &type, ap___copy);
+ retVal___ = preHookFunc(&func, &m, &x0, &y0, &x1, &y1, &range, &length, &type, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -40549,12 +40549,12 @@ int HP_map_vforeachinmap(int ( *func ) (struct block_list *, va_list), int16 m,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforeachinmap_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), int16 *m, int *type, va_list args);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), int16 *m, int *type, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachinmap_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_map_vforeachinmap_pre[hIndex].func;
- retVal___ = preHookFunc(func, &m, &type, args___copy);
+ retVal___ = preHookFunc(&func, &m, &type, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -40582,12 +40582,12 @@ int HP_map_vforeachininstance(int ( *func ) (struct block_list *, va_list), int1
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_vforeachininstance_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), int16 *instance_id, int *type, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), int16 *instance_id, int *type, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_vforeachininstance_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_vforeachininstance_pre[hIndex].func;
- retVal___ = preHookFunc(func, &instance_id, &type, ap___copy);
+ retVal___ = preHookFunc(&func, &instance_id, &type, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -40966,11 +40966,11 @@ int16 HP_map_mapname2mapid(const char *name) {
int hIndex = 0;
int16 retVal___ = 0;
if( HPMHooks.count.HP_map_mapname2mapid_pre ) {
- int16 (*preHookFunc) (const char *name);
+ int16 (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_mapname2mapid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_mapname2mapid_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -40993,11 +40993,11 @@ int HP_map_mapname2ipport(unsigned short name, uint32 *ip, uint16 *port) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_mapname2ipport_pre ) {
- int (*preHookFunc) (unsigned short *name, uint32 *ip, uint16 *port);
+ int (*preHookFunc) (unsigned short *name, uint32 **ip, uint16 **port);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_mapname2ipport_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_mapname2ipport_pre[hIndex].func;
- retVal___ = preHookFunc(&name, ip, port);
+ retVal___ = preHookFunc(&name, &ip, &port);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41100,11 +41100,11 @@ int HP_map_eraseallipport(void) {
void HP_map_addiddb(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_map_addiddb_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addiddb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_addiddb_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41126,11 +41126,11 @@ void HP_map_addiddb(struct block_list *bl) {
void HP_map_deliddb(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_map_deliddb_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_deliddb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_deliddb_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41153,11 +41153,11 @@ struct map_session_data* HP_map_nick2sd(const char *nick) {
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_map_nick2sd_pre ) {
- struct map_session_data* (*preHookFunc) (const char *nick);
+ struct map_session_data* (*preHookFunc) (const char **nick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_nick2sd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_nick2sd_pre[hIndex].func;
- retVal___ = preHookFunc(nick);
+ retVal___ = preHookFunc(&nick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41314,11 +41314,11 @@ uint8 HP_map_calc_dir(struct block_list *src, int16 x, int16 y) {
int hIndex = 0;
uint8 retVal___ = 0;
if( HPMHooks.count.HP_map_calc_dir_pre ) {
- uint8 (*preHookFunc) (struct block_list *src, int16 *x, int16 *y);
+ uint8 (*preHookFunc) (struct block_list **src, int16 *x, int16 *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_calc_dir_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_calc_dir_pre[hIndex].func;
- retVal___ = preHookFunc(src, &x, &y);
+ retVal___ = preHookFunc(&src, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41341,11 +41341,11 @@ int HP_map_random_dir(struct block_list *bl, short *x, short *y) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_random_dir_pre ) {
- int (*preHookFunc) (struct block_list *bl, short *x, short *y);
+ int (*preHookFunc) (struct block_list **bl, short **x, short **y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_random_dir_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_random_dir_pre[hIndex].func;
- retVal___ = preHookFunc(bl, x, y);
+ retVal___ = preHookFunc(&bl, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41368,12 +41368,12 @@ int HP_map_cleanup_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_cleanup_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_cleanup_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_cleanup_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -41401,11 +41401,11 @@ int HP_map_delmap(char *mapname) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_delmap_pre ) {
- int (*preHookFunc) (char *mapname);
+ int (*preHookFunc) (char **mapname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_delmap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_delmap_pre[hIndex].func;
- retVal___ = preHookFunc(mapname);
+ retVal___ = preHookFunc(&mapname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41454,11 +41454,11 @@ bool HP_map_iwall_set(int16 m, int16 x, int16 y, int size, int8 dir, bool shoota
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_map_iwall_set_pre ) {
- bool (*preHookFunc) (int16 *m, int16 *x, int16 *y, int *size, int8 *dir, bool *shootable, const char *wall_name);
+ bool (*preHookFunc) (int16 *m, int16 *x, int16 *y, int *size, int8 *dir, bool *shootable, const char **wall_name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_iwall_set_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_iwall_set_pre[hIndex].func;
- retVal___ = preHookFunc(&m, &x, &y, &size, &dir, &shootable, wall_name);
+ retVal___ = preHookFunc(&m, &x, &y, &size, &dir, &shootable, &wall_name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41480,11 +41480,11 @@ bool HP_map_iwall_set(int16 m, int16 x, int16 y, int size, int8 dir, bool shoota
void HP_map_iwall_get(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_map_iwall_get_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_iwall_get_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_iwall_get_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41506,11 +41506,11 @@ void HP_map_iwall_get(struct map_session_data *sd) {
void HP_map_iwall_remove(const char *wall_name) {
int hIndex = 0;
if( HPMHooks.count.HP_map_iwall_remove_pre ) {
- void (*preHookFunc) (const char *wall_name);
+ void (*preHookFunc) (const char **wall_name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_iwall_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_iwall_remove_pre[hIndex].func;
- preHookFunc(wall_name);
+ preHookFunc(&wall_name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41533,11 +41533,11 @@ int HP_map_addmobtolist(unsigned short m, struct spawn_data *spawn) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_addmobtolist_pre ) {
- int (*preHookFunc) (unsigned short *m, struct spawn_data *spawn);
+ int (*preHookFunc) (unsigned short *m, struct spawn_data **spawn);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addmobtolist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_addmobtolist_pre[hIndex].func;
- retVal___ = preHookFunc(&m, spawn);
+ retVal___ = preHookFunc(&m, &spawn);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41611,11 +41611,11 @@ void HP_map_removemobs(int16 m) {
void HP_map_addmap2db(struct map_data *m) {
int hIndex = 0;
if( HPMHooks.count.HP_map_addmap2db_pre ) {
- void (*preHookFunc) (struct map_data *m);
+ void (*preHookFunc) (struct map_data **m);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addmap2db_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_addmap2db_pre[hIndex].func;
- preHookFunc(m);
+ preHookFunc(&m);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41637,11 +41637,11 @@ void HP_map_addmap2db(struct map_data *m) {
void HP_map_removemapdb(struct map_data *m) {
int hIndex = 0;
if( HPMHooks.count.HP_map_removemapdb_pre ) {
- void (*preHookFunc) (struct map_data *m);
+ void (*preHookFunc) (struct map_data **m);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_removemapdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_removemapdb_pre[hIndex].func;
- preHookFunc(m);
+ preHookFunc(&m);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41743,11 +41743,11 @@ int HP_map_searchrandfreecell(int16 m, const struct block_list *bl, int16 *x, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_searchrandfreecell_pre ) {
- int (*preHookFunc) (int16 *m, const struct block_list *bl, int16 *x, int16 *y, int *stack);
+ int (*preHookFunc) (int16 *m, const struct block_list **bl, int16 **x, int16 **y, int *stack);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_searchrandfreecell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_searchrandfreecell_pre[hIndex].func;
- retVal___ = preHookFunc(&m, bl, x, y, &stack);
+ retVal___ = preHookFunc(&m, &bl, &x, &y, &stack);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41770,12 +41770,12 @@ int HP_map_count_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_count_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_count_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_count_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -41836,12 +41836,12 @@ int HP_map_removemobs_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_removemobs_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_removemobs_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_removemobs_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -41923,11 +41923,11 @@ int HP_map_getcellp(struct map_data *m, const struct block_list *bl, int16 x, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_getcellp_pre ) {
- int (*preHookFunc) (struct map_data *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
+ int (*preHookFunc) (struct map_data **m, const struct block_list **bl, int16 *x, int16 *y, cell_chk *cellchk);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_getcellp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_getcellp_pre[hIndex].func;
- retVal___ = preHookFunc(m, bl, &x, &y, &cellchk);
+ retVal___ = preHookFunc(&m, &bl, &x, &y, &cellchk);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -41976,11 +41976,11 @@ int HP_map_sub_getcellp(struct map_data *m, const struct block_list *bl, int16 x
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_sub_getcellp_pre ) {
- int (*preHookFunc) (struct map_data *m, const struct block_list *bl, int16 *x, int16 *y, cell_chk *cellchk);
+ int (*preHookFunc) (struct map_data **m, const struct block_list **bl, int16 *x, int16 *y, cell_chk *cellchk);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_sub_getcellp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_sub_getcellp_pre[hIndex].func;
- retVal___ = preHookFunc(m, bl, &x, &y, &cellchk);
+ retVal___ = preHookFunc(&m, &bl, &x, &y, &cellchk);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42028,11 +42028,11 @@ void HP_map_sub_setcell(int16 m, int16 x, int16 y, cell_t cell, bool flag) {
void HP_map_iwall_nextxy(int16 x, int16 y, int8 dir, int pos, int16 *x1, int16 *y1) {
int hIndex = 0;
if( HPMHooks.count.HP_map_iwall_nextxy_pre ) {
- void (*preHookFunc) (int16 *x, int16 *y, int8 *dir, int *pos, int16 *x1, int16 *y1);
+ void (*preHookFunc) (int16 *x, int16 *y, int8 *dir, int *pos, int16 **x1, int16 **y1);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_iwall_nextxy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_iwall_nextxy_pre[hIndex].func;
- preHookFunc(&x, &y, &dir, &pos, x1, y1);
+ preHookFunc(&x, &y, &dir, &pos, &x1, &y1);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42088,12 +42088,12 @@ int HP_map_eraseallipport_sub(union DBKey key, struct DBData *data, va_list va)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_eraseallipport_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list va);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list va);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_eraseallipport_sub_pre; hIndex++ ) {
va_list va___copy; va_copy(va___copy, va);
preHookFunc = HPMHooks.list.HP_map_eraseallipport_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, va___copy);
+ retVal___ = preHookFunc(&key, &data, va___copy);
va_end(va___copy);
}
if( *HPMforce_return ) {
@@ -42121,11 +42121,11 @@ char* HP_map_init_mapcache(FILE *fp) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_map_init_mapcache_pre ) {
- char* (*preHookFunc) (FILE *fp);
+ char* (*preHookFunc) (FILE **fp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_init_mapcache_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_init_mapcache_pre[hIndex].func;
- retVal___ = preHookFunc(fp);
+ retVal___ = preHookFunc(&fp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42148,11 +42148,11 @@ int HP_map_readfromcache(struct map_data *m, char *buffer) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_readfromcache_pre ) {
- int (*preHookFunc) (struct map_data *m, char *buffer);
+ int (*preHookFunc) (struct map_data **m, char **buffer);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_readfromcache_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_readfromcache_pre[hIndex].func;
- retVal___ = preHookFunc(m, buffer);
+ retVal___ = preHookFunc(&m, &buffer);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42175,11 +42175,11 @@ int HP_map_addmap(const char *mapname) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_addmap_pre ) {
- int (*preHookFunc) (const char *mapname);
+ int (*preHookFunc) (const char **mapname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_addmap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_addmap_pre[hIndex].func;
- retVal___ = preHookFunc(mapname);
+ retVal___ = preHookFunc(&mapname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42280,11 +42280,11 @@ int HP_map_waterheight(char *mapname) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_waterheight_pre ) {
- int (*preHookFunc) (char *mapname);
+ int (*preHookFunc) (char **mapname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_waterheight_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_waterheight_pre[hIndex].func;
- retVal___ = preHookFunc(mapname);
+ retVal___ = preHookFunc(&mapname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42307,11 +42307,11 @@ int HP_map_readgat(struct map_data *m) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_readgat_pre ) {
- int (*preHookFunc) (struct map_data *m);
+ int (*preHookFunc) (struct map_data **m);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_readgat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_readgat_pre[hIndex].func;
- retVal___ = preHookFunc(m);
+ retVal___ = preHookFunc(&m);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42361,11 +42361,11 @@ int HP_map_config_read(char *cfgName) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_config_read_pre ) {
- int (*preHookFunc) (char *cfgName);
+ int (*preHookFunc) (char **cfgName);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_config_read_pre[hIndex].func;
- retVal___ = preHookFunc(cfgName);
+ retVal___ = preHookFunc(&cfgName);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42388,11 +42388,11 @@ int HP_map_config_read_sub(char *cfgName) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_config_read_sub_pre ) {
- int (*preHookFunc) (char *cfgName);
+ int (*preHookFunc) (char **cfgName);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_config_read_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_config_read_sub_pre[hIndex].func;
- retVal___ = preHookFunc(cfgName);
+ retVal___ = preHookFunc(&cfgName);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42414,11 +42414,11 @@ int HP_map_config_read_sub(char *cfgName) {
void HP_map_reloadnpc_sub(char *cfgName) {
int hIndex = 0;
if( HPMHooks.count.HP_map_reloadnpc_sub_pre ) {
- void (*preHookFunc) (char *cfgName);
+ void (*preHookFunc) (char **cfgName);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_reloadnpc_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_reloadnpc_sub_pre[hIndex].func;
- preHookFunc(cfgName);
+ preHookFunc(&cfgName);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42441,11 +42441,11 @@ int HP_map_inter_config_read(char *cfgName) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_inter_config_read_pre ) {
- int (*preHookFunc) (char *cfgName);
+ int (*preHookFunc) (char **cfgName);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_inter_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_inter_config_read_pre[hIndex].func;
- retVal___ = preHookFunc(cfgName);
+ retVal___ = preHookFunc(&cfgName);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42522,11 +42522,11 @@ bool HP_map_zone_mf_cache(int m, char *flag, char *params) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_map_zone_mf_cache_pre ) {
- bool (*preHookFunc) (int *m, char *flag, char *params);
+ bool (*preHookFunc) (int *m, char **flag, char **params);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_mf_cache_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_zone_mf_cache_pre[hIndex].func;
- retVal___ = preHookFunc(&m, flag, params);
+ retVal___ = preHookFunc(&m, &flag, &params);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42549,11 +42549,11 @@ unsigned short HP_map_zone_str2itemid(const char *name) {
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_map_zone_str2itemid_pre ) {
- unsigned short (*preHookFunc) (const char *name);
+ unsigned short (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_str2itemid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_zone_str2itemid_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42576,11 +42576,11 @@ unsigned short HP_map_zone_str2skillid(const char *name) {
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_map_zone_str2skillid_pre ) {
- unsigned short (*preHookFunc) (const char *name);
+ unsigned short (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_str2skillid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_zone_str2skillid_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42603,11 +42603,11 @@ enum bl_type HP_map_zone_bl_type(const char *entry, enum map_zone_skill_subtype
int hIndex = 0;
enum bl_type retVal___ = BL_NUL;
if( HPMHooks.count.HP_map_zone_bl_type_pre ) {
- enum bl_type (*preHookFunc) (const char *entry, enum map_zone_skill_subtype *subtype);
+ enum bl_type (*preHookFunc) (const char **entry, enum map_zone_skill_subtype **subtype);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_bl_type_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_zone_bl_type_pre[hIndex].func;
- retVal___ = preHookFunc(entry, subtype);
+ retVal___ = preHookFunc(&entry, &subtype);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42656,12 +42656,12 @@ int HP_map_db_final(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_db_final_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_db_final_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_db_final_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -42689,12 +42689,12 @@ int HP_map_nick_db_final(union DBKey key, struct DBData *data, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_nick_db_final_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list args);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_nick_db_final_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_map_nick_db_final_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, args___copy);
+ retVal___ = preHookFunc(&key, &data, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -42722,12 +42722,12 @@ int HP_map_cleanup_db_sub(union DBKey key, struct DBData *data, va_list va) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_cleanup_db_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list va);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list va);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_cleanup_db_sub_pre; hIndex++ ) {
va_list va___copy; va_copy(va___copy, va);
preHookFunc = HPMHooks.list.HP_map_cleanup_db_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, va___copy);
+ retVal___ = preHookFunc(&key, &data, va___copy);
va_end(va___copy);
}
if( *HPMforce_return ) {
@@ -42755,12 +42755,12 @@ int HP_map_abort_sub(struct map_session_data *sd, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_map_abort_sub_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, va_list ap);
+ int (*preHookFunc) (struct map_session_data **sd, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_abort_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_map_abort_sub_pre[hIndex].func;
- retVal___ = preHookFunc(sd, ap___copy);
+ retVal___ = preHookFunc(&sd, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -42787,11 +42787,11 @@ int HP_map_abort_sub(struct map_session_data *sd, va_list ap) {
void HP_map_update_cell_bl(struct block_list *bl, bool increase) {
int hIndex = 0;
if( HPMHooks.count.HP_map_update_cell_bl_pre ) {
- void (*preHookFunc) (struct block_list *bl, bool *increase);
+ void (*preHookFunc) (struct block_list **bl, bool *increase);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_update_cell_bl_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_update_cell_bl_pre[hIndex].func;
- preHookFunc(bl, &increase);
+ preHookFunc(&bl, &increase);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42840,11 +42840,11 @@ int HP_map_get_new_bonus_id(void) {
void HP_map_add_questinfo(int m, struct questinfo *qi) {
int hIndex = 0;
if( HPMHooks.count.HP_map_add_questinfo_pre ) {
- void (*preHookFunc) (int *m, struct questinfo *qi);
+ void (*preHookFunc) (int *m, struct questinfo **qi);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_add_questinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_add_questinfo_pre[hIndex].func;
- preHookFunc(&m, qi);
+ preHookFunc(&m, &qi);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42867,11 +42867,11 @@ bool HP_map_remove_questinfo(int m, struct npc_data *nd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_map_remove_questinfo_pre ) {
- bool (*preHookFunc) (int *m, struct npc_data *nd);
+ bool (*preHookFunc) (int *m, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_remove_questinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_remove_questinfo_pre[hIndex].func;
- retVal___ = preHookFunc(&m, nd);
+ retVal___ = preHookFunc(&m, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42894,11 +42894,11 @@ struct map_zone_data* HP_map_merge_zone(struct map_zone_data *main, struct map_z
int hIndex = 0;
struct map_zone_data* retVal___ = NULL;
if( HPMHooks.count.HP_map_merge_zone_pre ) {
- struct map_zone_data* (*preHookFunc) (struct map_zone_data *main, struct map_zone_data *other);
+ struct map_zone_data* (*preHookFunc) (struct map_zone_data **main, struct map_zone_data **other);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_merge_zone_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_merge_zone_pre[hIndex].func;
- retVal___ = preHookFunc(main, other);
+ retVal___ = preHookFunc(&main, &other);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -42920,11 +42920,11 @@ struct map_zone_data* HP_map_merge_zone(struct map_zone_data *main, struct map_z
void HP_map_zone_clear_single(struct map_zone_data *zone) {
int hIndex = 0;
if( HPMHooks.count.HP_map_zone_clear_single_pre ) {
- void (*preHookFunc) (struct map_zone_data *zone);
+ void (*preHookFunc) (struct map_zone_data **zone);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_map_zone_clear_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_map_zone_clear_single_pre[hIndex].func;
- preHookFunc(zone);
+ preHookFunc(&zone);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43001,11 +43001,11 @@ int HP_mapindex_addmap(int index, const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mapindex_addmap_pre ) {
- int (*preHookFunc) (int *index, const char *name);
+ int (*preHookFunc) (int *index, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapindex_addmap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapindex_addmap_pre[hIndex].func;
- retVal___ = preHookFunc(&index, name);
+ retVal___ = preHookFunc(&index, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43054,11 +43054,11 @@ const char* HP_mapindex_getmapname(const char *string, char *output) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_mapindex_getmapname_pre ) {
- const char* (*preHookFunc) (const char *string, char *output);
+ const char* (*preHookFunc) (const char **string, char **output);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapindex_getmapname_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapindex_getmapname_pre[hIndex].func;
- retVal___ = preHookFunc(string, output);
+ retVal___ = preHookFunc(&string, &output);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43081,11 +43081,11 @@ const char* HP_mapindex_getmapname_ext(const char *string, char *output) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_mapindex_getmapname_ext_pre ) {
- const char* (*preHookFunc) (const char *string, char *output);
+ const char* (*preHookFunc) (const char **string, char **output);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapindex_getmapname_ext_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapindex_getmapname_ext_pre[hIndex].func;
- retVal___ = preHookFunc(string, output);
+ retVal___ = preHookFunc(&string, &output);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43108,11 +43108,11 @@ unsigned short HP_mapindex_name2id(const char *p1) {
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_mapindex_name2id_pre ) {
- unsigned short (*preHookFunc) (const char *p1);
+ unsigned short (*preHookFunc) (const char **p1);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapindex_name2id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapindex_name2id_pre[hIndex].func;
- retVal___ = preHookFunc(p1);
+ retVal___ = preHookFunc(&p1);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43135,11 +43135,11 @@ const char* HP_mapindex_id2name(uint16 id, const char *file, int line, const cha
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_mapindex_id2name_pre ) {
- const char* (*preHookFunc) (uint16 *id, const char *file, int *line, const char *func);
+ const char* (*preHookFunc) (uint16 *id, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapindex_id2name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapindex_id2name_pre[hIndex].func;
- retVal___ = preHookFunc(&id, file, &line, func);
+ retVal___ = preHookFunc(&id, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43216,11 +43216,11 @@ struct s_mapiterator* HP_mapit_alloc(enum e_mapitflags flags, enum bl_type types
void HP_mapit_free(struct s_mapiterator *iter) {
int hIndex = 0;
if( HPMHooks.count.HP_mapit_free_pre ) {
- void (*preHookFunc) (struct s_mapiterator *iter);
+ void (*preHookFunc) (struct s_mapiterator **iter);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapit_free_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapit_free_pre[hIndex].func;
- preHookFunc(iter);
+ preHookFunc(&iter);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43243,11 +43243,11 @@ struct block_list* HP_mapit_first(struct s_mapiterator *iter) {
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_mapit_first_pre ) {
- struct block_list* (*preHookFunc) (struct s_mapiterator *iter);
+ struct block_list* (*preHookFunc) (struct s_mapiterator **iter);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapit_first_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapit_first_pre[hIndex].func;
- retVal___ = preHookFunc(iter);
+ retVal___ = preHookFunc(&iter);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43270,11 +43270,11 @@ struct block_list* HP_mapit_last(struct s_mapiterator *iter) {
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_mapit_last_pre ) {
- struct block_list* (*preHookFunc) (struct s_mapiterator *iter);
+ struct block_list* (*preHookFunc) (struct s_mapiterator **iter);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapit_last_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapit_last_pre[hIndex].func;
- retVal___ = preHookFunc(iter);
+ retVal___ = preHookFunc(&iter);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43297,11 +43297,11 @@ struct block_list* HP_mapit_next(struct s_mapiterator *iter) {
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_mapit_next_pre ) {
- struct block_list* (*preHookFunc) (struct s_mapiterator *iter);
+ struct block_list* (*preHookFunc) (struct s_mapiterator **iter);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapit_next_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapit_next_pre[hIndex].func;
- retVal___ = preHookFunc(iter);
+ retVal___ = preHookFunc(&iter);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43324,11 +43324,11 @@ struct block_list* HP_mapit_prev(struct s_mapiterator *iter) {
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_mapit_prev_pre ) {
- struct block_list* (*preHookFunc) (struct s_mapiterator *iter);
+ struct block_list* (*preHookFunc) (struct s_mapiterator **iter);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapit_prev_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapit_prev_pre[hIndex].func;
- retVal___ = preHookFunc(iter);
+ retVal___ = preHookFunc(&iter);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43351,11 +43351,11 @@ bool HP_mapit_exists(struct s_mapiterator *iter) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mapit_exists_pre ) {
- bool (*preHookFunc) (struct s_mapiterator *iter);
+ bool (*preHookFunc) (struct s_mapiterator **iter);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapit_exists_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapit_exists_pre[hIndex].func;
- retVal___ = preHookFunc(iter);
+ retVal___ = preHookFunc(&iter);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43512,11 +43512,11 @@ bool HP_mapreg_setregstr(int64 uid, const char *str) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mapreg_setregstr_pre ) {
- bool (*preHookFunc) (int64 *uid, const char *str);
+ bool (*preHookFunc) (int64 *uid, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapreg_setregstr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapreg_setregstr_pre[hIndex].func;
- retVal___ = preHookFunc(&uid, str);
+ retVal___ = preHookFunc(&uid, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43618,12 +43618,12 @@ int HP_mapreg_destroyreg(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mapreg_destroyreg_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapreg_destroyreg_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mapreg_destroyreg_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -43677,11 +43677,11 @@ bool HP_mapreg_config_read(const char *w1, const char *w2) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mapreg_config_read_pre ) {
- bool (*preHookFunc) (const char *w1, const char *w2);
+ bool (*preHookFunc) (const char **w1, const char **w2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mapreg_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mapreg_config_read_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2);
+ retVal___ = preHookFunc(&w1, &w2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43785,11 +43785,11 @@ int HP_mercenary_create(struct map_session_data *sd, int class_, unsigned int li
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_create_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *class_, unsigned int *lifetime);
+ int (*preHookFunc) (struct map_session_data **sd, int *class_, unsigned int *lifetime);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_create_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &class_, &lifetime);
+ retVal___ = preHookFunc(&sd, &class_, &lifetime);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43812,11 +43812,11 @@ int HP_mercenary_data_received(const struct s_mercenary *merc, bool flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_data_received_pre ) {
- int (*preHookFunc) (const struct s_mercenary *merc, bool *flag);
+ int (*preHookFunc) (const struct s_mercenary **merc, bool *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_data_received_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_data_received_pre[hIndex].func;
- retVal___ = preHookFunc(merc, &flag);
+ retVal___ = preHookFunc(&merc, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43839,11 +43839,11 @@ int HP_mercenary_save(struct mercenary_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_save_pre ) {
- int (*preHookFunc) (struct mercenary_data *md);
+ int (*preHookFunc) (struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_save_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_save_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43865,11 +43865,11 @@ int HP_mercenary_save(struct mercenary_data *md) {
void HP_mercenary_heal(struct mercenary_data *md, int hp, int sp) {
int hIndex = 0;
if( HPMHooks.count.HP_mercenary_heal_pre ) {
- void (*preHookFunc) (struct mercenary_data *md, int *hp, int *sp);
+ void (*preHookFunc) (struct mercenary_data **md, int *hp, int *sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_heal_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_heal_pre[hIndex].func;
- preHookFunc(md, &hp, &sp);
+ preHookFunc(&md, &hp, &sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43892,11 +43892,11 @@ int HP_mercenary_dead(struct mercenary_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_dead_pre ) {
- int (*preHookFunc) (struct mercenary_data *md);
+ int (*preHookFunc) (struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_dead_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_dead_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43919,11 +43919,11 @@ int HP_mercenary_delete(struct mercenary_data *md, int reply) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_delete_pre ) {
- int (*preHookFunc) (struct mercenary_data *md, int *reply);
+ int (*preHookFunc) (struct mercenary_data **md, int *reply);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_delete_pre[hIndex].func;
- retVal___ = preHookFunc(md, &reply);
+ retVal___ = preHookFunc(&md, &reply);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43945,11 +43945,11 @@ int HP_mercenary_delete(struct mercenary_data *md, int reply) {
void HP_mercenary_contract_stop(struct mercenary_data *md) {
int hIndex = 0;
if( HPMHooks.count.HP_mercenary_contract_stop_pre ) {
- void (*preHookFunc) (struct mercenary_data *md);
+ void (*preHookFunc) (struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_contract_stop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_contract_stop_pre[hIndex].func;
- preHookFunc(md);
+ preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43972,11 +43972,11 @@ int HP_mercenary_get_lifetime(struct mercenary_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_get_lifetime_pre ) {
- int (*preHookFunc) (struct mercenary_data *md);
+ int (*preHookFunc) (struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_get_lifetime_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_get_lifetime_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -43999,11 +43999,11 @@ int HP_mercenary_get_guild(struct mercenary_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_get_guild_pre ) {
- int (*preHookFunc) (struct mercenary_data *md);
+ int (*preHookFunc) (struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_get_guild_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_get_guild_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44026,11 +44026,11 @@ int HP_mercenary_get_faith(struct mercenary_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_get_faith_pre ) {
- int (*preHookFunc) (struct mercenary_data *md);
+ int (*preHookFunc) (struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_get_faith_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_get_faith_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44053,11 +44053,11 @@ int HP_mercenary_set_faith(struct mercenary_data *md, int value) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_set_faith_pre ) {
- int (*preHookFunc) (struct mercenary_data *md, int *value);
+ int (*preHookFunc) (struct mercenary_data **md, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_set_faith_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_set_faith_pre[hIndex].func;
- retVal___ = preHookFunc(md, &value);
+ retVal___ = preHookFunc(&md, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44080,11 +44080,11 @@ int HP_mercenary_get_calls(struct mercenary_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_get_calls_pre ) {
- int (*preHookFunc) (struct mercenary_data *md);
+ int (*preHookFunc) (struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_get_calls_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_get_calls_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44107,11 +44107,11 @@ int HP_mercenary_set_calls(struct mercenary_data *md, int value) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_set_calls_pre ) {
- int (*preHookFunc) (struct mercenary_data *md, int *value);
+ int (*preHookFunc) (struct mercenary_data **md, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_set_calls_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_set_calls_pre[hIndex].func;
- retVal___ = preHookFunc(md, &value);
+ retVal___ = preHookFunc(&md, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44134,11 +44134,11 @@ int HP_mercenary_kills(struct mercenary_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_kills_pre ) {
- int (*preHookFunc) (struct mercenary_data *md);
+ int (*preHookFunc) (struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_kills_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_kills_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44161,11 +44161,11 @@ int HP_mercenary_checkskill(struct mercenary_data *md, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_checkskill_pre ) {
- int (*preHookFunc) (struct mercenary_data *md, uint16 *skill_id);
+ int (*preHookFunc) (struct mercenary_data **md, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_checkskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_checkskill_pre[hIndex].func;
- retVal___ = preHookFunc(md, &skill_id);
+ retVal___ = preHookFunc(&md, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44242,11 +44242,11 @@ int HP_mercenary_killbonus(struct mercenary_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mercenary_killbonus_pre ) {
- int (*preHookFunc) (struct mercenary_data *md);
+ int (*preHookFunc) (struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_killbonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_killbonus_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44323,11 +44323,11 @@ bool HP_mercenary_read_db_sub(char *str[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mercenary_read_db_sub_pre ) {
- bool (*preHookFunc) (char *str[], int *columns, int *current);
+ bool (*preHookFunc) (char **str[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_read_db_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_read_db_sub_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
+ retVal___ = preHookFunc(&str, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44350,11 +44350,11 @@ bool HP_mercenary_read_skill_db_sub(char *str[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mercenary_read_skill_db_sub_pre ) {
- bool (*preHookFunc) (char *str[], int *columns, int *current);
+ bool (*preHookFunc) (char **str[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mercenary_read_skill_db_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mercenary_read_skill_db_sub_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
+ retVal___ = preHookFunc(&str, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44593,11 +44593,11 @@ int HP_mob_db_searchname(const char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_db_searchname_pre ) {
- int (*preHookFunc) (const char *str);
+ int (*preHookFunc) (const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_db_searchname_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_db_searchname_pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44620,11 +44620,11 @@ int HP_mob_db_searchname_array_sub(struct mob_db *monster, const char *str, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_db_searchname_array_sub_pre ) {
- int (*preHookFunc) (struct mob_db *monster, const char *str, int *flag);
+ int (*preHookFunc) (struct mob_db **monster, const char **str, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_db_searchname_array_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_db_searchname_array_sub_pre[hIndex].func;
- retVal___ = preHookFunc(monster, str, &flag);
+ retVal___ = preHookFunc(&monster, &str, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44646,11 +44646,11 @@ int HP_mob_db_searchname_array_sub(struct mob_db *monster, const char *str, int
void HP_mob_mvptomb_create(struct mob_data *md, char *killer, time_t time) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_mvptomb_create_pre ) {
- void (*preHookFunc) (struct mob_data *md, char *killer, time_t *time);
+ void (*preHookFunc) (struct mob_data **md, char **killer, time_t *time);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_mvptomb_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_mvptomb_create_pre[hIndex].func;
- preHookFunc(md, killer, &time);
+ preHookFunc(&md, &killer, &time);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44672,11 +44672,11 @@ void HP_mob_mvptomb_create(struct mob_data *md, char *killer, time_t time) {
void HP_mob_mvptomb_destroy(struct mob_data *md) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_mvptomb_destroy_pre ) {
- void (*preHookFunc) (struct mob_data *md);
+ void (*preHookFunc) (struct mob_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_mvptomb_destroy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_mvptomb_destroy_pre[hIndex].func;
- preHookFunc(md);
+ preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44699,11 +44699,11 @@ int HP_mob_db_searchname_array(struct mob_db **data, int size, const char *str,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_db_searchname_array_pre ) {
- int (*preHookFunc) (struct mob_db **data, int *size, const char *str, int *flag);
+ int (*preHookFunc) (struct mob_db ***data, int *size, const char **str, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_db_searchname_array_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_db_searchname_array_pre[hIndex].func;
- retVal___ = preHookFunc(data, &size, str, &flag);
+ retVal___ = preHookFunc(&data, &size, &str, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44780,11 +44780,11 @@ int HP_mob_parse_dataset(struct spawn_data *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_parse_dataset_pre ) {
- int (*preHookFunc) (struct spawn_data *data);
+ int (*preHookFunc) (struct spawn_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_parse_dataset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_parse_dataset_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44807,11 +44807,11 @@ struct mob_data* HP_mob_spawn_dataset(struct spawn_data *data) {
int hIndex = 0;
struct mob_data* retVal___ = NULL;
if( HPMHooks.count.HP_mob_spawn_dataset_pre ) {
- struct mob_data* (*preHookFunc) (struct spawn_data *data);
+ struct mob_data* (*preHookFunc) (struct spawn_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_spawn_dataset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_spawn_dataset_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44861,11 +44861,11 @@ bool HP_mob_ksprotected(struct block_list *src, struct block_list *target) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mob_ksprotected_pre ) {
- bool (*preHookFunc) (struct block_list *src, struct block_list *target);
+ bool (*preHookFunc) (struct block_list **src, struct block_list **target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ksprotected_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_ksprotected_pre[hIndex].func;
- retVal___ = preHookFunc(src, target);
+ retVal___ = preHookFunc(&src, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44888,11 +44888,11 @@ struct mob_data* HP_mob_once_spawn_sub(struct block_list *bl, int16 m, int16 x,
int hIndex = 0;
struct mob_data* retVal___ = NULL;
if( HPMHooks.count.HP_mob_once_spawn_sub_pre ) {
- struct mob_data* (*preHookFunc) (struct block_list *bl, int16 *m, int16 *x, int16 *y, const char *mobname, int *class_, const char *event, unsigned int *size, unsigned int *ai);
+ struct mob_data* (*preHookFunc) (struct block_list **bl, int16 *m, int16 *x, int16 *y, const char **mobname, int *class_, const char **event, unsigned int *size, unsigned int *ai);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_once_spawn_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_once_spawn_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &m, &x, &y, mobname, &class_, event, &size, &ai);
+ retVal___ = preHookFunc(&bl, &m, &x, &y, &mobname, &class_, &event, &size, &ai);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44915,11 +44915,11 @@ int HP_mob_once_spawn(struct map_session_data *sd, int16 m, int16 x, int16 y, co
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_once_spawn_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int16 *m, int16 *x, int16 *y, const char *mobname, int *class_, int *amount, const char *event, unsigned int *size, unsigned int *ai);
+ int (*preHookFunc) (struct map_session_data **sd, int16 *m, int16 *x, int16 *y, const char **mobname, int *class_, int *amount, const char **event, unsigned int *size, unsigned int *ai);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_once_spawn_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_once_spawn_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &m, &x, &y, mobname, &class_, &amount, event, &size, &ai);
+ retVal___ = preHookFunc(&sd, &m, &x, &y, &mobname, &class_, &amount, &event, &size, &ai);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44942,11 +44942,11 @@ int HP_mob_once_spawn_area(struct map_session_data *sd, int16 m, int16 x0, int16
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_once_spawn_area_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, const char *mobname, int *class_, int *amount, const char *event, unsigned int *size, unsigned int *ai);
+ int (*preHookFunc) (struct map_session_data **sd, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, const char **mobname, int *class_, int *amount, const char **event, unsigned int *size, unsigned int *ai);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_once_spawn_area_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_once_spawn_area_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &m, &x0, &y0, &x1, &y1, mobname, &class_, &amount, event, &size, &ai);
+ retVal___ = preHookFunc(&sd, &m, &x0, &y0, &x1, &y1, &mobname, &class_, &amount, &event, &size, &ai);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44969,11 +44969,11 @@ int HP_mob_spawn_guardian(const char *mapname, short x, short y, const char *mob
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_spawn_guardian_pre ) {
- int (*preHookFunc) (const char *mapname, short *x, short *y, const char *mobname, int *class_, const char *event, int *guardian, bool *has_index);
+ int (*preHookFunc) (const char **mapname, short *x, short *y, const char **mobname, int *class_, const char **event, int *guardian, bool *has_index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_spawn_guardian_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_spawn_guardian_pre[hIndex].func;
- retVal___ = preHookFunc(mapname, &x, &y, mobname, &class_, event, &guardian, &has_index);
+ retVal___ = preHookFunc(&mapname, &x, &y, &mobname, &class_, &event, &guardian, &has_index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -44996,11 +44996,11 @@ int HP_mob_spawn_bg(const char *mapname, short x, short y, const char *mobname,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_spawn_bg_pre ) {
- int (*preHookFunc) (const char *mapname, short *x, short *y, const char *mobname, int *class_, const char *event, unsigned int *bg_id);
+ int (*preHookFunc) (const char **mapname, short *x, short *y, const char **mobname, int *class_, const char **event, unsigned int *bg_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_spawn_bg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_spawn_bg_pre[hIndex].func;
- retVal___ = preHookFunc(mapname, &x, &y, mobname, &class_, event, &bg_id);
+ retVal___ = preHookFunc(&mapname, &x, &y, &mobname, &class_, &event, &bg_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45023,11 +45023,11 @@ int HP_mob_can_reach(struct mob_data *md, struct block_list *bl, int range, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_can_reach_pre ) {
- int (*preHookFunc) (struct mob_data *md, struct block_list *bl, int *range, int *state);
+ int (*preHookFunc) (struct mob_data **md, struct block_list **bl, int *range, int *state);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_can_reach_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_can_reach_pre[hIndex].func;
- retVal___ = preHookFunc(md, bl, &range, &state);
+ retVal___ = preHookFunc(&md, &bl, &range, &state);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45050,12 +45050,12 @@ int HP_mob_linksearch(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_linksearch_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_linksearch_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_linksearch_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45110,11 +45110,11 @@ int HP_mob_setdelayspawn(struct mob_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_setdelayspawn_pre ) {
- int (*preHookFunc) (struct mob_data *md);
+ int (*preHookFunc) (struct mob_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_setdelayspawn_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_setdelayspawn_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45137,12 +45137,12 @@ int HP_mob_count_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_count_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_count_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_count_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45170,11 +45170,11 @@ int HP_mob_spawn(struct mob_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_spawn_pre ) {
- int (*preHookFunc) (struct mob_data *md);
+ int (*preHookFunc) (struct mob_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_spawn_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_spawn_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45197,11 +45197,11 @@ int HP_mob_can_changetarget(const struct mob_data *md, const struct block_list *
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_can_changetarget_pre ) {
- int (*preHookFunc) (const struct mob_data *md, const struct block_list *target, uint32 *mode);
+ int (*preHookFunc) (const struct mob_data **md, const struct block_list **target, uint32 *mode);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_can_changetarget_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_can_changetarget_pre[hIndex].func;
- retVal___ = preHookFunc(md, target, &mode);
+ retVal___ = preHookFunc(&md, &target, &mode);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45224,11 +45224,11 @@ int HP_mob_target(struct mob_data *md, struct block_list *bl, int dist) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_target_pre ) {
- int (*preHookFunc) (struct mob_data *md, struct block_list *bl, int *dist);
+ int (*preHookFunc) (struct mob_data **md, struct block_list **bl, int *dist);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_target_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_target_pre[hIndex].func;
- retVal___ = preHookFunc(md, bl, &dist);
+ retVal___ = preHookFunc(&md, &bl, &dist);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45251,12 +45251,12 @@ int HP_mob_ai_sub_hard_activesearch(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_ai_sub_hard_activesearch_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_hard_activesearch_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_ai_sub_hard_activesearch_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45284,12 +45284,12 @@ int HP_mob_ai_sub_hard_changechase(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_ai_sub_hard_changechase_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_hard_changechase_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_ai_sub_hard_changechase_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45317,12 +45317,12 @@ int HP_mob_ai_sub_hard_bg_ally(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_ai_sub_hard_bg_ally_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_hard_bg_ally_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_ai_sub_hard_bg_ally_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45350,12 +45350,12 @@ int HP_mob_ai_sub_hard_lootsearch(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_ai_sub_hard_lootsearch_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_hard_lootsearch_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_ai_sub_hard_lootsearch_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45383,12 +45383,12 @@ int HP_mob_warpchase_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_warpchase_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_warpchase_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_warpchase_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45416,11 +45416,11 @@ int HP_mob_ai_sub_hard_slavemob(struct mob_data *md, int64 tick) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_ai_sub_hard_slavemob_pre ) {
- int (*preHookFunc) (struct mob_data *md, int64 *tick);
+ int (*preHookFunc) (struct mob_data **md, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_hard_slavemob_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_ai_sub_hard_slavemob_pre[hIndex].func;
- retVal___ = preHookFunc(md, &tick);
+ retVal___ = preHookFunc(&md, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45443,11 +45443,11 @@ int HP_mob_unlocktarget(struct mob_data *md, int64 tick) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_unlocktarget_pre ) {
- int (*preHookFunc) (struct mob_data *md, int64 *tick);
+ int (*preHookFunc) (struct mob_data **md, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_unlocktarget_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_unlocktarget_pre[hIndex].func;
- retVal___ = preHookFunc(md, &tick);
+ retVal___ = preHookFunc(&md, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45470,11 +45470,11 @@ int HP_mob_randomwalk(struct mob_data *md, int64 tick) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_randomwalk_pre ) {
- int (*preHookFunc) (struct mob_data *md, int64 *tick);
+ int (*preHookFunc) (struct mob_data **md, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_randomwalk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_randomwalk_pre[hIndex].func;
- retVal___ = preHookFunc(md, &tick);
+ retVal___ = preHookFunc(&md, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45497,11 +45497,11 @@ int HP_mob_warpchase(struct mob_data *md, struct block_list *target) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_warpchase_pre ) {
- int (*preHookFunc) (struct mob_data *md, struct block_list *target);
+ int (*preHookFunc) (struct mob_data **md, struct block_list **target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_warpchase_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_warpchase_pre[hIndex].func;
- retVal___ = preHookFunc(md, target);
+ retVal___ = preHookFunc(&md, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45524,11 +45524,11 @@ bool HP_mob_ai_sub_hard(struct mob_data *md, int64 tick) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mob_ai_sub_hard_pre ) {
- bool (*preHookFunc) (struct mob_data *md, int64 *tick);
+ bool (*preHookFunc) (struct mob_data **md, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_hard_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_ai_sub_hard_pre[hIndex].func;
- retVal___ = preHookFunc(md, &tick);
+ retVal___ = preHookFunc(&md, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45551,12 +45551,12 @@ int HP_mob_ai_sub_hard_timer(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_ai_sub_hard_timer_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_hard_timer_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_ai_sub_hard_timer_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45584,12 +45584,12 @@ int HP_mob_ai_sub_foreachclient(struct map_session_data *sd, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_ai_sub_foreachclient_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, va_list ap);
+ int (*preHookFunc) (struct map_session_data **sd, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_foreachclient_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_ai_sub_foreachclient_pre[hIndex].func;
- retVal___ = preHookFunc(sd, ap___copy);
+ retVal___ = preHookFunc(&sd, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45617,12 +45617,12 @@ int HP_mob_ai_sub_lazy(struct mob_data *md, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_ai_sub_lazy_pre ) {
- int (*preHookFunc) (struct mob_data *md, va_list args);
+ int (*preHookFunc) (struct mob_data **md, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_ai_sub_lazy_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_mob_ai_sub_lazy_pre[hIndex].func;
- retVal___ = preHookFunc(md, args___copy);
+ retVal___ = preHookFunc(&md, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -45704,11 +45704,11 @@ struct item_drop* HP_mob_setdropitem(int nameid, int qty, struct item_data *data
int hIndex = 0;
struct item_drop* retVal___ = NULL;
if( HPMHooks.count.HP_mob_setdropitem_pre ) {
- struct item_drop* (*preHookFunc) (int *nameid, int *qty, struct item_data *data);
+ struct item_drop* (*preHookFunc) (int *nameid, int *qty, struct item_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_setdropitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_setdropitem_pre[hIndex].func;
- retVal___ = preHookFunc(&nameid, &qty, data);
+ retVal___ = preHookFunc(&nameid, &qty, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45731,11 +45731,11 @@ struct item_drop* HP_mob_setlootitem(struct item *item) {
int hIndex = 0;
struct item_drop* retVal___ = NULL;
if( HPMHooks.count.HP_mob_setlootitem_pre ) {
- struct item_drop* (*preHookFunc) (struct item *item);
+ struct item_drop* (*preHookFunc) (struct item **item);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_setlootitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_setlootitem_pre[hIndex].func;
- retVal___ = preHookFunc(item);
+ retVal___ = preHookFunc(&item);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45784,11 +45784,11 @@ int HP_mob_delay_item_drop(int tid, int64 tick, int id, intptr_t data) {
void HP_mob_item_drop(struct mob_data *md, struct item_drop_list *dlist, struct item_drop *ditem, int loot, int drop_rate, unsigned short flag) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_item_drop_pre ) {
- void (*preHookFunc) (struct mob_data *md, struct item_drop_list *dlist, struct item_drop *ditem, int *loot, int *drop_rate, unsigned short *flag);
+ void (*preHookFunc) (struct mob_data **md, struct item_drop_list **dlist, struct item_drop **ditem, int *loot, int *drop_rate, unsigned short *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_item_drop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_item_drop_pre[hIndex].func;
- preHookFunc(md, dlist, ditem, &loot, &drop_rate, &flag);
+ preHookFunc(&md, &dlist, &ditem, &loot, &drop_rate, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45838,12 +45838,12 @@ int HP_mob_deleteslave_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_deleteslave_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_deleteslave_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_deleteslave_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -45871,11 +45871,11 @@ int HP_mob_deleteslave(struct mob_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_deleteslave_pre ) {
- int (*preHookFunc) (struct mob_data *md);
+ int (*preHookFunc) (struct mob_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_deleteslave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_deleteslave_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45924,11 +45924,11 @@ int HP_mob_respawn(int tid, int64 tick, int id, intptr_t data) {
void HP_mob_log_damage(struct mob_data *md, struct block_list *src, int damage) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_log_damage_pre ) {
- void (*preHookFunc) (struct mob_data *md, struct block_list *src, int *damage);
+ void (*preHookFunc) (struct mob_data **md, struct block_list **src, int *damage);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_log_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_log_damage_pre[hIndex].func;
- preHookFunc(md, src, &damage);
+ preHookFunc(&md, &src, &damage);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45950,11 +45950,11 @@ void HP_mob_log_damage(struct mob_data *md, struct block_list *src, int damage)
void HP_mob_damage(struct mob_data *md, struct block_list *src, int damage) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_damage_pre ) {
- void (*preHookFunc) (struct mob_data *md, struct block_list *src, int *damage);
+ void (*preHookFunc) (struct mob_data **md, struct block_list **src, int *damage);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_damage_pre[hIndex].func;
- preHookFunc(md, src, &damage);
+ preHookFunc(&md, &src, &damage);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -45977,11 +45977,11 @@ int HP_mob_dead(struct mob_data *md, struct block_list *src, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_dead_pre ) {
- int (*preHookFunc) (struct mob_data *md, struct block_list *src, int *type);
+ int (*preHookFunc) (struct mob_data **md, struct block_list **src, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_dead_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_dead_pre[hIndex].func;
- retVal___ = preHookFunc(md, src, &type);
+ retVal___ = preHookFunc(&md, &src, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46003,11 +46003,11 @@ int HP_mob_dead(struct mob_data *md, struct block_list *src, int type) {
void HP_mob_revive(struct mob_data *md, unsigned int hp) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_revive_pre ) {
- void (*preHookFunc) (struct mob_data *md, unsigned int *hp);
+ void (*preHookFunc) (struct mob_data **md, unsigned int *hp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_revive_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_revive_pre[hIndex].func;
- preHookFunc(md, &hp);
+ preHookFunc(&md, &hp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46030,11 +46030,11 @@ int HP_mob_guardian_guildchange(struct mob_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_guardian_guildchange_pre ) {
- int (*preHookFunc) (struct mob_data *md);
+ int (*preHookFunc) (struct mob_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_guardian_guildchange_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_guardian_guildchange_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46057,11 +46057,11 @@ int HP_mob_random_class(int *value, size_t count) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_random_class_pre ) {
- int (*preHookFunc) (int *value, size_t *count);
+ int (*preHookFunc) (int **value, size_t *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_random_class_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_random_class_pre[hIndex].func;
- retVal___ = preHookFunc(value, &count);
+ retVal___ = preHookFunc(&value, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46084,11 +46084,11 @@ int HP_mob_class_change(struct mob_data *md, int class_) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_class_change_pre ) {
- int (*preHookFunc) (struct mob_data *md, int *class_);
+ int (*preHookFunc) (struct mob_data **md, int *class_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_class_change_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_class_change_pre[hIndex].func;
- retVal___ = preHookFunc(md, &class_);
+ retVal___ = preHookFunc(&md, &class_);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46110,11 +46110,11 @@ int HP_mob_class_change(struct mob_data *md, int class_) {
void HP_mob_heal(struct mob_data *md, unsigned int heal) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_heal_pre ) {
- void (*preHookFunc) (struct mob_data *md, unsigned int *heal);
+ void (*preHookFunc) (struct mob_data **md, unsigned int *heal);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_heal_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_heal_pre[hIndex].func;
- preHookFunc(md, &heal);
+ preHookFunc(&md, &heal);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46137,12 +46137,12 @@ int HP_mob_warpslave_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_warpslave_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_warpslave_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_warpslave_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -46170,11 +46170,11 @@ int HP_mob_warpslave(struct block_list *bl, int range) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_warpslave_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *range);
+ int (*preHookFunc) (struct block_list **bl, int *range);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_warpslave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_warpslave_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &range);
+ retVal___ = preHookFunc(&bl, &range);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46197,12 +46197,12 @@ int HP_mob_countslave_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_countslave_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_countslave_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_countslave_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -46230,11 +46230,11 @@ int HP_mob_countslave(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_countslave_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_countslave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_countslave_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46257,11 +46257,11 @@ int HP_mob_summonslave(struct mob_data *md2, int *value, int amount, uint16 skil
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_summonslave_pre ) {
- int (*preHookFunc) (struct mob_data *md2, int *value, int *amount, uint16 *skill_id);
+ int (*preHookFunc) (struct mob_data **md2, int **value, int *amount, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_summonslave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_summonslave_pre[hIndex].func;
- retVal___ = preHookFunc(md2, value, &amount, &skill_id);
+ retVal___ = preHookFunc(&md2, &value, &amount, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46284,12 +46284,12 @@ int HP_mob_getfriendhprate_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_getfriendhprate_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_getfriendhprate_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_getfriendhprate_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -46317,11 +46317,11 @@ struct block_list* HP_mob_getfriendhprate(struct mob_data *md, int min_rate, int
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_mob_getfriendhprate_pre ) {
- struct block_list* (*preHookFunc) (struct mob_data *md, int *min_rate, int *max_rate);
+ struct block_list* (*preHookFunc) (struct mob_data **md, int *min_rate, int *max_rate);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_getfriendhprate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_getfriendhprate_pre[hIndex].func;
- retVal___ = preHookFunc(md, &min_rate, &max_rate);
+ retVal___ = preHookFunc(&md, &min_rate, &max_rate);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46344,11 +46344,11 @@ struct block_list* HP_mob_getmasterhpltmaxrate(struct mob_data *md, int rate) {
int hIndex = 0;
struct block_list* retVal___ = NULL;
if( HPMHooks.count.HP_mob_getmasterhpltmaxrate_pre ) {
- struct block_list* (*preHookFunc) (struct mob_data *md, int *rate);
+ struct block_list* (*preHookFunc) (struct mob_data **md, int *rate);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_getmasterhpltmaxrate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_getmasterhpltmaxrate_pre[hIndex].func;
- retVal___ = preHookFunc(md, &rate);
+ retVal___ = preHookFunc(&md, &rate);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46371,12 +46371,12 @@ int HP_mob_getfriendstatus_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_getfriendstatus_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_getfriendstatus_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_mob_getfriendstatus_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -46404,11 +46404,11 @@ struct mob_data* HP_mob_getfriendstatus(struct mob_data *md, int cond1, int cond
int hIndex = 0;
struct mob_data* retVal___ = NULL;
if( HPMHooks.count.HP_mob_getfriendstatus_pre ) {
- struct mob_data* (*preHookFunc) (struct mob_data *md, int *cond1, int *cond2);
+ struct mob_data* (*preHookFunc) (struct mob_data **md, int *cond1, int *cond2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_getfriendstatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_getfriendstatus_pre[hIndex].func;
- retVal___ = preHookFunc(md, &cond1, &cond2);
+ retVal___ = preHookFunc(&md, &cond1, &cond2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46431,11 +46431,11 @@ int HP_mob_skill_use(struct mob_data *md, int64 tick, int event) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_skill_use_pre ) {
- int (*preHookFunc) (struct mob_data *md, int64 *tick, int *event);
+ int (*preHookFunc) (struct mob_data **md, int64 *tick, int *event);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_skill_use_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_skill_use_pre[hIndex].func;
- retVal___ = preHookFunc(md, &tick, &event);
+ retVal___ = preHookFunc(&md, &tick, &event);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46458,11 +46458,11 @@ int HP_mob_skill_event(struct mob_data *md, struct block_list *src, int64 tick,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_skill_event_pre ) {
- int (*preHookFunc) (struct mob_data *md, struct block_list *src, int64 *tick, int *flag);
+ int (*preHookFunc) (struct mob_data **md, struct block_list **src, int64 *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_skill_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_skill_event_pre[hIndex].func;
- retVal___ = preHookFunc(md, src, &tick, &flag);
+ retVal___ = preHookFunc(&md, &src, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46512,11 +46512,11 @@ int HP_mob_clone_spawn(struct map_session_data *sd, int16 m, int16 x, int16 y, c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_clone_spawn_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int16 *m, int16 *x, int16 *y, const char *event, int *master_id, uint32 *mode, int *flag, unsigned int *duration);
+ int (*preHookFunc) (struct map_session_data **sd, int16 *m, int16 *x, int16 *y, const char **event, int *master_id, uint32 *mode, int *flag, unsigned int *duration);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_clone_spawn_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_clone_spawn_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &m, &x, &y, event, &master_id, &mode, &flag, &duration);
+ retVal___ = preHookFunc(&sd, &m, &x, &y, &event, &master_id, &mode, &flag, &duration);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46539,11 +46539,11 @@ int HP_mob_clone_delete(struct mob_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_clone_delete_pre ) {
- int (*preHookFunc) (struct mob_data *md);
+ int (*preHookFunc) (struct mob_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_clone_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_clone_delete_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46592,11 +46592,11 @@ unsigned int HP_mob_drop_adjust(int baserate, int rate_adjust, unsigned short ra
void HP_mob_item_dropratio_adjust(int nameid, int mob_id, int *rate_adjust) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_item_dropratio_adjust_pre ) {
- void (*preHookFunc) (int *nameid, int *mob_id, int *rate_adjust);
+ void (*preHookFunc) (int *nameid, int *mob_id, int **rate_adjust);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_item_dropratio_adjust_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_item_dropratio_adjust_pre[hIndex].func;
- preHookFunc(&nameid, &mob_id, rate_adjust);
+ preHookFunc(&nameid, &mob_id, &rate_adjust);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46645,11 +46645,11 @@ bool HP_mob_lookup_const(const struct config_setting_t *it, const char *name, in
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mob_lookup_const_pre ) {
- bool (*preHookFunc) (const struct config_setting_t *it, const char *name, int *value);
+ bool (*preHookFunc) (const struct config_setting_t **it, const char **name, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_lookup_const_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_lookup_const_pre[hIndex].func;
- retVal___ = preHookFunc(it, name, value);
+ retVal___ = preHookFunc(&it, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46672,11 +46672,11 @@ bool HP_mob_get_const(const struct config_setting_t *it, int *value) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mob_get_const_pre ) {
- bool (*preHookFunc) (const struct config_setting_t *it, int *value);
+ bool (*preHookFunc) (const struct config_setting_t **it, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_get_const_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_get_const_pre[hIndex].func;
- retVal___ = preHookFunc(it, value);
+ retVal___ = preHookFunc(&it, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46699,11 +46699,11 @@ int HP_mob_db_validate_entry(struct mob_db *entry, int n, const char *source) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_db_validate_entry_pre ) {
- int (*preHookFunc) (struct mob_db *entry, int *n, const char *source);
+ int (*preHookFunc) (struct mob_db **entry, int *n, const char **source);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_db_validate_entry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_db_validate_entry_pre[hIndex].func;
- retVal___ = preHookFunc(entry, &n, source);
+ retVal___ = preHookFunc(&entry, &n, &source);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46726,11 +46726,11 @@ int HP_mob_read_libconfig(const char *filename, bool ignore_missing) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_read_libconfig_pre ) {
- int (*preHookFunc) (const char *filename, bool *ignore_missing);
+ int (*preHookFunc) (const char **filename, bool *ignore_missing);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_libconfig_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_read_libconfig_pre[hIndex].func;
- retVal___ = preHookFunc(filename, &ignore_missing);
+ retVal___ = preHookFunc(&filename, &ignore_missing);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46752,11 +46752,11 @@ int HP_mob_read_libconfig(const char *filename, bool ignore_missing) {
void HP_mob_read_db_additional_fields(struct mob_db *entry, struct config_setting_t *it, int n, const char *source) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_read_db_additional_fields_pre ) {
- void (*preHookFunc) (struct mob_db *entry, struct config_setting_t *it, int *n, const char *source);
+ void (*preHookFunc) (struct mob_db **entry, struct config_setting_t **it, int *n, const char **source);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_db_additional_fields_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_read_db_additional_fields_pre[hIndex].func;
- preHookFunc(entry, it, &n, source);
+ preHookFunc(&entry, &it, &n, &source);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46779,11 +46779,11 @@ int HP_mob_read_db_sub(struct config_setting_t *mobt, int id, const char *source
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_read_db_sub_pre ) {
- int (*preHookFunc) (struct config_setting_t *mobt, int *id, const char *source);
+ int (*preHookFunc) (struct config_setting_t **mobt, int *id, const char **source);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_db_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_read_db_sub_pre[hIndex].func;
- retVal___ = preHookFunc(mobt, &id, source);
+ retVal___ = preHookFunc(&mobt, &id, &source);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46805,11 +46805,11 @@ int HP_mob_read_db_sub(struct config_setting_t *mobt, int id, const char *source
void HP_mob_read_db_drops_sub(struct mob_db *entry, struct config_setting_t *t) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_read_db_drops_sub_pre ) {
- void (*preHookFunc) (struct mob_db *entry, struct config_setting_t *t);
+ void (*preHookFunc) (struct mob_db **entry, struct config_setting_t **t);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_db_drops_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_read_db_drops_sub_pre[hIndex].func;
- preHookFunc(entry, t);
+ preHookFunc(&entry, &t);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46831,11 +46831,11 @@ void HP_mob_read_db_drops_sub(struct mob_db *entry, struct config_setting_t *t)
void HP_mob_read_db_mvpdrops_sub(struct mob_db *entry, struct config_setting_t *t) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_read_db_mvpdrops_sub_pre ) {
- void (*preHookFunc) (struct mob_db *entry, struct config_setting_t *t);
+ void (*preHookFunc) (struct mob_db **entry, struct config_setting_t **t);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_db_mvpdrops_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_read_db_mvpdrops_sub_pre[hIndex].func;
- preHookFunc(entry, t);
+ preHookFunc(&entry, &t);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46858,11 +46858,11 @@ uint32 HP_mob_read_db_mode_sub(struct mob_db *entry, struct config_setting_t *t)
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_mob_read_db_mode_sub_pre ) {
- uint32 (*preHookFunc) (struct mob_db *entry, struct config_setting_t *t);
+ uint32 (*preHookFunc) (struct mob_db **entry, struct config_setting_t **t);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_db_mode_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_read_db_mode_sub_pre[hIndex].func;
- retVal___ = preHookFunc(entry, t);
+ retVal___ = preHookFunc(&entry, &t);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46884,11 +46884,11 @@ uint32 HP_mob_read_db_mode_sub(struct mob_db *entry, struct config_setting_t *t)
void HP_mob_read_db_stats_sub(struct mob_db *entry, struct config_setting_t *t) {
int hIndex = 0;
if( HPMHooks.count.HP_mob_read_db_stats_sub_pre ) {
- void (*preHookFunc) (struct mob_db *entry, struct config_setting_t *t);
+ void (*preHookFunc) (struct mob_db **entry, struct config_setting_t **t);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_db_stats_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_read_db_stats_sub_pre[hIndex].func;
- preHookFunc(entry, t);
+ preHookFunc(&entry, &t);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46937,11 +46937,11 @@ bool HP_mob_readdb_mobavail(char *str[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mob_readdb_mobavail_pre ) {
- bool (*preHookFunc) (char *str[], int *columns, int *current);
+ bool (*preHookFunc) (char **str[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_readdb_mobavail_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_readdb_mobavail_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
+ retVal___ = preHookFunc(&str, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46991,11 +46991,11 @@ bool HP_mob_parse_row_chatdb(char **str, const char *source, int line, int *last
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mob_parse_row_chatdb_pre ) {
- bool (*preHookFunc) (char **str, const char *source, int *line, int *last_msg_id);
+ bool (*preHookFunc) (char ***str, const char **source, int *line, int **last_msg_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_parse_row_chatdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_parse_row_chatdb_pre[hIndex].func;
- retVal___ = preHookFunc(str, source, &line, last_msg_id);
+ retVal___ = preHookFunc(&str, &source, &line, &last_msg_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47044,11 +47044,11 @@ bool HP_mob_parse_row_mobskilldb(char **str, int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mob_parse_row_mobskilldb_pre ) {
- bool (*preHookFunc) (char **str, int *columns, int *current);
+ bool (*preHookFunc) (char ***str, int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_parse_row_mobskilldb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_parse_row_mobskilldb_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
+ retVal___ = preHookFunc(&str, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47097,11 +47097,11 @@ bool HP_mob_readdb_race2(char *fields[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mob_readdb_race2_pre ) {
- bool (*preHookFunc) (char *fields[], int *columns, int *current);
+ bool (*preHookFunc) (char **fields[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_readdb_race2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_readdb_race2_pre[hIndex].func;
- retVal___ = preHookFunc(fields, &columns, &current);
+ retVal___ = preHookFunc(&fields, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47124,11 +47124,11 @@ bool HP_mob_readdb_itemratio(char *str[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_mob_readdb_itemratio_pre ) {
- bool (*preHookFunc) (char *str[], int *columns, int *current);
+ bool (*preHookFunc) (char **str[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_readdb_itemratio_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_readdb_itemratio_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
+ retVal___ = preHookFunc(&str, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47230,12 +47230,12 @@ int HP_npc_chat_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_chat_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_npc_chat_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -47262,11 +47262,11 @@ int HP_npc_chat_sub(struct block_list *bl, va_list ap) {
void HP_npc_chat_finalize(struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_chat_finalize_pre ) {
- void (*preHookFunc) (struct npc_data *nd);
+ void (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_finalize_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_chat_finalize_pre[hIndex].func;
- preHookFunc(nd);
+ preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47288,11 +47288,11 @@ void HP_npc_chat_finalize(struct npc_data *nd) {
void HP_npc_chat_def_pattern(struct npc_data *nd, int setid, const char *pattern, const char *label) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_chat_def_pattern_pre ) {
- void (*preHookFunc) (struct npc_data *nd, int *setid, const char *pattern, const char *label);
+ void (*preHookFunc) (struct npc_data **nd, int *setid, const char **pattern, const char **label);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_def_pattern_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_chat_def_pattern_pre[hIndex].func;
- preHookFunc(nd, &setid, pattern, label);
+ preHookFunc(&nd, &setid, &pattern, &label);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47315,11 +47315,11 @@ struct pcrematch_entry* HP_npc_chat_create_pcrematch_entry(struct pcrematch_set
int hIndex = 0;
struct pcrematch_entry* retVal___ = NULL;
if( HPMHooks.count.HP_npc_chat_create_pcrematch_entry_pre ) {
- struct pcrematch_entry* (*preHookFunc) (struct pcrematch_set *set);
+ struct pcrematch_entry* (*preHookFunc) (struct pcrematch_set **set);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_create_pcrematch_entry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_chat_create_pcrematch_entry_pre[hIndex].func;
- retVal___ = preHookFunc(set);
+ retVal___ = preHookFunc(&set);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47341,11 +47341,11 @@ struct pcrematch_entry* HP_npc_chat_create_pcrematch_entry(struct pcrematch_set
void HP_npc_chat_delete_pcreset(struct npc_data *nd, int setid) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_chat_delete_pcreset_pre ) {
- void (*preHookFunc) (struct npc_data *nd, int *setid);
+ void (*preHookFunc) (struct npc_data **nd, int *setid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_delete_pcreset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_chat_delete_pcreset_pre[hIndex].func;
- preHookFunc(nd, &setid);
+ preHookFunc(&nd, &setid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47367,11 +47367,11 @@ void HP_npc_chat_delete_pcreset(struct npc_data *nd, int setid) {
void HP_npc_chat_deactivate_pcreset(struct npc_data *nd, int setid) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_chat_deactivate_pcreset_pre ) {
- void (*preHookFunc) (struct npc_data *nd, int *setid);
+ void (*preHookFunc) (struct npc_data **nd, int *setid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_deactivate_pcreset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_chat_deactivate_pcreset_pre[hIndex].func;
- preHookFunc(nd, &setid);
+ preHookFunc(&nd, &setid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47393,11 +47393,11 @@ void HP_npc_chat_deactivate_pcreset(struct npc_data *nd, int setid) {
void HP_npc_chat_activate_pcreset(struct npc_data *nd, int setid) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_chat_activate_pcreset_pre ) {
- void (*preHookFunc) (struct npc_data *nd, int *setid);
+ void (*preHookFunc) (struct npc_data **nd, int *setid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_activate_pcreset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_chat_activate_pcreset_pre[hIndex].func;
- preHookFunc(nd, &setid);
+ preHookFunc(&nd, &setid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47420,11 +47420,11 @@ struct pcrematch_set* HP_npc_chat_lookup_pcreset(struct npc_data *nd, int setid)
int hIndex = 0;
struct pcrematch_set* retVal___ = NULL;
if( HPMHooks.count.HP_npc_chat_lookup_pcreset_pre ) {
- struct pcrematch_set* (*preHookFunc) (struct npc_data *nd, int *setid);
+ struct pcrematch_set* (*preHookFunc) (struct npc_data **nd, int *setid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_lookup_pcreset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_chat_lookup_pcreset_pre[hIndex].func;
- retVal___ = preHookFunc(nd, &setid);
+ retVal___ = preHookFunc(&nd, &setid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47446,11 +47446,11 @@ struct pcrematch_set* HP_npc_chat_lookup_pcreset(struct npc_data *nd, int setid)
void HP_npc_chat_finalize_pcrematch_entry(struct pcrematch_entry *e) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_chat_finalize_pcrematch_entry_pre ) {
- void (*preHookFunc) (struct pcrematch_entry *e);
+ void (*preHookFunc) (struct pcrematch_entry **e);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_chat_finalize_pcrematch_entry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_chat_finalize_pcrematch_entry_pre[hIndex].func;
- preHookFunc(e);
+ preHookFunc(&e);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47582,12 +47582,12 @@ int HP_npc_isnear_sub(struct block_list *bl, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_isnear_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list args);
+ int (*preHookFunc) (struct block_list **bl, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_isnear_sub_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_npc_isnear_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, args___copy);
+ retVal___ = preHookFunc(&bl, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -47615,11 +47615,11 @@ bool HP_npc_isnear(struct block_list *bl) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_npc_isnear_pre ) {
- bool (*preHookFunc) (struct block_list *bl);
+ bool (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_isnear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_isnear_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47642,11 +47642,11 @@ int HP_npc_ontouch_event(struct map_session_data *sd, struct npc_data *nd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_ontouch_event_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct npc_data *nd);
+ int (*preHookFunc) (struct map_session_data **sd, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_ontouch_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_ontouch_event_pre[hIndex].func;
- retVal___ = preHookFunc(sd, nd);
+ retVal___ = preHookFunc(&sd, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47669,11 +47669,11 @@ int HP_npc_ontouch2_event(struct map_session_data *sd, struct npc_data *nd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_ontouch2_event_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct npc_data *nd);
+ int (*preHookFunc) (struct map_session_data **sd, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_ontouch2_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_ontouch2_event_pre[hIndex].func;
- retVal___ = preHookFunc(sd, nd);
+ retVal___ = preHookFunc(&sd, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47696,11 +47696,11 @@ int HP_npc_onuntouch_event(struct map_session_data *sd, struct npc_data *nd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_onuntouch_event_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct npc_data *nd);
+ int (*preHookFunc) (struct map_session_data **sd, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_onuntouch_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_onuntouch_event_pre[hIndex].func;
- retVal___ = preHookFunc(sd, nd);
+ retVal___ = preHookFunc(&sd, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47723,12 +47723,12 @@ int HP_npc_enable_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_enable_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_enable_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_npc_enable_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -47756,11 +47756,11 @@ int HP_npc_enable(const char *name, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_enable_pre ) {
- int (*preHookFunc) (const char *name, int *flag);
+ int (*preHookFunc) (const char **name, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_enable_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_enable_pre[hIndex].func;
- retVal___ = preHookFunc(name, &flag);
+ retVal___ = preHookFunc(&name, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47783,11 +47783,11 @@ struct npc_data* HP_npc_name2id(const char *name) {
int hIndex = 0;
struct npc_data* retVal___ = NULL;
if( HPMHooks.count.HP_npc_name2id_pre ) {
- struct npc_data* (*preHookFunc) (const char *name);
+ struct npc_data* (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_name2id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_name2id_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47810,11 +47810,11 @@ int HP_npc_event_dequeue(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_event_dequeue_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_dequeue_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_event_dequeue_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47870,11 +47870,11 @@ int HP_npc_event_export(struct npc_data *nd, int i) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_event_export_pre ) {
- int (*preHookFunc) (struct npc_data *nd, int *i);
+ int (*preHookFunc) (struct npc_data **nd, int *i);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_export_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_event_export_pre[hIndex].func;
- retVal___ = preHookFunc(nd, &i);
+ retVal___ = preHookFunc(&nd, &i);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47897,11 +47897,11 @@ int HP_npc_event_sub(struct map_session_data *sd, struct event_data *ev, const c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_event_sub_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct event_data *ev, const char *eventname);
+ int (*preHookFunc) (struct map_session_data **sd, struct event_data **ev, const char **eventname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_event_sub_pre[hIndex].func;
- retVal___ = preHookFunc(sd, ev, eventname);
+ retVal___ = preHookFunc(&sd, &ev, &eventname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47923,12 +47923,12 @@ int HP_npc_event_sub(struct map_session_data *sd, struct event_data *ev, const c
void HP_npc_event_doall_sub(void *key, void *data, va_list ap) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_event_doall_sub_pre ) {
- void (*preHookFunc) (void *key, void *data, va_list ap);
+ void (*preHookFunc) (void **key, void **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_doall_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_npc_event_doall_sub_pre[hIndex].func;
- preHookFunc(key, data, ap___copy);
+ preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -47956,11 +47956,11 @@ int HP_npc_event_do(const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_event_do_pre ) {
- int (*preHookFunc) (const char *name);
+ int (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_do_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_event_do_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -47983,11 +47983,11 @@ int HP_npc_event_doall_id(const char *name, int rid) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_event_doall_id_pre ) {
- int (*preHookFunc) (const char *name, int *rid);
+ int (*preHookFunc) (const char **name, int *rid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_doall_id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_event_doall_id_pre[hIndex].func;
- retVal___ = preHookFunc(name, &rid);
+ retVal___ = preHookFunc(&name, &rid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48010,11 +48010,11 @@ int HP_npc_event_doall(const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_event_doall_pre ) {
- int (*preHookFunc) (const char *name);
+ int (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_doall_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_event_doall_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48090,11 +48090,11 @@ int HP_npc_timerevent_export(struct npc_data *nd, int i) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_timerevent_export_pre ) {
- int (*preHookFunc) (struct npc_data *nd, int *i);
+ int (*preHookFunc) (struct npc_data **nd, int *i);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_timerevent_export_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_timerevent_export_pre[hIndex].func;
- retVal___ = preHookFunc(nd, &i);
+ retVal___ = preHookFunc(&nd, &i);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48144,11 +48144,11 @@ int HP_npc_timerevent_start(struct npc_data *nd, int rid) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_timerevent_start_pre ) {
- int (*preHookFunc) (struct npc_data *nd, int *rid);
+ int (*preHookFunc) (struct npc_data **nd, int *rid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_timerevent_start_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_timerevent_start_pre[hIndex].func;
- retVal___ = preHookFunc(nd, &rid);
+ retVal___ = preHookFunc(&nd, &rid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48171,11 +48171,11 @@ int HP_npc_timerevent_stop(struct npc_data *nd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_timerevent_stop_pre ) {
- int (*preHookFunc) (struct npc_data *nd);
+ int (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_timerevent_stop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_timerevent_stop_pre[hIndex].func;
- retVal___ = preHookFunc(nd);
+ retVal___ = preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48197,11 +48197,11 @@ int HP_npc_timerevent_stop(struct npc_data *nd) {
void HP_npc_timerevent_quit(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_timerevent_quit_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_timerevent_quit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_timerevent_quit_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48224,11 +48224,11 @@ int64 HP_npc_gettimerevent_tick(struct npc_data *nd) {
int hIndex = 0;
int64 retVal___ = 0;
if( HPMHooks.count.HP_npc_gettimerevent_tick_pre ) {
- int64 (*preHookFunc) (struct npc_data *nd);
+ int64 (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_gettimerevent_tick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_gettimerevent_tick_pre[hIndex].func;
- retVal___ = preHookFunc(nd);
+ retVal___ = preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48251,11 +48251,11 @@ int HP_npc_settimerevent_tick(struct npc_data *nd, int newtimer) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_settimerevent_tick_pre ) {
- int (*preHookFunc) (struct npc_data *nd, int *newtimer);
+ int (*preHookFunc) (struct npc_data **nd, int *newtimer);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_settimerevent_tick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_settimerevent_tick_pre[hIndex].func;
- retVal___ = preHookFunc(nd, &newtimer);
+ retVal___ = preHookFunc(&nd, &newtimer);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48278,11 +48278,11 @@ int HP_npc_event(struct map_session_data *sd, const char *eventname, int ontouch
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_event_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *eventname, int *ontouch);
+ int (*preHookFunc) (struct map_session_data **sd, const char **eventname, int *ontouch);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_event_pre[hIndex].func;
- retVal___ = preHookFunc(sd, eventname, &ontouch);
+ retVal___ = preHookFunc(&sd, &eventname, &ontouch);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48305,12 +48305,12 @@ int HP_npc_touch_areanpc_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_touch_areanpc_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_touch_areanpc_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_npc_touch_areanpc_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -48338,11 +48338,11 @@ int HP_npc_touchnext_areanpc(struct map_session_data *sd, bool leavemap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_touchnext_areanpc_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, bool *leavemap);
+ int (*preHookFunc) (struct map_session_data **sd, bool *leavemap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_touchnext_areanpc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_touchnext_areanpc_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &leavemap);
+ retVal___ = preHookFunc(&sd, &leavemap);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48365,11 +48365,11 @@ int HP_npc_touch_areanpc(struct map_session_data *sd, int16 m, int16 x, int16 y)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_touch_areanpc_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int16 *m, int16 *x, int16 *y);
+ int (*preHookFunc) (struct map_session_data **sd, int16 *m, int16 *x, int16 *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_touch_areanpc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_touch_areanpc_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &m, &x, &y);
+ retVal___ = preHookFunc(&sd, &m, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48392,11 +48392,11 @@ int HP_npc_untouch_areanpc(struct map_session_data *sd, int16 m, int16 x, int16
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_untouch_areanpc_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int16 *m, int16 *x, int16 *y);
+ int (*preHookFunc) (struct map_session_data **sd, int16 *m, int16 *x, int16 *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_untouch_areanpc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_untouch_areanpc_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &m, &x, &y);
+ retVal___ = preHookFunc(&sd, &m, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48419,11 +48419,11 @@ int HP_npc_touch_areanpc2(struct mob_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_touch_areanpc2_pre ) {
- int (*preHookFunc) (struct mob_data *md);
+ int (*preHookFunc) (struct mob_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_touch_areanpc2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_touch_areanpc2_pre[hIndex].func;
- retVal___ = preHookFunc(md);
+ retVal___ = preHookFunc(&md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48473,11 +48473,11 @@ struct npc_data* HP_npc_checknear(struct map_session_data *sd, struct block_list
int hIndex = 0;
struct npc_data* retVal___ = NULL;
if( HPMHooks.count.HP_npc_checknear_pre ) {
- struct npc_data* (*preHookFunc) (struct map_session_data *sd, struct block_list *bl);
+ struct npc_data* (*preHookFunc) (struct map_session_data **sd, struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_checknear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_checknear_pre[hIndex].func;
- retVal___ = preHookFunc(sd, bl);
+ retVal___ = preHookFunc(&sd, &bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48500,11 +48500,11 @@ int HP_npc_globalmessage(const char *name, const char *mes) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_globalmessage_pre ) {
- int (*preHookFunc) (const char *name, const char *mes);
+ int (*preHookFunc) (const char **name, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_globalmessage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_globalmessage_pre[hIndex].func;
- retVal___ = preHookFunc(name, mes);
+ retVal___ = preHookFunc(&name, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48526,11 +48526,11 @@ int HP_npc_globalmessage(const char *name, const char *mes) {
void HP_npc_run_tomb(struct map_session_data *sd, struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_run_tomb_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct npc_data *nd);
+ void (*preHookFunc) (struct map_session_data **sd, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_run_tomb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_run_tomb_pre[hIndex].func;
- preHookFunc(sd, nd);
+ preHookFunc(&sd, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48553,11 +48553,11 @@ int HP_npc_click(struct map_session_data *sd, struct npc_data *nd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_click_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct npc_data *nd);
+ int (*preHookFunc) (struct map_session_data **sd, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_click_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_click_pre[hIndex].func;
- retVal___ = preHookFunc(sd, nd);
+ retVal___ = preHookFunc(&sd, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48580,11 +48580,11 @@ int HP_npc_scriptcont(struct map_session_data *sd, int id, bool closing) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_scriptcont_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *id, bool *closing);
+ int (*preHookFunc) (struct map_session_data **sd, int *id, bool *closing);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_scriptcont_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_scriptcont_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &id, &closing);
+ retVal___ = preHookFunc(&sd, &id, &closing);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48607,11 +48607,11 @@ int HP_npc_buysellsel(struct map_session_data *sd, int id, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_buysellsel_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *id, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *id, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_buysellsel_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_buysellsel_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &id, &type);
+ retVal___ = preHookFunc(&sd, &id, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48634,11 +48634,11 @@ int HP_npc_cashshop_buylist(struct map_session_data *sd, int points, struct item
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_cashshop_buylist_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *points, struct itemlist *item_list);
+ int (*preHookFunc) (struct map_session_data **sd, int *points, struct itemlist **item_list);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_cashshop_buylist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_cashshop_buylist_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &points, item_list);
+ retVal___ = preHookFunc(&sd, &points, &item_list);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48661,11 +48661,11 @@ int HP_npc_buylist_sub(struct map_session_data *sd, struct itemlist *item_list,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_buylist_sub_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct itemlist *item_list, struct npc_data *nd);
+ int (*preHookFunc) (struct map_session_data **sd, struct itemlist **item_list, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_buylist_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_buylist_sub_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item_list, nd);
+ retVal___ = preHookFunc(&sd, &item_list, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48688,11 +48688,11 @@ int HP_npc_cashshop_buy(struct map_session_data *sd, int nameid, int amount, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_cashshop_buy_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *nameid, int *amount, int *points);
+ int (*preHookFunc) (struct map_session_data **sd, int *nameid, int *amount, int *points);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_cashshop_buy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_cashshop_buy_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid, &amount, &points);
+ retVal___ = preHookFunc(&sd, &nameid, &amount, &points);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48715,11 +48715,11 @@ int HP_npc_buylist(struct map_session_data *sd, struct itemlist *item_list) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_buylist_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct itemlist *item_list);
+ int (*preHookFunc) (struct map_session_data **sd, struct itemlist **item_list);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_buylist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_buylist_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item_list);
+ retVal___ = preHookFunc(&sd, &item_list);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48742,11 +48742,11 @@ int HP_npc_selllist_sub(struct map_session_data *sd, struct itemlist *item_list,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_selllist_sub_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct itemlist *item_list, struct npc_data *nd);
+ int (*preHookFunc) (struct map_session_data **sd, struct itemlist **item_list, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_selllist_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_selllist_sub_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item_list, nd);
+ retVal___ = preHookFunc(&sd, &item_list, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48769,11 +48769,11 @@ int HP_npc_selllist(struct map_session_data *sd, struct itemlist *item_list) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_selllist_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct itemlist *item_list);
+ int (*preHookFunc) (struct map_session_data **sd, struct itemlist **item_list);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_selllist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_selllist_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item_list);
+ retVal___ = preHookFunc(&sd, &item_list);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48796,11 +48796,11 @@ int HP_npc_remove_map(struct npc_data *nd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_remove_map_pre ) {
- int (*preHookFunc) (struct npc_data *nd);
+ int (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_remove_map_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_remove_map_pre[hIndex].func;
- retVal___ = preHookFunc(nd);
+ retVal___ = preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48823,12 +48823,12 @@ int HP_npc_unload_ev(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_unload_ev_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_unload_ev_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_npc_unload_ev_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -48856,12 +48856,12 @@ int HP_npc_unload_ev_label(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_unload_ev_label_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_unload_ev_label_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_npc_unload_ev_label_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -48889,12 +48889,12 @@ int HP_npc_unload_dup_sub(struct npc_data *nd, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_unload_dup_sub_pre ) {
- int (*preHookFunc) (struct npc_data *nd, va_list args);
+ int (*preHookFunc) (struct npc_data **nd, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_unload_dup_sub_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_npc_unload_dup_sub_pre[hIndex].func;
- retVal___ = preHookFunc(nd, args___copy);
+ retVal___ = preHookFunc(&nd, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -48921,11 +48921,11 @@ int HP_npc_unload_dup_sub(struct npc_data *nd, va_list args) {
void HP_npc_unload_duplicates(struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_unload_duplicates_pre ) {
- void (*preHookFunc) (struct npc_data *nd);
+ void (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_unload_duplicates_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_unload_duplicates_pre[hIndex].func;
- preHookFunc(nd);
+ preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -48948,11 +48948,11 @@ int HP_npc_unload(struct npc_data *nd, bool single) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_unload_pre ) {
- int (*preHookFunc) (struct npc_data *nd, bool *single);
+ int (*preHookFunc) (struct npc_data **nd, bool *single);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_unload_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_unload_pre[hIndex].func;
- retVal___ = preHookFunc(nd, &single);
+ retVal___ = preHookFunc(&nd, &single);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49000,11 +49000,11 @@ void HP_npc_clearsrcfile(void) {
void HP_npc_addsrcfile(const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_addsrcfile_pre ) {
- void (*preHookFunc) (const char *name);
+ void (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_addsrcfile_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_addsrcfile_pre[hIndex].func;
- preHookFunc(name);
+ preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49026,11 +49026,11 @@ void HP_npc_addsrcfile(const char *name) {
void HP_npc_delsrcfile(const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_delsrcfile_pre ) {
- void (*preHookFunc) (const char *name);
+ void (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_delsrcfile_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_delsrcfile_pre[hIndex].func;
- preHookFunc(name);
+ preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49053,11 +49053,11 @@ const char* HP_npc_retainpathreference(const char *filepath) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_retainpathreference_pre ) {
- const char* (*preHookFunc) (const char *filepath);
+ const char* (*preHookFunc) (const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_retainpathreference_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_retainpathreference_pre[hIndex].func;
- retVal___ = preHookFunc(filepath);
+ retVal___ = preHookFunc(&filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49079,11 +49079,11 @@ const char* HP_npc_retainpathreference(const char *filepath) {
void HP_npc_releasepathreference(const char *filepath) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_releasepathreference_pre ) {
- void (*preHookFunc) (const char *filepath);
+ void (*preHookFunc) (const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_releasepathreference_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_releasepathreference_pre[hIndex].func;
- preHookFunc(filepath);
+ preHookFunc(&filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49105,11 +49105,11 @@ void HP_npc_releasepathreference(const char *filepath) {
void HP_npc_parsename(struct npc_data *nd, const char *name, const char *start, const char *buffer, const char *filepath) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_parsename_pre ) {
- void (*preHookFunc) (struct npc_data *nd, const char *name, const char *start, const char *buffer, const char *filepath);
+ void (*preHookFunc) (struct npc_data **nd, const char **name, const char **start, const char **buffer, const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parsename_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parsename_pre[hIndex].func;
- preHookFunc(nd, name, start, buffer, filepath);
+ preHookFunc(&nd, &name, &start, &buffer, &filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49132,11 +49132,11 @@ int HP_npc_parseview(const char *w4, const char *start, const char *buffer, cons
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_parseview_pre ) {
- int (*preHookFunc) (const char *w4, const char *start, const char *buffer, const char *filepath);
+ int (*preHookFunc) (const char **w4, const char **start, const char **buffer, const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parseview_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parseview_pre[hIndex].func;
- retVal___ = preHookFunc(w4, start, buffer, filepath);
+ retVal___ = preHookFunc(&w4, &start, &buffer, &filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49159,11 +49159,11 @@ bool HP_npc_viewisid(const char *viewid) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_npc_viewisid_pre ) {
- bool (*preHookFunc) (const char *viewid);
+ bool (*preHookFunc) (const char **viewid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_viewisid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_viewisid_pre[hIndex].func;
- retVal___ = preHookFunc(viewid);
+ retVal___ = preHookFunc(&viewid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49213,11 +49213,11 @@ struct npc_data* HP_npc_add_warp(char *name, short from_mapid, short from_x, sho
int hIndex = 0;
struct npc_data* retVal___ = NULL;
if( HPMHooks.count.HP_npc_add_warp_pre ) {
- struct npc_data* (*preHookFunc) (char *name, short *from_mapid, short *from_x, short *from_y, short *xs, short *ys, unsigned short *to_mapindex, short *to_x, short *to_y);
+ struct npc_data* (*preHookFunc) (char **name, short *from_mapid, short *from_x, short *from_y, short *xs, short *ys, unsigned short *to_mapindex, short *to_x, short *to_y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_add_warp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_add_warp_pre[hIndex].func;
- retVal___ = preHookFunc(name, &from_mapid, &from_x, &from_y, &xs, &ys, &to_mapindex, &to_x, &to_y);
+ retVal___ = preHookFunc(&name, &from_mapid, &from_x, &from_y, &xs, &ys, &to_mapindex, &to_x, &to_y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49240,11 +49240,11 @@ const char* HP_npc_parse_warp(const char *w1, const char *w2, const char *w3, co
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_parse_warp_pre ) {
- const char* (*preHookFunc) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
+ const char* (*preHookFunc) (const char **w1, const char **w2, const char **w3, const char **w4, const char **start, const char **buffer, const char **filepath, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_warp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_warp_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2, w3, w4, start, buffer, filepath, retval);
+ retVal___ = preHookFunc(&w1, &w2, &w3, &w4, &start, &buffer, &filepath, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49267,11 +49267,11 @@ const char* HP_npc_parse_shop(const char *w1, const char *w2, const char *w3, co
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_parse_shop_pre ) {
- const char* (*preHookFunc) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
+ const char* (*preHookFunc) (const char **w1, const char **w2, const char **w3, const char **w4, const char **start, const char **buffer, const char **filepath, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_shop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_shop_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2, w3, w4, start, buffer, filepath, retval);
+ retVal___ = preHookFunc(&w1, &w2, &w3, &w4, &start, &buffer, &filepath, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49294,11 +49294,11 @@ const char* HP_npc_parse_unknown_object(const char *w1, const char *w2, const ch
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_parse_unknown_object_pre ) {
- const char* (*preHookFunc) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
+ const char* (*preHookFunc) (const char **w1, const char **w2, const char **w3, const char **w4, const char **start, const char **buffer, const char **filepath, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_unknown_object_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_unknown_object_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2, w3, w4, start, buffer, filepath, retval);
+ retVal___ = preHookFunc(&w1, &w2, &w3, &w4, &start, &buffer, &filepath, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49320,11 +49320,11 @@ const char* HP_npc_parse_unknown_object(const char *w1, const char *w2, const ch
void HP_npc_convertlabel_db(struct npc_label_list *label_list, const char *filepath) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_convertlabel_db_pre ) {
- void (*preHookFunc) (struct npc_label_list *label_list, const char *filepath);
+ void (*preHookFunc) (struct npc_label_list **label_list, const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_convertlabel_db_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_convertlabel_db_pre[hIndex].func;
- preHookFunc(label_list, filepath);
+ preHookFunc(&label_list, &filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49347,11 +49347,11 @@ const char* HP_npc_skip_script(const char *start, const char *buffer, const char
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_skip_script_pre ) {
- const char* (*preHookFunc) (const char *start, const char *buffer, const char *filepath, int *retval);
+ const char* (*preHookFunc) (const char **start, const char **buffer, const char **filepath, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_skip_script_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_skip_script_pre[hIndex].func;
- retVal___ = preHookFunc(start, buffer, filepath, retval);
+ retVal___ = preHookFunc(&start, &buffer, &filepath, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49374,11 +49374,11 @@ const char* HP_npc_parse_script(const char *w1, const char *w2, const char *w3,
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_parse_script_pre ) {
- const char* (*preHookFunc) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *options, int *retval);
+ const char* (*preHookFunc) (const char **w1, const char **w2, const char **w3, const char **w4, const char **start, const char **buffer, const char **filepath, int *options, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_script_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_script_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2, w3, w4, start, buffer, filepath, &options, retval);
+ retVal___ = preHookFunc(&w1, &w2, &w3, &w4, &start, &buffer, &filepath, &options, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49400,11 +49400,11 @@ const char* HP_npc_parse_script(const char *w1, const char *w2, const char *w3,
void HP_npc_add_to_location(struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_add_to_location_pre ) {
- void (*preHookFunc) (struct npc_data *nd);
+ void (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_add_to_location_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_add_to_location_pre[hIndex].func;
- preHookFunc(nd);
+ preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49427,11 +49427,11 @@ bool HP_npc_duplicate_script_sub(struct npc_data *nd, const struct npc_data *snd
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_npc_duplicate_script_sub_pre ) {
- bool (*preHookFunc) (struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+ bool (*preHookFunc) (struct npc_data **nd, const struct npc_data **snd, int *xs, int *ys, int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate_script_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_duplicate_script_sub_pre[hIndex].func;
- retVal___ = preHookFunc(nd, snd, &xs, &ys, &options);
+ retVal___ = preHookFunc(&nd, &snd, &xs, &ys, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49454,11 +49454,11 @@ bool HP_npc_duplicate_shop_sub(struct npc_data *nd, const struct npc_data *snd,
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_npc_duplicate_shop_sub_pre ) {
- bool (*preHookFunc) (struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+ bool (*preHookFunc) (struct npc_data **nd, const struct npc_data **snd, int *xs, int *ys, int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate_shop_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_duplicate_shop_sub_pre[hIndex].func;
- retVal___ = preHookFunc(nd, snd, &xs, &ys, &options);
+ retVal___ = preHookFunc(&nd, &snd, &xs, &ys, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49481,11 +49481,11 @@ bool HP_npc_duplicate_warp_sub(struct npc_data *nd, const struct npc_data *snd,
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_npc_duplicate_warp_sub_pre ) {
- bool (*preHookFunc) (struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+ bool (*preHookFunc) (struct npc_data **nd, const struct npc_data **snd, int *xs, int *ys, int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate_warp_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_duplicate_warp_sub_pre[hIndex].func;
- retVal___ = preHookFunc(nd, snd, &xs, &ys, &options);
+ retVal___ = preHookFunc(&nd, &snd, &xs, &ys, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49508,11 +49508,11 @@ bool HP_npc_duplicate_sub(struct npc_data *nd, const struct npc_data *snd, int x
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_npc_duplicate_sub_pre ) {
- bool (*preHookFunc) (struct npc_data *nd, const struct npc_data *snd, int *xs, int *ys, int *options);
+ bool (*preHookFunc) (struct npc_data **nd, const struct npc_data **snd, int *xs, int *ys, int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_duplicate_sub_pre[hIndex].func;
- retVal___ = preHookFunc(nd, snd, &xs, &ys, &options);
+ retVal___ = preHookFunc(&nd, &snd, &xs, &ys, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49535,11 +49535,11 @@ const char* HP_npc_parse_duplicate(const char *w1, const char *w2, const char *w
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_parse_duplicate_pre ) {
- const char* (*preHookFunc) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *options, int *retval);
+ const char* (*preHookFunc) (const char **w1, const char **w2, const char **w3, const char **w4, const char **start, const char **buffer, const char **filepath, int *options, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_duplicate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_duplicate_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2, w3, w4, start, buffer, filepath, &options, retval);
+ retVal___ = preHookFunc(&w1, &w2, &w3, &w4, &start, &buffer, &filepath, &options, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49562,11 +49562,11 @@ int HP_npc_duplicate4instance(struct npc_data *snd, int16 m) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_duplicate4instance_pre ) {
- int (*preHookFunc) (struct npc_data *snd, int16 *m);
+ int (*preHookFunc) (struct npc_data **snd, int16 *m);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_duplicate4instance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_duplicate4instance_pre[hIndex].func;
- retVal___ = preHookFunc(snd, &m);
+ retVal___ = preHookFunc(&snd, &m);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49588,11 +49588,11 @@ int HP_npc_duplicate4instance(struct npc_data *snd, int16 m) {
void HP_npc_setcells(struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_setcells_pre ) {
- void (*preHookFunc) (struct npc_data *nd);
+ void (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_setcells_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_setcells_pre[hIndex].func;
- preHookFunc(nd);
+ preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49615,12 +49615,12 @@ int HP_npc_unsetcells_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_unsetcells_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_unsetcells_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_npc_unsetcells_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -49647,11 +49647,11 @@ int HP_npc_unsetcells_sub(struct block_list *bl, va_list ap) {
void HP_npc_unsetcells(struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_unsetcells_pre ) {
- void (*preHookFunc) (struct npc_data *nd);
+ void (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_unsetcells_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_unsetcells_pre[hIndex].func;
- preHookFunc(nd);
+ preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49673,11 +49673,11 @@ void HP_npc_unsetcells(struct npc_data *nd) {
void HP_npc_movenpc(struct npc_data *nd, int16 x, int16 y) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_movenpc_pre ) {
- void (*preHookFunc) (struct npc_data *nd, int16 *x, int16 *y);
+ void (*preHookFunc) (struct npc_data **nd, int16 *x, int16 *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_movenpc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_movenpc_pre[hIndex].func;
- preHookFunc(nd, &x, &y);
+ preHookFunc(&nd, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49699,11 +49699,11 @@ void HP_npc_movenpc(struct npc_data *nd, int16 x, int16 y) {
void HP_npc_setdisplayname(struct npc_data *nd, const char *newname) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_setdisplayname_pre ) {
- void (*preHookFunc) (struct npc_data *nd, const char *newname);
+ void (*preHookFunc) (struct npc_data **nd, const char **newname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_setdisplayname_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_setdisplayname_pre[hIndex].func;
- preHookFunc(nd, newname);
+ preHookFunc(&nd, &newname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49725,11 +49725,11 @@ void HP_npc_setdisplayname(struct npc_data *nd, const char *newname) {
void HP_npc_setclass(struct npc_data *nd, short class_) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_setclass_pre ) {
- void (*preHookFunc) (struct npc_data *nd, short *class_);
+ void (*preHookFunc) (struct npc_data **nd, short *class_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_setclass_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_setclass_pre[hIndex].func;
- preHookFunc(nd, &class_);
+ preHookFunc(&nd, &class_);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49752,11 +49752,11 @@ int HP_npc_do_atcmd_event(struct map_session_data *sd, const char *command, cons
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_do_atcmd_event_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *command, const char *message, const char *eventname);
+ int (*preHookFunc) (struct map_session_data **sd, const char **command, const char **message, const char **eventname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_do_atcmd_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_do_atcmd_event_pre[hIndex].func;
- retVal___ = preHookFunc(sd, command, message, eventname);
+ retVal___ = preHookFunc(&sd, &command, &message, &eventname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49779,11 +49779,11 @@ const char* HP_npc_parse_function(const char *w1, const char *w2, const char *w3
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_parse_function_pre ) {
- const char* (*preHookFunc) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
+ const char* (*preHookFunc) (const char **w1, const char **w2, const char **w3, const char **w4, const char **start, const char **buffer, const char **filepath, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_function_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_function_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2, w3, w4, start, buffer, filepath, retval);
+ retVal___ = preHookFunc(&w1, &w2, &w3, &w4, &start, &buffer, &filepath, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49805,11 +49805,11 @@ const char* HP_npc_parse_function(const char *w1, const char *w2, const char *w3
void HP_npc_parse_mob2(struct spawn_data *mobspawn) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_parse_mob2_pre ) {
- void (*preHookFunc) (struct spawn_data *mobspawn);
+ void (*preHookFunc) (struct spawn_data **mobspawn);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_mob2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_mob2_pre[hIndex].func;
- preHookFunc(mobspawn);
+ preHookFunc(&mobspawn);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49832,11 +49832,11 @@ const char* HP_npc_parse_mob(const char *w1, const char *w2, const char *w3, con
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_parse_mob_pre ) {
- const char* (*preHookFunc) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
+ const char* (*preHookFunc) (const char **w1, const char **w2, const char **w3, const char **w4, const char **start, const char **buffer, const char **filepath, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_mob_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_mob_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2, w3, w4, start, buffer, filepath, retval);
+ retVal___ = preHookFunc(&w1, &w2, &w3, &w4, &start, &buffer, &filepath, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49859,11 +49859,11 @@ const char* HP_npc_parse_mapflag(const char *w1, const char *w2, const char *w3,
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_npc_parse_mapflag_pre ) {
- const char* (*preHookFunc) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
+ const char* (*preHookFunc) (const char **w1, const char **w2, const char **w3, const char **w4, const char **start, const char **buffer, const char **filepath, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_mapflag_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_mapflag_pre[hIndex].func;
- retVal___ = preHookFunc(w1, w2, w3, w4, start, buffer, filepath, retval);
+ retVal___ = preHookFunc(&w1, &w2, &w3, &w4, &start, &buffer, &filepath, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49885,11 +49885,11 @@ const char* HP_npc_parse_mapflag(const char *w1, const char *w2, const char *w3,
void HP_npc_parse_unknown_mapflag(const char *name, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_parse_unknown_mapflag_pre ) {
- void (*preHookFunc) (const char *name, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
+ void (*preHookFunc) (const char **name, const char **w3, const char **w4, const char **start, const char **buffer, const char **filepath, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parse_unknown_mapflag_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parse_unknown_mapflag_pre[hIndex].func;
- preHookFunc(name, w3, w4, start, buffer, filepath, retval);
+ preHookFunc(&name, &w3, &w4, &start, &buffer, &filepath, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49912,11 +49912,11 @@ int HP_npc_parsesrcfile(const char *filepath, bool runOnInit) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_parsesrcfile_pre ) {
- int (*preHookFunc) (const char *filepath, bool *runOnInit);
+ int (*preHookFunc) (const char **filepath, bool *runOnInit);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_parsesrcfile_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_parsesrcfile_pre[hIndex].func;
- retVal___ = preHookFunc(filepath, &runOnInit);
+ retVal___ = preHookFunc(&filepath, &runOnInit);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49939,11 +49939,11 @@ int HP_npc_script_event(struct map_session_data *sd, enum npce_event type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_script_event_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, enum npce_event *type);
+ int (*preHookFunc) (struct map_session_data **sd, enum npce_event *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_script_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_script_event_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -49992,12 +49992,12 @@ int HP_npc_path_db_clear_sub(union DBKey key, struct DBData *data, va_list args)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_path_db_clear_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list args);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_path_db_clear_sub_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_npc_path_db_clear_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, args___copy);
+ retVal___ = preHookFunc(&key, &data, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -50025,12 +50025,12 @@ int HP_npc_ev_label_db_clear_sub(union DBKey key, struct DBData *data, va_list a
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_ev_label_db_clear_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list args);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_ev_label_db_clear_sub_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_npc_ev_label_db_clear_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, args___copy);
+ retVal___ = preHookFunc(&key, &data, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -50085,11 +50085,11 @@ bool HP_npc_unloadfile(const char *filepath) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_npc_unloadfile_pre ) {
- bool (*preHookFunc) (const char *filepath);
+ bool (*preHookFunc) (const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_unloadfile_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_unloadfile_pre[hIndex].func;
- retVal___ = preHookFunc(filepath);
+ retVal___ = preHookFunc(&filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50137,11 +50137,11 @@ void HP_npc_do_clear_npc(void) {
void HP_npc_debug_warps_sub(struct npc_data *nd) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_debug_warps_sub_pre ) {
- void (*preHookFunc) (struct npc_data *nd);
+ void (*preHookFunc) (struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_debug_warps_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_debug_warps_sub_pre[hIndex].func;
- preHookFunc(nd);
+ preHookFunc(&nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50189,11 +50189,11 @@ void HP_npc_debug_warps(void) {
void HP_npc_trader_count_funds(struct npc_data *nd, struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_trader_count_funds_pre ) {
- void (*preHookFunc) (struct npc_data *nd, struct map_session_data *sd);
+ void (*preHookFunc) (struct npc_data **nd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_trader_count_funds_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_trader_count_funds_pre[hIndex].func;
- preHookFunc(nd, sd);
+ preHookFunc(&nd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50216,11 +50216,11 @@ bool HP_npc_trader_pay(struct npc_data *nd, struct map_session_data *sd, int pri
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_npc_trader_pay_pre ) {
- bool (*preHookFunc) (struct npc_data *nd, struct map_session_data *sd, int *price, int *points);
+ bool (*preHookFunc) (struct npc_data **nd, struct map_session_data **sd, int *price, int *points);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_trader_pay_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_trader_pay_pre[hIndex].func;
- retVal___ = preHookFunc(nd, sd, &price, &points);
+ retVal___ = preHookFunc(&nd, &sd, &price, &points);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50269,11 +50269,11 @@ int HP_npc_market_buylist(struct map_session_data *sd, struct itemlist *item_lis
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_npc_market_buylist_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct itemlist *item_list);
+ int (*preHookFunc) (struct map_session_data **sd, struct itemlist **item_list);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_market_buylist_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_market_buylist_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item_list);
+ retVal___ = preHookFunc(&sd, &item_list);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50296,11 +50296,11 @@ bool HP_npc_trader_open(struct map_session_data *sd, struct npc_data *nd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_npc_trader_open_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, struct npc_data *nd);
+ bool (*preHookFunc) (struct map_session_data **sd, struct npc_data **nd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_trader_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_trader_open_pre[hIndex].func;
- retVal___ = preHookFunc(sd, nd);
+ retVal___ = preHookFunc(&sd, &nd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50348,11 +50348,11 @@ void HP_npc_market_fromsql(void) {
void HP_npc_market_tosql(struct npc_data *nd, unsigned short index) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_market_tosql_pre ) {
- void (*preHookFunc) (struct npc_data *nd, unsigned short *index);
+ void (*preHookFunc) (struct npc_data **nd, unsigned short *index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_market_tosql_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_market_tosql_pre[hIndex].func;
- preHookFunc(nd, &index);
+ preHookFunc(&nd, &index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50374,11 +50374,11 @@ void HP_npc_market_tosql(struct npc_data *nd, unsigned short index) {
void HP_npc_market_delfromsql(struct npc_data *nd, unsigned short index) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_market_delfromsql_pre ) {
- void (*preHookFunc) (struct npc_data *nd, unsigned short *index);
+ void (*preHookFunc) (struct npc_data **nd, unsigned short *index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_market_delfromsql_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_market_delfromsql_pre[hIndex].func;
- preHookFunc(nd, &index);
+ preHookFunc(&nd, &index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50400,11 +50400,11 @@ void HP_npc_market_delfromsql(struct npc_data *nd, unsigned short index) {
void HP_npc_market_delfromsql_sub(const char *npcname, unsigned short index) {
int hIndex = 0;
if( HPMHooks.count.HP_npc_market_delfromsql_sub_pre ) {
- void (*preHookFunc) (const char *npcname, unsigned short *index);
+ void (*preHookFunc) (const char **npcname, unsigned short *index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_npc_market_delfromsql_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_npc_market_delfromsql_sub_pre[hIndex].func;
- preHookFunc(npcname, &index);
+ preHookFunc(&npcname, &index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50481,11 +50481,11 @@ int HP_npc_secure_timeout_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_nullpo_assert_report(const char *file, int line, const char *func, const char *targetname, const char *title) {
int hIndex = 0;
if( HPMHooks.count.HP_nullpo_assert_report_pre ) {
- void (*preHookFunc) (const char *file, int *line, const char *func, const char *targetname, const char *title);
+ void (*preHookFunc) (const char **file, int *line, const char **func, const char **targetname, const char **title);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_nullpo_assert_report_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_nullpo_assert_report_pre[hIndex].func;
- preHookFunc(file, &line, func, targetname, title);
+ preHookFunc(&file, &line, &func, &targetname, &title);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50588,11 +50588,11 @@ struct party_data* HP_party_searchname(const char *str) {
int hIndex = 0;
struct party_data* retVal___ = NULL;
if( HPMHooks.count.HP_party_searchname_pre ) {
- struct party_data* (*preHookFunc) (const char *str);
+ struct party_data* (*preHookFunc) (const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_searchname_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_searchname_pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50615,11 +50615,11 @@ int HP_party_getmemberid(struct party_data *p, struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_getmemberid_pre ) {
- int (*preHookFunc) (struct party_data *p, struct map_session_data *sd);
+ int (*preHookFunc) (struct party_data **p, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_getmemberid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_getmemberid_pre[hIndex].func;
- retVal___ = preHookFunc(p, sd);
+ retVal___ = preHookFunc(&p, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50642,11 +50642,11 @@ struct map_session_data* HP_party_getavailablesd(struct party_data *p) {
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_party_getavailablesd_pre ) {
- struct map_session_data* (*preHookFunc) (struct party_data *p);
+ struct map_session_data* (*preHookFunc) (struct party_data **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_getavailablesd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_getavailablesd_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50669,11 +50669,11 @@ int HP_party_create(struct map_session_data *sd, const char *name, int item, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_create_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *name, int *item, int *item2);
+ int (*preHookFunc) (struct map_session_data **sd, const char **name, int *item, int *item2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_create_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name, &item, &item2);
+ retVal___ = preHookFunc(&sd, &name, &item, &item2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50695,11 +50695,11 @@ int HP_party_create(struct map_session_data *sd, const char *name, int item, int
void HP_party_created(int account_id, int char_id, int fail, int party_id, const char *name) {
int hIndex = 0;
if( HPMHooks.count.HP_party_created_pre ) {
- void (*preHookFunc) (int *account_id, int *char_id, int *fail, int *party_id, const char *name);
+ void (*preHookFunc) (int *account_id, int *char_id, int *fail, int *party_id, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_created_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_created_pre[hIndex].func;
- preHookFunc(&account_id, &char_id, &fail, &party_id, name);
+ preHookFunc(&account_id, &char_id, &fail, &party_id, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50749,11 +50749,11 @@ int HP_party_invite(struct map_session_data *sd, struct map_session_data *tsd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_invite_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd);
+ int (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_invite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_invite_pre[hIndex].func;
- retVal___ = preHookFunc(sd, tsd);
+ retVal___ = preHookFunc(&sd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50775,11 +50775,11 @@ int HP_party_invite(struct map_session_data *sd, struct map_session_data *tsd) {
void HP_party_member_joined(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_party_member_joined_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_member_joined_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_member_joined_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50829,11 +50829,11 @@ int HP_party_leave(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_leave_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_leave_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_leave_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50856,11 +50856,11 @@ int HP_party_removemember(struct map_session_data *sd, int account_id, const cha
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_removemember_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *account_id, const char *name);
+ int (*preHookFunc) (struct map_session_data **sd, int *account_id, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_removemember_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_removemember_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &account_id, name);
+ retVal___ = preHookFunc(&sd, &account_id, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50909,11 +50909,11 @@ int HP_party_member_withdraw(int party_id, int account_id, int char_id) {
void HP_party_reply_invite(struct map_session_data *sd, int party_id, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_party_reply_invite_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *party_id, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *party_id, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_reply_invite_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_reply_invite_pre[hIndex].func;
- preHookFunc(sd, &party_id, &flag);
+ preHookFunc(&sd, &party_id, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -50963,11 +50963,11 @@ int HP_party_recv_info(const struct party *sp, int char_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_recv_info_pre ) {
- int (*preHookFunc) (const struct party *sp, int *char_id);
+ int (*preHookFunc) (const struct party **sp, int *char_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recv_info_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_recv_info_pre[hIndex].func;
- retVal___ = preHookFunc(sp, &char_id);
+ retVal___ = preHookFunc(&sp, &char_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51071,11 +51071,11 @@ int HP_party_changeoption(struct map_session_data *sd, int exp, int item) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_changeoption_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *exp, int *item);
+ int (*preHookFunc) (struct map_session_data **sd, int *exp, int *item);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_changeoption_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_changeoption_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &exp, &item);
+ retVal___ = preHookFunc(&sd, &exp, &item);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51098,11 +51098,11 @@ bool HP_party_changeleader(struct map_session_data *sd, struct map_session_data
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_party_changeleader_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, struct map_session_data *t_sd);
+ bool (*preHookFunc) (struct map_session_data **sd, struct map_session_data **t_sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_changeleader_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_changeleader_pre[hIndex].func;
- retVal___ = preHookFunc(sd, t_sd);
+ retVal___ = preHookFunc(&sd, &t_sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51124,11 +51124,11 @@ bool HP_party_changeleader(struct map_session_data *sd, struct map_session_data
void HP_party_send_movemap(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_party_send_movemap_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_send_movemap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_send_movemap_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51150,11 +51150,11 @@ void HP_party_send_movemap(struct map_session_data *sd) {
void HP_party_send_levelup(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_party_send_levelup_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_send_levelup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_send_levelup_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51177,11 +51177,11 @@ int HP_party_send_logout(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_send_logout_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_send_logout_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_send_logout_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51204,11 +51204,11 @@ int HP_party_send_message(struct map_session_data *sd, const char *mes) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_send_message_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *mes);
+ int (*preHookFunc) (struct map_session_data **sd, const char **mes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_send_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_send_message_pre[hIndex].func;
- retVal___ = preHookFunc(sd, mes);
+ retVal___ = preHookFunc(&sd, &mes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51231,11 +51231,11 @@ int HP_party_recv_message(int party_id, int account_id, const char *mes, int len
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_recv_message_pre ) {
- int (*preHookFunc) (int *party_id, int *account_id, const char *mes, int *len);
+ int (*preHookFunc) (int *party_id, int *account_id, const char **mes, int *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recv_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_recv_message_pre[hIndex].func;
- retVal___ = preHookFunc(&party_id, &account_id, mes, &len);
+ retVal___ = preHookFunc(&party_id, &account_id, &mes, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51258,11 +51258,11 @@ int HP_party_skill_check(struct map_session_data *sd, int party_id, uint16 skill
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_skill_check_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *party_id, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct map_session_data **sd, int *party_id, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_skill_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_skill_check_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &party_id, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&sd, &party_id, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51285,11 +51285,11 @@ int HP_party_send_xy_clear(struct party_data *p) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_send_xy_clear_pre ) {
- int (*preHookFunc) (struct party_data *p);
+ int (*preHookFunc) (struct party_data **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_send_xy_clear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_send_xy_clear_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51312,11 +51312,11 @@ int HP_party_exp_share(struct party_data *p, struct block_list *src, unsigned in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_exp_share_pre ) {
- int (*preHookFunc) (struct party_data *p, struct block_list *src, unsigned int *base_exp, unsigned int *job_exp, int *zeny);
+ int (*preHookFunc) (struct party_data **p, struct block_list **src, unsigned int *base_exp, unsigned int *job_exp, int *zeny);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_exp_share_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_exp_share_pre[hIndex].func;
- retVal___ = preHookFunc(p, src, &base_exp, &job_exp, &zeny);
+ retVal___ = preHookFunc(&p, &src, &base_exp, &job_exp, &zeny);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51339,11 +51339,11 @@ int HP_party_share_loot(struct party_data *p, struct map_session_data *sd, struc
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_share_loot_pre ) {
- int (*preHookFunc) (struct party_data *p, struct map_session_data *sd, struct item *item_data, int *first_charid);
+ int (*preHookFunc) (struct party_data **p, struct map_session_data **sd, struct item **item_data, int *first_charid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_share_loot_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_share_loot_pre[hIndex].func;
- retVal___ = preHookFunc(p, sd, item_data, &first_charid);
+ retVal___ = preHookFunc(&p, &sd, &item_data, &first_charid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51366,11 +51366,11 @@ int HP_party_send_dot_remove(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_send_dot_remove_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_send_dot_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_send_dot_remove_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51393,12 +51393,12 @@ int HP_party_sub_count(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_sub_count_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_sub_count_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_party_sub_count_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -51426,12 +51426,12 @@ int HP_party_sub_count_chorus(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_sub_count_chorus_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_sub_count_chorus_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_party_sub_count_chorus_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -51458,11 +51458,11 @@ int HP_party_sub_count_chorus(struct block_list *bl, va_list ap) {
void HP_party_booking_register(struct map_session_data *sd, short level, short mapid, short *job) {
int hIndex = 0;
if( HPMHooks.count.HP_party_booking_register_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *level, short *mapid, short *job);
+ void (*preHookFunc) (struct map_session_data **sd, short *level, short *mapid, short **job);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_booking_register_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_booking_register_pre[hIndex].func;
- preHookFunc(sd, &level, &mapid, job);
+ preHookFunc(&sd, &level, &mapid, &job);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51484,11 +51484,11 @@ void HP_party_booking_register(struct map_session_data *sd, short level, short m
void HP_party_booking_update(struct map_session_data *sd, short *job) {
int hIndex = 0;
if( HPMHooks.count.HP_party_booking_update_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *job);
+ void (*preHookFunc) (struct map_session_data **sd, short **job);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_booking_update_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_booking_update_pre[hIndex].func;
- preHookFunc(sd, job);
+ preHookFunc(&sd, &job);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51510,11 +51510,11 @@ void HP_party_booking_update(struct map_session_data *sd, short *job) {
void HP_party_booking_search(struct map_session_data *sd, short level, short mapid, short job, unsigned long lastindex, short resultcount) {
int hIndex = 0;
if( HPMHooks.count.HP_party_booking_search_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *level, short *mapid, short *job, unsigned long *lastindex, short *resultcount);
+ void (*preHookFunc) (struct map_session_data **sd, short *level, short *mapid, short *job, unsigned long *lastindex, short *resultcount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_booking_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_booking_search_pre[hIndex].func;
- preHookFunc(sd, &level, &mapid, &job, &lastindex, &resultcount);
+ preHookFunc(&sd, &level, &mapid, &job, &lastindex, &resultcount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51536,11 +51536,11 @@ void HP_party_booking_search(struct map_session_data *sd, short level, short map
void HP_party_recruit_register(struct map_session_data *sd, short level, const char *notice) {
int hIndex = 0;
if( HPMHooks.count.HP_party_recruit_register_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *level, const char *notice);
+ void (*preHookFunc) (struct map_session_data **sd, short *level, const char **notice);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recruit_register_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_recruit_register_pre[hIndex].func;
- preHookFunc(sd, &level, notice);
+ preHookFunc(&sd, &level, &notice);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51562,11 +51562,11 @@ void HP_party_recruit_register(struct map_session_data *sd, short level, const c
void HP_party_recruit_update(struct map_session_data *sd, const char *notice) {
int hIndex = 0;
if( HPMHooks.count.HP_party_recruit_update_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *notice);
+ void (*preHookFunc) (struct map_session_data **sd, const char **notice);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recruit_update_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_recruit_update_pre[hIndex].func;
- preHookFunc(sd, notice);
+ preHookFunc(&sd, &notice);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51588,11 +51588,11 @@ void HP_party_recruit_update(struct map_session_data *sd, const char *notice) {
void HP_party_recruit_search(struct map_session_data *sd, short level, short mapid, unsigned long lastindex, short resultcount) {
int hIndex = 0;
if( HPMHooks.count.HP_party_recruit_search_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *level, short *mapid, unsigned long *lastindex, short *resultcount);
+ void (*preHookFunc) (struct map_session_data **sd, short *level, short *mapid, unsigned long *lastindex, short *resultcount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_recruit_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_recruit_search_pre[hIndex].func;
- preHookFunc(sd, &level, &mapid, &lastindex, &resultcount);
+ preHookFunc(&sd, &level, &mapid, &lastindex, &resultcount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51615,11 +51615,11 @@ bool HP_party_booking_delete(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_party_booking_delete_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_booking_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_booking_delete_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51642,12 +51642,12 @@ int HP_party_vforeachsamemap(int ( *func ) (struct block_list *, va_list), struc
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_vforeachsamemap_pre ) {
- int (*preHookFunc) (int ( *func ) (struct block_list *, va_list), struct map_session_data *sd, int *range, va_list ap);
+ int (*preHookFunc) (int ( **func ) (struct block_list *, va_list), struct map_session_data **sd, int *range, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_vforeachsamemap_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_party_vforeachsamemap_pre[hIndex].func;
- retVal___ = preHookFunc(func, sd, &range, ap___copy);
+ retVal___ = preHookFunc(&func, &sd, &range, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -51701,11 +51701,11 @@ int HP_party_send_xy_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_party_fill_member(struct party_member *member, struct map_session_data *sd, unsigned int leader) {
int hIndex = 0;
if( HPMHooks.count.HP_party_fill_member_pre ) {
- void (*preHookFunc) (struct party_member *member, struct map_session_data *sd, unsigned int *leader);
+ void (*preHookFunc) (struct party_member **member, struct map_session_data **sd, unsigned int *leader);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_fill_member_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_fill_member_pre[hIndex].func;
- preHookFunc(member, sd, &leader);
+ preHookFunc(&member, &sd, &leader);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51754,11 +51754,11 @@ struct map_session_data* HP_party_sd_check(int party_id, int account_id, int cha
void HP_party_check_state(struct party_data *p) {
int hIndex = 0;
if( HPMHooks.count.HP_party_check_state_pre ) {
- void (*preHookFunc) (struct party_data *p);
+ void (*preHookFunc) (struct party_data **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_check_state_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_party_check_state_pre[hIndex].func;
- preHookFunc(p);
+ preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51808,12 +51808,12 @@ int HP_party_db_final(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_party_db_final_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_party_db_final_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_party_db_final_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -51842,11 +51842,11 @@ int HP_path_blownpos(struct block_list *bl, int16 m, int16 x0, int16 y0, int16 d
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_path_blownpos_pre ) {
- int (*preHookFunc) (struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *dx, int16 *dy, int *count);
+ int (*preHookFunc) (struct block_list **bl, int16 *m, int16 *x0, int16 *y0, int16 *dx, int16 *dy, int *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_blownpos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_path_blownpos_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &m, &x0, &y0, &dx, &dy, &count);
+ retVal___ = preHookFunc(&bl, &m, &x0, &y0, &dx, &dy, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51869,11 +51869,11 @@ bool HP_path_search(struct walkpath_data *wpd, struct block_list *bl, int16 m, i
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_path_search_pre ) {
- bool (*preHookFunc) (struct walkpath_data *wpd, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *flag, cell_chk *cell);
+ bool (*preHookFunc) (struct walkpath_data **wpd, struct block_list **bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, int *flag, cell_chk *cell);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_path_search_pre[hIndex].func;
- retVal___ = preHookFunc(wpd, bl, &m, &x0, &y0, &x1, &y1, &flag, &cell);
+ retVal___ = preHookFunc(&wpd, &bl, &m, &x0, &y0, &x1, &y1, &flag, &cell);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -51896,11 +51896,11 @@ bool HP_path_search_long(struct shootpath_data *spd, struct block_list *bl, int1
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_path_search_long_pre ) {
- bool (*preHookFunc) (struct shootpath_data *spd, struct block_list *bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, cell_chk *cell);
+ bool (*preHookFunc) (struct shootpath_data **spd, struct block_list **bl, int16 *m, int16 *x0, int16 *y0, int16 *x1, int16 *y1, cell_chk *cell);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_path_search_long_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_path_search_long_pre[hIndex].func;
- retVal___ = preHookFunc(spd, bl, &m, &x0, &y0, &x1, &y1, &cell);
+ retVal___ = preHookFunc(&spd, &bl, &m, &x0, &y0, &x1, &y1, &cell);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52191,11 +52191,11 @@ bool HP_pcg_has_permission(GroupSettings *group, unsigned int permission) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pcg_has_permission_pre ) {
- bool (*preHookFunc) (GroupSettings *group, unsigned int *permission);
+ bool (*preHookFunc) (GroupSettings **group, unsigned int *permission);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_has_permission_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pcg_has_permission_pre[hIndex].func;
- retVal___ = preHookFunc(group, &permission);
+ retVal___ = preHookFunc(&group, &permission);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52218,11 +52218,11 @@ bool HP_pcg_should_log_commands(GroupSettings *group) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pcg_should_log_commands_pre ) {
- bool (*preHookFunc) (GroupSettings *group);
+ bool (*preHookFunc) (GroupSettings **group);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_should_log_commands_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pcg_should_log_commands_pre[hIndex].func;
- retVal___ = preHookFunc(group);
+ retVal___ = preHookFunc(&group);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52245,11 +52245,11 @@ const char* HP_pcg_get_name(GroupSettings *group) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_pcg_get_name_pre ) {
- const char* (*preHookFunc) (GroupSettings *group);
+ const char* (*preHookFunc) (GroupSettings **group);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_get_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pcg_get_name_pre[hIndex].func;
- retVal___ = preHookFunc(group);
+ retVal___ = preHookFunc(&group);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52272,11 +52272,11 @@ int HP_pcg_get_level(GroupSettings *group) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pcg_get_level_pre ) {
- int (*preHookFunc) (GroupSettings *group);
+ int (*preHookFunc) (GroupSettings **group);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_get_level_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pcg_get_level_pre[hIndex].func;
- retVal___ = preHookFunc(group);
+ retVal___ = preHookFunc(&group);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52299,11 +52299,11 @@ int HP_pcg_get_idx(GroupSettings *group) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pcg_get_idx_pre ) {
- int (*preHookFunc) (GroupSettings *group);
+ int (*preHookFunc) (GroupSettings **group);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pcg_get_idx_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pcg_get_idx_pre[hIndex].func;
- retVal___ = preHookFunc(group);
+ retVal___ = preHookFunc(&group);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52433,11 +52433,11 @@ bool HP_pc_can_talk(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_can_talk_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_talk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_can_talk_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52460,11 +52460,11 @@ bool HP_pc_can_attack(struct map_session_data *sd, int target_id) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_can_attack_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *target_id);
+ bool (*preHookFunc) (struct map_session_data **sd, int *target_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_attack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_can_attack_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &target_id);
+ retVal___ = preHookFunc(&sd, &target_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52487,11 +52487,11 @@ bool HP_pc_can_use_command(struct map_session_data *sd, const char *command) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_can_use_command_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *command);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **command);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_use_command_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_can_use_command_pre[hIndex].func;
- retVal___ = preHookFunc(sd, command);
+ retVal___ = preHookFunc(&sd, &command);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52514,11 +52514,11 @@ int HP_pc_set_group(struct map_session_data *sd, int group_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_set_group_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *group_id);
+ int (*preHookFunc) (struct map_session_data **sd, int *group_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_set_group_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_set_group_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &group_id);
+ retVal___ = preHookFunc(&sd, &group_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52541,11 +52541,11 @@ bool HP_pc_should_log_commands(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_should_log_commands_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_should_log_commands_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_should_log_commands_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52568,11 +52568,11 @@ int HP_pc_setrestartvalue(struct map_session_data *sd, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setrestartvalue_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setrestartvalue_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setrestartvalue_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52595,11 +52595,11 @@ int HP_pc_makesavestatus(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_makesavestatus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_makesavestatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_makesavestatus_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52621,11 +52621,11 @@ int HP_pc_makesavestatus(struct map_session_data *sd) {
void HP_pc_respawn(struct map_session_data *sd, clr_type clrtype) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_respawn_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, clr_type *clrtype);
+ void (*preHookFunc) (struct map_session_data **sd, clr_type *clrtype);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_respawn_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_respawn_pre[hIndex].func;
- preHookFunc(sd, &clrtype);
+ preHookFunc(&sd, &clrtype);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52648,11 +52648,11 @@ int HP_pc_setnewpc(struct map_session_data *sd, int account_id, int char_id, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setnewpc_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *account_id, int *char_id, int *login_id1, unsigned int *client_tick, int *sex, int *fd);
+ int (*preHookFunc) (struct map_session_data **sd, int *account_id, int *char_id, int *login_id1, unsigned int *client_tick, int *sex, int *fd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setnewpc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setnewpc_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &account_id, &char_id, &login_id1, &client_tick, &sex, &fd);
+ retVal___ = preHookFunc(&sd, &account_id, &char_id, &login_id1, &client_tick, &sex, &fd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52675,11 +52675,11 @@ bool HP_pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_authok_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *login_id2, time_t *expiration_time, int *group_id, const struct mmo_charstatus *st, bool *changing_mapservers);
+ bool (*preHookFunc) (struct map_session_data **sd, int *login_id2, time_t *expiration_time, int *group_id, const struct mmo_charstatus **st, bool *changing_mapservers);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_authok_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_authok_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &login_id2, &expiration_time, &group_id, st, &changing_mapservers);
+ retVal___ = preHookFunc(&sd, &login_id2, &expiration_time, &group_id, &st, &changing_mapservers);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52701,11 +52701,11 @@ bool HP_pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_
void HP_pc_authfail(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_authfail_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_authfail_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_authfail_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52728,11 +52728,11 @@ int HP_pc_reg_received(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_reg_received_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_reg_received_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_reg_received_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52755,11 +52755,11 @@ int HP_pc_isequip(struct map_session_data *sd, int n) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_isequip_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n);
+ int (*preHookFunc) (struct map_session_data **sd, int *n);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_isequip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_isequip_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n);
+ retVal___ = preHookFunc(&sd, &n);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52782,11 +52782,11 @@ int HP_pc_equippoint(struct map_session_data *sd, int n) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_equippoint_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n);
+ int (*preHookFunc) (struct map_session_data **sd, int *n);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_equippoint_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_equippoint_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n);
+ retVal___ = preHookFunc(&sd, &n);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52809,11 +52809,11 @@ int HP_pc_setinventorydata(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setinventorydata_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setinventorydata_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setinventorydata_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52836,11 +52836,11 @@ int HP_pc_checkskill(struct map_session_data *sd, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_checkskill_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_checkskill_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id);
+ retVal___ = preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52863,11 +52863,11 @@ int HP_pc_checkskill2(struct map_session_data *sd, uint16 index) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_checkskill2_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *index);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkskill2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_checkskill2_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index);
+ retVal___ = preHookFunc(&sd, &index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52890,11 +52890,11 @@ int HP_pc_checkallowskill(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_checkallowskill_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkallowskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_checkallowskill_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52917,11 +52917,11 @@ int HP_pc_checkequip(struct map_session_data *sd, int pos) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_checkequip_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *pos);
+ int (*preHookFunc) (struct map_session_data **sd, int *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkequip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_checkequip_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &pos);
+ retVal___ = preHookFunc(&sd, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52944,11 +52944,11 @@ int HP_pc_calc_skilltree(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_calc_skilltree_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_calc_skilltree_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_calc_skilltree_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52971,11 +52971,11 @@ int HP_pc_calc_skilltree_normalize_job(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_calc_skilltree_normalize_job_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_calc_skilltree_normalize_job_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_calc_skilltree_normalize_job_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -52998,11 +52998,11 @@ int HP_pc_clean_skilltree(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_clean_skilltree_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_clean_skilltree_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_clean_skilltree_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53025,11 +53025,11 @@ int HP_pc_setpos(struct map_session_data *sd, unsigned short map_index, int x, i
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setpos_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, unsigned short *map_index, int *x, int *y, clr_type *clrtype);
+ int (*preHookFunc) (struct map_session_data **sd, unsigned short *map_index, int *x, int *y, clr_type *clrtype);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setpos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setpos_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &map_index, &x, &y, &clrtype);
+ retVal___ = preHookFunc(&sd, &map_index, &x, &y, &clrtype);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53052,11 +53052,11 @@ int HP_pc_setsavepoint(struct map_session_data *sd, short map_index, int x, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setsavepoint_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, short *map_index, int *x, int *y);
+ int (*preHookFunc) (struct map_session_data **sd, short *map_index, int *x, int *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setsavepoint_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setsavepoint_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &map_index, &x, &y);
+ retVal___ = preHookFunc(&sd, &map_index, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53079,11 +53079,11 @@ int HP_pc_randomwarp(struct map_session_data *sd, clr_type type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_randomwarp_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, clr_type *type);
+ int (*preHookFunc) (struct map_session_data **sd, clr_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_randomwarp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_randomwarp_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53106,11 +53106,11 @@ int HP_pc_memo(struct map_session_data *sd, int pos) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_memo_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *pos);
+ int (*preHookFunc) (struct map_session_data **sd, int *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_memo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_memo_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &pos);
+ retVal___ = preHookFunc(&sd, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53133,11 +53133,11 @@ int HP_pc_checkadditem(struct map_session_data *sd, int nameid, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_checkadditem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *nameid, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *nameid, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkadditem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_checkadditem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid, &amount);
+ retVal___ = preHookFunc(&sd, &nameid, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53160,11 +53160,11 @@ int HP_pc_inventoryblank(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_inventoryblank_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_inventoryblank_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_inventoryblank_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53187,11 +53187,11 @@ int HP_pc_search_inventory(struct map_session_data *sd, int item_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_search_inventory_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *item_id);
+ int (*preHookFunc) (struct map_session_data **sd, int *item_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_search_inventory_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_search_inventory_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &item_id);
+ retVal___ = preHookFunc(&sd, &item_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53214,11 +53214,11 @@ int HP_pc_payzeny(struct map_session_data *sd, int zeny, enum e_log_pick_type ty
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_payzeny_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *zeny, enum e_log_pick_type *type, struct map_session_data *tsd);
+ int (*preHookFunc) (struct map_session_data **sd, int *zeny, enum e_log_pick_type *type, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_payzeny_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_payzeny_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &zeny, &type, tsd);
+ retVal___ = preHookFunc(&sd, &zeny, &type, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53241,11 +53241,11 @@ int HP_pc_additem(struct map_session_data *sd, struct item *item_data, int amoun
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_additem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct item *item_data, int *amount, e_log_pick_type *log_type);
+ int (*preHookFunc) (struct map_session_data **sd, struct item **item_data, int *amount, e_log_pick_type *log_type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_additem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_additem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item_data, &amount, &log_type);
+ retVal___ = preHookFunc(&sd, &item_data, &amount, &log_type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53268,11 +53268,11 @@ int HP_pc_getzeny(struct map_session_data *sd, int zeny, enum e_log_pick_type ty
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_getzeny_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *zeny, enum e_log_pick_type *type, struct map_session_data *tsd);
+ int (*preHookFunc) (struct map_session_data **sd, int *zeny, enum e_log_pick_type *type, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getzeny_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_getzeny_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &zeny, &type, tsd);
+ retVal___ = preHookFunc(&sd, &zeny, &type, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53295,11 +53295,11 @@ int HP_pc_delitem(struct map_session_data *sd, int n, int amount, int type, shor
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_delitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n, int *amount, int *type, short *reason, e_log_pick_type *log_type);
+ int (*preHookFunc) (struct map_session_data **sd, int *n, int *amount, int *type, short *reason, e_log_pick_type *log_type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_delitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_delitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n, &amount, &type, &reason, &log_type);
+ retVal___ = preHookFunc(&sd, &n, &amount, &type, &reason, &log_type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53322,11 +53322,11 @@ int HP_pc_paycash(struct map_session_data *sd, int price, int points) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_paycash_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *price, int *points);
+ int (*preHookFunc) (struct map_session_data **sd, int *price, int *points);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_paycash_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_paycash_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &price, &points);
+ retVal___ = preHookFunc(&sd, &price, &points);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53349,11 +53349,11 @@ int HP_pc_getcash(struct map_session_data *sd, int cash, int points) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_getcash_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *cash, int *points);
+ int (*preHookFunc) (struct map_session_data **sd, int *cash, int *points);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getcash_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_getcash_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &cash, &points);
+ retVal___ = preHookFunc(&sd, &cash, &points);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53376,11 +53376,11 @@ int HP_pc_cart_additem(struct map_session_data *sd, struct item *item_data, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_cart_additem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct item *item_data, int *amount, e_log_pick_type *log_type);
+ int (*preHookFunc) (struct map_session_data **sd, struct item **item_data, int *amount, e_log_pick_type *log_type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_cart_additem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_cart_additem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item_data, &amount, &log_type);
+ retVal___ = preHookFunc(&sd, &item_data, &amount, &log_type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53403,11 +53403,11 @@ int HP_pc_cart_delitem(struct map_session_data *sd, int n, int amount, int type,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_cart_delitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n, int *amount, int *type, e_log_pick_type *log_type);
+ int (*preHookFunc) (struct map_session_data **sd, int *n, int *amount, int *type, e_log_pick_type *log_type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_cart_delitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_cart_delitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n, &amount, &type, &log_type);
+ retVal___ = preHookFunc(&sd, &n, &amount, &type, &log_type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53430,11 +53430,11 @@ int HP_pc_putitemtocart(struct map_session_data *sd, int idx, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_putitemtocart_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *idx, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *idx, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_putitemtocart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_putitemtocart_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &idx, &amount);
+ retVal___ = preHookFunc(&sd, &idx, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53457,11 +53457,11 @@ int HP_pc_getitemfromcart(struct map_session_data *sd, int idx, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_getitemfromcart_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *idx, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *idx, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getitemfromcart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_getitemfromcart_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &idx, &amount);
+ retVal___ = preHookFunc(&sd, &idx, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53484,11 +53484,11 @@ int HP_pc_cartitem_amount(struct map_session_data *sd, int idx, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_cartitem_amount_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *idx, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *idx, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_cartitem_amount_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_cartitem_amount_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &idx, &amount);
+ retVal___ = preHookFunc(&sd, &idx, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53511,11 +53511,11 @@ int HP_pc_takeitem(struct map_session_data *sd, struct flooritem_data *fitem) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_takeitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct flooritem_data *fitem);
+ int (*preHookFunc) (struct map_session_data **sd, struct flooritem_data **fitem);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_takeitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_takeitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, fitem);
+ retVal___ = preHookFunc(&sd, &fitem);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53538,11 +53538,11 @@ int HP_pc_dropitem(struct map_session_data *sd, int n, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_dropitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *n, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_dropitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_dropitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n, &amount);
+ retVal___ = preHookFunc(&sd, &n, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53565,11 +53565,11 @@ bool HP_pc_isequipped(struct map_session_data *sd, int nameid) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_isequipped_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *nameid);
+ bool (*preHookFunc) (struct map_session_data **sd, int *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_isequipped_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_isequipped_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid);
+ retVal___ = preHookFunc(&sd, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53592,11 +53592,11 @@ bool HP_pc_can_Adopt(struct map_session_data *p1_sd, struct map_session_data *p2
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_can_Adopt_pre ) {
- bool (*preHookFunc) (struct map_session_data *p1_sd, struct map_session_data *p2_sd, struct map_session_data *b_sd);
+ bool (*preHookFunc) (struct map_session_data **p1_sd, struct map_session_data **p2_sd, struct map_session_data **b_sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_Adopt_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_can_Adopt_pre[hIndex].func;
- retVal___ = preHookFunc(p1_sd, p2_sd, b_sd);
+ retVal___ = preHookFunc(&p1_sd, &p2_sd, &b_sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53619,11 +53619,11 @@ bool HP_pc_adoption(struct map_session_data *p1_sd, struct map_session_data *p2_
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_adoption_pre ) {
- bool (*preHookFunc) (struct map_session_data *p1_sd, struct map_session_data *p2_sd, struct map_session_data *b_sd);
+ bool (*preHookFunc) (struct map_session_data **p1_sd, struct map_session_data **p2_sd, struct map_session_data **b_sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_adoption_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_adoption_pre[hIndex].func;
- retVal___ = preHookFunc(p1_sd, p2_sd, b_sd);
+ retVal___ = preHookFunc(&p1_sd, &p2_sd, &b_sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53646,11 +53646,11 @@ int HP_pc_updateweightstatus(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_updateweightstatus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_updateweightstatus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_updateweightstatus_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53673,11 +53673,11 @@ int HP_pc_addautobonus(struct s_autobonus *bonus, char max, const char *bonus_sc
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_addautobonus_pre ) {
- int (*preHookFunc) (struct s_autobonus *bonus, char *max, const char *bonus_script, short *rate, unsigned int *dur, short *atk_type, const char *o_script, unsigned short *pos, bool *onskill);
+ int (*preHookFunc) (struct s_autobonus **bonus, char *max, const char **bonus_script, short *rate, unsigned int *dur, short *atk_type, const char **o_script, unsigned short *pos, bool *onskill);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addautobonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_addautobonus_pre[hIndex].func;
- retVal___ = preHookFunc(bonus, &max, bonus_script, &rate, &dur, &atk_type, o_script, &pos, &onskill);
+ retVal___ = preHookFunc(&bonus, &max, &bonus_script, &rate, &dur, &atk_type, &o_script, &pos, &onskill);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53700,11 +53700,11 @@ int HP_pc_exeautobonus(struct map_session_data *sd, struct s_autobonus *bonus) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_exeautobonus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct s_autobonus *bonus);
+ int (*preHookFunc) (struct map_session_data **sd, struct s_autobonus **bonus);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_exeautobonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_exeautobonus_pre[hIndex].func;
- retVal___ = preHookFunc(sd, bonus);
+ retVal___ = preHookFunc(&sd, &bonus);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53754,11 +53754,11 @@ int HP_pc_delautobonus(struct map_session_data *sd, struct s_autobonus *bonus, c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_delautobonus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct s_autobonus *bonus, char *max, bool *restore);
+ int (*preHookFunc) (struct map_session_data **sd, struct s_autobonus **bonus, char *max, bool *restore);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_delautobonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_delautobonus_pre[hIndex].func;
- retVal___ = preHookFunc(sd, bonus, &max, &restore);
+ retVal___ = preHookFunc(&sd, &bonus, &max, &restore);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53781,11 +53781,11 @@ int HP_pc_bonus(struct map_session_data *sd, int type, int val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &val);
+ retVal___ = preHookFunc(&sd, &type, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53808,11 +53808,11 @@ int HP_pc_bonus2(struct map_session_data *sd, int type, int type2, int val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus2_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *type2, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *type2, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus2_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &type2, &val);
+ retVal___ = preHookFunc(&sd, &type, &type2, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53835,11 +53835,11 @@ int HP_pc_bonus3(struct map_session_data *sd, int type, int type2, int type3, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus3_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *type2, int *type3, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *type2, int *type3, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus3_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus3_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &type2, &type3, &val);
+ retVal___ = preHookFunc(&sd, &type, &type2, &type3, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53862,11 +53862,11 @@ int HP_pc_bonus4(struct map_session_data *sd, int type, int type2, int type3, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus4_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *type2, int *type3, int *type4, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *type2, int *type3, int *type4, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus4_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus4_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &type2, &type3, &type4, &val);
+ retVal___ = preHookFunc(&sd, &type, &type2, &type3, &type4, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53889,11 +53889,11 @@ int HP_pc_bonus5(struct map_session_data *sd, int type, int type2, int type3, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus5_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *type2, int *type3, int *type4, int *type5, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *type2, int *type3, int *type4, int *type5, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus5_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus5_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &type2, &type3, &type4, &type5, &val);
+ retVal___ = preHookFunc(&sd, &type, &type2, &type3, &type4, &type5, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53916,11 +53916,11 @@ int HP_pc_skill(struct map_session_data *sd, int id, int level, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_skill_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *id, int *level, int *flag);
+ int (*preHookFunc) (struct map_session_data **sd, int *id, int *level, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_skill_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &id, &level, &flag);
+ retVal___ = preHookFunc(&sd, &id, &level, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53943,11 +53943,11 @@ int HP_pc_insert_card(struct map_session_data *sd, int idx_card, int idx_equip)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_insert_card_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *idx_card, int *idx_equip);
+ int (*preHookFunc) (struct map_session_data **sd, int *idx_card, int *idx_equip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_insert_card_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_insert_card_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &idx_card, &idx_equip);
+ retVal___ = preHookFunc(&sd, &idx_card, &idx_equip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53970,11 +53970,11 @@ bool HP_pc_can_insert_card(struct map_session_data *sd, int idx_card) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_can_insert_card_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *idx_card);
+ bool (*preHookFunc) (struct map_session_data **sd, int *idx_card);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_insert_card_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_can_insert_card_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &idx_card);
+ retVal___ = preHookFunc(&sd, &idx_card);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -53997,11 +53997,11 @@ bool HP_pc_can_insert_card_into(struct map_session_data *sd, int idx_card, int i
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_can_insert_card_into_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *idx_card, int *idx_equip);
+ bool (*preHookFunc) (struct map_session_data **sd, int *idx_card, int *idx_equip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_can_insert_card_into_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_can_insert_card_into_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &idx_card, &idx_equip);
+ retVal___ = preHookFunc(&sd, &idx_card, &idx_equip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54024,11 +54024,11 @@ int HP_pc_steal_item(struct map_session_data *sd, struct block_list *bl, uint16
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_steal_item_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct block_list *bl, uint16 *skill_lv);
+ int (*preHookFunc) (struct map_session_data **sd, struct block_list **bl, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_steal_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_steal_item_pre[hIndex].func;
- retVal___ = preHookFunc(sd, bl, &skill_lv);
+ retVal___ = preHookFunc(&sd, &bl, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54051,11 +54051,11 @@ int HP_pc_steal_coin(struct map_session_data *sd, struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_steal_coin_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct block_list *bl);
+ int (*preHookFunc) (struct map_session_data **sd, struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_steal_coin_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_steal_coin_pre[hIndex].func;
- retVal___ = preHookFunc(sd, bl);
+ retVal___ = preHookFunc(&sd, &bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54078,11 +54078,11 @@ int HP_pc_modifybuyvalue(struct map_session_data *sd, int orig_value) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_modifybuyvalue_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *orig_value);
+ int (*preHookFunc) (struct map_session_data **sd, int *orig_value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_modifybuyvalue_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_modifybuyvalue_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &orig_value);
+ retVal___ = preHookFunc(&sd, &orig_value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54105,11 +54105,11 @@ int HP_pc_modifysellvalue(struct map_session_data *sd, int orig_value) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_modifysellvalue_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *orig_value);
+ int (*preHookFunc) (struct map_session_data **sd, int *orig_value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_modifysellvalue_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_modifysellvalue_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &orig_value);
+ retVal___ = preHookFunc(&sd, &orig_value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54132,11 +54132,11 @@ int HP_pc_follow(struct map_session_data *sd, int target_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_follow_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *target_id);
+ int (*preHookFunc) (struct map_session_data **sd, int *target_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_follow_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_follow_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &target_id);
+ retVal___ = preHookFunc(&sd, &target_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54159,11 +54159,11 @@ int HP_pc_stop_following(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_stop_following_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_stop_following_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_stop_following_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54186,11 +54186,11 @@ unsigned int HP_pc_maxbaselv(struct map_session_data *sd) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_pc_maxbaselv_pre ) {
- unsigned int (*preHookFunc) (struct map_session_data *sd);
+ unsigned int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_maxbaselv_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_maxbaselv_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54213,11 +54213,11 @@ unsigned int HP_pc_maxjoblv(struct map_session_data *sd) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_pc_maxjoblv_pre ) {
- unsigned int (*preHookFunc) (struct map_session_data *sd);
+ unsigned int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_maxjoblv_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_maxjoblv_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54240,11 +54240,11 @@ int HP_pc_checkbaselevelup(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_checkbaselevelup_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkbaselevelup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_checkbaselevelup_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54267,11 +54267,11 @@ int HP_pc_checkjoblevelup(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_checkjoblevelup_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkjoblevelup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_checkjoblevelup_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54294,11 +54294,11 @@ bool HP_pc_gainexp(struct map_session_data *sd, struct block_list *src, unsigned
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_gainexp_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, struct block_list *src, unsigned int *base_exp, unsigned int *job_exp, bool *is_quest);
+ bool (*preHookFunc) (struct map_session_data **sd, struct block_list **src, unsigned int *base_exp, unsigned int *job_exp, bool *is_quest);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_gainexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_gainexp_pre[hIndex].func;
- retVal___ = preHookFunc(sd, src, &base_exp, &job_exp, &is_quest);
+ retVal___ = preHookFunc(&sd, &src, &base_exp, &job_exp, &is_quest);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54321,11 +54321,11 @@ unsigned int HP_pc_nextbaseexp(struct map_session_data *sd) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_pc_nextbaseexp_pre ) {
- unsigned int (*preHookFunc) (struct map_session_data *sd);
+ unsigned int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_nextbaseexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_nextbaseexp_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54348,11 +54348,11 @@ unsigned int HP_pc_thisbaseexp(struct map_session_data *sd) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_pc_thisbaseexp_pre ) {
- unsigned int (*preHookFunc) (struct map_session_data *sd);
+ unsigned int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_thisbaseexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_thisbaseexp_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54375,11 +54375,11 @@ unsigned int HP_pc_nextjobexp(struct map_session_data *sd) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_pc_nextjobexp_pre ) {
- unsigned int (*preHookFunc) (struct map_session_data *sd);
+ unsigned int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_nextjobexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_nextjobexp_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54402,11 +54402,11 @@ unsigned int HP_pc_thisjobexp(struct map_session_data *sd) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_pc_thisjobexp_pre ) {
- unsigned int (*preHookFunc) (struct map_session_data *sd);
+ unsigned int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_thisjobexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_thisjobexp_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54456,11 +54456,11 @@ int HP_pc_need_status_point(struct map_session_data *sd, int type, int val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_need_status_point_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_need_status_point_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_need_status_point_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &val);
+ retVal___ = preHookFunc(&sd, &type, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54483,11 +54483,11 @@ int HP_pc_maxparameterincrease(struct map_session_data *sd, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_maxparameterincrease_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_maxparameterincrease_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_maxparameterincrease_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54510,11 +54510,11 @@ bool HP_pc_statusup(struct map_session_data *sd, int type, int increase) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_statusup_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *type, int *increase);
+ bool (*preHookFunc) (struct map_session_data **sd, int *type, int *increase);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_statusup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_statusup_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &increase);
+ retVal___ = preHookFunc(&sd, &type, &increase);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54537,11 +54537,11 @@ int HP_pc_statusup2(struct map_session_data *sd, int type, int val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_statusup2_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_statusup2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_statusup2_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &val);
+ retVal___ = preHookFunc(&sd, &type, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54564,11 +54564,11 @@ int HP_pc_skillup(struct map_session_data *sd, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_skillup_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skillup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_skillup_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id);
+ retVal___ = preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54591,11 +54591,11 @@ int HP_pc_allskillup(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_allskillup_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_allskillup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_allskillup_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54618,11 +54618,11 @@ int HP_pc_resetlvl(struct map_session_data *sd, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_resetlvl_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_resetlvl_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_resetlvl_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54645,11 +54645,11 @@ int HP_pc_resetstate(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_resetstate_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_resetstate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_resetstate_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54672,11 +54672,11 @@ int HP_pc_resetskill(struct map_session_data *sd, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_resetskill_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *flag);
+ int (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_resetskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_resetskill_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &flag);
+ retVal___ = preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54699,11 +54699,11 @@ int HP_pc_resetfeel(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_resetfeel_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_resetfeel_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_resetfeel_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54726,11 +54726,11 @@ int HP_pc_resethate(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_resethate_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_resethate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_resethate_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54753,11 +54753,11 @@ int HP_pc_equipitem(struct map_session_data *sd, int n, int req_pos) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_equipitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n, int *req_pos);
+ int (*preHookFunc) (struct map_session_data **sd, int *n, int *req_pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_equipitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_equipitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n, &req_pos);
+ retVal___ = preHookFunc(&sd, &n, &req_pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54779,11 +54779,11 @@ int HP_pc_equipitem(struct map_session_data *sd, int n, int req_pos) {
void HP_pc_equipitem_pos(struct map_session_data *sd, struct item_data *id, int n, int pos) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_equipitem_pos_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct item_data *id, int *n, int *pos);
+ void (*preHookFunc) (struct map_session_data **sd, struct item_data **id, int *n, int *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_equipitem_pos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_equipitem_pos_pre[hIndex].func;
- preHookFunc(sd, id, &n, &pos);
+ preHookFunc(&sd, &id, &n, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54806,11 +54806,11 @@ int HP_pc_unequipitem(struct map_session_data *sd, int n, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_unequipitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n, int *flag);
+ int (*preHookFunc) (struct map_session_data **sd, int *n, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_unequipitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_unequipitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n, &flag);
+ retVal___ = preHookFunc(&sd, &n, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54832,11 +54832,11 @@ int HP_pc_unequipitem(struct map_session_data *sd, int n, int flag) {
void HP_pc_unequipitem_pos(struct map_session_data *sd, int n, int pos) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_unequipitem_pos_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *n, int *pos);
+ void (*preHookFunc) (struct map_session_data **sd, int *n, int *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_unequipitem_pos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_unequipitem_pos_pre[hIndex].func;
- preHookFunc(sd, &n, &pos);
+ preHookFunc(&sd, &n, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54859,11 +54859,11 @@ int HP_pc_checkitem(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_checkitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_checkitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54886,11 +54886,11 @@ int HP_pc_useitem(struct map_session_data *sd, int n) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_useitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n);
+ int (*preHookFunc) (struct map_session_data **sd, int *n);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_useitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_useitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n);
+ retVal___ = preHookFunc(&sd, &n);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54913,11 +54913,11 @@ int HP_pc_skillatk_bonus(struct map_session_data *sd, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_skillatk_bonus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skillatk_bonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_skillatk_bonus_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id);
+ retVal___ = preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54940,11 +54940,11 @@ int HP_pc_skillheal_bonus(struct map_session_data *sd, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_skillheal_bonus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skillheal_bonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_skillheal_bonus_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id);
+ retVal___ = preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54967,11 +54967,11 @@ int HP_pc_skillheal2_bonus(struct map_session_data *sd, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_skillheal2_bonus_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_skillheal2_bonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_skillheal2_bonus_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id);
+ retVal___ = preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54993,11 +54993,11 @@ int HP_pc_skillheal2_bonus(struct map_session_data *sd, uint16 skill_id) {
void HP_pc_damage(struct map_session_data *sd, struct block_list *src, unsigned int hp, unsigned int sp) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_damage_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct block_list *src, unsigned int *hp, unsigned int *sp);
+ void (*preHookFunc) (struct map_session_data **sd, struct block_list **src, unsigned int *hp, unsigned int *sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_damage_pre[hIndex].func;
- preHookFunc(sd, src, &hp, &sp);
+ preHookFunc(&sd, &src, &hp, &sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55020,11 +55020,11 @@ int HP_pc_dead(struct map_session_data *sd, struct block_list *src) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_dead_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct block_list *src);
+ int (*preHookFunc) (struct map_session_data **sd, struct block_list **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_dead_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_dead_pre[hIndex].func;
- retVal___ = preHookFunc(sd, src);
+ retVal___ = preHookFunc(&sd, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55046,11 +55046,11 @@ int HP_pc_dead(struct map_session_data *sd, struct block_list *src) {
void HP_pc_revive(struct map_session_data *sd, unsigned int hp, unsigned int sp) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_revive_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *hp, unsigned int *sp);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *hp, unsigned int *sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_revive_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_revive_pre[hIndex].func;
- preHookFunc(sd, &hp, &sp);
+ preHookFunc(&sd, &hp, &sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55072,11 +55072,11 @@ void HP_pc_revive(struct map_session_data *sd, unsigned int hp, unsigned int sp)
void HP_pc_heal(struct map_session_data *sd, unsigned int hp, unsigned int sp, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_heal_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *hp, unsigned int *sp, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *hp, unsigned int *sp, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_heal_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_heal_pre[hIndex].func;
- preHookFunc(sd, &hp, &sp, &type);
+ preHookFunc(&sd, &hp, &sp, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55099,11 +55099,11 @@ int HP_pc_itemheal(struct map_session_data *sd, int itemid, int hp, int sp) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_itemheal_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *itemid, int *hp, int *sp);
+ int (*preHookFunc) (struct map_session_data **sd, int *itemid, int *hp, int *sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_itemheal_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_itemheal_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &itemid, &hp, &sp);
+ retVal___ = preHookFunc(&sd, &itemid, &hp, &sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55126,11 +55126,11 @@ int HP_pc_percentheal(struct map_session_data *sd, int hp, int sp) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_percentheal_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *hp, int *sp);
+ int (*preHookFunc) (struct map_session_data **sd, int *hp, int *sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_percentheal_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_percentheal_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &hp, &sp);
+ retVal___ = preHookFunc(&sd, &hp, &sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55153,11 +55153,11 @@ int HP_pc_jobchange(struct map_session_data *sd, int job, int upper) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_jobchange_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *job, int *upper);
+ int (*preHookFunc) (struct map_session_data **sd, int *job, int *upper);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_jobchange_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_jobchange_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &job, &upper);
+ retVal___ = preHookFunc(&sd, &job, &upper);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55180,11 +55180,11 @@ int HP_pc_setoption(struct map_session_data *sd, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setoption_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setoption_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setoption_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55207,11 +55207,11 @@ int HP_pc_setcart(struct map_session_data *sd, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setcart_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setcart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setcart_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55233,11 +55233,11 @@ int HP_pc_setcart(struct map_session_data *sd, int type) {
void HP_pc_setfalcon(struct map_session_data *sd, bool flag) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_setfalcon_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*preHookFunc) (struct map_session_data **sd, bool *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setfalcon_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setfalcon_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55259,11 +55259,11 @@ void HP_pc_setfalcon(struct map_session_data *sd, bool flag) {
void HP_pc_setridingpeco(struct map_session_data *sd, bool flag) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_setridingpeco_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*preHookFunc) (struct map_session_data **sd, bool *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setridingpeco_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setridingpeco_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55285,11 +55285,11 @@ void HP_pc_setridingpeco(struct map_session_data *sd, bool flag) {
void HP_pc_setmadogear(struct map_session_data *sd, bool flag) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_setmadogear_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*preHookFunc) (struct map_session_data **sd, bool *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setmadogear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setmadogear_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55311,11 +55311,11 @@ void HP_pc_setmadogear(struct map_session_data *sd, bool flag) {
void HP_pc_setridingdragon(struct map_session_data *sd, unsigned int type) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_setridingdragon_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *type);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setridingdragon_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setridingdragon_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55337,11 +55337,11 @@ void HP_pc_setridingdragon(struct map_session_data *sd, unsigned int type) {
void HP_pc_setridingwug(struct map_session_data *sd, bool flag) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_setridingwug_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, bool *flag);
+ void (*preHookFunc) (struct map_session_data **sd, bool *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setridingwug_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setridingwug_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55364,11 +55364,11 @@ int HP_pc_changelook(struct map_session_data *sd, int type, int val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_changelook_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_changelook_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_changelook_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &val);
+ retVal___ = preHookFunc(&sd, &type, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55391,11 +55391,11 @@ int HP_pc_equiplookall(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_equiplookall_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_equiplookall_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_equiplookall_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55418,11 +55418,11 @@ int HP_pc_readparam(struct map_session_data *sd, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_readparam_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readparam_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_readparam_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55445,11 +55445,11 @@ int HP_pc_setparam(struct map_session_data *sd, int type, int val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setparam_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setparam_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setparam_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &val);
+ retVal___ = preHookFunc(&sd, &type, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55472,11 +55472,11 @@ int HP_pc_readreg(struct map_session_data *sd, int64 reg) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_readreg_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int64 *reg);
+ int (*preHookFunc) (struct map_session_data **sd, int64 *reg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readreg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_readreg_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &reg);
+ retVal___ = preHookFunc(&sd, &reg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55498,11 +55498,11 @@ int HP_pc_readreg(struct map_session_data *sd, int64 reg) {
void HP_pc_setreg(struct map_session_data *sd, int64 reg, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_setreg_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int64 *reg, int *val);
+ void (*preHookFunc) (struct map_session_data **sd, int64 *reg, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setreg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setreg_pre[hIndex].func;
- preHookFunc(sd, &reg, &val);
+ preHookFunc(&sd, &reg, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55525,11 +55525,11 @@ char* HP_pc_readregstr(struct map_session_data *sd, int64 reg) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_pc_readregstr_pre ) {
- char* (*preHookFunc) (struct map_session_data *sd, int64 *reg);
+ char* (*preHookFunc) (struct map_session_data **sd, int64 *reg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readregstr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_readregstr_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &reg);
+ retVal___ = preHookFunc(&sd, &reg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55551,11 +55551,11 @@ char* HP_pc_readregstr(struct map_session_data *sd, int64 reg) {
void HP_pc_setregstr(struct map_session_data *sd, int64 reg, const char *str) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_setregstr_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int64 *reg, const char *str);
+ void (*preHookFunc) (struct map_session_data **sd, int64 *reg, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setregstr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setregstr_pre[hIndex].func;
- preHookFunc(sd, &reg, str);
+ preHookFunc(&sd, &reg, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55578,11 +55578,11 @@ int HP_pc_readregistry(struct map_session_data *sd, int64 reg) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_readregistry_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int64 *reg);
+ int (*preHookFunc) (struct map_session_data **sd, int64 *reg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readregistry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_readregistry_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &reg);
+ retVal___ = preHookFunc(&sd, &reg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55605,11 +55605,11 @@ int HP_pc_setregistry(struct map_session_data *sd, int64 reg, int val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setregistry_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int64 *reg, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int64 *reg, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setregistry_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setregistry_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &reg, &val);
+ retVal___ = preHookFunc(&sd, &reg, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55632,11 +55632,11 @@ char* HP_pc_readregistry_str(struct map_session_data *sd, int64 reg) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_pc_readregistry_str_pre ) {
- char* (*preHookFunc) (struct map_session_data *sd, int64 *reg);
+ char* (*preHookFunc) (struct map_session_data **sd, int64 *reg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readregistry_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_readregistry_str_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &reg);
+ retVal___ = preHookFunc(&sd, &reg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55659,11 +55659,11 @@ int HP_pc_setregistry_str(struct map_session_data *sd, int64 reg, const char *va
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setregistry_str_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int64 *reg, const char *val);
+ int (*preHookFunc) (struct map_session_data **sd, int64 *reg, const char **val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setregistry_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setregistry_str_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &reg, val);
+ retVal___ = preHookFunc(&sd, &reg, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55686,11 +55686,11 @@ int HP_pc_addeventtimer(struct map_session_data *sd, int tick, const char *name)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_addeventtimer_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *tick, const char *name);
+ int (*preHookFunc) (struct map_session_data **sd, int *tick, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addeventtimer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_addeventtimer_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &tick, name);
+ retVal___ = preHookFunc(&sd, &tick, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55713,11 +55713,11 @@ int HP_pc_deleventtimer(struct map_session_data *sd, const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_deleventtimer_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *name);
+ int (*preHookFunc) (struct map_session_data **sd, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_deleventtimer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_deleventtimer_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name);
+ retVal___ = preHookFunc(&sd, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55740,11 +55740,11 @@ int HP_pc_cleareventtimer(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_cleareventtimer_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_cleareventtimer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_cleareventtimer_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55767,11 +55767,11 @@ int HP_pc_addeventtimercount(struct map_session_data *sd, const char *name, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_addeventtimercount_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *name, int *tick);
+ int (*preHookFunc) (struct map_session_data **sd, const char **name, int *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addeventtimercount_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_addeventtimercount_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name, &tick);
+ retVal___ = preHookFunc(&sd, &name, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55794,11 +55794,11 @@ int HP_pc_calc_pvprank(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_calc_pvprank_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_calc_pvprank_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_calc_pvprank_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55848,11 +55848,11 @@ int HP_pc_ismarried(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_ismarried_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_ismarried_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_ismarried_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55875,11 +55875,11 @@ int HP_pc_marriage(struct map_session_data *sd, struct map_session_data *dstsd)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_marriage_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct map_session_data *dstsd);
+ int (*preHookFunc) (struct map_session_data **sd, struct map_session_data **dstsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_marriage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_marriage_pre[hIndex].func;
- retVal___ = preHookFunc(sd, dstsd);
+ retVal___ = preHookFunc(&sd, &dstsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55902,11 +55902,11 @@ int HP_pc_divorce(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_divorce_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_divorce_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_divorce_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55929,11 +55929,11 @@ struct map_session_data* HP_pc_get_partner(struct map_session_data *sd) {
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_pc_get_partner_pre ) {
- struct map_session_data* (*preHookFunc) (struct map_session_data *sd);
+ struct map_session_data* (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_get_partner_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_get_partner_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55956,11 +55956,11 @@ struct map_session_data* HP_pc_get_father(struct map_session_data *sd) {
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_pc_get_father_pre ) {
- struct map_session_data* (*preHookFunc) (struct map_session_data *sd);
+ struct map_session_data* (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_get_father_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_get_father_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -55983,11 +55983,11 @@ struct map_session_data* HP_pc_get_mother(struct map_session_data *sd) {
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_pc_get_mother_pre ) {
- struct map_session_data* (*preHookFunc) (struct map_session_data *sd);
+ struct map_session_data* (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_get_mother_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_get_mother_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56010,11 +56010,11 @@ struct map_session_data* HP_pc_get_child(struct map_session_data *sd) {
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_pc_get_child_pre ) {
- struct map_session_data* (*preHookFunc) (struct map_session_data *sd);
+ struct map_session_data* (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_get_child_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_get_child_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56036,11 +56036,11 @@ struct map_session_data* HP_pc_get_child(struct map_session_data *sd) {
void HP_pc_bleeding(struct map_session_data *sd, unsigned int diff_tick) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_bleeding_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *diff_tick);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *diff_tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bleeding_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bleeding_pre[hIndex].func;
- preHookFunc(sd, &diff_tick);
+ preHookFunc(&sd, &diff_tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56062,11 +56062,11 @@ void HP_pc_bleeding(struct map_session_data *sd, unsigned int diff_tick) {
void HP_pc_regen(struct map_session_data *sd, unsigned int diff_tick) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_regen_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *diff_tick);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *diff_tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_regen_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_regen_pre[hIndex].func;
- preHookFunc(sd, &diff_tick);
+ preHookFunc(&sd, &diff_tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56088,11 +56088,11 @@ void HP_pc_regen(struct map_session_data *sd, unsigned int diff_tick) {
void HP_pc_setstand(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_setstand_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setstand_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setstand_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56115,11 +56115,11 @@ int HP_pc_candrop(struct map_session_data *sd, struct item *item) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_candrop_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct item *item);
+ int (*preHookFunc) (struct map_session_data **sd, struct item **item);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_candrop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_candrop_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item);
+ retVal___ = preHookFunc(&sd, &item);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56222,11 +56222,11 @@ const char* HP_pc_job_name(int class_) {
void HP_pc_setinvincibletimer(struct map_session_data *sd, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_setinvincibletimer_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *val);
+ void (*preHookFunc) (struct map_session_data **sd, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setinvincibletimer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setinvincibletimer_pre[hIndex].func;
- preHookFunc(sd, &val);
+ preHookFunc(&sd, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56248,11 +56248,11 @@ void HP_pc_setinvincibletimer(struct map_session_data *sd, int val) {
void HP_pc_delinvincibletimer(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_delinvincibletimer_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_delinvincibletimer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_delinvincibletimer_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56275,11 +56275,11 @@ int HP_pc_addspiritball(struct map_session_data *sd, int interval, int max) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_addspiritball_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *interval, int *max);
+ int (*preHookFunc) (struct map_session_data **sd, int *interval, int *max);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addspiritball_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_addspiritball_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &interval, &max);
+ retVal___ = preHookFunc(&sd, &interval, &max);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56302,11 +56302,11 @@ int HP_pc_delspiritball(struct map_session_data *sd, int count, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_delspiritball_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *count, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *count, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_delspiritball_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_delspiritball_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &count, &type);
+ retVal___ = preHookFunc(&sd, &count, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56329,11 +56329,11 @@ int HP_pc_getmaxspiritball(struct map_session_data *sd, int min) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_getmaxspiritball_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *min);
+ int (*preHookFunc) (struct map_session_data **sd, int *min);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getmaxspiritball_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_getmaxspiritball_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &min);
+ retVal___ = preHookFunc(&sd, &min);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56355,11 +56355,11 @@ int HP_pc_getmaxspiritball(struct map_session_data *sd, int min) {
void HP_pc_addfame(struct map_session_data *sd, int count) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_addfame_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *count);
+ void (*preHookFunc) (struct map_session_data **sd, int *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_addfame_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_addfame_pre[hIndex].func;
- preHookFunc(sd, &count);
+ preHookFunc(&sd, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56409,11 +56409,11 @@ int HP_pc_set_hate_mob(struct map_session_data *sd, int pos, struct block_list *
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_set_hate_mob_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *pos, struct block_list *bl);
+ int (*preHookFunc) (struct map_session_data **sd, int *pos, struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_set_hate_mob_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_set_hate_mob_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &pos, bl);
+ retVal___ = preHookFunc(&sd, &pos, &bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56516,11 +56516,11 @@ int HP_pc_map_night_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_pc_inventory_rentals(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_inventory_rentals_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_inventory_rentals_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_inventory_rentals_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56543,11 +56543,11 @@ int HP_pc_inventory_rental_clear(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_inventory_rental_clear_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_inventory_rental_clear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_inventory_rental_clear_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56569,11 +56569,11 @@ int HP_pc_inventory_rental_clear(struct map_session_data *sd) {
void HP_pc_inventory_rental_add(struct map_session_data *sd, int seconds) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_inventory_rental_add_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *seconds);
+ void (*preHookFunc) (struct map_session_data **sd, int *seconds);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_inventory_rental_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_inventory_rental_add_pre[hIndex].func;
- preHookFunc(sd, &seconds);
+ preHookFunc(&sd, &seconds);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56596,11 +56596,11 @@ int HP_pc_disguise(struct map_session_data *sd, int class_) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_disguise_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *class_);
+ int (*preHookFunc) (struct map_session_data **sd, int *class_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_disguise_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_disguise_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &class_);
+ retVal___ = preHookFunc(&sd, &class_);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56623,11 +56623,11 @@ bool HP_pc_isautolooting(struct map_session_data *sd, int nameid) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_isautolooting_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *nameid);
+ bool (*preHookFunc) (struct map_session_data **sd, int *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_isautolooting_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_isautolooting_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid);
+ retVal___ = preHookFunc(&sd, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56649,11 +56649,11 @@ bool HP_pc_isautolooting(struct map_session_data *sd, int nameid) {
void HP_pc_overheat(struct map_session_data *sd, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_overheat_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *val);
+ void (*preHookFunc) (struct map_session_data **sd, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_overheat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_overheat_pre[hIndex].func;
- preHookFunc(sd, &val);
+ preHookFunc(&sd, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56676,11 +56676,11 @@ int HP_pc_banding(struct map_session_data *sd, uint16 skill_lv) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_banding_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_lv);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_banding_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_banding_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_lv);
+ retVal___ = preHookFunc(&sd, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56702,11 +56702,11 @@ int HP_pc_banding(struct map_session_data *sd, uint16 skill_lv) {
void HP_pc_itemcd_do(struct map_session_data *sd, bool load) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_itemcd_do_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, bool *load);
+ void (*preHookFunc) (struct map_session_data **sd, bool *load);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_itemcd_do_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_itemcd_do_pre[hIndex].func;
- preHookFunc(sd, &load);
+ preHookFunc(&sd, &load);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56729,11 +56729,11 @@ int HP_pc_load_combo(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_load_combo_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_load_combo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_load_combo_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56755,11 +56755,11 @@ int HP_pc_load_combo(struct map_session_data *sd) {
void HP_pc_add_charm(struct map_session_data *sd, int interval, int max, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_add_charm_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *interval, int *max, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *interval, int *max, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_add_charm_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_add_charm_pre[hIndex].func;
- preHookFunc(sd, &interval, &max, &type);
+ preHookFunc(&sd, &interval, &max, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56781,11 +56781,11 @@ void HP_pc_add_charm(struct map_session_data *sd, int interval, int max, int typ
void HP_pc_del_charm(struct map_session_data *sd, int count, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_del_charm_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *count, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *count, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_del_charm_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_del_charm_pre[hIndex].func;
- preHookFunc(sd, &count, &type);
+ preHookFunc(&sd, &count, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56807,11 +56807,11 @@ void HP_pc_del_charm(struct map_session_data *sd, int count, int type) {
void HP_pc_baselevelchanged(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_baselevelchanged_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_baselevelchanged_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_baselevelchanged_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56861,11 +56861,11 @@ int HP_pc_calc_skillpoint(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_calc_skillpoint_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_calc_skillpoint_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_calc_skillpoint_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -56942,12 +56942,12 @@ int HP_pc_check_banding(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_check_banding_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_check_banding_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_pc_check_banding_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -57001,11 +57001,11 @@ int HP_pc_inventory_rental_end(int tid, int64 tick, int id, intptr_t data) {
void HP_pc_check_skilltree(struct map_session_data *sd, int skill_id) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_check_skilltree_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *skill_id);
+ void (*preHookFunc) (struct map_session_data **sd, int *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_check_skilltree_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_check_skilltree_pre[hIndex].func;
- preHookFunc(sd, &skill_id);
+ preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57028,11 +57028,11 @@ int HP_pc_bonus_autospell(struct s_autospell *spell, int max, short id, short lv
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus_autospell_pre ) {
- int (*preHookFunc) (struct s_autospell *spell, int *max, short *id, short *lv, short *rate, short *flag, short *card_id);
+ int (*preHookFunc) (struct s_autospell **spell, int *max, short *id, short *lv, short *rate, short *flag, short *card_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_autospell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus_autospell_pre[hIndex].func;
- retVal___ = preHookFunc(spell, &max, &id, &lv, &rate, &flag, &card_id);
+ retVal___ = preHookFunc(&spell, &max, &id, &lv, &rate, &flag, &card_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57055,11 +57055,11 @@ int HP_pc_bonus_autospell_onskill(struct s_autospell *spell, int max, short src_
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus_autospell_onskill_pre ) {
- int (*preHookFunc) (struct s_autospell *spell, int *max, short *src_skill, short *id, short *lv, short *rate, short *card_id);
+ int (*preHookFunc) (struct s_autospell **spell, int *max, short *src_skill, short *id, short *lv, short *rate, short *card_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_autospell_onskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus_autospell_onskill_pre[hIndex].func;
- retVal___ = preHookFunc(spell, &max, &src_skill, &id, &lv, &rate, &card_id);
+ retVal___ = preHookFunc(&spell, &max, &src_skill, &id, &lv, &rate, &card_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57082,11 +57082,11 @@ int HP_pc_bonus_addeff(struct s_addeffect *effect, int max, enum sc_type id, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus_addeff_pre ) {
- int (*preHookFunc) (struct s_addeffect *effect, int *max, enum sc_type *id, int16 *rate, int16 *arrow_rate, uint8 *flag, uint16 *duration);
+ int (*preHookFunc) (struct s_addeffect **effect, int *max, enum sc_type *id, int16 *rate, int16 *arrow_rate, uint8 *flag, uint16 *duration);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_addeff_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus_addeff_pre[hIndex].func;
- retVal___ = preHookFunc(effect, &max, &id, &rate, &arrow_rate, &flag, &duration);
+ retVal___ = preHookFunc(&effect, &max, &id, &rate, &arrow_rate, &flag, &duration);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57109,11 +57109,11 @@ int HP_pc_bonus_addeff_onskill(struct s_addeffectonskill *effect, int max, enum
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus_addeff_onskill_pre ) {
- int (*preHookFunc) (struct s_addeffectonskill *effect, int *max, enum sc_type *id, short *rate, short *skill_id, unsigned char *target);
+ int (*preHookFunc) (struct s_addeffectonskill **effect, int *max, enum sc_type *id, short *rate, short *skill_id, unsigned char *target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_addeff_onskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus_addeff_onskill_pre[hIndex].func;
- retVal___ = preHookFunc(effect, &max, &id, &rate, &skill_id, &target);
+ retVal___ = preHookFunc(&effect, &max, &id, &rate, &skill_id, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57136,11 +57136,11 @@ int HP_pc_bonus_item_drop(struct s_add_drop *drop, const short max, short id, sh
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_bonus_item_drop_pre ) {
- int (*preHookFunc) (struct s_add_drop *drop, const short *max, short *id, short *group, int *race, int *rate);
+ int (*preHookFunc) (struct s_add_drop **drop, const short *max, short *id, short *group, int *race, int *rate);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bonus_item_drop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bonus_item_drop_pre[hIndex].func;
- retVal___ = preHookFunc(drop, &max, &id, &group, &race, &rate);
+ retVal___ = preHookFunc(&drop, &max, &id, &group, &race, &rate);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57162,11 +57162,11 @@ int HP_pc_bonus_item_drop(struct s_add_drop *drop, const short max, short id, sh
void HP_pc_calcexp(struct map_session_data *sd, unsigned int *base_exp, unsigned int *job_exp, struct block_list *src) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_calcexp_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *base_exp, unsigned int *job_exp, struct block_list *src);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int **base_exp, unsigned int **job_exp, struct block_list **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_calcexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_calcexp_pre[hIndex].func;
- preHookFunc(sd, base_exp, job_exp, src);
+ preHookFunc(&sd, &base_exp, &job_exp, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57216,12 +57216,12 @@ int HP_pc_jobchange_killclone(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_jobchange_killclone_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_jobchange_killclone_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_pc_jobchange_killclone_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -57249,11 +57249,11 @@ int HP_pc_getstat(struct map_session_data *sd, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_getstat_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_getstat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_getstat_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57276,11 +57276,11 @@ int HP_pc_setstat(struct map_session_data *sd, int type, int val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_setstat_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type, int *val);
+ int (*preHookFunc) (struct map_session_data **sd, int *type, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_setstat_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_setstat_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type, &val);
+ retVal___ = preHookFunc(&sd, &type, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57330,12 +57330,12 @@ int HP_pc_daynight_timer_sub(struct map_session_data *sd, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_daynight_timer_sub_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, va_list ap);
+ int (*preHookFunc) (struct map_session_data **sd, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_daynight_timer_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_pc_daynight_timer_sub_pre[hIndex].func;
- retVal___ = preHookFunc(sd, ap___copy);
+ retVal___ = preHookFunc(&sd, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -57390,11 +57390,11 @@ bool HP_pc_readdb_levelpenalty(char *fields[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_readdb_levelpenalty_pre ) {
- bool (*preHookFunc) (char *fields[], int *columns, int *current);
+ bool (*preHookFunc) (char **fields[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_readdb_levelpenalty_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_readdb_levelpenalty_pre[hIndex].func;
- retVal___ = preHookFunc(fields, &columns, &current);
+ retVal___ = preHookFunc(&fields, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57523,11 +57523,11 @@ int HP_pc_isUseitem(struct map_session_data *sd, int n) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_isUseitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n);
+ int (*preHookFunc) (struct map_session_data **sd, int *n);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_isUseitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_isUseitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n);
+ retVal___ = preHookFunc(&sd, &n);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57550,12 +57550,12 @@ int HP_pc_show_steal(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_show_steal_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_show_steal_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_pc_show_steal_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -57583,11 +57583,11 @@ int HP_pc_checkcombo(struct map_session_data *sd, struct item_data *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_checkcombo_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct item_data *data);
+ int (*preHookFunc) (struct map_session_data **sd, struct item_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_checkcombo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_checkcombo_pre[hIndex].func;
- retVal___ = preHookFunc(sd, data);
+ retVal___ = preHookFunc(&sd, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57610,11 +57610,11 @@ int HP_pc_calcweapontype(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_calcweapontype_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_calcweapontype_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_calcweapontype_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57637,11 +57637,11 @@ int HP_pc_removecombo(struct map_session_data *sd, struct item_data *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_removecombo_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct item_data *data);
+ int (*preHookFunc) (struct map_session_data **sd, struct item_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_removecombo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_removecombo_pre[hIndex].func;
- retVal___ = preHookFunc(sd, data);
+ retVal___ = preHookFunc(&sd, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57663,11 +57663,11 @@ int HP_pc_removecombo(struct map_session_data *sd, struct item_data *data) {
void HP_pc_bank_deposit(struct map_session_data *sd, int money) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_bank_deposit_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *money);
+ void (*preHookFunc) (struct map_session_data **sd, int *money);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bank_deposit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bank_deposit_pre[hIndex].func;
- preHookFunc(sd, &money);
+ preHookFunc(&sd, &money);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57689,11 +57689,11 @@ void HP_pc_bank_deposit(struct map_session_data *sd, int money) {
void HP_pc_bank_withdraw(struct map_session_data *sd, int money) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_bank_withdraw_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *money);
+ void (*preHookFunc) (struct map_session_data **sd, int *money);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bank_withdraw_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bank_withdraw_pre[hIndex].func;
- preHookFunc(sd, &money);
+ preHookFunc(&sd, &money);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57715,11 +57715,11 @@ void HP_pc_bank_withdraw(struct map_session_data *sd, int money) {
void HP_pc_rental_expire(struct map_session_data *sd, int i) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_rental_expire_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *i);
+ void (*preHookFunc) (struct map_session_data **sd, int *i);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_rental_expire_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_rental_expire_pre[hIndex].func;
- preHookFunc(sd, &i);
+ preHookFunc(&sd, &i);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57741,11 +57741,11 @@ void HP_pc_rental_expire(struct map_session_data *sd, int i) {
void HP_pc_scdata_received(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_scdata_received_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_scdata_received_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_scdata_received_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57767,11 +57767,11 @@ void HP_pc_scdata_received(struct map_session_data *sd) {
void HP_pc_bound_clear(struct map_session_data *sd, enum e_item_bound_type type) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_bound_clear_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum e_item_bound_type *type);
+ void (*preHookFunc) (struct map_session_data **sd, enum e_item_bound_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_bound_clear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_bound_clear_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57847,11 +57847,11 @@ int HP_pc_global_expiration_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_pc_expire_check(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_expire_check_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_expire_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_expire_check_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57952,11 +57952,11 @@ void HP_pc_autotrade_load(void) {
void HP_pc_autotrade_update(struct map_session_data *sd, enum e_pc_autotrade_update_action action) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_autotrade_update_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum e_pc_autotrade_update_action *action);
+ void (*preHookFunc) (struct map_session_data **sd, enum e_pc_autotrade_update_action *action);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_autotrade_update_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_autotrade_update_pre[hIndex].func;
- preHookFunc(sd, &action);
+ preHookFunc(&sd, &action);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -57978,11 +57978,11 @@ void HP_pc_autotrade_update(struct map_session_data *sd, enum e_pc_autotrade_upd
void HP_pc_autotrade_start(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_autotrade_start_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_autotrade_start_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_autotrade_start_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58004,11 +58004,11 @@ void HP_pc_autotrade_start(struct map_session_data *sd) {
void HP_pc_autotrade_prepare(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_autotrade_prepare_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_autotrade_prepare_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_autotrade_prepare_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58030,11 +58030,11 @@ void HP_pc_autotrade_prepare(struct map_session_data *sd) {
void HP_pc_autotrade_populate(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_autotrade_populate_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_autotrade_populate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_autotrade_populate_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58057,12 +58057,12 @@ int HP_pc_autotrade_final(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_autotrade_final_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_autotrade_final_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_pc_autotrade_final_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -58090,11 +58090,11 @@ int HP_pc_check_job_name(const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_check_job_name_pre ) {
- int (*preHookFunc) (const char *name);
+ int (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_check_job_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_check_job_name_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58116,11 +58116,11 @@ int HP_pc_check_job_name(const char *name) {
void HP_pc_update_idle_time(struct map_session_data *sd, enum e_battle_config_idletime type) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_update_idle_time_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum e_battle_config_idletime *type);
+ void (*preHookFunc) (struct map_session_data **sd, enum e_battle_config_idletime *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_update_idle_time_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_update_idle_time_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58143,11 +58143,11 @@ int HP_pc_have_magnifier(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_have_magnifier_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_have_magnifier_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_have_magnifier_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58170,11 +58170,11 @@ bool HP_pc_process_chat_message(struct map_session_data *sd, const char *message
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_pc_process_chat_message_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const char *message);
+ bool (*preHookFunc) (struct map_session_data **sd, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_process_chat_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_process_chat_message_pre[hIndex].func;
- retVal___ = preHookFunc(sd, message);
+ retVal___ = preHookFunc(&sd, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58196,11 +58196,11 @@ bool HP_pc_process_chat_message(struct map_session_data *sd, const char *message
void HP_pc_check_supernovice_call(struct map_session_data *sd, const char *message) {
int hIndex = 0;
if( HPMHooks.count.HP_pc_check_supernovice_call_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *message);
+ void (*preHookFunc) (struct map_session_data **sd, const char **message);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_check_supernovice_call_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_check_supernovice_call_pre[hIndex].func;
- preHookFunc(sd, message);
+ preHookFunc(&sd, &message);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58224,11 +58224,11 @@ pcre* HP_libpcre_compile(const char *pattern, int options, const char **errptr,
int hIndex = 0;
pcre* retVal___ = NULL;
if( HPMHooks.count.HP_libpcre_compile_pre ) {
- pcre* (*preHookFunc) (const char *pattern, int *options, const char **errptr, int *erroffset, const unsigned char *tableptr);
+ pcre* (*preHookFunc) (const char **pattern, int *options, const char ***errptr, int **erroffset, const unsigned char **tableptr);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_compile_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libpcre_compile_pre[hIndex].func;
- retVal___ = preHookFunc(pattern, &options, errptr, erroffset, tableptr);
+ retVal___ = preHookFunc(&pattern, &options, &errptr, &erroffset, &tableptr);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58251,11 +58251,11 @@ pcre_extra* HP_libpcre_study(const pcre *code, int options, const char **errptr)
int hIndex = 0;
pcre_extra* retVal___ = NULL;
if( HPMHooks.count.HP_libpcre_study_pre ) {
- pcre_extra* (*preHookFunc) (const pcre *code, int *options, const char **errptr);
+ pcre_extra* (*preHookFunc) (const pcre **code, int *options, const char ***errptr);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_study_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libpcre_study_pre[hIndex].func;
- retVal___ = preHookFunc(code, &options, errptr);
+ retVal___ = preHookFunc(&code, &options, &errptr);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58278,11 +58278,11 @@ int HP_libpcre_exec(const pcre *code, const pcre_extra *extra, PCRE_SPTR subject
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libpcre_exec_pre ) {
- int (*preHookFunc) (const pcre *code, const pcre_extra *extra, PCRE_SPTR *subject, int *length, int *startoffset, int *options, int *ovector, int *ovecsize);
+ int (*preHookFunc) (const pcre **code, const pcre_extra **extra, PCRE_SPTR *subject, int *length, int *startoffset, int *options, int **ovector, int *ovecsize);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_exec_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libpcre_exec_pre[hIndex].func;
- retVal___ = preHookFunc(code, extra, &subject, &length, &startoffset, &options, ovector, &ovecsize);
+ retVal___ = preHookFunc(&code, &extra, &subject, &length, &startoffset, &options, &ovector, &ovecsize);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58304,11 +58304,11 @@ int HP_libpcre_exec(const pcre *code, const pcre_extra *extra, PCRE_SPTR subject
void HP_libpcre_free(void *ptr) {
int hIndex = 0;
if( HPMHooks.count.HP_libpcre_free_pre ) {
- void (*preHookFunc) (void *ptr);
+ void (*preHookFunc) (void **ptr);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_free_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libpcre_free_pre[hIndex].func;
- preHookFunc(ptr);
+ preHookFunc(&ptr);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58331,11 +58331,11 @@ int HP_libpcre_copy_substring(const char *subject, int *ovector, int stringcount
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libpcre_copy_substring_pre ) {
- int (*preHookFunc) (const char *subject, int *ovector, int *stringcount, int *stringnumber, char *buffer, int *buffersize);
+ int (*preHookFunc) (const char **subject, int **ovector, int *stringcount, int *stringnumber, char **buffer, int *buffersize);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_copy_substring_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libpcre_copy_substring_pre[hIndex].func;
- retVal___ = preHookFunc(subject, ovector, &stringcount, &stringnumber, buffer, &buffersize);
+ retVal___ = preHookFunc(&subject, &ovector, &stringcount, &stringnumber, &buffer, &buffersize);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58357,11 +58357,11 @@ int HP_libpcre_copy_substring(const char *subject, int *ovector, int stringcount
void HP_libpcre_free_substring(const char *stringptr) {
int hIndex = 0;
if( HPMHooks.count.HP_libpcre_free_substring_pre ) {
- void (*preHookFunc) (const char *stringptr);
+ void (*preHookFunc) (const char **stringptr);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_free_substring_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libpcre_free_substring_pre[hIndex].func;
- preHookFunc(stringptr);
+ preHookFunc(&stringptr);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58384,11 +58384,11 @@ int HP_libpcre_copy_named_substring(const pcre *code, const char *subject, int *
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libpcre_copy_named_substring_pre ) {
- int (*preHookFunc) (const pcre *code, const char *subject, int *ovector, int *stringcount, const char *stringname, char *buffer, int *buffersize);
+ int (*preHookFunc) (const pcre **code, const char **subject, int **ovector, int *stringcount, const char **stringname, char **buffer, int *buffersize);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_copy_named_substring_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libpcre_copy_named_substring_pre[hIndex].func;
- retVal___ = preHookFunc(code, subject, ovector, &stringcount, stringname, buffer, &buffersize);
+ retVal___ = preHookFunc(&code, &subject, &ovector, &stringcount, &stringname, &buffer, &buffersize);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58411,11 +58411,11 @@ int HP_libpcre_get_substring(const char *subject, int *ovector, int stringcount,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libpcre_get_substring_pre ) {
- int (*preHookFunc) (const char *subject, int *ovector, int *stringcount, int *stringnumber, const char **stringptr);
+ int (*preHookFunc) (const char **subject, int **ovector, int *stringcount, int *stringnumber, const char ***stringptr);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libpcre_get_substring_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libpcre_get_substring_pre[hIndex].func;
- retVal___ = preHookFunc(subject, ovector, &stringcount, &stringnumber, stringptr);
+ retVal___ = preHookFunc(&subject, &ovector, &stringcount, &stringnumber, &stringptr);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58493,11 +58493,11 @@ int HP_pet_hungry_val(struct pet_data *pd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_hungry_val_pre ) {
- int (*preHookFunc) (struct pet_data *pd);
+ int (*preHookFunc) (struct pet_data **pd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_hungry_val_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_hungry_val_pre[hIndex].func;
- retVal___ = preHookFunc(pd);
+ retVal___ = preHookFunc(&pd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58519,11 +58519,11 @@ int HP_pet_hungry_val(struct pet_data *pd) {
void HP_pet_set_intimate(struct pet_data *pd, int value) {
int hIndex = 0;
if( HPMHooks.count.HP_pet_set_intimate_pre ) {
- void (*preHookFunc) (struct pet_data *pd, int *value);
+ void (*preHookFunc) (struct pet_data **pd, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_set_intimate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_set_intimate_pre[hIndex].func;
- preHookFunc(pd, &value);
+ preHookFunc(&pd, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58546,11 +58546,11 @@ int HP_pet_create_egg(struct map_session_data *sd, int item_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_create_egg_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *item_id);
+ int (*preHookFunc) (struct map_session_data **sd, int *item_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_create_egg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_create_egg_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &item_id);
+ retVal___ = preHookFunc(&sd, &item_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58573,11 +58573,11 @@ int HP_pet_unlocktarget(struct pet_data *pd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_unlocktarget_pre ) {
- int (*preHookFunc) (struct pet_data *pd);
+ int (*preHookFunc) (struct pet_data **pd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_unlocktarget_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_unlocktarget_pre[hIndex].func;
- retVal___ = preHookFunc(pd);
+ retVal___ = preHookFunc(&pd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58600,11 +58600,11 @@ int HP_pet_attackskill(struct pet_data *pd, int target_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_attackskill_pre ) {
- int (*preHookFunc) (struct pet_data *pd, int *target_id);
+ int (*preHookFunc) (struct pet_data **pd, int *target_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_attackskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_attackskill_pre[hIndex].func;
- retVal___ = preHookFunc(pd, &target_id);
+ retVal___ = preHookFunc(&pd, &target_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58627,11 +58627,11 @@ int HP_pet_target_check(struct map_session_data *sd, struct block_list *bl, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_target_check_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct block_list *bl, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_target_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_target_check_pre[hIndex].func;
- retVal___ = preHookFunc(sd, bl, &type);
+ retVal___ = preHookFunc(&sd, &bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58654,11 +58654,11 @@ int HP_pet_sc_check(struct map_session_data *sd, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_sc_check_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_sc_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_sc_check_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58735,11 +58735,11 @@ int HP_pet_hungry_timer_delete(struct pet_data *pd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_hungry_timer_delete_pre ) {
- int (*preHookFunc) (struct pet_data *pd);
+ int (*preHookFunc) (struct pet_data **pd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_hungry_timer_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_hungry_timer_delete_pre[hIndex].func;
- retVal___ = preHookFunc(pd);
+ retVal___ = preHookFunc(&pd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58762,11 +58762,11 @@ int HP_pet_performance(struct map_session_data *sd, struct pet_data *pd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_performance_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct pet_data *pd);
+ int (*preHookFunc) (struct map_session_data **sd, struct pet_data **pd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_performance_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_performance_pre[hIndex].func;
- retVal___ = preHookFunc(sd, pd);
+ retVal___ = preHookFunc(&sd, &pd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58789,11 +58789,11 @@ int HP_pet_return_egg(struct map_session_data *sd, struct pet_data *pd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_return_egg_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct pet_data *pd);
+ int (*preHookFunc) (struct map_session_data **sd, struct pet_data **pd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_return_egg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_return_egg_pre[hIndex].func;
- retVal___ = preHookFunc(sd, pd);
+ retVal___ = preHookFunc(&sd, &pd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58816,11 +58816,11 @@ int HP_pet_data_init(struct map_session_data *sd, struct s_pet *petinfo) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_data_init_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct s_pet *petinfo);
+ int (*preHookFunc) (struct map_session_data **sd, struct s_pet **petinfo);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_data_init_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_data_init_pre[hIndex].func;
- retVal___ = preHookFunc(sd, petinfo);
+ retVal___ = preHookFunc(&sd, &petinfo);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58843,11 +58843,11 @@ int HP_pet_birth_process(struct map_session_data *sd, struct s_pet *petinfo) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_birth_process_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct s_pet *petinfo);
+ int (*preHookFunc) (struct map_session_data **sd, struct s_pet **petinfo);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_birth_process_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_birth_process_pre[hIndex].func;
- retVal___ = preHookFunc(sd, petinfo);
+ retVal___ = preHookFunc(&sd, &petinfo);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58870,11 +58870,11 @@ int HP_pet_recv_petdata(int account_id, struct s_pet *p, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_recv_petdata_pre ) {
- int (*preHookFunc) (int *account_id, struct s_pet *p, int *flag);
+ int (*preHookFunc) (int *account_id, struct s_pet **p, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_recv_petdata_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_recv_petdata_pre[hIndex].func;
- retVal___ = preHookFunc(&account_id, p, &flag);
+ retVal___ = preHookFunc(&account_id, &p, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58897,11 +58897,11 @@ int HP_pet_select_egg(struct map_session_data *sd, short egg_index) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_select_egg_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, short *egg_index);
+ int (*preHookFunc) (struct map_session_data **sd, short *egg_index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_select_egg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_select_egg_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &egg_index);
+ retVal___ = preHookFunc(&sd, &egg_index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58924,11 +58924,11 @@ int HP_pet_catch_process1(struct map_session_data *sd, int target_class) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_catch_process1_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *target_class);
+ int (*preHookFunc) (struct map_session_data **sd, int *target_class);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_catch_process1_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_catch_process1_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &target_class);
+ retVal___ = preHookFunc(&sd, &target_class);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -58951,11 +58951,11 @@ int HP_pet_catch_process2(struct map_session_data *sd, int target_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_catch_process2_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *target_id);
+ int (*preHookFunc) (struct map_session_data **sd, int *target_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_catch_process2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_catch_process2_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &target_id);
+ retVal___ = preHookFunc(&sd, &target_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59005,11 +59005,11 @@ int HP_pet_unequipitem(struct map_session_data *sd, struct pet_data *pd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_unequipitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct pet_data *pd);
+ int (*preHookFunc) (struct map_session_data **sd, struct pet_data **pd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_unequipitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_unequipitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, pd);
+ retVal___ = preHookFunc(&sd, &pd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59032,11 +59032,11 @@ int HP_pet_food(struct map_session_data *sd, struct pet_data *pd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_food_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct pet_data *pd);
+ int (*preHookFunc) (struct map_session_data **sd, struct pet_data **pd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_food_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_food_pre[hIndex].func;
- retVal___ = preHookFunc(sd, pd);
+ retVal___ = preHookFunc(&sd, &pd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59059,12 +59059,12 @@ int HP_pet_ai_sub_hard_lootsearch(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_ai_sub_hard_lootsearch_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_ai_sub_hard_lootsearch_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_pet_ai_sub_hard_lootsearch_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -59092,11 +59092,11 @@ int HP_pet_menu(struct map_session_data *sd, int menunum) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_menu_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *menunum);
+ int (*preHookFunc) (struct map_session_data **sd, int *menunum);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_menu_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_menu_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &menunum);
+ retVal___ = preHookFunc(&sd, &menunum);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59119,11 +59119,11 @@ int HP_pet_change_name(struct map_session_data *sd, const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_change_name_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *name);
+ int (*preHookFunc) (struct map_session_data **sd, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_change_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_change_name_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name);
+ retVal___ = preHookFunc(&sd, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59146,11 +59146,11 @@ int HP_pet_change_name_ack(struct map_session_data *sd, const char *name, int fl
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_change_name_ack_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const char *name, int *flag);
+ int (*preHookFunc) (struct map_session_data **sd, const char **name, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_change_name_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_change_name_ack_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name, &flag);
+ retVal___ = preHookFunc(&sd, &name, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59173,11 +59173,11 @@ int HP_pet_equipitem(struct map_session_data *sd, int index) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_equipitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *index);
+ int (*preHookFunc) (struct map_session_data **sd, int *index);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_equipitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_equipitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index);
+ retVal___ = preHookFunc(&sd, &index);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59200,11 +59200,11 @@ int HP_pet_randomwalk(struct pet_data *pd, int64 tick) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_randomwalk_pre ) {
- int (*preHookFunc) (struct pet_data *pd, int64 *tick);
+ int (*preHookFunc) (struct pet_data **pd, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_randomwalk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_randomwalk_pre[hIndex].func;
- retVal___ = preHookFunc(pd, &tick);
+ retVal___ = preHookFunc(&pd, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59227,11 +59227,11 @@ int HP_pet_ai_sub_hard(struct pet_data *pd, struct map_session_data *sd, int64 t
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_ai_sub_hard_pre ) {
- int (*preHookFunc) (struct pet_data *pd, struct map_session_data *sd, int64 *tick);
+ int (*preHookFunc) (struct pet_data **pd, struct map_session_data **sd, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_ai_sub_hard_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_ai_sub_hard_pre[hIndex].func;
- retVal___ = preHookFunc(pd, sd, &tick);
+ retVal___ = preHookFunc(&pd, &sd, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59254,12 +59254,12 @@ int HP_pet_ai_sub_foreachclient(struct map_session_data *sd, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_ai_sub_foreachclient_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, va_list ap);
+ int (*preHookFunc) (struct map_session_data **sd, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_ai_sub_foreachclient_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_pet_ai_sub_foreachclient_pre[hIndex].func;
- retVal___ = preHookFunc(sd, ap___copy);
+ retVal___ = preHookFunc(&sd, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -59341,11 +59341,11 @@ int HP_pet_lootitem_drop(struct pet_data *pd, struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pet_lootitem_drop_pre ) {
- int (*preHookFunc) (struct pet_data *pd, struct map_session_data *sd);
+ int (*preHookFunc) (struct pet_data **pd, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pet_lootitem_drop_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pet_lootitem_drop_pre[hIndex].func;
- retVal___ = preHookFunc(pd, sd);
+ retVal___ = preHookFunc(&pd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59582,11 +59582,11 @@ int HP_quest_pc_login(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_quest_pc_login_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_pc_login_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_quest_pc_login_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59609,11 +59609,11 @@ int HP_quest_add(struct map_session_data *sd, int quest_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_quest_add_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *quest_id);
+ int (*preHookFunc) (struct map_session_data **sd, int *quest_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_quest_add_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &quest_id);
+ retVal___ = preHookFunc(&sd, &quest_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59636,11 +59636,11 @@ int HP_quest_change(struct map_session_data *sd, int qid1, int qid2) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_quest_change_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *qid1, int *qid2);
+ int (*preHookFunc) (struct map_session_data **sd, int *qid1, int *qid2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_change_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_quest_change_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &qid1, &qid2);
+ retVal___ = preHookFunc(&sd, &qid1, &qid2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59663,11 +59663,11 @@ int HP_quest_delete(struct map_session_data *sd, int quest_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_quest_delete_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *quest_id);
+ int (*preHookFunc) (struct map_session_data **sd, int *quest_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_quest_delete_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &quest_id);
+ retVal___ = preHookFunc(&sd, &quest_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59690,12 +59690,12 @@ int HP_quest_update_objective_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_quest_update_objective_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_update_objective_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_quest_update_objective_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -59722,11 +59722,11 @@ int HP_quest_update_objective_sub(struct block_list *bl, va_list ap) {
void HP_quest_update_objective(struct map_session_data *sd, int mob_id) {
int hIndex = 0;
if( HPMHooks.count.HP_quest_update_objective_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *mob_id);
+ void (*preHookFunc) (struct map_session_data **sd, int *mob_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_update_objective_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_quest_update_objective_pre[hIndex].func;
- preHookFunc(sd, &mob_id);
+ preHookFunc(&sd, &mob_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59749,11 +59749,11 @@ int HP_quest_update_status(struct map_session_data *sd, int quest_id, enum quest
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_quest_update_status_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *quest_id, enum quest_state *qs);
+ int (*preHookFunc) (struct map_session_data **sd, int *quest_id, enum quest_state *qs);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_update_status_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_quest_update_status_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &quest_id, &qs);
+ retVal___ = preHookFunc(&sd, &quest_id, &qs);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59776,11 +59776,11 @@ int HP_quest_check(struct map_session_data *sd, int quest_id, enum quest_check_t
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_quest_check_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *quest_id, enum quest_check_type *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *quest_id, enum quest_check_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_quest_check_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &quest_id, &type);
+ retVal___ = preHookFunc(&sd, &quest_id, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59856,11 +59856,11 @@ struct quest_db* HP_quest_read_db_sub(struct config_setting_t *cs, int n, const
int hIndex = 0;
struct quest_db* retVal___ = NULL;
if( HPMHooks.count.HP_quest_read_db_sub_pre ) {
- struct quest_db* (*preHookFunc) (struct config_setting_t *cs, int *n, const char *source);
+ struct quest_db* (*preHookFunc) (struct config_setting_t **cs, int *n, const char **source);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_quest_read_db_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_quest_read_db_sub_pre[hIndex].func;
- retVal___ = preHookFunc(cs, &n, source);
+ retVal___ = preHookFunc(&cs, &n, &source);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59963,11 +59963,11 @@ struct script_code* HP_script_parse(const char *src, const char *file, int line,
int hIndex = 0;
struct script_code* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_pre ) {
- struct script_code* (*preHookFunc) (const char *src, const char *file, int *line, int *options, int *retval);
+ struct script_code* (*preHookFunc) (const char **src, const char **file, int *line, int *options, int **retval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_pre[hIndex].func;
- retVal___ = preHookFunc(src, file, &line, &options, retval);
+ retVal___ = preHookFunc(&src, &file, &line, &options, &retval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -59990,11 +59990,11 @@ bool HP_script_add_builtin(const struct script_function *buildin, bool override)
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_script_add_builtin_pre ) {
- bool (*preHookFunc) (const struct script_function *buildin, bool *override);
+ bool (*preHookFunc) (const struct script_function **buildin, bool *override);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_add_builtin_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_add_builtin_pre[hIndex].func;
- retVal___ = preHookFunc(buildin, &override);
+ retVal___ = preHookFunc(&buildin, &override);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60043,11 +60043,11 @@ const char* HP_script_parse_subexpr(const char *p, int limit) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_subexpr_pre ) {
- const char* (*preHookFunc) (const char *p, int *limit);
+ const char* (*preHookFunc) (const char **p, int *limit);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_subexpr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_subexpr_pre[hIndex].func;
- retVal___ = preHookFunc(p, &limit);
+ retVal___ = preHookFunc(&p, &limit);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60070,11 +60070,11 @@ const char* HP_script_skip_space(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_skip_space_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_skip_space_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_skip_space_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60096,11 +60096,11 @@ const char* HP_script_skip_space(const char *p) {
void HP_script_error(const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos) {
int hIndex = 0;
if( HPMHooks.count.HP_script_error_pre ) {
- void (*preHookFunc) (const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
+ void (*preHookFunc) (const char **src, const char **file, int *start_line, const char **error_msg, const char **error_pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_error_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_error_pre[hIndex].func;
- preHookFunc(src, file, &start_line, error_msg, error_pos);
+ preHookFunc(&src, &file, &start_line, &error_msg, &error_pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60122,11 +60122,11 @@ void HP_script_error(const char *src, const char *file, int start_line, const ch
void HP_script_warning(const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos) {
int hIndex = 0;
if( HPMHooks.count.HP_script_warning_pre ) {
- void (*preHookFunc) (const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
+ void (*preHookFunc) (const char **src, const char **file, int *start_line, const char **error_msg, const char **error_pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_warning_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_warning_pre[hIndex].func;
- preHookFunc(src, file, &start_line, error_msg, error_pos);
+ preHookFunc(&src, &file, &start_line, &error_msg, &error_pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60149,11 +60149,11 @@ bool HP_script_addScript(char *name, char *args, bool ( *func ) (struct script_s
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_script_addScript_pre ) {
- bool (*preHookFunc) (char *name, char *args, bool ( *func ) (struct script_state *st), bool *isDeprecated);
+ bool (*preHookFunc) (char **name, char **args, bool ( **func ) (struct script_state *st), bool *isDeprecated);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_addScript_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_addScript_pre[hIndex].func;
- retVal___ = preHookFunc(name, args, func, &isDeprecated);
+ retVal___ = preHookFunc(&name, &args, &func, &isDeprecated);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60176,11 +60176,11 @@ int HP_script_conv_num(struct script_state *st, struct script_data *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_conv_num_pre ) {
- int (*preHookFunc) (struct script_state *st, struct script_data *data);
+ int (*preHookFunc) (struct script_state **st, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_conv_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_conv_num_pre[hIndex].func;
- retVal___ = preHookFunc(st, data);
+ retVal___ = preHookFunc(&st, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60203,11 +60203,11 @@ const char* HP_script_conv_str(struct script_state *st, struct script_data *data
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_conv_str_pre ) {
- const char* (*preHookFunc) (struct script_state *st, struct script_data *data);
+ const char* (*preHookFunc) (struct script_state **st, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_conv_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_conv_str_pre[hIndex].func;
- retVal___ = preHookFunc(st, data);
+ retVal___ = preHookFunc(&st, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60230,11 +60230,11 @@ struct map_session_data* HP_script_rid2sd(struct script_state *st) {
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_rid2sd_pre ) {
- struct map_session_data* (*preHookFunc) (struct script_state *st);
+ struct map_session_data* (*preHookFunc) (struct script_state **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_rid2sd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_rid2sd_pre[hIndex].func;
- retVal___ = preHookFunc(st);
+ retVal___ = preHookFunc(&st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60257,11 +60257,11 @@ struct map_session_data* HP_script_id2sd(struct script_state *st, int account_id
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_id2sd_pre ) {
- struct map_session_data* (*preHookFunc) (struct script_state *st, int *account_id);
+ struct map_session_data* (*preHookFunc) (struct script_state **st, int *account_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_id2sd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_id2sd_pre[hIndex].func;
- retVal___ = preHookFunc(st, &account_id);
+ retVal___ = preHookFunc(&st, &account_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60284,11 +60284,11 @@ struct map_session_data* HP_script_charid2sd(struct script_state *st, int char_i
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_charid2sd_pre ) {
- struct map_session_data* (*preHookFunc) (struct script_state *st, int *char_id);
+ struct map_session_data* (*preHookFunc) (struct script_state **st, int *char_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_charid2sd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_charid2sd_pre[hIndex].func;
- retVal___ = preHookFunc(st, &char_id);
+ retVal___ = preHookFunc(&st, &char_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60311,11 +60311,11 @@ struct map_session_data* HP_script_nick2sd(struct script_state *st, const char *
int hIndex = 0;
struct map_session_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_nick2sd_pre ) {
- struct map_session_data* (*preHookFunc) (struct script_state *st, const char *name);
+ struct map_session_data* (*preHookFunc) (struct script_state **st, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_nick2sd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_nick2sd_pre[hIndex].func;
- retVal___ = preHookFunc(st, name);
+ retVal___ = preHookFunc(&st, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60337,11 +60337,11 @@ struct map_session_data* HP_script_nick2sd(struct script_state *st, const char *
void HP_script_detach_rid(struct script_state *st) {
int hIndex = 0;
if( HPMHooks.count.HP_script_detach_rid_pre ) {
- void (*preHookFunc) (struct script_state *st);
+ void (*preHookFunc) (struct script_state **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_detach_rid_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_detach_rid_pre[hIndex].func;
- preHookFunc(st);
+ preHookFunc(&st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60364,11 +60364,11 @@ struct script_data* HP_script_push_val(struct script_stack *stack, enum c_op typ
int hIndex = 0;
struct script_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_push_val_pre ) {
- struct script_data* (*preHookFunc) (struct script_stack *stack, enum c_op *type, int64 *val, struct reg_db *ref);
+ struct script_data* (*preHookFunc) (struct script_stack **stack, enum c_op *type, int64 *val, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_push_val_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_push_val_pre[hIndex].func;
- retVal___ = preHookFunc(stack, &type, &val, ref);
+ retVal___ = preHookFunc(&stack, &type, &val, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60391,11 +60391,11 @@ struct script_data* HP_script_get_val(struct script_state *st, struct script_dat
int hIndex = 0;
struct script_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_get_val_pre ) {
- struct script_data* (*preHookFunc) (struct script_state *st, struct script_data *data);
+ struct script_data* (*preHookFunc) (struct script_state **st, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val_pre[hIndex].func;
- retVal___ = preHookFunc(st, data);
+ retVal___ = preHookFunc(&st, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60418,11 +60418,11 @@ char* HP_script_get_val_ref_str(struct script_state *st, struct reg_db *n, struc
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_script_get_val_ref_str_pre ) {
- char* (*preHookFunc) (struct script_state *st, struct reg_db *n, struct script_data *data);
+ char* (*preHookFunc) (struct script_state **st, struct reg_db **n, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val_ref_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val_ref_str_pre[hIndex].func;
- retVal___ = preHookFunc(st, n, data);
+ retVal___ = preHookFunc(&st, &n, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60445,11 +60445,11 @@ char* HP_script_get_val_scope_str(struct script_state *st, struct reg_db *n, str
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_script_get_val_scope_str_pre ) {
- char* (*preHookFunc) (struct script_state *st, struct reg_db *n, struct script_data *data);
+ char* (*preHookFunc) (struct script_state **st, struct reg_db **n, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val_scope_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val_scope_str_pre[hIndex].func;
- retVal___ = preHookFunc(st, n, data);
+ retVal___ = preHookFunc(&st, &n, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60472,11 +60472,11 @@ char* HP_script_get_val_npc_str(struct script_state *st, struct reg_db *n, struc
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_script_get_val_npc_str_pre ) {
- char* (*preHookFunc) (struct script_state *st, struct reg_db *n, struct script_data *data);
+ char* (*preHookFunc) (struct script_state **st, struct reg_db **n, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val_npc_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val_npc_str_pre[hIndex].func;
- retVal___ = preHookFunc(st, n, data);
+ retVal___ = preHookFunc(&st, &n, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60499,11 +60499,11 @@ char* HP_script_get_val_instance_str(struct script_state *st, const char *name,
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_script_get_val_instance_str_pre ) {
- char* (*preHookFunc) (struct script_state *st, const char *name, struct script_data *data);
+ char* (*preHookFunc) (struct script_state **st, const char **name, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val_instance_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val_instance_str_pre[hIndex].func;
- retVal___ = preHookFunc(st, name, data);
+ retVal___ = preHookFunc(&st, &name, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60526,11 +60526,11 @@ int HP_script_get_val_ref_num(struct script_state *st, struct reg_db *n, struct
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_get_val_ref_num_pre ) {
- int (*preHookFunc) (struct script_state *st, struct reg_db *n, struct script_data *data);
+ int (*preHookFunc) (struct script_state **st, struct reg_db **n, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val_ref_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val_ref_num_pre[hIndex].func;
- retVal___ = preHookFunc(st, n, data);
+ retVal___ = preHookFunc(&st, &n, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60553,11 +60553,11 @@ int HP_script_get_val_scope_num(struct script_state *st, struct reg_db *n, struc
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_get_val_scope_num_pre ) {
- int (*preHookFunc) (struct script_state *st, struct reg_db *n, struct script_data *data);
+ int (*preHookFunc) (struct script_state **st, struct reg_db **n, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val_scope_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val_scope_num_pre[hIndex].func;
- retVal___ = preHookFunc(st, n, data);
+ retVal___ = preHookFunc(&st, &n, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60580,11 +60580,11 @@ int HP_script_get_val_npc_num(struct script_state *st, struct reg_db *n, struct
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_get_val_npc_num_pre ) {
- int (*preHookFunc) (struct script_state *st, struct reg_db *n, struct script_data *data);
+ int (*preHookFunc) (struct script_state **st, struct reg_db **n, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val_npc_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val_npc_num_pre[hIndex].func;
- retVal___ = preHookFunc(st, n, data);
+ retVal___ = preHookFunc(&st, &n, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60607,11 +60607,11 @@ int HP_script_get_val_instance_num(struct script_state *st, const char *name, st
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_get_val_instance_num_pre ) {
- int (*preHookFunc) (struct script_state *st, const char *name, struct script_data *data);
+ int (*preHookFunc) (struct script_state **st, const char **name, struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val_instance_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val_instance_num_pre[hIndex].func;
- retVal___ = preHookFunc(st, name, data);
+ retVal___ = preHookFunc(&st, &name, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60634,11 +60634,11 @@ const void* HP_script_get_val2(struct script_state *st, int64 uid, struct reg_db
int hIndex = 0;
const void* retVal___ = NULL;
if( HPMHooks.count.HP_script_get_val2_pre ) {
- const void* (*preHookFunc) (struct script_state *st, int64 *uid, struct reg_db *ref);
+ const void* (*preHookFunc) (struct script_state **st, int64 *uid, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_val2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_val2_pre[hIndex].func;
- retVal___ = preHookFunc(st, &uid, ref);
+ retVal___ = preHookFunc(&st, &uid, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60661,11 +60661,11 @@ struct script_data* HP_script_push_str(struct script_stack *stack, char *str) {
int hIndex = 0;
struct script_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_push_str_pre ) {
- struct script_data* (*preHookFunc) (struct script_stack *stack, char *str);
+ struct script_data* (*preHookFunc) (struct script_stack **stack, char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_push_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_push_str_pre[hIndex].func;
- retVal___ = preHookFunc(stack, str);
+ retVal___ = preHookFunc(&stack, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60688,11 +60688,11 @@ struct script_data* HP_script_push_conststr(struct script_stack *stack, const ch
int hIndex = 0;
struct script_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_push_conststr_pre ) {
- struct script_data* (*preHookFunc) (struct script_stack *stack, const char *str);
+ struct script_data* (*preHookFunc) (struct script_stack **stack, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_push_conststr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_push_conststr_pre[hIndex].func;
- retVal___ = preHookFunc(stack, str);
+ retVal___ = preHookFunc(&stack, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60715,11 +60715,11 @@ struct script_data* HP_script_push_copy(struct script_stack *stack, int pos) {
int hIndex = 0;
struct script_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_push_copy_pre ) {
- struct script_data* (*preHookFunc) (struct script_stack *stack, int *pos);
+ struct script_data* (*preHookFunc) (struct script_stack **stack, int *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_push_copy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_push_copy_pre[hIndex].func;
- retVal___ = preHookFunc(stack, &pos);
+ retVal___ = preHookFunc(&stack, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60741,11 +60741,11 @@ struct script_data* HP_script_push_copy(struct script_stack *stack, int pos) {
void HP_script_pop_stack(struct script_state *st, int start, int end) {
int hIndex = 0;
if( HPMHooks.count.HP_script_pop_stack_pre ) {
- void (*preHookFunc) (struct script_state *st, int *start, int *end);
+ void (*preHookFunc) (struct script_state **st, int *start, int *end);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_pop_stack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_pop_stack_pre[hIndex].func;
- preHookFunc(st, &start, &end);
+ preHookFunc(&st, &start, &end);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60767,11 +60767,11 @@ void HP_script_pop_stack(struct script_state *st, int start, int end) {
void HP_script_set_constant(const char *name, int value, bool is_parameter, bool is_deprecated) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_constant_pre ) {
- void (*preHookFunc) (const char *name, int *value, bool *is_parameter, bool *is_deprecated);
+ void (*preHookFunc) (const char **name, int *value, bool *is_parameter, bool *is_deprecated);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_constant_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_constant_pre[hIndex].func;
- preHookFunc(name, &value, &is_parameter, &is_deprecated);
+ preHookFunc(&name, &value, &is_parameter, &is_deprecated);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60793,11 +60793,11 @@ void HP_script_set_constant(const char *name, int value, bool is_parameter, bool
void HP_script_set_constant2(const char *name, int value, bool is_parameter, bool is_deprecated) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_constant2_pre ) {
- void (*preHookFunc) (const char *name, int *value, bool *is_parameter, bool *is_deprecated);
+ void (*preHookFunc) (const char **name, int *value, bool *is_parameter, bool *is_deprecated);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_constant2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_constant2_pre[hIndex].func;
- preHookFunc(name, &value, &is_parameter, &is_deprecated);
+ preHookFunc(&name, &value, &is_parameter, &is_deprecated);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60820,11 +60820,11 @@ bool HP_script_get_constant(const char *name, int *value) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_script_get_constant_pre ) {
- bool (*preHookFunc) (const char *name, int *value);
+ bool (*preHookFunc) (const char **name, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_constant_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_constant_pre[hIndex].func;
- retVal___ = preHookFunc(name, value);
+ retVal___ = preHookFunc(&name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60872,11 +60872,11 @@ void HP_script_label_add(int key, int pos) {
void HP_script_run(struct script_code *rootscript, int pos, int rid, int oid) {
int hIndex = 0;
if( HPMHooks.count.HP_script_run_pre ) {
- void (*preHookFunc) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+ void (*preHookFunc) (struct script_code **rootscript, int *pos, int *rid, int *oid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_run_pre[hIndex].func;
- preHookFunc(rootscript, &pos, &rid, &oid);
+ preHookFunc(&rootscript, &pos, &rid, &oid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60898,11 +60898,11 @@ void HP_script_run(struct script_code *rootscript, int pos, int rid, int oid) {
void HP_script_run_npc(struct script_code *rootscript, int pos, int rid, int oid) {
int hIndex = 0;
if( HPMHooks.count.HP_script_run_npc_pre ) {
- void (*preHookFunc) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+ void (*preHookFunc) (struct script_code **rootscript, int *pos, int *rid, int *oid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_npc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_run_npc_pre[hIndex].func;
- preHookFunc(rootscript, &pos, &rid, &oid);
+ preHookFunc(&rootscript, &pos, &rid, &oid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60924,11 +60924,11 @@ void HP_script_run_npc(struct script_code *rootscript, int pos, int rid, int oid
void HP_script_run_pet(struct script_code *rootscript, int pos, int rid, int oid) {
int hIndex = 0;
if( HPMHooks.count.HP_script_run_pet_pre ) {
- void (*preHookFunc) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+ void (*preHookFunc) (struct script_code **rootscript, int *pos, int *rid, int *oid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_pet_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_run_pet_pre[hIndex].func;
- preHookFunc(rootscript, &pos, &rid, &oid);
+ preHookFunc(&rootscript, &pos, &rid, &oid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -60950,11 +60950,11 @@ void HP_script_run_pet(struct script_code *rootscript, int pos, int rid, int oid
void HP_script_run_main(struct script_state *st) {
int hIndex = 0;
if( HPMHooks.count.HP_script_run_main_pre ) {
- void (*preHookFunc) (struct script_state *st);
+ void (*preHookFunc) (struct script_state **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_main_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_run_main_pre[hIndex].func;
- preHookFunc(st);
+ preHookFunc(&st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61004,11 +61004,11 @@ int HP_script_set_var(struct map_session_data *sd, char *name, void *val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_set_var_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, char *name, void *val);
+ int (*preHookFunc) (struct map_session_data **sd, char **name, void **val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_var_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_var_pre[hIndex].func;
- retVal___ = preHookFunc(sd, name, val);
+ retVal___ = preHookFunc(&sd, &name, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61030,11 +61030,11 @@ int HP_script_set_var(struct map_session_data *sd, char *name, void *val) {
void HP_script_stop_instances(struct script_code *code) {
int hIndex = 0;
if( HPMHooks.count.HP_script_stop_instances_pre ) {
- void (*preHookFunc) (struct script_code *code);
+ void (*preHookFunc) (struct script_code **code);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_stop_instances_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_stop_instances_pre[hIndex].func;
- preHookFunc(code);
+ preHookFunc(&code);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61056,11 +61056,11 @@ void HP_script_stop_instances(struct script_code *code) {
void HP_script_free_code(struct script_code *code) {
int hIndex = 0;
if( HPMHooks.count.HP_script_free_code_pre ) {
- void (*preHookFunc) (struct script_code *code);
+ void (*preHookFunc) (struct script_code **code);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_free_code_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_free_code_pre[hIndex].func;
- preHookFunc(code);
+ preHookFunc(&code);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61082,11 +61082,11 @@ void HP_script_free_code(struct script_code *code) {
void HP_script_free_vars(struct DBMap *var_storage) {
int hIndex = 0;
if( HPMHooks.count.HP_script_free_vars_pre ) {
- void (*preHookFunc) (struct DBMap *var_storage);
+ void (*preHookFunc) (struct DBMap **var_storage);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_free_vars_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_free_vars_pre[hIndex].func;
- preHookFunc(var_storage);
+ preHookFunc(&var_storage);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61109,11 +61109,11 @@ struct script_state* HP_script_alloc_state(struct script_code *rootscript, int p
int hIndex = 0;
struct script_state* retVal___ = NULL;
if( HPMHooks.count.HP_script_alloc_state_pre ) {
- struct script_state* (*preHookFunc) (struct script_code *rootscript, int *pos, int *rid, int *oid);
+ struct script_state* (*preHookFunc) (struct script_code **rootscript, int *pos, int *rid, int *oid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_alloc_state_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_alloc_state_pre[hIndex].func;
- retVal___ = preHookFunc(rootscript, &pos, &rid, &oid);
+ retVal___ = preHookFunc(&rootscript, &pos, &rid, &oid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61135,11 +61135,11 @@ struct script_state* HP_script_alloc_state(struct script_code *rootscript, int p
void HP_script_free_state(struct script_state *st) {
int hIndex = 0;
if( HPMHooks.count.HP_script_free_state_pre ) {
- void (*preHookFunc) (struct script_state *st);
+ void (*preHookFunc) (struct script_state **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_free_state_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_free_state_pre[hIndex].func;
- preHookFunc(st);
+ preHookFunc(&st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61161,11 +61161,11 @@ void HP_script_free_state(struct script_state *st) {
void HP_script_add_pending_ref(struct script_state *st, struct reg_db *ref) {
int hIndex = 0;
if( HPMHooks.count.HP_script_add_pending_ref_pre ) {
- void (*preHookFunc) (struct script_state *st, struct reg_db *ref);
+ void (*preHookFunc) (struct script_state **st, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_add_pending_ref_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_add_pending_ref_pre[hIndex].func;
- preHookFunc(st, ref);
+ preHookFunc(&st, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61187,11 +61187,11 @@ void HP_script_add_pending_ref(struct script_state *st, struct reg_db *ref) {
void HP_script_run_autobonus(const char *autobonus, int id, int pos) {
int hIndex = 0;
if( HPMHooks.count.HP_script_run_autobonus_pre ) {
- void (*preHookFunc) (const char *autobonus, int *id, int *pos);
+ void (*preHookFunc) (const char **autobonus, int *id, int *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_autobonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_run_autobonus_pre[hIndex].func;
- preHookFunc(autobonus, &id, &pos);
+ preHookFunc(&autobonus, &id, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61213,11 +61213,11 @@ void HP_script_run_autobonus(const char *autobonus, int id, int pos) {
void HP_script_cleararray_pc(struct map_session_data *sd, const char *varname, void *value) {
int hIndex = 0;
if( HPMHooks.count.HP_script_cleararray_pc_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *varname, void *value);
+ void (*preHookFunc) (struct map_session_data **sd, const char **varname, void **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_cleararray_pc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_cleararray_pc_pre[hIndex].func;
- preHookFunc(sd, varname, value);
+ preHookFunc(&sd, &varname, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61239,11 +61239,11 @@ void HP_script_cleararray_pc(struct map_session_data *sd, const char *varname, v
void HP_script_setarray_pc(struct map_session_data *sd, const char *varname, uint32 idx, void *value, int *refcache) {
int hIndex = 0;
if( HPMHooks.count.HP_script_setarray_pc_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *varname, uint32 *idx, void *value, int *refcache);
+ void (*preHookFunc) (struct map_session_data **sd, const char **varname, uint32 *idx, void **value, int **refcache);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_setarray_pc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_setarray_pc_pre[hIndex].func;
- preHookFunc(sd, varname, &idx, value, refcache);
+ preHookFunc(&sd, &varname, &idx, &value, &refcache);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61266,11 +61266,11 @@ int HP_script_config_read(char *cfgName) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_config_read_pre ) {
- int (*preHookFunc) (char *cfgName);
+ int (*preHookFunc) (char **cfgName);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_config_read_pre[hIndex].func;
- retVal___ = preHookFunc(cfgName);
+ retVal___ = preHookFunc(&cfgName);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61293,11 +61293,11 @@ int HP_script_add_str(const char *p) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_add_str_pre ) {
- int (*preHookFunc) (const char *p);
+ int (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_add_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_add_str_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61347,11 +61347,11 @@ int HP_script_search_str(const char *p) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_search_str_pre ) {
- int (*preHookFunc) (const char *p);
+ int (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_search_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_search_str_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61373,11 +61373,11 @@ int HP_script_search_str(const char *p) {
void HP_script_setd_sub(struct script_state *st, struct map_session_data *sd, const char *varname, int elem, const void *value, struct reg_db *ref) {
int hIndex = 0;
if( HPMHooks.count.HP_script_setd_sub_pre ) {
- void (*preHookFunc) (struct script_state *st, struct map_session_data *sd, const char *varname, int *elem, const void *value, struct reg_db *ref);
+ void (*preHookFunc) (struct script_state **st, struct map_session_data **sd, const char **varname, int *elem, const void **value, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_setd_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_setd_sub_pre[hIndex].func;
- preHookFunc(st, sd, varname, &elem, value, ref);
+ preHookFunc(&st, &sd, &varname, &elem, &value, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61399,11 +61399,11 @@ void HP_script_setd_sub(struct script_state *st, struct map_session_data *sd, co
void HP_script_attach_state(struct script_state *st) {
int hIndex = 0;
if( HPMHooks.count.HP_script_attach_state_pre ) {
- void (*preHookFunc) (struct script_state *st);
+ void (*preHookFunc) (struct script_state **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_attach_state_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_attach_state_pre[hIndex].func;
- preHookFunc(st);
+ preHookFunc(&st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61588,11 +61588,11 @@ const char* HP_script_parse_curly_close(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_curly_close_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_curly_close_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_curly_close_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61615,11 +61615,11 @@ const char* HP_script_parse_syntax_close(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_syntax_close_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_syntax_close_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_syntax_close_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61642,11 +61642,11 @@ const char* HP_script_parse_syntax_close_sub(const char *p, int *flag) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_syntax_close_sub_pre ) {
- const char* (*preHookFunc) (const char *p, int *flag);
+ const char* (*preHookFunc) (const char **p, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_syntax_close_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_syntax_close_sub_pre[hIndex].func;
- retVal___ = preHookFunc(p, flag);
+ retVal___ = preHookFunc(&p, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61669,11 +61669,11 @@ const char* HP_script_parse_syntax(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_syntax_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_syntax_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_syntax_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61696,11 +61696,11 @@ c_op HP_script_get_com(unsigned char *scriptbuf, int *pos) {
int hIndex = 0;
c_op retVal___ = C_NOP;
if( HPMHooks.count.HP_script_get_com_pre ) {
- c_op (*preHookFunc) (unsigned char *scriptbuf, int *pos);
+ c_op (*preHookFunc) (unsigned char **scriptbuf, int **pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_com_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_com_pre[hIndex].func;
- retVal___ = preHookFunc(scriptbuf, pos);
+ retVal___ = preHookFunc(&scriptbuf, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61723,11 +61723,11 @@ int HP_script_get_num(unsigned char *scriptbuf, int *pos) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_get_num_pre ) {
- int (*preHookFunc) (unsigned char *scriptbuf, int *pos);
+ int (*preHookFunc) (unsigned char **scriptbuf, int **pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_num_pre[hIndex].func;
- retVal___ = preHookFunc(scriptbuf, pos);
+ retVal___ = preHookFunc(&scriptbuf, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61776,11 +61776,11 @@ const char* HP_script_op2name(int op) {
void HP_script_reportsrc(struct script_state *st) {
int hIndex = 0;
if( HPMHooks.count.HP_script_reportsrc_pre ) {
- void (*preHookFunc) (struct script_state *st);
+ void (*preHookFunc) (struct script_state **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_reportsrc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_reportsrc_pre[hIndex].func;
- preHookFunc(st);
+ preHookFunc(&st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61802,11 +61802,11 @@ void HP_script_reportsrc(struct script_state *st) {
void HP_script_reportdata(struct script_data *data) {
int hIndex = 0;
if( HPMHooks.count.HP_script_reportdata_pre ) {
- void (*preHookFunc) (struct script_data *data);
+ void (*preHookFunc) (struct script_data **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_reportdata_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_reportdata_pre[hIndex].func;
- preHookFunc(data);
+ preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61828,11 +61828,11 @@ void HP_script_reportdata(struct script_data *data) {
void HP_script_reportfunc(struct script_state *st) {
int hIndex = 0;
if( HPMHooks.count.HP_script_reportfunc_pre ) {
- void (*preHookFunc) (struct script_state *st);
+ void (*preHookFunc) (struct script_state **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_reportfunc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_reportfunc_pre[hIndex].func;
- preHookFunc(st);
+ preHookFunc(&st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61854,11 +61854,11 @@ void HP_script_reportfunc(struct script_state *st) {
void HP_script_disp_warning_message(const char *mes, const char *pos) {
int hIndex = 0;
if( HPMHooks.count.HP_script_disp_warning_message_pre ) {
- void (*preHookFunc) (const char *mes, const char *pos);
+ void (*preHookFunc) (const char **mes, const char **pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_disp_warning_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_disp_warning_message_pre[hIndex].func;
- preHookFunc(mes, pos);
+ preHookFunc(&mes, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61880,11 +61880,11 @@ void HP_script_disp_warning_message(const char *mes, const char *pos) {
void HP_script_check_event(struct script_state *st, const char *evt) {
int hIndex = 0;
if( HPMHooks.count.HP_script_check_event_pre ) {
- void (*preHookFunc) (struct script_state *st, const char *evt);
+ void (*preHookFunc) (struct script_state **st, const char **evt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_check_event_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_check_event_pre[hIndex].func;
- preHookFunc(st, evt);
+ preHookFunc(&st, &evt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -61907,11 +61907,11 @@ unsigned int HP_script_calc_hash(const char *p) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_script_calc_hash_pre ) {
- unsigned int (*preHookFunc) (const char *p);
+ unsigned int (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_calc_hash_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_calc_hash_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62037,11 +62037,11 @@ void HP_script_addl(int l) {
void HP_script_set_label(int l, int pos, const char *script_pos) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_label_pre ) {
- void (*preHookFunc) (int *l, int *pos, const char *script_pos);
+ void (*preHookFunc) (int *l, int *pos, const char **script_pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_label_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_label_pre[hIndex].func;
- preHookFunc(&l, &pos, script_pos);
+ preHookFunc(&l, &pos, &script_pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62064,11 +62064,11 @@ const char* HP_script_skip_word(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_skip_word_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_skip_word_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_skip_word_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62091,11 +62091,11 @@ int HP_script_add_word(const char *p) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_add_word_pre ) {
- int (*preHookFunc) (const char *p);
+ int (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_add_word_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_add_word_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62118,11 +62118,11 @@ const char* HP_script_parse_callfunc(const char *p, int require_paren, int is_cu
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_callfunc_pre ) {
- const char* (*preHookFunc) (const char *p, int *require_paren, int *is_custom);
+ const char* (*preHookFunc) (const char **p, int *require_paren, int *is_custom);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_callfunc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_callfunc_pre[hIndex].func;
- retVal___ = preHookFunc(p, &require_paren, &is_custom);
+ retVal___ = preHookFunc(&p, &require_paren, &is_custom);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62144,11 +62144,11 @@ const char* HP_script_parse_callfunc(const char *p, int require_paren, int is_cu
void HP_script_parse_nextline(bool first, const char *p) {
int hIndex = 0;
if( HPMHooks.count.HP_script_parse_nextline_pre ) {
- void (*preHookFunc) (bool *first, const char *p);
+ void (*preHookFunc) (bool *first, const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_nextline_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_nextline_pre[hIndex].func;
- preHookFunc(&first, p);
+ preHookFunc(&first, &p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62171,11 +62171,11 @@ const char* HP_script_parse_variable(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_variable_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_variable_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_variable_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62198,11 +62198,11 @@ const char* HP_script_parse_simpleexpr(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_simpleexpr_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_simpleexpr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_simpleexpr_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62225,11 +62225,11 @@ const char* HP_script_parse_expr(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_expr_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_expr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_expr_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62252,11 +62252,11 @@ const char* HP_script_parse_line(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_parse_line_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_parse_line_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_parse_line_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62304,11 +62304,11 @@ void HP_script_read_constdb(void) {
void HP_script_constdb_comment(const char *comment) {
int hIndex = 0;
if( HPMHooks.count.HP_script_constdb_comment_pre ) {
- void (*preHookFunc) (const char *comment);
+ void (*preHookFunc) (const char **comment);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_constdb_comment_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_constdb_comment_pre[hIndex].func;
- preHookFunc(comment);
+ preHookFunc(&comment);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62357,11 +62357,11 @@ const char* HP_script_print_line(StringBuf *buf, const char *p, const char *mark
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_print_line_pre ) {
- const char* (*preHookFunc) (StringBuf *buf, const char *p, const char *mark, int *line);
+ const char* (*preHookFunc) (StringBuf **buf, const char **p, const char **mark, int *line);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_print_line_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_print_line_pre[hIndex].func;
- retVal___ = preHookFunc(buf, p, mark, &line);
+ retVal___ = preHookFunc(&buf, &p, &mark, &line);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62383,11 +62383,11 @@ const char* HP_script_print_line(StringBuf *buf, const char *p, const char *mark
void HP_script_errorwarning_sub(StringBuf *buf, const char *src, const char *file, int start_line, const char *error_msg, const char *error_pos) {
int hIndex = 0;
if( HPMHooks.count.HP_script_errorwarning_sub_pre ) {
- void (*preHookFunc) (StringBuf *buf, const char *src, const char *file, int *start_line, const char *error_msg, const char *error_pos);
+ void (*preHookFunc) (StringBuf **buf, const char **src, const char **file, int *start_line, const char **error_msg, const char **error_pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_errorwarning_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_errorwarning_sub_pre[hIndex].func;
- preHookFunc(buf, src, file, &start_line, error_msg, error_pos);
+ preHookFunc(&buf, &src, &file, &start_line, &error_msg, &error_pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62410,11 +62410,11 @@ int HP_script_set_reg(struct script_state *st, struct map_session_data *sd, int6
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_set_reg_pre ) {
- int (*preHookFunc) (struct script_state *st, struct map_session_data *sd, int64 *num, const char *name, const void *value, struct reg_db *ref);
+ int (*preHookFunc) (struct script_state **st, struct map_session_data **sd, int64 *num, const char **name, const void **value, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_reg_pre[hIndex].func;
- retVal___ = preHookFunc(st, sd, &num, name, value, ref);
+ retVal___ = preHookFunc(&st, &sd, &num, &name, &value, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62436,11 +62436,11 @@ int HP_script_set_reg(struct script_state *st, struct map_session_data *sd, int6
void HP_script_set_reg_ref_str(struct script_state *st, struct reg_db *n, int64 num, const char *name, const char *str) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_reg_ref_str_pre ) {
- void (*preHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
+ void (*preHookFunc) (struct script_state **st, struct reg_db **n, int64 *num, const char **name, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_ref_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_reg_ref_str_pre[hIndex].func;
- preHookFunc(st, n, &num, name, str);
+ preHookFunc(&st, &n, &num, &name, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62462,11 +62462,11 @@ void HP_script_set_reg_ref_str(struct script_state *st, struct reg_db *n, int64
void HP_script_set_reg_scope_str(struct script_state *st, struct reg_db *n, int64 num, const char *name, const char *str) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_reg_scope_str_pre ) {
- void (*preHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
+ void (*preHookFunc) (struct script_state **st, struct reg_db **n, int64 *num, const char **name, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_scope_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_reg_scope_str_pre[hIndex].func;
- preHookFunc(st, n, &num, name, str);
+ preHookFunc(&st, &n, &num, &name, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62488,11 +62488,11 @@ void HP_script_set_reg_scope_str(struct script_state *st, struct reg_db *n, int6
void HP_script_set_reg_npc_str(struct script_state *st, struct reg_db *n, int64 num, const char *name, const char *str) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_reg_npc_str_pre ) {
- void (*preHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, const char *str);
+ void (*preHookFunc) (struct script_state **st, struct reg_db **n, int64 *num, const char **name, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_npc_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_reg_npc_str_pre[hIndex].func;
- preHookFunc(st, n, &num, name, str);
+ preHookFunc(&st, &n, &num, &name, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62514,11 +62514,11 @@ void HP_script_set_reg_npc_str(struct script_state *st, struct reg_db *n, int64
void HP_script_set_reg_instance_str(struct script_state *st, int64 num, const char *name, const char *str) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_reg_instance_str_pre ) {
- void (*preHookFunc) (struct script_state *st, int64 *num, const char *name, const char *str);
+ void (*preHookFunc) (struct script_state **st, int64 *num, const char **name, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_instance_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_reg_instance_str_pre[hIndex].func;
- preHookFunc(st, &num, name, str);
+ preHookFunc(&st, &num, &name, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62540,11 +62540,11 @@ void HP_script_set_reg_instance_str(struct script_state *st, int64 num, const ch
void HP_script_set_reg_ref_num(struct script_state *st, struct reg_db *n, int64 num, const char *name, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_reg_ref_num_pre ) {
- void (*preHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
+ void (*preHookFunc) (struct script_state **st, struct reg_db **n, int64 *num, const char **name, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_ref_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_reg_ref_num_pre[hIndex].func;
- preHookFunc(st, n, &num, name, &val);
+ preHookFunc(&st, &n, &num, &name, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62566,11 +62566,11 @@ void HP_script_set_reg_ref_num(struct script_state *st, struct reg_db *n, int64
void HP_script_set_reg_scope_num(struct script_state *st, struct reg_db *n, int64 num, const char *name, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_reg_scope_num_pre ) {
- void (*preHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
+ void (*preHookFunc) (struct script_state **st, struct reg_db **n, int64 *num, const char **name, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_scope_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_reg_scope_num_pre[hIndex].func;
- preHookFunc(st, n, &num, name, &val);
+ preHookFunc(&st, &n, &num, &name, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62592,11 +62592,11 @@ void HP_script_set_reg_scope_num(struct script_state *st, struct reg_db *n, int6
void HP_script_set_reg_npc_num(struct script_state *st, struct reg_db *n, int64 num, const char *name, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_reg_npc_num_pre ) {
- void (*preHookFunc) (struct script_state *st, struct reg_db *n, int64 *num, const char *name, int *val);
+ void (*preHookFunc) (struct script_state **st, struct reg_db **n, int64 *num, const char **name, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_npc_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_reg_npc_num_pre[hIndex].func;
- preHookFunc(st, n, &num, name, &val);
+ preHookFunc(&st, &n, &num, &name, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62618,11 +62618,11 @@ void HP_script_set_reg_npc_num(struct script_state *st, struct reg_db *n, int64
void HP_script_set_reg_instance_num(struct script_state *st, int64 num, const char *name, int val) {
int hIndex = 0;
if( HPMHooks.count.HP_script_set_reg_instance_num_pre ) {
- void (*preHookFunc) (struct script_state *st, int64 *num, const char *name, int *val);
+ void (*preHookFunc) (struct script_state **st, int64 *num, const char **name, int *val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_reg_instance_num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_set_reg_instance_num_pre[hIndex].func;
- preHookFunc(st, &num, name, &val);
+ preHookFunc(&st, &num, &name, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62644,11 +62644,11 @@ void HP_script_set_reg_instance_num(struct script_state *st, int64 num, const ch
void HP_script_stack_expand(struct script_stack *stack) {
int hIndex = 0;
if( HPMHooks.count.HP_script_stack_expand_pre ) {
- void (*preHookFunc) (struct script_stack *stack);
+ void (*preHookFunc) (struct script_stack **stack);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_stack_expand_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_stack_expand_pre[hIndex].func;
- preHookFunc(stack);
+ preHookFunc(&stack);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62671,11 +62671,11 @@ struct script_data* HP_script_push_retinfo(struct script_stack *stack, struct sc
int hIndex = 0;
struct script_data* retVal___ = NULL;
if( HPMHooks.count.HP_script_push_retinfo_pre ) {
- struct script_data* (*preHookFunc) (struct script_stack *stack, struct script_retinfo *ri, struct reg_db *ref);
+ struct script_data* (*preHookFunc) (struct script_stack **stack, struct script_retinfo **ri, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_push_retinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_push_retinfo_pre[hIndex].func;
- retVal___ = preHookFunc(stack, ri, ref);
+ retVal___ = preHookFunc(&stack, &ri, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62697,11 +62697,11 @@ struct script_data* HP_script_push_retinfo(struct script_stack *stack, struct sc
void HP_script_op_3(struct script_state *st, int op) {
int hIndex = 0;
if( HPMHooks.count.HP_script_op_3_pre ) {
- void (*preHookFunc) (struct script_state *st, int *op);
+ void (*preHookFunc) (struct script_state **st, int *op);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_3_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_op_3_pre[hIndex].func;
- preHookFunc(st, &op);
+ preHookFunc(&st, &op);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62723,11 +62723,11 @@ void HP_script_op_3(struct script_state *st, int op) {
void HP_script_op_2str(struct script_state *st, int op, const char *s1, const char *s2) {
int hIndex = 0;
if( HPMHooks.count.HP_script_op_2str_pre ) {
- void (*preHookFunc) (struct script_state *st, int *op, const char *s1, const char *s2);
+ void (*preHookFunc) (struct script_state **st, int *op, const char **s1, const char **s2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_2str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_op_2str_pre[hIndex].func;
- preHookFunc(st, &op, s1, s2);
+ preHookFunc(&st, &op, &s1, &s2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62749,11 +62749,11 @@ void HP_script_op_2str(struct script_state *st, int op, const char *s1, const ch
void HP_script_op_2num(struct script_state *st, int op, int i1, int i2) {
int hIndex = 0;
if( HPMHooks.count.HP_script_op_2num_pre ) {
- void (*preHookFunc) (struct script_state *st, int *op, int *i1, int *i2);
+ void (*preHookFunc) (struct script_state **st, int *op, int *i1, int *i2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_2num_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_op_2num_pre[hIndex].func;
- preHookFunc(st, &op, &i1, &i2);
+ preHookFunc(&st, &op, &i1, &i2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62775,11 +62775,11 @@ void HP_script_op_2num(struct script_state *st, int op, int i1, int i2) {
void HP_script_op_2(struct script_state *st, int op) {
int hIndex = 0;
if( HPMHooks.count.HP_script_op_2_pre ) {
- void (*preHookFunc) (struct script_state *st, int *op);
+ void (*preHookFunc) (struct script_state **st, int *op);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_op_2_pre[hIndex].func;
- preHookFunc(st, &op);
+ preHookFunc(&st, &op);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62801,11 +62801,11 @@ void HP_script_op_2(struct script_state *st, int op) {
void HP_script_op_1(struct script_state *st, int op) {
int hIndex = 0;
if( HPMHooks.count.HP_script_op_1_pre ) {
- void (*preHookFunc) (struct script_state *st, int *op);
+ void (*preHookFunc) (struct script_state **st, int *op);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_op_1_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_op_1_pre[hIndex].func;
- preHookFunc(st, &op);
+ preHookFunc(&st, &op);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62827,11 +62827,11 @@ void HP_script_op_1(struct script_state *st, int op) {
void HP_script_check_buildin_argtype(struct script_state *st, int func) {
int hIndex = 0;
if( HPMHooks.count.HP_script_check_buildin_argtype_pre ) {
- void (*preHookFunc) (struct script_state *st, int *func);
+ void (*preHookFunc) (struct script_state **st, int *func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_check_buildin_argtype_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_check_buildin_argtype_pre[hIndex].func;
- preHookFunc(st, &func);
+ preHookFunc(&st, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62853,11 +62853,11 @@ void HP_script_check_buildin_argtype(struct script_state *st, int func) {
void HP_script_detach_state(struct script_state *st, bool dequeue_event) {
int hIndex = 0;
if( HPMHooks.count.HP_script_detach_state_pre ) {
- void (*preHookFunc) (struct script_state *st, bool *dequeue_event);
+ void (*preHookFunc) (struct script_state **st, bool *dequeue_event);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_detach_state_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_detach_state_pre[hIndex].func;
- preHookFunc(st, &dequeue_event);
+ preHookFunc(&st, &dequeue_event);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62880,12 +62880,12 @@ int HP_script_db_free_code_sub(union DBKey key, struct DBData *data, va_list ap)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_db_free_code_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_db_free_code_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_db_free_code_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -62912,11 +62912,11 @@ int HP_script_db_free_code_sub(union DBKey key, struct DBData *data, va_list ap)
void HP_script_add_autobonus(const char *autobonus) {
int hIndex = 0;
if( HPMHooks.count.HP_script_add_autobonus_pre ) {
- void (*preHookFunc) (const char *autobonus);
+ void (*preHookFunc) (const char **autobonus);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_add_autobonus_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_add_autobonus_pre[hIndex].func;
- preHookFunc(autobonus);
+ preHookFunc(&autobonus);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62939,11 +62939,11 @@ int HP_script_menu_countoptions(const char *str, int max_count, int *total) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_menu_countoptions_pre ) {
- int (*preHookFunc) (const char *str, int *max_count, int *total);
+ int (*preHookFunc) (const char **str, int *max_count, int **total);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_menu_countoptions_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_menu_countoptions_pre[hIndex].func;
- retVal___ = preHookFunc(str, &max_count, total);
+ retVal___ = preHookFunc(&str, &max_count, &total);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -62966,12 +62966,12 @@ int HP_script_buildin_areawarp_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_areawarp_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_areawarp_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_areawarp_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -62999,12 +62999,12 @@ int HP_script_buildin_areapercentheal_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_areapercentheal_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_areapercentheal_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_areapercentheal_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63031,11 +63031,11 @@ int HP_script_buildin_areapercentheal_sub(struct block_list *bl, va_list ap) {
void HP_script_buildin_delitem_delete(struct map_session_data *sd, int idx, int *amount, bool delete_items) {
int hIndex = 0;
if( HPMHooks.count.HP_script_buildin_delitem_delete_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *idx, int *amount, bool *delete_items);
+ void (*preHookFunc) (struct map_session_data **sd, int *idx, int **amount, bool *delete_items);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_delitem_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_buildin_delitem_delete_pre[hIndex].func;
- preHookFunc(sd, &idx, amount, &delete_items);
+ preHookFunc(&sd, &idx, &amount, &delete_items);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63058,11 +63058,11 @@ bool HP_script_buildin_delitem_search(struct map_session_data *sd, struct item *
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_script_buildin_delitem_search_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, struct item *it, bool *exact_match);
+ bool (*preHookFunc) (struct map_session_data **sd, struct item **it, bool *exact_match);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_delitem_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_buildin_delitem_search_pre[hIndex].func;
- retVal___ = preHookFunc(sd, it, &exact_match);
+ retVal___ = preHookFunc(&sd, &it, &exact_match);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63085,12 +63085,12 @@ int HP_script_buildin_killmonster_sub_strip(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_killmonster_sub_strip_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_killmonster_sub_strip_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_killmonster_sub_strip_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63118,12 +63118,12 @@ int HP_script_buildin_killmonster_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_killmonster_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_killmonster_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_killmonster_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63151,12 +63151,12 @@ int HP_script_buildin_killmonsterall_sub_strip(struct block_list *bl, va_list ap
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_killmonsterall_sub_strip_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_killmonsterall_sub_strip_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_killmonsterall_sub_strip_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63184,12 +63184,12 @@ int HP_script_buildin_killmonsterall_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_killmonsterall_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_killmonsterall_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_killmonsterall_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63217,12 +63217,12 @@ int HP_script_buildin_announce_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_announce_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_announce_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_announce_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63250,12 +63250,12 @@ int HP_script_buildin_getareausers_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_getareausers_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_getareausers_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_getareausers_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63283,12 +63283,12 @@ int HP_script_buildin_getareadropitem_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_getareadropitem_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_getareadropitem_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_getareadropitem_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63316,12 +63316,12 @@ int HP_script_mapflag_pvp_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_mapflag_pvp_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_mapflag_pvp_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_mapflag_pvp_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63349,12 +63349,12 @@ int HP_script_buildin_pvpoff_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_pvpoff_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_pvpoff_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_pvpoff_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63382,12 +63382,12 @@ int HP_script_buildin_maprespawnguildid_sub_pc(struct map_session_data *sd, va_l
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_maprespawnguildid_sub_pc_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, va_list ap);
+ int (*preHookFunc) (struct map_session_data **sd, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_maprespawnguildid_sub_pc_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_maprespawnguildid_sub_pc_pre[hIndex].func;
- retVal___ = preHookFunc(sd, ap___copy);
+ retVal___ = preHookFunc(&sd, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63415,12 +63415,12 @@ int HP_script_buildin_maprespawnguildid_sub_mob(struct block_list *bl, va_list a
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_maprespawnguildid_sub_mob_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_maprespawnguildid_sub_mob_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_maprespawnguildid_sub_mob_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63448,12 +63448,12 @@ int HP_script_buildin_mobcount_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_mobcount_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_mobcount_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_mobcount_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63481,12 +63481,12 @@ int HP_script_playbgm_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_playbgm_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_playbgm_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_playbgm_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63514,12 +63514,12 @@ int HP_script_playbgm_foreachpc_sub(struct map_session_data *sd, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_playbgm_foreachpc_sub_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, va_list args);
+ int (*preHookFunc) (struct map_session_data **sd, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_playbgm_foreachpc_sub_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_script_playbgm_foreachpc_sub_pre[hIndex].func;
- retVal___ = preHookFunc(sd, args___copy);
+ retVal___ = preHookFunc(&sd, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -63547,12 +63547,12 @@ int HP_script_soundeffect_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_soundeffect_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_soundeffect_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_soundeffect_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63580,11 +63580,11 @@ int HP_script_buildin_query_sql_sub(struct script_state *st, struct Sql *handle)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_query_sql_sub_pre ) {
- int (*preHookFunc) (struct script_state *st, struct Sql *handle);
+ int (*preHookFunc) (struct script_state **st, struct Sql **handle);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_query_sql_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_buildin_query_sql_sub_pre[hIndex].func;
- retVal___ = preHookFunc(st, handle);
+ retVal___ = preHookFunc(&st, &handle);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63607,12 +63607,12 @@ int HP_script_buildin_instance_warpall_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_instance_warpall_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_instance_warpall_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_instance_warpall_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63640,12 +63640,12 @@ int HP_script_buildin_mobuseskill_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_buildin_mobuseskill_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_buildin_mobuseskill_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_buildin_mobuseskill_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63673,12 +63673,12 @@ int HP_script_cleanfloor_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_cleanfloor_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_cleanfloor_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_cleanfloor_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -63706,11 +63706,11 @@ int HP_script_run_func(struct script_state *st) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_run_func_pre ) {
- int (*preHookFunc) (struct script_state *st);
+ int (*preHookFunc) (struct script_state **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_func_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_run_func_pre[hIndex].func;
- retVal___ = preHookFunc(st);
+ retVal___ = preHookFunc(&st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63733,11 +63733,11 @@ const char* HP_script_getfuncname(struct script_state *st) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_getfuncname_pre ) {
- const char* (*preHookFunc) (struct script_state *st);
+ const char* (*preHookFunc) (struct script_state **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_getfuncname_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_getfuncname_pre[hIndex].func;
- retVal___ = preHookFunc(st);
+ retVal___ = preHookFunc(&st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63760,11 +63760,11 @@ unsigned int HP_script_calc_hash_ci(const char *p) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_script_calc_hash_ci_pre ) {
- unsigned int (*preHookFunc) (const char *p);
+ unsigned int (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_calc_hash_ci_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_calc_hash_ci_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63787,11 +63787,11 @@ struct reg_db* HP_script_array_src(struct script_state *st, struct map_session_d
int hIndex = 0;
struct reg_db* retVal___ = NULL;
if( HPMHooks.count.HP_script_array_src_pre ) {
- struct reg_db* (*preHookFunc) (struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref);
+ struct reg_db* (*preHookFunc) (struct script_state **st, struct map_session_data **sd, const char **name, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_src_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_array_src_pre[hIndex].func;
- retVal___ = preHookFunc(st, sd, name, ref);
+ retVal___ = preHookFunc(&st, &sd, &name, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63813,11 +63813,11 @@ struct reg_db* HP_script_array_src(struct script_state *st, struct map_session_d
void HP_script_array_update(struct reg_db *src, int64 num, bool empty) {
int hIndex = 0;
if( HPMHooks.count.HP_script_array_update_pre ) {
- void (*preHookFunc) (struct reg_db *src, int64 *num, bool *empty);
+ void (*preHookFunc) (struct reg_db **src, int64 *num, bool *empty);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_update_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_array_update_pre[hIndex].func;
- preHookFunc(src, &num, &empty);
+ preHookFunc(&src, &num, &empty);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63839,11 +63839,11 @@ void HP_script_array_update(struct reg_db *src, int64 num, bool empty) {
void HP_script_array_delete(struct reg_db *src, struct script_array *sa) {
int hIndex = 0;
if( HPMHooks.count.HP_script_array_delete_pre ) {
- void (*preHookFunc) (struct reg_db *src, struct script_array *sa);
+ void (*preHookFunc) (struct reg_db **src, struct script_array **sa);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_delete_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_array_delete_pre[hIndex].func;
- preHookFunc(src, sa);
+ preHookFunc(&src, &sa);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63865,11 +63865,11 @@ void HP_script_array_delete(struct reg_db *src, struct script_array *sa) {
void HP_script_array_remove_member(struct reg_db *src, struct script_array *sa, unsigned int idx) {
int hIndex = 0;
if( HPMHooks.count.HP_script_array_remove_member_pre ) {
- void (*preHookFunc) (struct reg_db *src, struct script_array *sa, unsigned int *idx);
+ void (*preHookFunc) (struct reg_db **src, struct script_array **sa, unsigned int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_remove_member_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_array_remove_member_pre[hIndex].func;
- preHookFunc(src, sa, &idx);
+ preHookFunc(&src, &sa, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63891,11 +63891,11 @@ void HP_script_array_remove_member(struct reg_db *src, struct script_array *sa,
void HP_script_array_add_member(struct script_array *sa, unsigned int idx) {
int hIndex = 0;
if( HPMHooks.count.HP_script_array_add_member_pre ) {
- void (*preHookFunc) (struct script_array *sa, unsigned int *idx);
+ void (*preHookFunc) (struct script_array **sa, unsigned int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_add_member_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_array_add_member_pre[hIndex].func;
- preHookFunc(sa, &idx);
+ preHookFunc(&sa, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63918,11 +63918,11 @@ unsigned int HP_script_array_size(struct script_state *st, struct map_session_da
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_script_array_size_pre ) {
- unsigned int (*preHookFunc) (struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref);
+ unsigned int (*preHookFunc) (struct script_state **st, struct map_session_data **sd, const char **name, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_size_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_array_size_pre[hIndex].func;
- retVal___ = preHookFunc(st, sd, name, ref);
+ retVal___ = preHookFunc(&st, &sd, &name, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63945,11 +63945,11 @@ unsigned int HP_script_array_highest_key(struct script_state *st, struct map_ses
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_script_array_highest_key_pre ) {
- unsigned int (*preHookFunc) (struct script_state *st, struct map_session_data *sd, const char *name, struct reg_db *ref);
+ unsigned int (*preHookFunc) (struct script_state **st, struct map_session_data **sd, const char **name, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_highest_key_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_array_highest_key_pre[hIndex].func;
- retVal___ = preHookFunc(st, sd, name, ref);
+ retVal___ = preHookFunc(&st, &sd, &name, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -63972,12 +63972,12 @@ int HP_script_array_free_db(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_array_free_db_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_free_db_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_array_free_db_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -64004,11 +64004,11 @@ int HP_script_array_free_db(union DBKey key, struct DBData *data, va_list ap) {
void HP_script_array_ensure_zero(struct script_state *st, struct map_session_data *sd, int64 uid, struct reg_db *ref) {
int hIndex = 0;
if( HPMHooks.count.HP_script_array_ensure_zero_pre ) {
- void (*preHookFunc) (struct script_state *st, struct map_session_data *sd, int64 *uid, struct reg_db *ref);
+ void (*preHookFunc) (struct script_state **st, struct map_session_data **sd, int64 *uid, struct reg_db **ref);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_ensure_zero_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_array_ensure_zero_pre[hIndex].func;
- preHookFunc(st, sd, &uid, ref);
+ preHookFunc(&st, &sd, &uid, &ref);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64030,11 +64030,11 @@ void HP_script_array_ensure_zero(struct script_state *st, struct map_session_dat
void HP_script_reg_destroy_single(struct map_session_data *sd, int64 reg, struct script_reg_state *data) {
int hIndex = 0;
if( HPMHooks.count.HP_script_reg_destroy_single_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int64 *reg, struct script_reg_state *data);
+ void (*preHookFunc) (struct map_session_data **sd, int64 *reg, struct script_reg_state **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_reg_destroy_single_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_reg_destroy_single_pre[hIndex].func;
- preHookFunc(sd, &reg, data);
+ preHookFunc(&sd, &reg, &data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64057,12 +64057,12 @@ int HP_script_reg_destroy(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_reg_destroy_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_reg_destroy_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_reg_destroy_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -64116,11 +64116,11 @@ unsigned int* HP_script_array_cpy_list(struct script_array *sa) {
int hIndex = 0;
unsigned int* retVal___ = NULL;
if( HPMHooks.count.HP_script_array_cpy_list_pre ) {
- unsigned int* (*preHookFunc) (struct script_array *sa);
+ unsigned int* (*preHookFunc) (struct script_array **sa);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_array_cpy_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_array_cpy_list_pre[hIndex].func;
- retVal___ = preHookFunc(sa);
+ retVal___ = preHookFunc(&sa);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64169,11 +64169,11 @@ unsigned short HP_script_mapindexname2id(struct script_state *st, const char *na
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_script_mapindexname2id_pre ) {
- unsigned short (*preHookFunc) (struct script_state *st, const char *name);
+ unsigned short (*preHookFunc) (struct script_state **st, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_mapindexname2id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_mapindexname2id_pre[hIndex].func;
- retVal___ = preHookFunc(st, name);
+ retVal___ = preHookFunc(&st, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64196,11 +64196,11 @@ int HP_script_string_dup(char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_string_dup_pre ) {
- int (*preHookFunc) (char *str);
+ int (*preHookFunc) (char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_string_dup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_string_dup_pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64248,11 +64248,11 @@ void HP_script_load_translations(void) {
void HP_script_load_translation(const char *file, uint8 lang_id, uint32 *total) {
int hIndex = 0;
if( HPMHooks.count.HP_script_load_translation_pre ) {
- void (*preHookFunc) (const char *file, uint8 *lang_id, uint32 *total);
+ void (*preHookFunc) (const char **file, uint8 *lang_id, uint32 **total);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_load_translation_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_load_translation_pre[hIndex].func;
- preHookFunc(file, &lang_id, total);
+ preHookFunc(&file, &lang_id, &total);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64275,12 +64275,12 @@ int HP_script_translation_db_destroyer(union DBKey key, struct DBData *data, va_
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_script_translation_db_destroyer_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_translation_db_destroyer_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_script_translation_db_destroyer_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -64361,11 +64361,11 @@ uint8 HP_script_add_language(const char *name) {
int hIndex = 0;
uint8 retVal___ = 0;
if( HPMHooks.count.HP_script_add_language_pre ) {
- uint8 (*preHookFunc) (const char *name);
+ uint8 (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_add_language_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_add_language_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64388,11 +64388,11 @@ const char* HP_script_get_translation_file_name(const char *file) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_script_get_translation_file_name_pre ) {
- const char* (*preHookFunc) (const char *file);
+ const char* (*preHookFunc) (const char **file);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_get_translation_file_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_get_translation_file_name_pre[hIndex].func;
- retVal___ = preHookFunc(file);
+ retVal___ = preHookFunc(&file);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64440,11 +64440,11 @@ void HP_script_parser_clean_leftovers(void) {
void HP_script_run_use_script(struct map_session_data *sd, struct item_data *data, int oid) {
int hIndex = 0;
if( HPMHooks.count.HP_script_run_use_script_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct item_data *data, int *oid);
+ void (*preHookFunc) (struct map_session_data **sd, struct item_data **data, int *oid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_use_script_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_run_use_script_pre[hIndex].func;
- preHookFunc(sd, data, &oid);
+ preHookFunc(&sd, &data, &oid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64466,11 +64466,11 @@ void HP_script_run_use_script(struct map_session_data *sd, struct item_data *dat
void HP_script_run_item_equip_script(struct map_session_data *sd, struct item_data *data, int oid) {
int hIndex = 0;
if( HPMHooks.count.HP_script_run_item_equip_script_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct item_data *data, int *oid);
+ void (*preHookFunc) (struct map_session_data **sd, struct item_data **data, int *oid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_item_equip_script_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_run_item_equip_script_pre[hIndex].func;
- preHookFunc(sd, data, &oid);
+ preHookFunc(&sd, &data, &oid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64492,11 +64492,11 @@ void HP_script_run_item_equip_script(struct map_session_data *sd, struct item_da
void HP_script_run_item_unequip_script(struct map_session_data *sd, struct item_data *data, int oid) {
int hIndex = 0;
if( HPMHooks.count.HP_script_run_item_unequip_script_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct item_data *data, int *oid);
+ void (*preHookFunc) (struct map_session_data **sd, struct item_data **data, int *oid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_script_run_item_unequip_script_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_script_run_item_unequip_script_pre[hIndex].func;
- preHookFunc(sd, data, &oid);
+ preHookFunc(&sd, &data, &oid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64520,11 +64520,11 @@ bool HP_searchstore_open(struct map_session_data *sd, unsigned int uses, unsigne
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_searchstore_open_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, unsigned int *uses, unsigned short *effect);
+ bool (*preHookFunc) (struct map_session_data **sd, unsigned int *uses, unsigned short *effect);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_open_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &uses, &effect);
+ retVal___ = preHookFunc(&sd, &uses, &effect);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64546,11 +64546,11 @@ bool HP_searchstore_open(struct map_session_data *sd, unsigned int uses, unsigne
void HP_searchstore_query(struct map_session_data *sd, unsigned char type, unsigned int min_price, unsigned int max_price, const unsigned short *itemlist, unsigned int item_count, const unsigned short *cardlist, unsigned int card_count) {
int hIndex = 0;
if( HPMHooks.count.HP_searchstore_query_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned char *type, unsigned int *min_price, unsigned int *max_price, const unsigned short *itemlist, unsigned int *item_count, const unsigned short *cardlist, unsigned int *card_count);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned char *type, unsigned int *min_price, unsigned int *max_price, const unsigned short **itemlist, unsigned int *item_count, const unsigned short **cardlist, unsigned int *card_count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_query_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_query_pre[hIndex].func;
- preHookFunc(sd, &type, &min_price, &max_price, itemlist, &item_count, cardlist, &card_count);
+ preHookFunc(&sd, &type, &min_price, &max_price, &itemlist, &item_count, &cardlist, &card_count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64573,11 +64573,11 @@ bool HP_searchstore_querynext(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_searchstore_querynext_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_querynext_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_querynext_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64599,11 +64599,11 @@ bool HP_searchstore_querynext(struct map_session_data *sd) {
void HP_searchstore_next(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_searchstore_next_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_next_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_next_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64625,11 +64625,11 @@ void HP_searchstore_next(struct map_session_data *sd) {
void HP_searchstore_clear(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_searchstore_clear_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_clear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_clear_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64651,11 +64651,11 @@ void HP_searchstore_clear(struct map_session_data *sd) {
void HP_searchstore_close(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_searchstore_close_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_close_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_close_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64677,11 +64677,11 @@ void HP_searchstore_close(struct map_session_data *sd) {
void HP_searchstore_click(struct map_session_data *sd, int account_id, int store_id, unsigned short nameid) {
int hIndex = 0;
if( HPMHooks.count.HP_searchstore_click_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *account_id, int *store_id, unsigned short *nameid);
+ void (*preHookFunc) (struct map_session_data **sd, int *account_id, int *store_id, unsigned short *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_click_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_click_pre[hIndex].func;
- preHookFunc(sd, &account_id, &store_id, &nameid);
+ preHookFunc(&sd, &account_id, &store_id, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64704,11 +64704,11 @@ bool HP_searchstore_queryremote(struct map_session_data *sd, int account_id) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_searchstore_queryremote_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, int *account_id);
+ bool (*preHookFunc) (struct map_session_data **sd, int *account_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_queryremote_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_queryremote_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &account_id);
+ retVal___ = preHookFunc(&sd, &account_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64730,11 +64730,11 @@ bool HP_searchstore_queryremote(struct map_session_data *sd, int account_id) {
void HP_searchstore_clearremote(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_searchstore_clearremote_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_clearremote_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_clearremote_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64757,11 +64757,11 @@ bool HP_searchstore_result(struct map_session_data *sd, unsigned int store_id, i
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_searchstore_result_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, unsigned int *store_id, int *account_id, const char *store_name, unsigned short *nameid, unsigned short *amount, unsigned int *price, const short *card, unsigned char *refine);
+ bool (*preHookFunc) (struct map_session_data **sd, unsigned int *store_id, int *account_id, const char **store_name, unsigned short *nameid, unsigned short *amount, unsigned int *price, const short **card, unsigned char *refine);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_searchstore_result_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_searchstore_result_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &store_id, &account_id, store_name, &nameid, &amount, &price, card, &refine);
+ retVal___ = preHookFunc(&sd, &store_id, &account_id, &store_name, &nameid, &amount, &price, &card, &refine);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -64863,12 +64863,12 @@ int HP_showmsg_showMessageV(const char *string, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_showmsg_showMessageV_pre ) {
- int (*preHookFunc) (const char *string, va_list ap);
+ int (*preHookFunc) (const char **string, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_showmsg_showMessageV_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_showmsg_showMessageV_pre[hIndex].func;
- retVal___ = preHookFunc(string, ap___copy);
+ retVal___ = preHookFunc(&string, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -65219,11 +65219,11 @@ int HP_skill_get_range2(struct block_list *bl, uint16 skill_id, uint16 skill_lv)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_get_range2_pre ) {
- int (*preHookFunc) (struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct block_list **bl, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_range2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_get_range2_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&bl, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66163,11 +66163,11 @@ const char* HP_skill_get_desc(uint16 skill_id) {
void HP_skill_chk(uint16 *skill_id) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_chk_pre ) {
- void (*preHookFunc) (uint16 *skill_id);
+ void (*preHookFunc) (uint16 **skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_chk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_chk_pre[hIndex].func;
- preHookFunc(skill_id);
+ preHookFunc(&skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66271,11 +66271,11 @@ int HP_skill_name2id(const char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_name2id_pre ) {
- int (*preHookFunc) (const char *name);
+ int (*preHookFunc) (const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_name2id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_name2id_pre[hIndex].func;
- retVal___ = preHookFunc(name);
+ retVal___ = preHookFunc(&name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66298,11 +66298,11 @@ int HP_skill_isammotype(struct map_session_data *sd, int skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_isammotype_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *skill_id);
+ int (*preHookFunc) (struct map_session_data **sd, int *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_isammotype_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_isammotype_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id);
+ retVal___ = preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66379,11 +66379,11 @@ int HP_skill_castend_map(struct map_session_data *sd, uint16 skill_id, const cha
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_castend_map_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, const char *mapname);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, const char **mapname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_map_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_map_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id, mapname);
+ retVal___ = preHookFunc(&sd, &skill_id, &mapname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66406,11 +66406,11 @@ int HP_skill_cleartimerskill(struct block_list *src) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_cleartimerskill_pre ) {
- int (*preHookFunc) (struct block_list *src);
+ int (*preHookFunc) (struct block_list **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_cleartimerskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_cleartimerskill_pre[hIndex].func;
- retVal___ = preHookFunc(src);
+ retVal___ = preHookFunc(&src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66433,11 +66433,11 @@ int HP_skill_addtimerskill(struct block_list *src, int64 tick, int target, int x
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_addtimerskill_pre ) {
- int (*preHookFunc) (struct block_list *src, int64 *tick, int *target, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int *type, int *flag);
+ int (*preHookFunc) (struct block_list **src, int64 *tick, int *target, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int *type, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_addtimerskill_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_addtimerskill_pre[hIndex].func;
- retVal___ = preHookFunc(src, &tick, &target, &x, &y, &skill_id, &skill_lv, &type, &flag);
+ retVal___ = preHookFunc(&src, &tick, &target, &x, &y, &skill_id, &skill_lv, &type, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66460,11 +66460,11 @@ int HP_skill_additional_effect(struct block_list *src, struct block_list *bl, ui
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_additional_effect_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int *dmg_lv, int64 *tick);
+ int (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int *dmg_lv, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_additional_effect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_additional_effect_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &skill_id, &skill_lv, &attack_type, &dmg_lv, &tick);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &attack_type, &dmg_lv, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66487,11 +66487,11 @@ int HP_skill_counter_additional_effect(struct block_list *src, struct block_list
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_counter_additional_effect_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int64 *tick);
+ int (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_counter_additional_effect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_counter_additional_effect_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &skill_id, &skill_lv, &attack_type, &tick);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &attack_type, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66514,11 +66514,11 @@ int HP_skill_blown(struct block_list *src, struct block_list *target, int count,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_blown_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target, int *count, int8 *dir, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target, int *count, int8 *dir, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_blown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_blown_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &count, &dir, &flag);
+ retVal___ = preHookFunc(&src, &target, &count, &dir, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66541,11 +66541,11 @@ int HP_skill_break_equip(struct block_list *bl, unsigned short where, int rate,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_break_equip_pre ) {
- int (*preHookFunc) (struct block_list *bl, unsigned short *where, int *rate, int *flag);
+ int (*preHookFunc) (struct block_list **bl, unsigned short *where, int *rate, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_break_equip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_break_equip_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &where, &rate, &flag);
+ retVal___ = preHookFunc(&bl, &where, &rate, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66568,11 +66568,11 @@ int HP_skill_strip_equip(struct block_list *bl, unsigned short where, int rate,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_strip_equip_pre ) {
- int (*preHookFunc) (struct block_list *bl, unsigned short *where, int *rate, int *lv, int *time);
+ int (*preHookFunc) (struct block_list **bl, unsigned short *where, int *rate, int *lv, int *time);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_strip_equip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_strip_equip_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &where, &rate, &lv, &time);
+ retVal___ = preHookFunc(&bl, &where, &rate, &lv, &time);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66622,11 +66622,11 @@ struct skill_unit_group* HP_skill_unitsetting(struct block_list *src, uint16 ski
int hIndex = 0;
struct skill_unit_group* retVal___ = NULL;
if( HPMHooks.count.HP_skill_unitsetting_pre ) {
- struct skill_unit_group* (*preHookFunc) (struct block_list *src, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *flag);
+ struct skill_unit_group* (*preHookFunc) (struct block_list **src, uint16 *skill_id, uint16 *skill_lv, short *x, short *y, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unitsetting_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unitsetting_pre[hIndex].func;
- retVal___ = preHookFunc(src, &skill_id, &skill_lv, &x, &y, &flag);
+ retVal___ = preHookFunc(&src, &skill_id, &skill_lv, &x, &y, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66649,11 +66649,11 @@ struct skill_unit* HP_skill_initunit(struct skill_unit_group *group, int idx, in
int hIndex = 0;
struct skill_unit* retVal___ = NULL;
if( HPMHooks.count.HP_skill_initunit_pre ) {
- struct skill_unit* (*preHookFunc) (struct skill_unit_group *group, int *idx, int *x, int *y, int *val1, int *val2);
+ struct skill_unit* (*preHookFunc) (struct skill_unit_group **group, int *idx, int *x, int *y, int *val1, int *val2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_initunit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_initunit_pre[hIndex].func;
- retVal___ = preHookFunc(group, &idx, &x, &y, &val1, &val2);
+ retVal___ = preHookFunc(&group, &idx, &x, &y, &val1, &val2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66676,11 +66676,11 @@ int HP_skill_delunit(struct skill_unit *su) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_delunit_pre ) {
- int (*preHookFunc) (struct skill_unit *su);
+ int (*preHookFunc) (struct skill_unit **su);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_delunit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_delunit_pre[hIndex].func;
- retVal___ = preHookFunc(su);
+ retVal___ = preHookFunc(&su);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66703,11 +66703,11 @@ struct skill_unit_group* HP_skill_init_unitgroup(struct block_list *src, int cou
int hIndex = 0;
struct skill_unit_group* retVal___ = NULL;
if( HPMHooks.count.HP_skill_init_unitgroup_pre ) {
- struct skill_unit_group* (*preHookFunc) (struct block_list *src, int *count, uint16 *skill_id, uint16 *skill_lv, int *unit_id, int *limit, int *interval);
+ struct skill_unit_group* (*preHookFunc) (struct block_list **src, int *count, uint16 *skill_id, uint16 *skill_lv, int *unit_id, int *limit, int *interval);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_init_unitgroup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_init_unitgroup_pre[hIndex].func;
- retVal___ = preHookFunc(src, &count, &skill_id, &skill_lv, &unit_id, &limit, &interval);
+ retVal___ = preHookFunc(&src, &count, &skill_id, &skill_lv, &unit_id, &limit, &interval);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66730,11 +66730,11 @@ int HP_skill_del_unitgroup(struct skill_unit_group *group, const char *file, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_del_unitgroup_pre ) {
- int (*preHookFunc) (struct skill_unit_group *group, const char *file, int *line, const char *func);
+ int (*preHookFunc) (struct skill_unit_group **group, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_del_unitgroup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_del_unitgroup_pre[hIndex].func;
- retVal___ = preHookFunc(group, file, &line, func);
+ retVal___ = preHookFunc(&group, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66757,11 +66757,11 @@ int HP_skill_clear_unitgroup(struct block_list *src) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_clear_unitgroup_pre ) {
- int (*preHookFunc) (struct block_list *src);
+ int (*preHookFunc) (struct block_list **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_clear_unitgroup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_clear_unitgroup_pre[hIndex].func;
- retVal___ = preHookFunc(src);
+ retVal___ = preHookFunc(&src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66784,11 +66784,11 @@ int HP_skill_clear_group(struct block_list *bl, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_clear_group_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *flag);
+ int (*preHookFunc) (struct block_list **bl, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_clear_group_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_clear_group_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &flag);
+ retVal___ = preHookFunc(&bl, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66811,11 +66811,11 @@ int HP_skill_unit_onplace(struct skill_unit *src, struct block_list *bl, int64 t
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_onplace_pre ) {
- int (*preHookFunc) (struct skill_unit *src, struct block_list *bl, int64 *tick);
+ int (*preHookFunc) (struct skill_unit **src, struct block_list **bl, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_onplace_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unit_onplace_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &tick);
+ retVal___ = preHookFunc(&src, &bl, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66838,11 +66838,11 @@ int HP_skill_unit_ondamaged(struct skill_unit *src, struct block_list *bl, int64
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_ondamaged_pre ) {
- int (*preHookFunc) (struct skill_unit *src, struct block_list *bl, int64 *damage, int64 *tick);
+ int (*preHookFunc) (struct skill_unit **src, struct block_list **bl, int64 *damage, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_ondamaged_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unit_ondamaged_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &damage, &tick);
+ retVal___ = preHookFunc(&src, &bl, &damage, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66865,11 +66865,11 @@ int HP_skill_cast_fix(struct block_list *bl, uint16 skill_id, uint16 skill_lv) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_cast_fix_pre ) {
- int (*preHookFunc) (struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct block_list **bl, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_cast_fix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_cast_fix_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&bl, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66892,11 +66892,11 @@ int HP_skill_cast_fix_sc(struct block_list *bl, int time) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_cast_fix_sc_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *time);
+ int (*preHookFunc) (struct block_list **bl, int *time);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_cast_fix_sc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_cast_fix_sc_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &time);
+ retVal___ = preHookFunc(&bl, &time);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66919,11 +66919,11 @@ int HP_skill_vf_cast_fix(struct block_list *bl, double time, uint16 skill_id, ui
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_vf_cast_fix_pre ) {
- int (*preHookFunc) (struct block_list *bl, double *time, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct block_list **bl, double *time, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_vf_cast_fix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_vf_cast_fix_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &time, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&bl, &time, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66946,11 +66946,11 @@ int HP_skill_delay_fix(struct block_list *bl, uint16 skill_id, uint16 skill_lv)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_delay_fix_pre ) {
- int (*preHookFunc) (struct block_list *bl, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct block_list **bl, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_delay_fix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_delay_fix_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&bl, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -66973,11 +66973,11 @@ int HP_skill_check_condition_castbegin(struct map_session_data *sd, uint16 skill
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_condition_castbegin_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_castbegin_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_condition_castbegin_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&sd, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67000,11 +67000,11 @@ int HP_skill_check_condition_castend(struct map_session_data *sd, uint16 skill_i
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_condition_castend_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_castend_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_condition_castend_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&sd, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67027,11 +67027,11 @@ int HP_skill_consume_requirement(struct map_session_data *sd, uint16 skill_id, u
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_consume_requirement_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, short *type);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 *skill_lv, short *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_consume_requirement_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_consume_requirement_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id, &skill_lv, &type);
+ retVal___ = preHookFunc(&sd, &skill_id, &skill_lv, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67054,11 +67054,11 @@ struct skill_condition HP_skill_get_requirement(struct map_session_data *sd, uin
int hIndex = 0;
struct skill_condition retVal___ = { 0 };
if( HPMHooks.count.HP_skill_get_requirement_pre ) {
- struct skill_condition (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ struct skill_condition (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_requirement_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_get_requirement_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&sd, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67081,11 +67081,11 @@ int HP_skill_check_pc_partner(struct map_session_data *sd, uint16 skill_id, uint
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_pc_partner_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, int *range, int *cast_flag);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 **skill_lv, int *range, int *cast_flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_pc_partner_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_pc_partner_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id, skill_lv, &range, &cast_flag);
+ retVal___ = preHookFunc(&sd, &skill_id, &skill_lv, &range, &cast_flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67108,11 +67108,11 @@ int HP_skill_unit_move(struct block_list *bl, int64 tick, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_move_pre ) {
- int (*preHookFunc) (struct block_list *bl, int64 *tick, int *flag);
+ int (*preHookFunc) (struct block_list **bl, int64 *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_move_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unit_move_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &tick, &flag);
+ retVal___ = preHookFunc(&bl, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67135,11 +67135,11 @@ int HP_skill_unit_onleft(uint16 skill_id, struct block_list *bl, int64 tick) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_onleft_pre ) {
- int (*preHookFunc) (uint16 *skill_id, struct block_list *bl, int64 *tick);
+ int (*preHookFunc) (uint16 *skill_id, struct block_list **bl, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_onleft_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unit_onleft_pre[hIndex].func;
- retVal___ = preHookFunc(&skill_id, bl, &tick);
+ retVal___ = preHookFunc(&skill_id, &bl, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67162,11 +67162,11 @@ int HP_skill_unit_onout(struct skill_unit *src, struct block_list *bl, int64 tic
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_onout_pre ) {
- int (*preHookFunc) (struct skill_unit *src, struct block_list *bl, int64 *tick);
+ int (*preHookFunc) (struct skill_unit **src, struct block_list **bl, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_onout_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unit_onout_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &tick);
+ retVal___ = preHookFunc(&src, &bl, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67189,11 +67189,11 @@ int HP_skill_unit_move_unit_group(struct skill_unit_group *group, int16 m, int16
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_move_unit_group_pre ) {
- int (*preHookFunc) (struct skill_unit_group *group, int16 *m, int16 *dx, int16 *dy);
+ int (*preHookFunc) (struct skill_unit_group **group, int16 *m, int16 *dx, int16 *dy);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_move_unit_group_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unit_move_unit_group_pre[hIndex].func;
- retVal___ = preHookFunc(group, &m, &dx, &dy);
+ retVal___ = preHookFunc(&group, &m, &dx, &dy);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67216,11 +67216,11 @@ int HP_skill_sit(struct map_session_data *sd, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_sit_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *type);
+ int (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_sit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_sit_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &type);
+ retVal___ = preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67242,11 +67242,11 @@ int HP_skill_sit(struct map_session_data *sd, int type) {
void HP_skill_brandishspear(struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, int64 tick, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_brandishspear_pre ) {
- void (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ void (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_brandishspear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_brandishspear_pre[hIndex].func;
- preHookFunc(src, bl, &skill_id, &skill_lv, &tick, &flag);
+ preHookFunc(&src, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67268,11 +67268,11 @@ void HP_skill_brandishspear(struct block_list *src, struct block_list *bl, uint1
void HP_skill_repairweapon(struct map_session_data *sd, int idx) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_repairweapon_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *idx);
+ void (*preHookFunc) (struct map_session_data **sd, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_repairweapon_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_repairweapon_pre[hIndex].func;
- preHookFunc(sd, &idx);
+ preHookFunc(&sd, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67294,11 +67294,11 @@ void HP_skill_repairweapon(struct map_session_data *sd, int idx) {
void HP_skill_identify(struct map_session_data *sd, int idx) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_identify_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *idx);
+ void (*preHookFunc) (struct map_session_data **sd, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_identify_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_identify_pre[hIndex].func;
- preHookFunc(sd, &idx);
+ preHookFunc(&sd, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67320,11 +67320,11 @@ void HP_skill_identify(struct map_session_data *sd, int idx) {
void HP_skill_weaponrefine(struct map_session_data *sd, int idx) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_weaponrefine_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *idx);
+ void (*preHookFunc) (struct map_session_data **sd, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_weaponrefine_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_weaponrefine_pre[hIndex].func;
- preHookFunc(sd, &idx);
+ preHookFunc(&sd, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67347,11 +67347,11 @@ int HP_skill_autospell(struct map_session_data *md, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_autospell_pre ) {
- int (*preHookFunc) (struct map_session_data *md, uint16 *skill_id);
+ int (*preHookFunc) (struct map_session_data **md, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_autospell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_autospell_pre[hIndex].func;
- retVal___ = preHookFunc(md, &skill_id);
+ retVal___ = preHookFunc(&md, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67374,11 +67374,11 @@ int HP_skill_calc_heal(struct block_list *src, struct block_list *target, uint16
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_calc_heal_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, bool *heal);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, bool *heal);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_calc_heal_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_calc_heal_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &skill_id, &skill_lv, &heal);
+ retVal___ = preHookFunc(&src, &target, &skill_id, &skill_lv, &heal);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67401,11 +67401,11 @@ bool HP_skill_check_cloaking(struct block_list *bl, struct status_change_entry *
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_check_cloaking_pre ) {
- bool (*preHookFunc) (struct block_list *bl, struct status_change_entry *sce);
+ bool (*preHookFunc) (struct block_list **bl, struct status_change_entry **sce);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_cloaking_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_cloaking_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sce);
+ retVal___ = preHookFunc(&bl, &sce);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67428,12 +67428,12 @@ int HP_skill_check_cloaking_end(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_cloaking_end_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_cloaking_end_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_check_cloaking_end_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -67461,11 +67461,11 @@ bool HP_skill_can_cloak(struct map_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_can_cloak_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd);
+ bool (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_can_cloak_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_can_cloak_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67488,11 +67488,11 @@ int HP_skill_enchant_elemental_end(struct block_list *bl, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_enchant_elemental_end_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *type);
+ int (*preHookFunc) (struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_enchant_elemental_end_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_enchant_elemental_end_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &type);
+ retVal___ = preHookFunc(&bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67515,11 +67515,11 @@ int HP_skill_not_ok(uint16 skill_id, struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_not_ok_pre ) {
- int (*preHookFunc) (uint16 *skill_id, struct map_session_data *sd);
+ int (*preHookFunc) (uint16 *skill_id, struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_not_ok_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_not_ok_pre[hIndex].func;
- retVal___ = preHookFunc(&skill_id, sd);
+ retVal___ = preHookFunc(&skill_id, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67542,11 +67542,11 @@ int HP_skill_not_ok_hom(uint16 skill_id, struct homun_data *hd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_not_ok_hom_pre ) {
- int (*preHookFunc) (uint16 *skill_id, struct homun_data *hd);
+ int (*preHookFunc) (uint16 *skill_id, struct homun_data **hd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_not_ok_hom_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_not_ok_hom_pre[hIndex].func;
- retVal___ = preHookFunc(&skill_id, hd);
+ retVal___ = preHookFunc(&skill_id, &hd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67569,11 +67569,11 @@ int HP_skill_not_ok_mercenary(uint16 skill_id, struct mercenary_data *md) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_not_ok_mercenary_pre ) {
- int (*preHookFunc) (uint16 *skill_id, struct mercenary_data *md);
+ int (*preHookFunc) (uint16 *skill_id, struct mercenary_data **md);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_not_ok_mercenary_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_not_ok_mercenary_pre[hIndex].func;
- retVal___ = preHookFunc(&skill_id, md);
+ retVal___ = preHookFunc(&skill_id, &md);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67596,12 +67596,12 @@ int HP_skill_chastle_mob_changetarget(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_chastle_mob_changetarget_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_chastle_mob_changetarget_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_chastle_mob_changetarget_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -67629,11 +67629,11 @@ int HP_skill_can_produce_mix(struct map_session_data *sd, int nameid, int trigge
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_can_produce_mix_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *nameid, int *trigger, int *qty);
+ int (*preHookFunc) (struct map_session_data **sd, int *nameid, int *trigger, int *qty);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_can_produce_mix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_can_produce_mix_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid, &trigger, &qty);
+ retVal___ = preHookFunc(&sd, &nameid, &trigger, &qty);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67656,11 +67656,11 @@ int HP_skill_produce_mix(struct map_session_data *sd, uint16 skill_id, int namei
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_produce_mix_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, int *nameid, int *slot1, int *slot2, int *slot3, int *qty);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, int *nameid, int *slot1, int *slot2, int *slot3, int *qty);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_produce_mix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_produce_mix_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id, &nameid, &slot1, &slot2, &slot3, &qty);
+ retVal___ = preHookFunc(&sd, &skill_id, &nameid, &slot1, &slot2, &slot3, &qty);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67683,11 +67683,11 @@ int HP_skill_arrow_create(struct map_session_data *sd, int nameid) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_arrow_create_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *nameid);
+ int (*preHookFunc) (struct map_session_data **sd, int *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_arrow_create_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_arrow_create_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid);
+ retVal___ = preHookFunc(&sd, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67710,11 +67710,11 @@ int HP_skill_castend_nodamage_id(struct block_list *src, struct block_list *bl,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_castend_nodamage_id_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_nodamage_id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_nodamage_id_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67737,11 +67737,11 @@ int HP_skill_castend_damage_id(struct block_list *src, struct block_list *bl, ui
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_castend_damage_id_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_damage_id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_damage_id_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67764,11 +67764,11 @@ int HP_skill_castend_pos2(struct block_list *src, int x, int y, uint16 skill_id,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_castend_pos2_pre ) {
- int (*preHookFunc) (struct block_list *src, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*preHookFunc) (struct block_list **src, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_pos2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_pos2_pre[hIndex].func;
- retVal___ = preHookFunc(src, &x, &y, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = preHookFunc(&src, &x, &y, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67791,11 +67791,11 @@ int HP_skill_blockpc_start(struct map_session_data *sd, uint16 skill_id, int tic
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_blockpc_start_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, int *tick);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, int *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_blockpc_start_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_blockpc_start_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id, &tick);
+ retVal___ = preHookFunc(&sd, &skill_id, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67818,11 +67818,11 @@ int HP_skill_blockhomun_start(struct homun_data *hd, uint16 skill_id, int tick)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_blockhomun_start_pre ) {
- int (*preHookFunc) (struct homun_data *hd, uint16 *skill_id, int *tick);
+ int (*preHookFunc) (struct homun_data **hd, uint16 *skill_id, int *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_blockhomun_start_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_blockhomun_start_pre[hIndex].func;
- retVal___ = preHookFunc(hd, &skill_id, &tick);
+ retVal___ = preHookFunc(&hd, &skill_id, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67845,11 +67845,11 @@ int HP_skill_blockmerc_start(struct mercenary_data *md, uint16 skill_id, int tic
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_blockmerc_start_pre ) {
- int (*preHookFunc) (struct mercenary_data *md, uint16 *skill_id, int *tick);
+ int (*preHookFunc) (struct mercenary_data **md, uint16 *skill_id, int *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_blockmerc_start_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_blockmerc_start_pre[hIndex].func;
- retVal___ = preHookFunc(md, &skill_id, &tick);
+ retVal___ = preHookFunc(&md, &skill_id, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67872,11 +67872,11 @@ int HP_skill_attack(int attack_type, struct block_list *src, struct block_list *
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_attack_pre ) {
- int (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*preHookFunc) (int *attack_type, struct block_list **src, struct block_list **dsrc, struct block_list **bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_attack_pre[hIndex].func;
- retVal___ = preHookFunc(&attack_type, src, dsrc, bl, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = preHookFunc(&attack_type, &src, &dsrc, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67899,12 +67899,12 @@ int HP_skill_attack_area(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_attack_area_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_area_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_attack_area_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -67932,12 +67932,12 @@ int HP_skill_area_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_area_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_area_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_area_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -67965,11 +67965,11 @@ int HP_skill_area_sub_count(struct block_list *src, struct block_list *target, u
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_area_sub_count_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_area_sub_count_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_area_sub_count_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &skill_id, &skill_lv, &tick, &flag);
+ retVal___ = preHookFunc(&src, &target, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -67992,11 +67992,11 @@ int HP_skill_check_unit_range(struct block_list *bl, int x, int y, uint16 skill_
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_unit_range_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct block_list **bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_unit_range_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_unit_range_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &x, &y, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&bl, &x, &y, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68019,12 +68019,12 @@ int HP_skill_check_unit_range_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_unit_range_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_unit_range_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_check_unit_range_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68052,11 +68052,11 @@ int HP_skill_check_unit_range2(struct block_list *bl, int x, int y, uint16 skill
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_unit_range2_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct block_list **bl, int *x, int *y, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_unit_range2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_unit_range2_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &x, &y, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&bl, &x, &y, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68079,12 +68079,12 @@ int HP_skill_check_unit_range2_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_unit_range2_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_unit_range2_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_check_unit_range2_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68111,11 +68111,11 @@ int HP_skill_check_unit_range2_sub(struct block_list *bl, va_list ap) {
void HP_skill_toggle_magicpower(struct block_list *bl, uint16 skill_id) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_toggle_magicpower_pre ) {
- void (*preHookFunc) (struct block_list *bl, uint16 *skill_id);
+ void (*preHookFunc) (struct block_list **bl, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_toggle_magicpower_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_toggle_magicpower_pre[hIndex].func;
- preHookFunc(bl, &skill_id);
+ preHookFunc(&bl, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68138,11 +68138,11 @@ int HP_skill_magic_reflect(struct block_list *src, struct block_list *bl, int ty
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_magic_reflect_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *bl, int *type);
+ int (*preHookFunc) (struct block_list **src, struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_magic_reflect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_magic_reflect_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &type);
+ retVal___ = preHookFunc(&src, &bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68165,11 +68165,11 @@ int HP_skill_onskillusage(struct map_session_data *sd, struct block_list *bl, ui
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_onskillusage_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct block_list *bl, uint16 *skill_id, int64 *tick);
+ int (*preHookFunc) (struct map_session_data **sd, struct block_list **bl, uint16 *skill_id, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_onskillusage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_onskillusage_pre[hIndex].func;
- retVal___ = preHookFunc(sd, bl, &skill_id, &tick);
+ retVal___ = preHookFunc(&sd, &bl, &skill_id, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68192,12 +68192,12 @@ int HP_skill_cell_overlap(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_cell_overlap_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_cell_overlap_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_cell_overlap_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68252,12 +68252,12 @@ int HP_skill_trap_splash(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_trap_splash_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_trap_splash_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_trap_splash_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68285,11 +68285,11 @@ int HP_skill_check_condition_mercenary(struct block_list *bl, int skill_id, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_condition_mercenary_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *skill_id, int *lv, int *type);
+ int (*preHookFunc) (struct block_list **bl, int *skill_id, int *lv, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_mercenary_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_condition_mercenary_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &skill_id, &lv, &type);
+ retVal___ = preHookFunc(&bl, &skill_id, &lv, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68312,11 +68312,11 @@ struct skill_unit_group* HP_skill_locate_element_field(struct block_list *bl) {
int hIndex = 0;
struct skill_unit_group* retVal___ = NULL;
if( HPMHooks.count.HP_skill_locate_element_field_pre ) {
- struct skill_unit_group* (*preHookFunc) (struct block_list *bl);
+ struct skill_unit_group* (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_locate_element_field_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_locate_element_field_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68339,12 +68339,12 @@ int HP_skill_graffitiremover(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_graffitiremover_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_graffitiremover_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_graffitiremover_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68372,12 +68372,12 @@ int HP_skill_activate_reverberation(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_activate_reverberation_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_activate_reverberation_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_activate_reverberation_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68405,12 +68405,12 @@ int HP_skill_dance_overlap_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_dance_overlap_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_dance_overlap_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_dance_overlap_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68438,11 +68438,11 @@ int HP_skill_dance_overlap(struct skill_unit *su, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_dance_overlap_pre ) {
- int (*preHookFunc) (struct skill_unit *su, int *flag);
+ int (*preHookFunc) (struct skill_unit **su, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_dance_overlap_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_dance_overlap_pre[hIndex].func;
- retVal___ = preHookFunc(su, &flag);
+ retVal___ = preHookFunc(&su, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68465,11 +68465,11 @@ struct s_skill_unit_layout* HP_skill_get_unit_layout(uint16 skill_id, uint16 ski
int hIndex = 0;
struct s_skill_unit_layout* retVal___ = NULL;
if( HPMHooks.count.HP_skill_get_unit_layout_pre ) {
- struct s_skill_unit_layout* (*preHookFunc) (uint16 *skill_id, uint16 *skill_lv, struct block_list *src, int *x, int *y);
+ struct s_skill_unit_layout* (*preHookFunc) (uint16 *skill_id, uint16 *skill_lv, struct block_list **src, int *x, int *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_unit_layout_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_get_unit_layout_pre[hIndex].func;
- retVal___ = preHookFunc(&skill_id, &skill_lv, src, &x, &y);
+ retVal___ = preHookFunc(&skill_id, &skill_lv, &src, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68492,12 +68492,12 @@ int HP_skill_frostjoke_scream(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_frostjoke_scream_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_frostjoke_scream_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_frostjoke_scream_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68525,12 +68525,12 @@ int HP_skill_greed(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_greed_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_greed_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_greed_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68558,12 +68558,12 @@ int HP_skill_destroy_trap(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_destroy_trap_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_destroy_trap_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_destroy_trap_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68591,11 +68591,11 @@ struct skill_unit_group_tickset* HP_skill_unitgrouptickset_search(struct block_l
int hIndex = 0;
struct skill_unit_group_tickset* retVal___ = NULL;
if( HPMHooks.count.HP_skill_unitgrouptickset_search_pre ) {
- struct skill_unit_group_tickset* (*preHookFunc) (struct block_list *bl, struct skill_unit_group *group, int64 *tick);
+ struct skill_unit_group_tickset* (*preHookFunc) (struct block_list **bl, struct skill_unit_group **group, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unitgrouptickset_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unitgrouptickset_search_pre[hIndex].func;
- retVal___ = preHookFunc(bl, group, &tick);
+ retVal___ = preHookFunc(&bl, &group, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68618,11 +68618,11 @@ bool HP_skill_dance_switch(struct skill_unit *su, int flag) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_dance_switch_pre ) {
- bool (*preHookFunc) (struct skill_unit *su, int *flag);
+ bool (*preHookFunc) (struct skill_unit **su, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_dance_switch_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_dance_switch_pre[hIndex].func;
- retVal___ = preHookFunc(su, &flag);
+ retVal___ = preHookFunc(&su, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68645,12 +68645,12 @@ int HP_skill_check_condition_char_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_condition_char_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_char_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_check_condition_char_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68678,12 +68678,12 @@ int HP_skill_check_condition_mob_master_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_condition_mob_master_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_mob_master_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_check_condition_mob_master_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68710,11 +68710,11 @@ int HP_skill_check_condition_mob_master_sub(struct block_list *bl, va_list ap) {
void HP_skill_brandishspear_first(struct square *tc, uint8 dir, int16 x, int16 y) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_brandishspear_first_pre ) {
- void (*preHookFunc) (struct square *tc, uint8 *dir, int16 *x, int16 *y);
+ void (*preHookFunc) (struct square **tc, uint8 *dir, int16 *x, int16 *y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_brandishspear_first_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_brandishspear_first_pre[hIndex].func;
- preHookFunc(tc, &dir, &x, &y);
+ preHookFunc(&tc, &dir, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68736,11 +68736,11 @@ void HP_skill_brandishspear_first(struct square *tc, uint8 dir, int16 x, int16 y
void HP_skill_brandishspear_dir(struct square *tc, uint8 dir, int are) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_brandishspear_dir_pre ) {
- void (*preHookFunc) (struct square *tc, uint8 *dir, int *are);
+ void (*preHookFunc) (struct square **tc, uint8 *dir, int *are);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_brandishspear_dir_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_brandishspear_dir_pre[hIndex].func;
- preHookFunc(tc, &dir, &are);
+ preHookFunc(&tc, &dir, &are);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68790,12 +68790,12 @@ int HP_skill_sit_count(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_sit_count_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_sit_count_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_sit_count_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68823,12 +68823,12 @@ int HP_skill_sit_in(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_sit_in_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_sit_in_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_sit_in_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68856,12 +68856,12 @@ int HP_skill_sit_out(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_sit_out_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_sit_out_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_sit_out_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68888,11 +68888,11 @@ int HP_skill_sit_out(struct block_list *bl, va_list ap) {
void HP_skill_unitsetmapcell(struct skill_unit *src, uint16 skill_id, uint16 skill_lv, cell_t cell, bool flag) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_unitsetmapcell_pre ) {
- void (*preHookFunc) (struct skill_unit *src, uint16 *skill_id, uint16 *skill_lv, cell_t *cell, bool *flag);
+ void (*preHookFunc) (struct skill_unit **src, uint16 *skill_id, uint16 *skill_lv, cell_t *cell, bool *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unitsetmapcell_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unitsetmapcell_pre[hIndex].func;
- preHookFunc(src, &skill_id, &skill_lv, &cell, &flag);
+ preHookFunc(&src, &skill_id, &skill_lv, &cell, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68915,11 +68915,11 @@ int HP_skill_unit_onplace_timer(struct skill_unit *src, struct block_list *bl, i
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_onplace_timer_pre ) {
- int (*preHookFunc) (struct skill_unit *src, struct block_list *bl, int64 *tick);
+ int (*preHookFunc) (struct skill_unit **src, struct block_list **bl, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_onplace_timer_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unit_onplace_timer_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &tick);
+ retVal___ = preHookFunc(&src, &bl, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -68942,12 +68942,12 @@ int HP_skill_unit_effect(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_effect_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_effect_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_unit_effect_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -68975,12 +68975,12 @@ int HP_skill_unit_timer_sub_onplace(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_timer_sub_onplace_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_timer_sub_onplace_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_unit_timer_sub_onplace_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -69008,12 +69008,12 @@ int HP_skill_unit_move_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_move_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_move_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_unit_move_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -69122,11 +69122,11 @@ int HP_skill_split_atoi(char *str, int *val) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_split_atoi_pre ) {
- int (*preHookFunc) (char *str, int *val);
+ int (*preHookFunc) (char **str, int **val);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_split_atoi_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_split_atoi_pre[hIndex].func;
- retVal___ = preHookFunc(str, val);
+ retVal___ = preHookFunc(&str, &val);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69176,12 +69176,12 @@ int HP_skill_unit_timer_sub(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_unit_timer_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_timer_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_unit_timer_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -69235,11 +69235,11 @@ bool HP_skill_parse_row_skilldb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_skilldb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_skilldb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_skilldb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69262,11 +69262,11 @@ bool HP_skill_parse_row_requiredb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_requiredb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_requiredb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_requiredb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69289,11 +69289,11 @@ bool HP_skill_parse_row_castdb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_castdb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_castdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_castdb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69316,11 +69316,11 @@ bool HP_skill_parse_row_castnodexdb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_castnodexdb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_castnodexdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_castnodexdb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69343,11 +69343,11 @@ bool HP_skill_parse_row_unitdb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_unitdb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_unitdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_unitdb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69370,11 +69370,11 @@ bool HP_skill_parse_row_producedb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_producedb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_producedb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_producedb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69397,11 +69397,11 @@ bool HP_skill_parse_row_createarrowdb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_createarrowdb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_createarrowdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_createarrowdb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69424,11 +69424,11 @@ bool HP_skill_parse_row_abradb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_abradb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_abradb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_abradb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69451,11 +69451,11 @@ bool HP_skill_parse_row_spellbookdb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_spellbookdb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_spellbookdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_spellbookdb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69478,11 +69478,11 @@ bool HP_skill_parse_row_magicmushroomdb(char *split[], int column, int current)
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_magicmushroomdb_pre ) {
- bool (*preHookFunc) (char *split[], int *column, int *current);
+ bool (*preHookFunc) (char **split[], int *column, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_magicmushroomdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_magicmushroomdb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &column, &current);
+ retVal___ = preHookFunc(&split, &column, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69505,11 +69505,11 @@ bool HP_skill_parse_row_reproducedb(char *split[], int column, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_reproducedb_pre ) {
- bool (*preHookFunc) (char *split[], int *column, int *current);
+ bool (*preHookFunc) (char **split[], int *column, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_reproducedb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_reproducedb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &column, &current);
+ retVal___ = preHookFunc(&split, &column, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69532,11 +69532,11 @@ bool HP_skill_parse_row_improvisedb(char *split[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_improvisedb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_improvisedb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_improvisedb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69559,11 +69559,11 @@ bool HP_skill_parse_row_changematerialdb(char *split[], int columns, int current
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_parse_row_changematerialdb_pre ) {
- bool (*preHookFunc) (char *split[], int *columns, int *current);
+ bool (*preHookFunc) (char **split[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_parse_row_changematerialdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_parse_row_changematerialdb_pre[hIndex].func;
- retVal___ = preHookFunc(split, &columns, &current);
+ retVal___ = preHookFunc(&split, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69585,11 +69585,11 @@ bool HP_skill_parse_row_changematerialdb(char *split[], int columns, int current
void HP_skill_usave_add(struct map_session_data *sd, uint16 skill_id, uint16 skill_lv) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_usave_add_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_usave_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_usave_add_pre[hIndex].func;
- preHookFunc(sd, &skill_id, &skill_lv);
+ preHookFunc(&sd, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69611,11 +69611,11 @@ void HP_skill_usave_add(struct map_session_data *sd, uint16 skill_id, uint16 ski
void HP_skill_usave_trigger(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_usave_trigger_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_usave_trigger_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_usave_trigger_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69637,11 +69637,11 @@ void HP_skill_usave_trigger(struct map_session_data *sd) {
void HP_skill_cooldown_load(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_cooldown_load_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_cooldown_load_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_cooldown_load_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69664,11 +69664,11 @@ int HP_skill_spellbook(struct map_session_data *sd, int nameid) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_spellbook_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *nameid);
+ int (*preHookFunc) (struct map_session_data **sd, int *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_spellbook_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_spellbook_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid);
+ retVal___ = preHookFunc(&sd, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69691,11 +69691,11 @@ int HP_skill_block_check(struct block_list *bl, enum sc_type type, uint16 skill_
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_block_check_pre ) {
- int (*preHookFunc) (struct block_list *bl, enum sc_type *type, uint16 *skill_id);
+ int (*preHookFunc) (struct block_list **bl, enum sc_type *type, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_block_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_block_check_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &type, &skill_id);
+ retVal___ = preHookFunc(&bl, &type, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69718,12 +69718,12 @@ int HP_skill_detonator(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_detonator_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_detonator_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_skill_detonator_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -69751,11 +69751,11 @@ bool HP_skill_check_camouflage(struct block_list *bl, struct status_change_entry
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_check_camouflage_pre ) {
- bool (*preHookFunc) (struct block_list *bl, struct status_change_entry *sce);
+ bool (*preHookFunc) (struct block_list **bl, struct status_change_entry **sce);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_camouflage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_camouflage_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sce);
+ retVal___ = preHookFunc(&bl, &sce);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69778,11 +69778,11 @@ int HP_skill_magicdecoy(struct map_session_data *sd, int nameid) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_magicdecoy_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *nameid);
+ int (*preHookFunc) (struct map_session_data **sd, int *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_magicdecoy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_magicdecoy_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid);
+ retVal___ = preHookFunc(&sd, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69805,11 +69805,11 @@ int HP_skill_poisoningweapon(struct map_session_data *sd, int nameid) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_poisoningweapon_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *nameid);
+ int (*preHookFunc) (struct map_session_data **sd, int *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_poisoningweapon_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_poisoningweapon_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid);
+ retVal___ = preHookFunc(&sd, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69832,11 +69832,11 @@ int HP_skill_select_menu(struct map_session_data *sd, uint16 skill_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_select_menu_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_select_menu_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_select_menu_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_id);
+ retVal___ = preHookFunc(&sd, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69859,11 +69859,11 @@ int HP_skill_elementalanalysis(struct map_session_data *sd, uint16 skill_lv, con
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_elementalanalysis_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, uint16 *skill_lv, const struct itemlist *item_list);
+ int (*preHookFunc) (struct map_session_data **sd, uint16 *skill_lv, const struct itemlist **item_list);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_elementalanalysis_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_elementalanalysis_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &skill_lv, item_list);
+ retVal___ = preHookFunc(&sd, &skill_lv, &item_list);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69886,11 +69886,11 @@ int HP_skill_changematerial(struct map_session_data *sd, const struct itemlist *
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_changematerial_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, const struct itemlist *item_list);
+ int (*preHookFunc) (struct map_session_data **sd, const struct itemlist **item_list);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_changematerial_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_changematerial_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item_list);
+ retVal___ = preHookFunc(&sd, &item_list);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69939,11 +69939,11 @@ int HP_skill_get_elemental_type(uint16 skill_id, uint16 skill_lv) {
void HP_skill_cooldown_save(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_cooldown_save_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_cooldown_save_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_cooldown_save_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -69993,11 +69993,11 @@ bool HP_skill_check_shadowform(struct block_list *bl, int64 damage, int hit) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_check_shadowform_pre ) {
- bool (*preHookFunc) (struct block_list *bl, int64 *damage, int *hit);
+ bool (*preHookFunc) (struct block_list **bl, int64 *damage, int *hit);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_shadowform_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_shadowform_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &damage, &hit);
+ retVal___ = preHookFunc(&bl, &damage, &hit);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70020,11 +70020,11 @@ bool HP_skill_castend_damage_id_unknown(struct block_list *src, struct block_lis
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_castend_damage_id_unknown_pre ) {
- bool (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, struct status_data *tstatus, struct status_change *sc);
+ bool (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag, struct status_data **tstatus, struct status_change **sc);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_damage_id_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_damage_id_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, skill_id, skill_lv, tick, flag, tstatus, sc);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &tick, &flag, &tstatus, &sc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70046,11 +70046,11 @@ bool HP_skill_castend_damage_id_unknown(struct block_list *src, struct block_lis
void HP_skill_additional_effect_unknown(struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int *dmg_lv, int64 *tick) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_additional_effect_unknown_pre ) {
- void (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int *dmg_lv, int64 *tick);
+ void (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int **attack_type, int **dmg_lv, int64 **tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_additional_effect_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_additional_effect_unknown_pre[hIndex].func;
- preHookFunc(src, bl, skill_id, skill_lv, attack_type, dmg_lv, tick);
+ preHookFunc(&src, &bl, &skill_id, &skill_lv, &attack_type, &dmg_lv, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70072,11 +70072,11 @@ void HP_skill_additional_effect_unknown(struct block_list *src, struct block_lis
void HP_skill_counter_additional_effect_unknown(struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int64 *tick) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_counter_additional_effect_unknown_pre ) {
- void (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int *attack_type, int64 *tick);
+ void (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int **attack_type, int64 **tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_counter_additional_effect_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_counter_additional_effect_unknown_pre[hIndex].func;
- preHookFunc(src, bl, skill_id, skill_lv, attack_type, tick);
+ preHookFunc(&src, &bl, &skill_id, &skill_lv, &attack_type, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70098,11 +70098,11 @@ void HP_skill_counter_additional_effect_unknown(struct block_list *src, struct b
void HP_skill_attack_combo1_unknown(int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, struct status_change_entry *sce, int *combo) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_attack_combo1_unknown_pre ) {
- void (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, struct status_change_entry *sce, int *combo);
+ void (*preHookFunc) (int **attack_type, struct block_list **src, struct block_list **dsrc, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag, struct status_change_entry **sce, int **combo);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_combo1_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_attack_combo1_unknown_pre[hIndex].func;
- preHookFunc(attack_type, src, dsrc, bl, skill_id, skill_lv, tick, flag, sce, combo);
+ preHookFunc(&attack_type, &src, &dsrc, &bl, &skill_id, &skill_lv, &tick, &flag, &sce, &combo);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70124,11 +70124,11 @@ void HP_skill_attack_combo1_unknown(int *attack_type, struct block_list *src, st
void HP_skill_attack_combo2_unknown(int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, int *combo) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_attack_combo2_unknown_pre ) {
- void (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, int *combo);
+ void (*preHookFunc) (int **attack_type, struct block_list **src, struct block_list **dsrc, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag, int **combo);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_combo2_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_attack_combo2_unknown_pre[hIndex].func;
- preHookFunc(attack_type, src, dsrc, bl, skill_id, skill_lv, tick, flag, combo);
+ preHookFunc(&attack_type, &src, &dsrc, &bl, &skill_id, &skill_lv, &tick, &flag, &combo);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70150,11 +70150,11 @@ void HP_skill_attack_combo2_unknown(int *attack_type, struct block_list *src, st
void HP_skill_attack_display_unknown(int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, int *type, struct Damage *dmg, int64 *damage) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_attack_display_unknown_pre ) {
- void (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, int *type, struct Damage *dmg, int64 *damage);
+ void (*preHookFunc) (int **attack_type, struct block_list **src, struct block_list **dsrc, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag, int **type, struct Damage **dmg, int64 **damage);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_display_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_attack_display_unknown_pre[hIndex].func;
- preHookFunc(attack_type, src, dsrc, bl, skill_id, skill_lv, tick, flag, type, dmg, damage);
+ preHookFunc(&attack_type, &src, &dsrc, &bl, &skill_id, &skill_lv, &tick, &flag, &type, &dmg, &damage);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70177,11 +70177,11 @@ int HP_skill_attack_copy_unknown(int *attack_type, struct block_list *src, struc
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_attack_copy_unknown_pre ) {
- int (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*preHookFunc) (int **attack_type, struct block_list **src, struct block_list **dsrc, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_copy_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_attack_copy_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(attack_type, src, dsrc, bl, skill_id, skill_lv, tick, flag);
+ retVal___ = preHookFunc(&attack_type, &src, &dsrc, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70204,11 +70204,11 @@ int HP_skill_attack_dir_unknown(int *attack_type, struct block_list *src, struct
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_attack_dir_unknown_pre ) {
- int (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ int (*preHookFunc) (int **attack_type, struct block_list **src, struct block_list **dsrc, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_dir_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_attack_dir_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(attack_type, src, dsrc, bl, skill_id, skill_lv, tick, flag);
+ retVal___ = preHookFunc(&attack_type, &src, &dsrc, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70230,11 +70230,11 @@ int HP_skill_attack_dir_unknown(int *attack_type, struct block_list *src, struct
void HP_skill_attack_blow_unknown(int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, int *type, struct Damage *dmg, int64 *damage, int8 *dir) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_attack_blow_unknown_pre ) {
- void (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag, int *type, struct Damage *dmg, int64 *damage, int8 *dir);
+ void (*preHookFunc) (int **attack_type, struct block_list **src, struct block_list **dsrc, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag, int **type, struct Damage **dmg, int64 **damage, int8 **dir);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_blow_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_attack_blow_unknown_pre[hIndex].func;
- preHookFunc(attack_type, src, dsrc, bl, skill_id, skill_lv, tick, flag, type, dmg, damage, dir);
+ preHookFunc(&attack_type, &src, &dsrc, &bl, &skill_id, &skill_lv, &tick, &flag, &type, &dmg, &damage, &dir);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70256,11 +70256,11 @@ void HP_skill_attack_blow_unknown(int *attack_type, struct block_list *src, stru
void HP_skill_attack_post_unknown(int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_attack_post_unknown_pre ) {
- void (*preHookFunc) (int *attack_type, struct block_list *src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ void (*preHookFunc) (int **attack_type, struct block_list **src, struct block_list **dsrc, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_attack_post_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_attack_post_unknown_pre[hIndex].func;
- preHookFunc(attack_type, src, dsrc, bl, skill_id, skill_lv, tick, flag);
+ preHookFunc(&attack_type, &src, &dsrc, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70283,11 +70283,11 @@ bool HP_skill_timerskill_dead_unknown(struct block_list *src, struct unit_data *
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_timerskill_dead_unknown_pre ) {
- bool (*preHookFunc) (struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
+ bool (*preHookFunc) (struct block_list **src, struct unit_data **ud, struct skill_timerskill **skl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_timerskill_dead_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_timerskill_dead_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(src, ud, skl);
+ retVal___ = preHookFunc(&src, &ud, &skl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70309,11 +70309,11 @@ bool HP_skill_timerskill_dead_unknown(struct block_list *src, struct unit_data *
void HP_skill_timerskill_target_unknown(int tid, int64 tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_timerskill_target_unknown_pre ) {
- void (*preHookFunc) (int *tid, int64 *tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
+ void (*preHookFunc) (int *tid, int64 *tick, struct block_list **src, struct block_list **target, struct unit_data **ud, struct skill_timerskill **skl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_timerskill_target_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_timerskill_target_unknown_pre[hIndex].func;
- preHookFunc(&tid, &tick, src, target, ud, skl);
+ preHookFunc(&tid, &tick, &src, &target, &ud, &skl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70335,11 +70335,11 @@ void HP_skill_timerskill_target_unknown(int tid, int64 tick, struct block_list *
void HP_skill_timerskill_notarget_unknown(int tid, int64 tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_timerskill_notarget_unknown_pre ) {
- void (*preHookFunc) (int *tid, int64 *tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
+ void (*preHookFunc) (int *tid, int64 *tick, struct block_list **src, struct unit_data **ud, struct skill_timerskill **skl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_timerskill_notarget_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_timerskill_notarget_unknown_pre[hIndex].func;
- preHookFunc(&tid, &tick, src, ud, skl);
+ preHookFunc(&tid, &tick, &src, &ud, &skl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70389,11 +70389,11 @@ bool HP_skill_castend_id_unknown(struct unit_data *ud, struct block_list *src, s
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_castend_id_unknown_pre ) {
- bool (*preHookFunc) (struct unit_data *ud, struct block_list *src, struct block_list *target);
+ bool (*preHookFunc) (struct unit_data **ud, struct block_list **src, struct block_list **target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_id_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_id_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(ud, src, target);
+ retVal___ = preHookFunc(&ud, &src, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70416,11 +70416,11 @@ bool HP_skill_castend_nodamage_id_dead_unknown(struct block_list *src, struct bl
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_castend_nodamage_id_dead_unknown_pre ) {
- bool (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ bool (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_nodamage_id_dead_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_nodamage_id_dead_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, skill_id, skill_lv, tick, flag);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70443,11 +70443,11 @@ bool HP_skill_castend_nodamage_id_undead_unknown(struct block_list *src, struct
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_castend_nodamage_id_undead_unknown_pre ) {
- bool (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ bool (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_nodamage_id_undead_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_nodamage_id_undead_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, skill_id, skill_lv, tick, flag);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70470,11 +70470,11 @@ bool HP_skill_castend_nodamage_id_mado_unknown(struct block_list *src, struct bl
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_castend_nodamage_id_mado_unknown_pre ) {
- bool (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ bool (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_nodamage_id_mado_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_nodamage_id_mado_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, skill_id, skill_lv, tick, flag);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70497,11 +70497,11 @@ bool HP_skill_castend_nodamage_id_unknown(struct block_list *src, struct block_l
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_castend_nodamage_id_unknown_pre ) {
- bool (*preHookFunc) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ bool (*preHookFunc) (struct block_list **src, struct block_list **bl, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_nodamage_id_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_nodamage_id_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, skill_id, skill_lv, tick, flag);
+ retVal___ = preHookFunc(&src, &bl, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70523,11 +70523,11 @@ bool HP_skill_castend_nodamage_id_unknown(struct block_list *src, struct block_l
void HP_skill_castend_pos2_effect_unknown(struct block_list *src, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_castend_pos2_effect_unknown_pre ) {
- void (*preHookFunc) (struct block_list *src, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ void (*preHookFunc) (struct block_list **src, int **x, int **y, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_pos2_effect_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_pos2_effect_unknown_pre[hIndex].func;
- preHookFunc(src, x, y, skill_id, skill_lv, tick, flag);
+ preHookFunc(&src, &x, &y, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70550,11 +70550,11 @@ bool HP_skill_castend_pos2_unknown(struct block_list *src, int *x, int *y, uint1
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_castend_pos2_unknown_pre ) {
- bool (*preHookFunc) (struct block_list *src, int *x, int *y, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
+ bool (*preHookFunc) (struct block_list **src, int **x, int **y, uint16 **skill_id, uint16 **skill_lv, int64 **tick, int **flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_castend_pos2_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_castend_pos2_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(src, x, y, skill_id, skill_lv, tick, flag);
+ retVal___ = preHookFunc(&src, &x, &y, &skill_id, &skill_lv, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70576,11 +70576,11 @@ bool HP_skill_castend_pos2_unknown(struct block_list *src, int *x, int *y, uint1
void HP_skill_unitsetting1_unknown(struct block_list *src, uint16 *skill_id, uint16 *skill_lv, int16 *x, int16 *y, int *flag, int *val1, int *val2, int *val3) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_unitsetting1_unknown_pre ) {
- void (*preHookFunc) (struct block_list *src, uint16 *skill_id, uint16 *skill_lv, int16 *x, int16 *y, int *flag, int *val1, int *val2, int *val3);
+ void (*preHookFunc) (struct block_list **src, uint16 **skill_id, uint16 **skill_lv, int16 **x, int16 **y, int **flag, int **val1, int **val2, int **val3);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unitsetting1_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unitsetting1_unknown_pre[hIndex].func;
- preHookFunc(src, skill_id, skill_lv, x, y, flag, val1, val2, val3);
+ preHookFunc(&src, &skill_id, &skill_lv, &x, &y, &flag, &val1, &val2, &val3);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70602,11 +70602,11 @@ void HP_skill_unitsetting1_unknown(struct block_list *src, uint16 *skill_id, uin
void HP_skill_unitsetting2_unknown(struct block_list *src, uint16 *skill_id, uint16 *skill_lv, int16 *x, int16 *y, int *flag, int *unit_flag, int *val1, int *val2, int *val3, struct skill_unit_group *group) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_unitsetting2_unknown_pre ) {
- void (*preHookFunc) (struct block_list *src, uint16 *skill_id, uint16 *skill_lv, int16 *x, int16 *y, int *flag, int *unit_flag, int *val1, int *val2, int *val3, struct skill_unit_group *group);
+ void (*preHookFunc) (struct block_list **src, uint16 **skill_id, uint16 **skill_lv, int16 **x, int16 **y, int **flag, int **unit_flag, int **val1, int **val2, int **val3, struct skill_unit_group **group);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unitsetting2_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unitsetting2_unknown_pre[hIndex].func;
- preHookFunc(src, skill_id, skill_lv, x, y, flag, unit_flag, val1, val2, val3, group);
+ preHookFunc(&src, &skill_id, &skill_lv, &x, &y, &flag, &unit_flag, &val1, &val2, &val3, &group);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70628,11 +70628,11 @@ void HP_skill_unitsetting2_unknown(struct block_list *src, uint16 *skill_id, uin
void HP_skill_unit_onplace_unknown(struct skill_unit *src, struct block_list *bl, int64 *tick) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_unit_onplace_unknown_pre ) {
- void (*preHookFunc) (struct skill_unit *src, struct block_list *bl, int64 *tick);
+ void (*preHookFunc) (struct skill_unit **src, struct block_list **bl, int64 **tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_unit_onplace_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_unit_onplace_unknown_pre[hIndex].func;
- preHookFunc(src, bl, tick);
+ preHookFunc(&src, &bl, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70655,11 +70655,11 @@ int HP_skill_check_condition_castbegin_off_unknown(struct status_change *sc, uin
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_condition_castbegin_off_unknown_pre ) {
- int (*preHookFunc) (struct status_change *sc, uint16 *skill_id);
+ int (*preHookFunc) (struct status_change **sc, uint16 **skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_castbegin_off_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_condition_castbegin_off_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(sc, skill_id);
+ retVal___ = preHookFunc(&sc, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70682,11 +70682,11 @@ int HP_skill_check_condition_castbegin_mount_unknown(struct status_change *sc, u
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_condition_castbegin_mount_unknown_pre ) {
- int (*preHookFunc) (struct status_change *sc, uint16 *skill_id);
+ int (*preHookFunc) (struct status_change **sc, uint16 **skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_castbegin_mount_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_condition_castbegin_mount_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(sc, skill_id);
+ retVal___ = preHookFunc(&sc, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70709,11 +70709,11 @@ int HP_skill_check_condition_castbegin_madogear_unknown(struct status_change *sc
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_condition_castbegin_madogear_unknown_pre ) {
- int (*preHookFunc) (struct status_change *sc, uint16 *skill_id);
+ int (*preHookFunc) (struct status_change **sc, uint16 **skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_castbegin_madogear_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_condition_castbegin_madogear_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(sc, skill_id);
+ retVal___ = preHookFunc(&sc, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70736,11 +70736,11 @@ int HP_skill_check_condition_castbegin_unknown(struct status_change *sc, uint16
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_skill_check_condition_castbegin_unknown_pre ) {
- int (*preHookFunc) (struct status_change *sc, uint16 *skill_id);
+ int (*preHookFunc) (struct status_change **sc, uint16 **skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_castbegin_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_condition_castbegin_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(sc, skill_id);
+ retVal___ = preHookFunc(&sc, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70762,11 +70762,11 @@ int HP_skill_check_condition_castbegin_unknown(struct status_change *sc, uint16
void HP_skill_check_condition_castend_unknown(struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_check_condition_castend_unknown_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv);
+ void (*preHookFunc) (struct map_session_data **sd, uint16 **skill_id, uint16 **skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_check_condition_castend_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_check_condition_castend_unknown_pre[hIndex].func;
- preHookFunc(sd, skill_id, skill_lv);
+ preHookFunc(&sd, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70789,11 +70789,11 @@ bool HP_skill_get_requirement_off_unknown(struct status_change *sc, uint16 *skil
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_get_requirement_off_unknown_pre ) {
- bool (*preHookFunc) (struct status_change *sc, uint16 *skill_id);
+ bool (*preHookFunc) (struct status_change **sc, uint16 **skill_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_requirement_off_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_get_requirement_off_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(sc, skill_id);
+ retVal___ = preHookFunc(&sc, &skill_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70816,11 +70816,11 @@ bool HP_skill_get_requirement_item_unknown(struct status_change *sc, struct map_
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_skill_get_requirement_item_unknown_pre ) {
- bool (*preHookFunc) (struct status_change *sc, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, uint16 *idx, int *i);
+ bool (*preHookFunc) (struct status_change **sc, struct map_session_data **sd, uint16 **skill_id, uint16 **skill_lv, uint16 **idx, int **i);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_requirement_item_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_get_requirement_item_unknown_pre[hIndex].func;
- retVal___ = preHookFunc(sc, sd, skill_id, skill_lv, idx, i);
+ retVal___ = preHookFunc(&sc, &sd, &skill_id, &skill_lv, &idx, &i);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -70842,11 +70842,11 @@ bool HP_skill_get_requirement_item_unknown(struct status_change *sc, struct map_
void HP_skill_get_requirement_unknown(struct status_change *sc, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, struct skill_condition *req) {
int hIndex = 0;
if( HPMHooks.count.HP_skill_get_requirement_unknown_pre ) {
- void (*preHookFunc) (struct status_change *sc, struct map_session_data *sd, uint16 *skill_id, uint16 *skill_lv, struct skill_condition *req);
+ void (*preHookFunc) (struct status_change **sc, struct map_session_data **sd, uint16 **skill_id, uint16 **skill_lv, struct skill_condition **req);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_skill_get_requirement_unknown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_skill_get_requirement_unknown_pre[hIndex].func;
- preHookFunc(sc, sd, skill_id, skill_lv, req);
+ preHookFunc(&sc, &sd, &skill_id, &skill_lv, &req);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71002,11 +71002,11 @@ int HP_sockt_make_connection(uint32 ip, uint16 port, struct hSockOpt *opt) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sockt_make_connection_pre ) {
- int (*preHookFunc) (uint32 *ip, uint16 *port, struct hSockOpt *opt);
+ int (*preHookFunc) (uint32 *ip, uint16 *port, struct hSockOpt **opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_make_connection_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_make_connection_pre[hIndex].func;
- retVal___ = preHookFunc(&ip, &port, opt);
+ retVal___ = preHookFunc(&ip, &port, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71321,11 +71321,11 @@ uint32 HP_sockt_host2ip(const char *hostname) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_sockt_host2ip_pre ) {
- uint32 (*preHookFunc) (const char *hostname);
+ uint32 (*preHookFunc) (const char **hostname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_host2ip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_host2ip_pre[hIndex].func;
- retVal___ = preHookFunc(hostname);
+ retVal___ = preHookFunc(&hostname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71348,11 +71348,11 @@ const char* HP_sockt_ip2str(uint32 ip, char *ip_str) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_sockt_ip2str_pre ) {
- const char* (*preHookFunc) (uint32 *ip, char *ip_str);
+ const char* (*preHookFunc) (uint32 *ip, char **ip_str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_ip2str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_ip2str_pre[hIndex].func;
- retVal___ = preHookFunc(&ip, ip_str);
+ retVal___ = preHookFunc(&ip, &ip_str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71375,11 +71375,11 @@ uint32 HP_sockt_str2ip(const char *ip_str) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_sockt_str2ip_pre ) {
- uint32 (*preHookFunc) (const char *ip_str);
+ uint32 (*preHookFunc) (const char **ip_str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_str2ip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_str2ip_pre[hIndex].func;
- retVal___ = preHookFunc(ip_str);
+ retVal___ = preHookFunc(&ip_str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71429,11 +71429,11 @@ int HP_sockt_getips(uint32 *ips, int max) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sockt_getips_pre ) {
- int (*preHookFunc) (uint32 *ips, int *max);
+ int (*preHookFunc) (uint32 **ips, int *max);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_getips_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_getips_pre[hIndex].func;
- retVal___ = preHookFunc(ips, &max);
+ retVal___ = preHookFunc(&ips, &max);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71482,11 +71482,11 @@ uint32 HP_sockt_lan_subnet_check(uint32 ip, struct s_subnet *info) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_sockt_lan_subnet_check_pre ) {
- uint32 (*preHookFunc) (uint32 *ip, struct s_subnet *info);
+ uint32 (*preHookFunc) (uint32 *ip, struct s_subnet **info);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_lan_subnet_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_lan_subnet_check_pre[hIndex].func;
- retVal___ = preHookFunc(&ip, info);
+ retVal___ = preHookFunc(&ip, &info);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71563,11 +71563,11 @@ int HP_sockt_net_config_read_sub(struct config_setting_t *t, struct s_subnet_vec
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sockt_net_config_read_sub_pre ) {
- int (*preHookFunc) (struct config_setting_t *t, struct s_subnet_vector *list, const char *filename, const char *groupname);
+ int (*preHookFunc) (struct config_setting_t **t, struct s_subnet_vector **list, const char **filename, const char **groupname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_net_config_read_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_net_config_read_sub_pre[hIndex].func;
- retVal___ = preHookFunc(t, list, filename, groupname);
+ retVal___ = preHookFunc(&t, &list, &filename, &groupname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71589,11 +71589,11 @@ int HP_sockt_net_config_read_sub(struct config_setting_t *t, struct s_subnet_vec
void HP_sockt_net_config_read(const char *filename) {
int hIndex = 0;
if( HPMHooks.count.HP_sockt_net_config_read_pre ) {
- void (*preHookFunc) (const char *filename);
+ void (*preHookFunc) (const char **filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_net_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_net_config_read_pre[hIndex].func;
- preHookFunc(filename);
+ preHookFunc(&filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71617,11 +71617,11 @@ int HP_SQL_Connect(struct Sql *self, const char *user, const char *passwd, const
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_Connect_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *user, const char *passwd, const char *host, uint16 *port, const char *db);
+ int (*preHookFunc) (struct Sql **self, const char **user, const char **passwd, const char **host, uint16 *port, const char **db);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_Connect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_Connect_pre[hIndex].func;
- retVal___ = preHookFunc(self, user, passwd, host, &port, db);
+ retVal___ = preHookFunc(&self, &user, &passwd, &host, &port, &db);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71644,11 +71644,11 @@ int HP_SQL_GetTimeout(struct Sql *self, uint32 *out_timeout) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_GetTimeout_pre ) {
- int (*preHookFunc) (struct Sql *self, uint32 *out_timeout);
+ int (*preHookFunc) (struct Sql **self, uint32 **out_timeout);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_GetTimeout_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_GetTimeout_pre[hIndex].func;
- retVal___ = preHookFunc(self, out_timeout);
+ retVal___ = preHookFunc(&self, &out_timeout);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71671,11 +71671,11 @@ int HP_SQL_GetColumnNames(struct Sql *self, const char *table, char *out_buf, si
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_GetColumnNames_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *table, char *out_buf, size_t *buf_len, char *sep);
+ int (*preHookFunc) (struct Sql **self, const char **table, char **out_buf, size_t *buf_len, char *sep);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_GetColumnNames_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_GetColumnNames_pre[hIndex].func;
- retVal___ = preHookFunc(self, table, out_buf, &buf_len, &sep);
+ retVal___ = preHookFunc(&self, &table, &out_buf, &buf_len, &sep);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71698,11 +71698,11 @@ int HP_SQL_SetEncoding(struct Sql *self, const char *encoding) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_SetEncoding_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *encoding);
+ int (*preHookFunc) (struct Sql **self, const char **encoding);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_SetEncoding_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_SetEncoding_pre[hIndex].func;
- retVal___ = preHookFunc(self, encoding);
+ retVal___ = preHookFunc(&self, &encoding);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71725,11 +71725,11 @@ int HP_SQL_Ping(struct Sql *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_Ping_pre ) {
- int (*preHookFunc) (struct Sql *self);
+ int (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_Ping_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_Ping_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71752,11 +71752,11 @@ size_t HP_SQL_EscapeString(struct Sql *self, char *out_to, const char *from) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_SQL_EscapeString_pre ) {
- size_t (*preHookFunc) (struct Sql *self, char *out_to, const char *from);
+ size_t (*preHookFunc) (struct Sql **self, char **out_to, const char **from);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_EscapeString_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_EscapeString_pre[hIndex].func;
- retVal___ = preHookFunc(self, out_to, from);
+ retVal___ = preHookFunc(&self, &out_to, &from);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71779,11 +71779,11 @@ size_t HP_SQL_EscapeStringLen(struct Sql *self, char *out_to, const char *from,
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_SQL_EscapeStringLen_pre ) {
- size_t (*preHookFunc) (struct Sql *self, char *out_to, const char *from, size_t *from_len);
+ size_t (*preHookFunc) (struct Sql **self, char **out_to, const char **from, size_t *from_len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_EscapeStringLen_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_EscapeStringLen_pre[hIndex].func;
- retVal___ = preHookFunc(self, out_to, from, &from_len);
+ retVal___ = preHookFunc(&self, &out_to, &from, &from_len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71806,12 +71806,12 @@ int HP_SQL_QueryV(struct Sql *self, const char *query, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_QueryV_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *query, va_list args);
+ int (*preHookFunc) (struct Sql **self, const char **query, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_QueryV_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_SQL_QueryV_pre[hIndex].func;
- retVal___ = preHookFunc(self, query, args___copy);
+ retVal___ = preHookFunc(&self, &query, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -71839,11 +71839,11 @@ int HP_SQL_QueryStr(struct Sql *self, const char *query) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_QueryStr_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *query);
+ int (*preHookFunc) (struct Sql **self, const char **query);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_QueryStr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_QueryStr_pre[hIndex].func;
- retVal___ = preHookFunc(self, query);
+ retVal___ = preHookFunc(&self, &query);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71866,11 +71866,11 @@ uint64 HP_SQL_LastInsertId(struct Sql *self) {
int hIndex = 0;
uint64 retVal___ = 0;
if( HPMHooks.count.HP_SQL_LastInsertId_pre ) {
- uint64 (*preHookFunc) (struct Sql *self);
+ uint64 (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_LastInsertId_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_LastInsertId_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71893,11 +71893,11 @@ uint32 HP_SQL_NumColumns(struct Sql *self) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_SQL_NumColumns_pre ) {
- uint32 (*preHookFunc) (struct Sql *self);
+ uint32 (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_NumColumns_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_NumColumns_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71920,11 +71920,11 @@ uint64 HP_SQL_NumRows(struct Sql *self) {
int hIndex = 0;
uint64 retVal___ = 0;
if( HPMHooks.count.HP_SQL_NumRows_pre ) {
- uint64 (*preHookFunc) (struct Sql *self);
+ uint64 (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_NumRows_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_NumRows_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71947,11 +71947,11 @@ int HP_SQL_NextRow(struct Sql *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_NextRow_pre ) {
- int (*preHookFunc) (struct Sql *self);
+ int (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_NextRow_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_NextRow_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -71974,11 +71974,11 @@ int HP_SQL_GetData(struct Sql *self, size_t col, char **out_buf, size_t *out_len
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_GetData_pre ) {
- int (*preHookFunc) (struct Sql *self, size_t *col, char **out_buf, size_t *out_len);
+ int (*preHookFunc) (struct Sql **self, size_t *col, char ***out_buf, size_t **out_len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_GetData_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_GetData_pre[hIndex].func;
- retVal___ = preHookFunc(self, &col, out_buf, out_len);
+ retVal___ = preHookFunc(&self, &col, &out_buf, &out_len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72000,11 +72000,11 @@ int HP_SQL_GetData(struct Sql *self, size_t col, char **out_buf, size_t *out_len
void HP_SQL_FreeResult(struct Sql *self) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_FreeResult_pre ) {
- void (*preHookFunc) (struct Sql *self);
+ void (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_FreeResult_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_FreeResult_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72026,11 +72026,11 @@ void HP_SQL_FreeResult(struct Sql *self) {
void HP_SQL_ShowDebug_(struct Sql *self, const char *debug_file, const unsigned long debug_line) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_ShowDebug__pre ) {
- void (*preHookFunc) (struct Sql *self, const char *debug_file, const unsigned long *debug_line);
+ void (*preHookFunc) (struct Sql **self, const char **debug_file, const unsigned long *debug_line);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_ShowDebug__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_ShowDebug__pre[hIndex].func;
- preHookFunc(self, debug_file, &debug_line);
+ preHookFunc(&self, &debug_file, &debug_line);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72052,11 +72052,11 @@ void HP_SQL_ShowDebug_(struct Sql *self, const char *debug_file, const unsigned
void HP_SQL_Free(struct Sql *self) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_Free_pre ) {
- void (*preHookFunc) (struct Sql *self);
+ void (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_Free_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_Free_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72106,11 +72106,11 @@ struct SqlStmt* HP_SQL_StmtMalloc(struct Sql *sql) {
int hIndex = 0;
struct SqlStmt* retVal___ = NULL;
if( HPMHooks.count.HP_SQL_StmtMalloc_pre ) {
- struct SqlStmt* (*preHookFunc) (struct Sql *sql);
+ struct SqlStmt* (*preHookFunc) (struct Sql **sql);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtMalloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtMalloc_pre[hIndex].func;
- retVal___ = preHookFunc(sql);
+ retVal___ = preHookFunc(&sql);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72133,12 +72133,12 @@ int HP_SQL_StmtPrepareV(struct SqlStmt *self, const char *query, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtPrepareV_pre ) {
- int (*preHookFunc) (struct SqlStmt *self, const char *query, va_list args);
+ int (*preHookFunc) (struct SqlStmt **self, const char **query, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtPrepareV_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_SQL_StmtPrepareV_pre[hIndex].func;
- retVal___ = preHookFunc(self, query, args___copy);
+ retVal___ = preHookFunc(&self, &query, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -72166,11 +72166,11 @@ int HP_SQL_StmtPrepareStr(struct SqlStmt *self, const char *query) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtPrepareStr_pre ) {
- int (*preHookFunc) (struct SqlStmt *self, const char *query);
+ int (*preHookFunc) (struct SqlStmt **self, const char **query);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtPrepareStr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtPrepareStr_pre[hIndex].func;
- retVal___ = preHookFunc(self, query);
+ retVal___ = preHookFunc(&self, &query);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72193,11 +72193,11 @@ size_t HP_SQL_StmtNumParams(struct SqlStmt *self) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtNumParams_pre ) {
- size_t (*preHookFunc) (struct SqlStmt *self);
+ size_t (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtNumParams_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtNumParams_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72220,11 +72220,11 @@ int HP_SQL_StmtBindParam(struct SqlStmt *self, size_t idx, enum SqlDataType buff
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtBindParam_pre ) {
- int (*preHookFunc) (struct SqlStmt *self, size_t *idx, enum SqlDataType *buffer_type, const void *buffer, size_t *buffer_len);
+ int (*preHookFunc) (struct SqlStmt **self, size_t *idx, enum SqlDataType *buffer_type, const void **buffer, size_t *buffer_len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtBindParam_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtBindParam_pre[hIndex].func;
- retVal___ = preHookFunc(self, &idx, &buffer_type, buffer, &buffer_len);
+ retVal___ = preHookFunc(&self, &idx, &buffer_type, &buffer, &buffer_len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72247,11 +72247,11 @@ int HP_SQL_StmtExecute(struct SqlStmt *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtExecute_pre ) {
- int (*preHookFunc) (struct SqlStmt *self);
+ int (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtExecute_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtExecute_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72274,11 +72274,11 @@ uint64 HP_SQL_StmtLastInsertId(struct SqlStmt *self) {
int hIndex = 0;
uint64 retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtLastInsertId_pre ) {
- uint64 (*preHookFunc) (struct SqlStmt *self);
+ uint64 (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtLastInsertId_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtLastInsertId_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72301,11 +72301,11 @@ size_t HP_SQL_StmtNumColumns(struct SqlStmt *self) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtNumColumns_pre ) {
- size_t (*preHookFunc) (struct SqlStmt *self);
+ size_t (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtNumColumns_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtNumColumns_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72328,11 +72328,11 @@ int HP_SQL_StmtBindColumn(struct SqlStmt *self, size_t idx, enum SqlDataType buf
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtBindColumn_pre ) {
- int (*preHookFunc) (struct SqlStmt *self, size_t *idx, enum SqlDataType *buffer_type, void *buffer, size_t *buffer_len, uint32 *out_length, int8 *out_is_null);
+ int (*preHookFunc) (struct SqlStmt **self, size_t *idx, enum SqlDataType *buffer_type, void **buffer, size_t *buffer_len, uint32 **out_length, int8 **out_is_null);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtBindColumn_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtBindColumn_pre[hIndex].func;
- retVal___ = preHookFunc(self, &idx, &buffer_type, buffer, &buffer_len, out_length, out_is_null);
+ retVal___ = preHookFunc(&self, &idx, &buffer_type, &buffer, &buffer_len, &out_length, &out_is_null);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72355,11 +72355,11 @@ uint64 HP_SQL_StmtNumRows(struct SqlStmt *self) {
int hIndex = 0;
uint64 retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtNumRows_pre ) {
- uint64 (*preHookFunc) (struct SqlStmt *self);
+ uint64 (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtNumRows_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtNumRows_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72382,11 +72382,11 @@ int HP_SQL_StmtNextRow(struct SqlStmt *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtNextRow_pre ) {
- int (*preHookFunc) (struct SqlStmt *self);
+ int (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtNextRow_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtNextRow_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72408,11 +72408,11 @@ int HP_SQL_StmtNextRow(struct SqlStmt *self) {
void HP_SQL_StmtFreeResult(struct SqlStmt *self) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_StmtFreeResult_pre ) {
- void (*preHookFunc) (struct SqlStmt *self);
+ void (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtFreeResult_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtFreeResult_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72434,11 +72434,11 @@ void HP_SQL_StmtFreeResult(struct SqlStmt *self) {
void HP_SQL_StmtFree(struct SqlStmt *self) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_StmtFree_pre ) {
- void (*preHookFunc) (struct SqlStmt *self);
+ void (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtFree_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtFree_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72460,11 +72460,11 @@ void HP_SQL_StmtFree(struct SqlStmt *self) {
void HP_SQL_StmtShowDebug_(struct SqlStmt *self, const char *debug_file, const unsigned long debug_line) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_StmtShowDebug__pre ) {
- void (*preHookFunc) (struct SqlStmt *self, const char *debug_file, const unsigned long *debug_line);
+ void (*preHookFunc) (struct SqlStmt **self, const char **debug_file, const unsigned long *debug_line);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtShowDebug__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtShowDebug__pre[hIndex].func;
- preHookFunc(self, debug_file, &debug_line);
+ preHookFunc(&self, &debug_file, &debug_line);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72703,11 +72703,11 @@ int HP_status_damage(struct block_list *src, struct block_list *target, int64 hp
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_damage_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target, int64 *hp, int64 *sp, int *walkdelay, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target, int64 *hp, int64 *sp, int *walkdelay, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_damage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_damage_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &hp, &sp, &walkdelay, &flag);
+ retVal___ = preHookFunc(&src, &target, &hp, &sp, &walkdelay, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72730,11 +72730,11 @@ int HP_status_charge(struct block_list *bl, int64 hp, int64 sp) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_charge_pre ) {
- int (*preHookFunc) (struct block_list *bl, int64 *hp, int64 *sp);
+ int (*preHookFunc) (struct block_list **bl, int64 *hp, int64 *sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_charge_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_charge_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &hp, &sp);
+ retVal___ = preHookFunc(&bl, &hp, &sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72757,11 +72757,11 @@ int HP_status_percent_change(struct block_list *src, struct block_list *target,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_percent_change_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target, signed char *hp_rate, signed char *sp_rate, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target, signed char *hp_rate, signed char *sp_rate, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_percent_change_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_percent_change_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &hp_rate, &sp_rate, &flag);
+ retVal___ = preHookFunc(&src, &target, &hp_rate, &sp_rate, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72784,11 +72784,11 @@ int HP_status_set_hp(struct block_list *bl, unsigned int hp, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_set_hp_pre ) {
- int (*preHookFunc) (struct block_list *bl, unsigned int *hp, int *flag);
+ int (*preHookFunc) (struct block_list **bl, unsigned int *hp, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_set_hp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_set_hp_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &hp, &flag);
+ retVal___ = preHookFunc(&bl, &hp, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72811,11 +72811,11 @@ int HP_status_set_sp(struct block_list *bl, unsigned int sp, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_set_sp_pre ) {
- int (*preHookFunc) (struct block_list *bl, unsigned int *sp, int *flag);
+ int (*preHookFunc) (struct block_list **bl, unsigned int *sp, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_set_sp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_set_sp_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &sp, &flag);
+ retVal___ = preHookFunc(&bl, &sp, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72838,11 +72838,11 @@ int HP_status_heal(struct block_list *bl, int64 hp, int64 sp, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_heal_pre ) {
- int (*preHookFunc) (struct block_list *bl, int64 *hp, int64 *sp, int *flag);
+ int (*preHookFunc) (struct block_list **bl, int64 *hp, int64 *sp, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_heal_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_heal_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &hp, &sp, &flag);
+ retVal___ = preHookFunc(&bl, &hp, &sp, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72865,11 +72865,11 @@ int HP_status_revive(struct block_list *bl, unsigned char per_hp, unsigned char
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_revive_pre ) {
- int (*preHookFunc) (struct block_list *bl, unsigned char *per_hp, unsigned char *per_sp);
+ int (*preHookFunc) (struct block_list **bl, unsigned char *per_hp, unsigned char *per_sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_revive_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_revive_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &per_hp, &per_sp);
+ retVal___ = preHookFunc(&bl, &per_hp, &per_sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72892,11 +72892,11 @@ int HP_status_fixed_revive(struct block_list *bl, unsigned int per_hp, unsigned
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_fixed_revive_pre ) {
- int (*preHookFunc) (struct block_list *bl, unsigned int *per_hp, unsigned int *per_sp);
+ int (*preHookFunc) (struct block_list **bl, unsigned int *per_hp, unsigned int *per_sp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_fixed_revive_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_fixed_revive_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &per_hp, &per_sp);
+ retVal___ = preHookFunc(&bl, &per_hp, &per_sp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72919,11 +72919,11 @@ struct regen_data* HP_status_get_regen_data(struct block_list *bl) {
int hIndex = 0;
struct regen_data* retVal___ = NULL;
if( HPMHooks.count.HP_status_get_regen_data_pre ) {
- struct regen_data* (*preHookFunc) (struct block_list *bl);
+ struct regen_data* (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_regen_data_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_regen_data_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72946,11 +72946,11 @@ struct status_data* HP_status_get_status_data(struct block_list *bl) {
int hIndex = 0;
struct status_data* retVal___ = NULL;
if( HPMHooks.count.HP_status_get_status_data_pre ) {
- struct status_data* (*preHookFunc) (struct block_list *bl);
+ struct status_data* (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_status_data_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_status_data_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -72973,11 +72973,11 @@ struct status_data* HP_status_get_base_status(struct block_list *bl) {
int hIndex = 0;
struct status_data* retVal___ = NULL;
if( HPMHooks.count.HP_status_get_base_status_pre ) {
- struct status_data* (*preHookFunc) (struct block_list *bl);
+ struct status_data* (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_base_status_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_base_status_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73000,11 +73000,11 @@ const char* HP_status_get_name(const struct block_list *bl) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_status_get_name_pre ) {
- const char* (*preHookFunc) (const struct block_list *bl);
+ const char* (*preHookFunc) (const struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_name_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_name_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73027,11 +73027,11 @@ int HP_status_get_class(const struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_class_pre ) {
- int (*preHookFunc) (const struct block_list *bl);
+ int (*preHookFunc) (const struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_class_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_class_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73054,11 +73054,11 @@ int HP_status_get_lv(const struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_lv_pre ) {
- int (*preHookFunc) (const struct block_list *bl);
+ int (*preHookFunc) (const struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_lv_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_lv_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73081,11 +73081,11 @@ defType HP_status_get_def(struct block_list *bl) {
int hIndex = 0;
defType retVal___ = 0;
if( HPMHooks.count.HP_status_get_def_pre ) {
- defType (*preHookFunc) (struct block_list *bl);
+ defType (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_def_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_def_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73108,11 +73108,11 @@ unsigned short HP_status_get_speed(struct block_list *bl) {
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_get_speed_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl);
+ unsigned short (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_speed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_speed_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73135,11 +73135,11 @@ unsigned char HP_status_calc_attack_element(struct block_list *bl, struct status
int hIndex = 0;
unsigned char retVal___ = 0;
if( HPMHooks.count.HP_status_calc_attack_element_pre ) {
- unsigned char (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *element);
+ unsigned char (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *element);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_attack_element_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_attack_element_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &element);
+ retVal___ = preHookFunc(&bl, &sc, &element);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73162,11 +73162,11 @@ int HP_status_get_party_id(const struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_party_id_pre ) {
- int (*preHookFunc) (const struct block_list *bl);
+ int (*preHookFunc) (const struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_party_id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_party_id_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73189,11 +73189,11 @@ int HP_status_get_guild_id(const struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_guild_id_pre ) {
- int (*preHookFunc) (const struct block_list *bl);
+ int (*preHookFunc) (const struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_guild_id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_guild_id_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73216,11 +73216,11 @@ int HP_status_get_emblem_id(const struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_emblem_id_pre ) {
- int (*preHookFunc) (const struct block_list *bl);
+ int (*preHookFunc) (const struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_emblem_id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_emblem_id_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73243,11 +73243,11 @@ int HP_status_get_mexp(const struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_mexp_pre ) {
- int (*preHookFunc) (const struct block_list *bl);
+ int (*preHookFunc) (const struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_mexp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_mexp_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73270,11 +73270,11 @@ int HP_status_get_race2(const struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_race2_pre ) {
- int (*preHookFunc) (const struct block_list *bl);
+ int (*preHookFunc) (const struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_race2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_race2_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73297,11 +73297,11 @@ struct view_data* HP_status_get_viewdata(struct block_list *bl) {
int hIndex = 0;
struct view_data* retVal___ = NULL;
if( HPMHooks.count.HP_status_get_viewdata_pre ) {
- struct view_data* (*preHookFunc) (struct block_list *bl);
+ struct view_data* (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_viewdata_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_viewdata_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73323,11 +73323,11 @@ struct view_data* HP_status_get_viewdata(struct block_list *bl) {
void HP_status_set_viewdata(struct block_list *bl, int class_) {
int hIndex = 0;
if( HPMHooks.count.HP_status_set_viewdata_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *class_);
+ void (*preHookFunc) (struct block_list **bl, int *class_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_set_viewdata_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_set_viewdata_pre[hIndex].func;
- preHookFunc(bl, &class_);
+ preHookFunc(&bl, &class_);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73349,11 +73349,11 @@ void HP_status_set_viewdata(struct block_list *bl, int class_) {
void HP_status_change_init(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_status_change_init_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_init_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_change_init_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73376,11 +73376,11 @@ struct status_change* HP_status_get_sc(struct block_list *bl) {
int hIndex = 0;
struct status_change* retVal___ = NULL;
if( HPMHooks.count.HP_status_get_sc_pre ) {
- struct status_change* (*preHookFunc) (struct block_list *bl);
+ struct status_change* (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_sc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_sc_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73403,11 +73403,11 @@ int HP_status_isdead(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_isdead_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_isdead_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_isdead_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73430,11 +73430,11 @@ int HP_status_isimmune(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_isimmune_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_isimmune_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_isimmune_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73457,11 +73457,11 @@ int HP_status_get_sc_def(struct block_list *src, struct block_list *bl, enum sc_
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_sc_def_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *bl, enum sc_type *type, int *rate, int *tick, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **bl, enum sc_type *type, int *rate, int *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_sc_def_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_sc_def_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &type, &rate, &tick, &flag);
+ retVal___ = preHookFunc(&src, &bl, &type, &rate, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73484,11 +73484,11 @@ int HP_status_change_start(struct block_list *src, struct block_list *bl, enum s
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_change_start_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *bl, enum sc_type *type, int *rate, int *val1, int *val2, int *val3, int *val4, int *tick, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **bl, enum sc_type *type, int *rate, int *val1, int *val2, int *val3, int *val4, int *tick, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_start_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_change_start_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl, &type, &rate, &val1, &val2, &val3, &val4, &tick, &flag);
+ retVal___ = preHookFunc(&src, &bl, &type, &rate, &val1, &val2, &val3, &val4, &tick, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73511,11 +73511,11 @@ int HP_status_change_end_(struct block_list *bl, enum sc_type type, int tid, con
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_change_end__pre ) {
- int (*preHookFunc) (struct block_list *bl, enum sc_type *type, int *tid, const char *file, int *line);
+ int (*preHookFunc) (struct block_list **bl, enum sc_type *type, int *tid, const char **file, int *line);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_end__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_change_end__pre[hIndex].func;
- retVal___ = preHookFunc(bl, &type, &tid, file, &line);
+ retVal___ = preHookFunc(&bl, &type, &tid, &file, &line);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73592,12 +73592,12 @@ int HP_status_change_timer_sub(struct block_list *bl, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_change_timer_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list ap);
+ int (*preHookFunc) (struct block_list **bl, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_timer_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_status_change_timer_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl, ap___copy);
+ retVal___ = preHookFunc(&bl, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -73625,11 +73625,11 @@ int HP_status_change_clear(struct block_list *bl, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_change_clear_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *type);
+ int (*preHookFunc) (struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_clear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_change_clear_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &type);
+ retVal___ = preHookFunc(&bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73652,11 +73652,11 @@ int HP_status_change_clear_buffs(struct block_list *bl, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_change_clear_buffs_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *type);
+ int (*preHookFunc) (struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_clear_buffs_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_change_clear_buffs_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &type);
+ retVal___ = preHookFunc(&bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73678,11 +73678,11 @@ int HP_status_change_clear_buffs(struct block_list *bl, int type) {
void HP_status_calc_bl_(struct block_list *bl, enum scb_flag flag, enum e_status_calc_opt opt) {
int hIndex = 0;
if( HPMHooks.count.HP_status_calc_bl__pre ) {
- void (*preHookFunc) (struct block_list *bl, enum scb_flag *flag, enum e_status_calc_opt *opt);
+ void (*preHookFunc) (struct block_list **bl, enum scb_flag *flag, enum e_status_calc_opt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_bl__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_bl__pre[hIndex].func;
- preHookFunc(bl, &flag, &opt);
+ preHookFunc(&bl, &flag, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73705,11 +73705,11 @@ int HP_status_calc_mob_(struct mob_data *md, enum e_status_calc_opt opt) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_calc_mob__pre ) {
- int (*preHookFunc) (struct mob_data *md, enum e_status_calc_opt *opt);
+ int (*preHookFunc) (struct mob_data **md, enum e_status_calc_opt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mob__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_mob__pre[hIndex].func;
- retVal___ = preHookFunc(md, &opt);
+ retVal___ = preHookFunc(&md, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73732,11 +73732,11 @@ int HP_status_calc_pet_(struct pet_data *pd, enum e_status_calc_opt opt) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_calc_pet__pre ) {
- int (*preHookFunc) (struct pet_data *pd, enum e_status_calc_opt *opt);
+ int (*preHookFunc) (struct pet_data **pd, enum e_status_calc_opt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_pet__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_pet__pre[hIndex].func;
- retVal___ = preHookFunc(pd, &opt);
+ retVal___ = preHookFunc(&pd, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73759,11 +73759,11 @@ int HP_status_calc_pc_(struct map_session_data *sd, enum e_status_calc_opt opt)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_calc_pc__pre ) {
- int (*preHookFunc) (struct map_session_data *sd, enum e_status_calc_opt *opt);
+ int (*preHookFunc) (struct map_session_data **sd, enum e_status_calc_opt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_pc__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_pc__pre[hIndex].func;
- retVal___ = preHookFunc(sd, &opt);
+ retVal___ = preHookFunc(&sd, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73785,11 +73785,11 @@ int HP_status_calc_pc_(struct map_session_data *sd, enum e_status_calc_opt opt)
void HP_status_calc_pc_additional(struct map_session_data *sd, enum e_status_calc_opt opt) {
int hIndex = 0;
if( HPMHooks.count.HP_status_calc_pc_additional_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum e_status_calc_opt *opt);
+ void (*preHookFunc) (struct map_session_data **sd, enum e_status_calc_opt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_pc_additional_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_pc_additional_pre[hIndex].func;
- preHookFunc(sd, &opt);
+ preHookFunc(&sd, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73812,11 +73812,11 @@ int HP_status_calc_homunculus_(struct homun_data *hd, enum e_status_calc_opt opt
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_calc_homunculus__pre ) {
- int (*preHookFunc) (struct homun_data *hd, enum e_status_calc_opt *opt);
+ int (*preHookFunc) (struct homun_data **hd, enum e_status_calc_opt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_homunculus__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_homunculus__pre[hIndex].func;
- retVal___ = preHookFunc(hd, &opt);
+ retVal___ = preHookFunc(&hd, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73839,11 +73839,11 @@ int HP_status_calc_mercenary_(struct mercenary_data *md, enum e_status_calc_opt
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_calc_mercenary__pre ) {
- int (*preHookFunc) (struct mercenary_data *md, enum e_status_calc_opt *opt);
+ int (*preHookFunc) (struct mercenary_data **md, enum e_status_calc_opt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mercenary__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_mercenary__pre[hIndex].func;
- retVal___ = preHookFunc(md, &opt);
+ retVal___ = preHookFunc(&md, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73866,11 +73866,11 @@ int HP_status_calc_elemental_(struct elemental_data *ed, enum e_status_calc_opt
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_calc_elemental__pre ) {
- int (*preHookFunc) (struct elemental_data *ed, enum e_status_calc_opt *opt);
+ int (*preHookFunc) (struct elemental_data **ed, enum e_status_calc_opt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_elemental__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_elemental__pre[hIndex].func;
- retVal___ = preHookFunc(ed, &opt);
+ retVal___ = preHookFunc(&ed, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73892,11 +73892,11 @@ int HP_status_calc_elemental_(struct elemental_data *ed, enum e_status_calc_opt
void HP_status_calc_misc(struct block_list *bl, struct status_data *st, int level) {
int hIndex = 0;
if( HPMHooks.count.HP_status_calc_misc_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct status_data *st, int *level);
+ void (*preHookFunc) (struct block_list **bl, struct status_data **st, int *level);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_misc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_misc_pre[hIndex].func;
- preHookFunc(bl, st, &level);
+ preHookFunc(&bl, &st, &level);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73918,11 +73918,11 @@ void HP_status_calc_misc(struct block_list *bl, struct status_data *st, int leve
void HP_status_calc_regen(struct block_list *bl, struct status_data *st, struct regen_data *regen) {
int hIndex = 0;
if( HPMHooks.count.HP_status_calc_regen_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct status_data *st, struct regen_data *regen);
+ void (*preHookFunc) (struct block_list **bl, struct status_data **st, struct regen_data **regen);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_regen_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_regen_pre[hIndex].func;
- preHookFunc(bl, st, regen);
+ preHookFunc(&bl, &st, &regen);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73944,11 +73944,11 @@ void HP_status_calc_regen(struct block_list *bl, struct status_data *st, struct
void HP_status_calc_regen_rate(struct block_list *bl, struct regen_data *regen, struct status_change *sc) {
int hIndex = 0;
if( HPMHooks.count.HP_status_calc_regen_rate_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct regen_data *regen, struct status_change *sc);
+ void (*preHookFunc) (struct block_list **bl, struct regen_data **regen, struct status_change **sc);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_regen_rate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_regen_rate_pre[hIndex].func;
- preHookFunc(bl, regen, sc);
+ preHookFunc(&bl, &regen, &sc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73971,11 +73971,11 @@ int HP_status_check_skilluse(struct block_list *src, struct block_list *target,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_check_skilluse_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target, uint16 *skill_id, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target, uint16 *skill_id, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_check_skilluse_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_check_skilluse_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &skill_id, &flag);
+ retVal___ = preHookFunc(&src, &target, &skill_id, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -73998,11 +73998,11 @@ int HP_status_check_visibility(struct block_list *src, struct block_list *target
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_check_visibility_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_check_visibility_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_check_visibility_pre[hIndex].func;
- retVal___ = preHookFunc(src, target);
+ retVal___ = preHookFunc(&src, &target);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74025,11 +74025,11 @@ int HP_status_change_spread(struct block_list *src, struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_change_spread_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *bl);
+ int (*preHookFunc) (struct block_list **src, struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_change_spread_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_change_spread_pre[hIndex].func;
- retVal___ = preHookFunc(src, bl);
+ retVal___ = preHookFunc(&src, &bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74052,11 +74052,11 @@ defType HP_status_calc_def(struct block_list *bl, struct status_change *sc, int
int hIndex = 0;
defType retVal___ = 0;
if( HPMHooks.count.HP_status_calc_def_pre ) {
- defType (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *def, bool *viewable);
+ defType (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *def, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_def_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_def_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &def, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &def, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74079,11 +74079,11 @@ short HP_status_calc_def2(struct block_list *bl, struct status_change *sc, int d
int hIndex = 0;
short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_def2_pre ) {
- short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *def2, bool *viewable);
+ short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *def2, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_def2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_def2_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &def2, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &def2, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74106,11 +74106,11 @@ defType HP_status_calc_mdef(struct block_list *bl, struct status_change *sc, int
int hIndex = 0;
defType retVal___ = 0;
if( HPMHooks.count.HP_status_calc_mdef_pre ) {
- defType (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *mdef, bool *viewable);
+ defType (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *mdef, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mdef_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_mdef_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &mdef, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &mdef, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74133,11 +74133,11 @@ short HP_status_calc_mdef2(struct block_list *bl, struct status_change *sc, int
int hIndex = 0;
short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_mdef2_pre ) {
- short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *mdef2, bool *viewable);
+ short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *mdef2, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mdef2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_mdef2_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &mdef2, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &mdef2, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74160,11 +74160,11 @@ unsigned short HP_status_calc_batk(struct block_list *bl, struct status_change *
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_batk_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *batk, bool *viewable);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *batk, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_batk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_batk_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &batk, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &batk, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74187,11 +74187,11 @@ unsigned short HP_status_base_matk(struct block_list *bl, const struct status_da
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_base_matk_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, const struct status_data *st, int *level);
+ unsigned short (*preHookFunc) (struct block_list **bl, const struct status_data **st, int *level);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_base_matk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_base_matk_pre[hIndex].func;
- retVal___ = preHookFunc(bl, st, &level);
+ retVal___ = preHookFunc(&bl, &st, &level);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74214,11 +74214,11 @@ int HP_status_get_weapon_atk(struct block_list *src, struct weapon_atk *watk, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_weapon_atk_pre ) {
- int (*preHookFunc) (struct block_list *src, struct weapon_atk *watk, int *flag);
+ int (*preHookFunc) (struct block_list **src, struct weapon_atk **watk, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_weapon_atk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_weapon_atk_pre[hIndex].func;
- retVal___ = preHookFunc(src, watk, &flag);
+ retVal___ = preHookFunc(&src, &watk, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74241,11 +74241,11 @@ int HP_status_get_total_mdef(struct block_list *src) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_total_mdef_pre ) {
- int (*preHookFunc) (struct block_list *src);
+ int (*preHookFunc) (struct block_list **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_total_mdef_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_total_mdef_pre[hIndex].func;
- retVal___ = preHookFunc(src);
+ retVal___ = preHookFunc(&src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74268,11 +74268,11 @@ int HP_status_get_total_def(struct block_list *src) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_total_def_pre ) {
- int (*preHookFunc) (struct block_list *src);
+ int (*preHookFunc) (struct block_list **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_total_def_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_total_def_pre[hIndex].func;
- retVal___ = preHookFunc(src);
+ retVal___ = preHookFunc(&src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74295,11 +74295,11 @@ int HP_status_get_matk(struct block_list *src, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_get_matk_pre ) {
- int (*preHookFunc) (struct block_list *src, int *flag);
+ int (*preHookFunc) (struct block_list **src, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_matk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_matk_pre[hIndex].func;
- retVal___ = preHookFunc(src, &flag);
+ retVal___ = preHookFunc(&src, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74321,11 +74321,11 @@ int HP_status_get_matk(struct block_list *src, int flag) {
void HP_status_update_matk(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_status_update_matk_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_update_matk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_update_matk_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74427,11 +74427,11 @@ int HP_status_base_amotion_pc(struct map_session_data *sd, struct status_data *s
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_base_amotion_pc_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct status_data *st);
+ int (*preHookFunc) (struct map_session_data **sd, struct status_data **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_base_amotion_pc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_base_amotion_pc_pre[hIndex].func;
- retVal___ = preHookFunc(sd, st);
+ retVal___ = preHookFunc(&sd, &st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74454,11 +74454,11 @@ unsigned short HP_status_base_atk(const struct block_list *bl, const struct stat
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_base_atk_pre ) {
- unsigned short (*preHookFunc) (const struct block_list *bl, const struct status_data *st);
+ unsigned short (*preHookFunc) (const struct block_list **bl, const struct status_data **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_base_atk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_base_atk_pre[hIndex].func;
- retVal___ = preHookFunc(bl, st);
+ retVal___ = preHookFunc(&bl, &st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74481,11 +74481,11 @@ unsigned int HP_status_get_base_maxhp(const struct map_session_data *sd, const s
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_status_get_base_maxhp_pre ) {
- unsigned int (*preHookFunc) (const struct map_session_data *sd, const struct status_data *st);
+ unsigned int (*preHookFunc) (const struct map_session_data **sd, const struct status_data **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_base_maxhp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_base_maxhp_pre[hIndex].func;
- retVal___ = preHookFunc(sd, st);
+ retVal___ = preHookFunc(&sd, &st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74508,11 +74508,11 @@ unsigned int HP_status_get_base_maxsp(const struct map_session_data *sd, const s
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_status_get_base_maxsp_pre ) {
- unsigned int (*preHookFunc) (const struct map_session_data *sd, const struct status_data *st);
+ unsigned int (*preHookFunc) (const struct map_session_data **sd, const struct status_data **st);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_get_base_maxsp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_get_base_maxsp_pre[hIndex].func;
- retVal___ = preHookFunc(sd, st);
+ retVal___ = preHookFunc(&sd, &st);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74535,11 +74535,11 @@ int HP_status_calc_npc_(struct npc_data *nd, enum e_status_calc_opt opt) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_calc_npc__pre ) {
- int (*preHookFunc) (struct npc_data *nd, enum e_status_calc_opt *opt);
+ int (*preHookFunc) (struct npc_data **nd, enum e_status_calc_opt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_npc__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_npc__pre[hIndex].func;
- retVal___ = preHookFunc(nd, &opt);
+ retVal___ = preHookFunc(&nd, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74562,11 +74562,11 @@ unsigned short HP_status_calc_str(struct block_list *bl, struct status_change *s
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_str_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *str);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_str_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &str);
+ retVal___ = preHookFunc(&bl, &sc, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74589,11 +74589,11 @@ unsigned short HP_status_calc_agi(struct block_list *bl, struct status_change *s
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_agi_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *agi);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *agi);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_agi_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_agi_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &agi);
+ retVal___ = preHookFunc(&bl, &sc, &agi);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74616,11 +74616,11 @@ unsigned short HP_status_calc_vit(struct block_list *bl, struct status_change *s
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_vit_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *vit);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *vit);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_vit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_vit_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &vit);
+ retVal___ = preHookFunc(&bl, &sc, &vit);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74643,11 +74643,11 @@ unsigned short HP_status_calc_int(struct block_list *bl, struct status_change *s
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_int_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *int_);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *int_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_int_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_int_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &int_);
+ retVal___ = preHookFunc(&bl, &sc, &int_);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74670,11 +74670,11 @@ unsigned short HP_status_calc_dex(struct block_list *bl, struct status_change *s
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_dex_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *dex);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *dex);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_dex_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_dex_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &dex);
+ retVal___ = preHookFunc(&bl, &sc, &dex);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74697,11 +74697,11 @@ unsigned short HP_status_calc_luk(struct block_list *bl, struct status_change *s
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_luk_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *luk);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *luk);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_luk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_luk_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &luk);
+ retVal___ = preHookFunc(&bl, &sc, &luk);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74724,11 +74724,11 @@ unsigned short HP_status_calc_watk(struct block_list *bl, struct status_change *
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_watk_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *watk, bool *viewable);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *watk, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_watk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_watk_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &watk, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &watk, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74751,11 +74751,11 @@ unsigned short HP_status_calc_matk(struct block_list *bl, struct status_change *
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_matk_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *matk, bool *viewable);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *matk, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_matk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_matk_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &matk, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &matk, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74778,11 +74778,11 @@ signed short HP_status_calc_hit(struct block_list *bl, struct status_change *sc,
int hIndex = 0;
signed short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_hit_pre ) {
- signed short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *hit, bool *viewable);
+ signed short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *hit, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_hit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_hit_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &hit, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &hit, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74805,11 +74805,11 @@ signed short HP_status_calc_critical(struct block_list *bl, struct status_change
int hIndex = 0;
signed short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_critical_pre ) {
- signed short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *critical, bool *viewable);
+ signed short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *critical, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_critical_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_critical_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &critical, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &critical, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74832,11 +74832,11 @@ signed short HP_status_calc_flee(struct block_list *bl, struct status_change *sc
int hIndex = 0;
signed short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_flee_pre ) {
- signed short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *flee, bool *viewable);
+ signed short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *flee, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_flee_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_flee_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &flee, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &flee, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74859,11 +74859,11 @@ signed short HP_status_calc_flee2(struct block_list *bl, struct status_change *s
int hIndex = 0;
signed short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_flee2_pre ) {
- signed short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *flee2, bool *viewable);
+ signed short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *flee2, bool *viewable);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_flee2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_flee2_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &flee2, &viewable);
+ retVal___ = preHookFunc(&bl, &sc, &flee2, &viewable);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74886,11 +74886,11 @@ unsigned short HP_status_calc_speed(struct block_list *bl, struct status_change
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_speed_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *speed);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *speed);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_speed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_speed_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &speed);
+ retVal___ = preHookFunc(&bl, &sc, &speed);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74913,11 +74913,11 @@ short HP_status_calc_aspd_rate(struct block_list *bl, struct status_change *sc,
int hIndex = 0;
short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_aspd_rate_pre ) {
- short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *aspd_rate);
+ short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *aspd_rate);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_aspd_rate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_aspd_rate_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &aspd_rate);
+ retVal___ = preHookFunc(&bl, &sc, &aspd_rate);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74940,11 +74940,11 @@ unsigned short HP_status_calc_dmotion(struct block_list *bl, struct status_chang
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_dmotion_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *dmotion);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *dmotion);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_dmotion_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_dmotion_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &dmotion);
+ retVal___ = preHookFunc(&bl, &sc, &dmotion);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74967,11 +74967,11 @@ short HP_status_calc_aspd(struct block_list *bl, struct status_change *sc, short
int hIndex = 0;
short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_aspd_pre ) {
- short (*preHookFunc) (struct block_list *bl, struct status_change *sc, short *flag);
+ short (*preHookFunc) (struct block_list **bl, struct status_change **sc, short *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_aspd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_aspd_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &flag);
+ retVal___ = preHookFunc(&bl, &sc, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -74994,11 +74994,11 @@ short HP_status_calc_fix_aspd(struct block_list *bl, struct status_change *sc, i
int hIndex = 0;
short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_fix_aspd_pre ) {
- short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *aspd);
+ short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *aspd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_fix_aspd_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_fix_aspd_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &aspd);
+ retVal___ = preHookFunc(&bl, &sc, &aspd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75021,11 +75021,11 @@ unsigned int HP_status_calc_maxhp(struct block_list *bl, struct status_change *s
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_status_calc_maxhp_pre ) {
- unsigned int (*preHookFunc) (struct block_list *bl, struct status_change *sc, uint64 *maxhp);
+ unsigned int (*preHookFunc) (struct block_list **bl, struct status_change **sc, uint64 *maxhp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_maxhp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_maxhp_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &maxhp);
+ retVal___ = preHookFunc(&bl, &sc, &maxhp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75048,11 +75048,11 @@ unsigned int HP_status_calc_maxsp(struct block_list *bl, struct status_change *s
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_status_calc_maxsp_pre ) {
- unsigned int (*preHookFunc) (struct block_list *bl, struct status_change *sc, unsigned int *maxsp);
+ unsigned int (*preHookFunc) (struct block_list **bl, struct status_change **sc, unsigned int *maxsp);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_maxsp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_maxsp_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &maxsp);
+ retVal___ = preHookFunc(&bl, &sc, &maxsp);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75075,11 +75075,11 @@ unsigned char HP_status_calc_element(struct block_list *bl, struct status_change
int hIndex = 0;
unsigned char retVal___ = 0;
if( HPMHooks.count.HP_status_calc_element_pre ) {
- unsigned char (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *element);
+ unsigned char (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *element);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_element_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_element_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &element);
+ retVal___ = preHookFunc(&bl, &sc, &element);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75102,11 +75102,11 @@ unsigned char HP_status_calc_element_lv(struct block_list *bl, struct status_cha
int hIndex = 0;
unsigned char retVal___ = 0;
if( HPMHooks.count.HP_status_calc_element_lv_pre ) {
- unsigned char (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *lv);
+ unsigned char (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_element_lv_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_element_lv_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &lv);
+ retVal___ = preHookFunc(&bl, &sc, &lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75129,11 +75129,11 @@ uint32 HP_status_calc_mode(const struct block_list *bl, const struct status_chan
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_status_calc_mode_pre ) {
- uint32 (*preHookFunc) (const struct block_list *bl, const struct status_change *sc, uint32 *mode);
+ uint32 (*preHookFunc) (const struct block_list **bl, const struct status_change **sc, uint32 *mode);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_mode_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_mode_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &mode);
+ retVal___ = preHookFunc(&bl, &sc, &mode);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75156,11 +75156,11 @@ unsigned short HP_status_calc_ematk(struct block_list *bl, struct status_change
int hIndex = 0;
unsigned short retVal___ = 0;
if( HPMHooks.count.HP_status_calc_ematk_pre ) {
- unsigned short (*preHookFunc) (struct block_list *bl, struct status_change *sc, int *matk);
+ unsigned short (*preHookFunc) (struct block_list **bl, struct status_change **sc, int *matk);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_ematk_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_ematk_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sc, &matk);
+ retVal___ = preHookFunc(&bl, &sc, &matk);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75182,11 +75182,11 @@ unsigned short HP_status_calc_ematk(struct block_list *bl, struct status_change
void HP_status_calc_bl_main(struct block_list *bl, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_status_calc_bl_main_pre ) {
- void (*preHookFunc) (struct block_list *bl, int *flag);
+ void (*preHookFunc) (struct block_list **bl, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_calc_bl_main_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_calc_bl_main_pre[hIndex].func;
- preHookFunc(bl, &flag);
+ preHookFunc(&bl, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75208,11 +75208,11 @@ void HP_status_calc_bl_main(struct block_list *bl, int flag) {
void HP_status_display_add(struct map_session_data *sd, enum sc_type type, int dval1, int dval2, int dval3) {
int hIndex = 0;
if( HPMHooks.count.HP_status_display_add_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum sc_type *type, int *dval1, int *dval2, int *dval3);
+ void (*preHookFunc) (struct map_session_data **sd, enum sc_type *type, int *dval1, int *dval2, int *dval3);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_display_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_display_add_pre[hIndex].func;
- preHookFunc(sd, &type, &dval1, &dval2, &dval3);
+ preHookFunc(&sd, &type, &dval1, &dval2, &dval3);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75234,11 +75234,11 @@ void HP_status_display_add(struct map_session_data *sd, enum sc_type type, int d
void HP_status_display_remove(struct map_session_data *sd, enum sc_type type) {
int hIndex = 0;
if( HPMHooks.count.HP_status_display_remove_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, enum sc_type *type);
+ void (*preHookFunc) (struct map_session_data **sd, enum sc_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_display_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_display_remove_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75261,12 +75261,12 @@ int HP_status_natural_heal(struct block_list *bl, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_natural_heal_pre ) {
- int (*preHookFunc) (struct block_list *bl, va_list args);
+ int (*preHookFunc) (struct block_list **bl, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_natural_heal_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_status_natural_heal_pre[hIndex].func;
- retVal___ = preHookFunc(bl, args___copy);
+ retVal___ = preHookFunc(&bl, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -75321,11 +75321,11 @@ bool HP_status_readdb_job2(char *fields[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_status_readdb_job2_pre ) {
- bool (*preHookFunc) (char *fields[], int *columns, int *current);
+ bool (*preHookFunc) (char **fields[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_readdb_job2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_readdb_job2_pre[hIndex].func;
- retVal___ = preHookFunc(fields, &columns, &current);
+ retVal___ = preHookFunc(&fields, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75348,11 +75348,11 @@ bool HP_status_readdb_sizefix(char *fields[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_status_readdb_sizefix_pre ) {
- bool (*preHookFunc) (char *fields[], int *columns, int *current);
+ bool (*preHookFunc) (char **fields[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_readdb_sizefix_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_readdb_sizefix_pre[hIndex].func;
- retVal___ = preHookFunc(fields, &columns, &current);
+ retVal___ = preHookFunc(&fields, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75375,11 +75375,11 @@ int HP_status_readdb_refine_libconfig(const char *filename) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_readdb_refine_libconfig_pre ) {
- int (*preHookFunc) (const char *filename);
+ int (*preHookFunc) (const char **filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_readdb_refine_libconfig_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_readdb_refine_libconfig_pre[hIndex].func;
- retVal___ = preHookFunc(filename);
+ retVal___ = preHookFunc(&filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75402,11 +75402,11 @@ int HP_status_readdb_refine_libconfig_sub(struct config_setting_t *r, const char
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_status_readdb_refine_libconfig_sub_pre ) {
- int (*preHookFunc) (struct config_setting_t *r, const char *name, const char *source);
+ int (*preHookFunc) (struct config_setting_t **r, const char **name, const char **source);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_readdb_refine_libconfig_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_readdb_refine_libconfig_sub_pre[hIndex].func;
- retVal___ = preHookFunc(r, name, source);
+ retVal___ = preHookFunc(&r, &name, &source);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75429,11 +75429,11 @@ bool HP_status_readdb_scconfig(char *fields[], int columns, int current) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_status_readdb_scconfig_pre ) {
- bool (*preHookFunc) (char *fields[], int *columns, int *current);
+ bool (*preHookFunc) (char **fields[], int *columns, int *current);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_readdb_scconfig_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_readdb_scconfig_pre[hIndex].func;
- retVal___ = preHookFunc(fields, &columns, &current);
+ retVal___ = preHookFunc(&fields, &columns, &current);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75481,11 +75481,11 @@ void HP_status_read_job_db(void) {
void HP_status_read_job_db_sub(int idx, const char *name, struct config_setting_t *jdb) {
int hIndex = 0;
if( HPMHooks.count.HP_status_read_job_db_sub_pre ) {
- void (*preHookFunc) (int *idx, const char *name, struct config_setting_t *jdb);
+ void (*preHookFunc) (int *idx, const char **name, struct config_setting_t **jdb);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_status_read_job_db_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_status_read_job_db_sub_pre[hIndex].func;
- preHookFunc(&idx, name, jdb);
+ preHookFunc(&idx, &name, &jdb);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75535,11 +75535,11 @@ int HP_storage_delitem(struct map_session_data *sd, int n, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_storage_delitem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *n, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *n, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_delitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_delitem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &n, &amount);
+ retVal___ = preHookFunc(&sd, &n, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75562,11 +75562,11 @@ int HP_storage_open(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_storage_open_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_open_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75589,11 +75589,11 @@ int HP_storage_add(struct map_session_data *sd, int index, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_storage_add_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_add_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index, &amount);
+ retVal___ = preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75616,11 +75616,11 @@ int HP_storage_get(struct map_session_data *sd, int index, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_storage_get_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_get_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_get_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index, &amount);
+ retVal___ = preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75643,11 +75643,11 @@ int HP_storage_additem(struct map_session_data *sd, struct item *item_data, int
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_storage_additem_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct item *item_data, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, struct item **item_data, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_additem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_additem_pre[hIndex].func;
- retVal___ = preHookFunc(sd, item_data, &amount);
+ retVal___ = preHookFunc(&sd, &item_data, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75670,11 +75670,11 @@ int HP_storage_addfromcart(struct map_session_data *sd, int index, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_storage_addfromcart_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_addfromcart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_addfromcart_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index, &amount);
+ retVal___ = preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75697,11 +75697,11 @@ int HP_storage_gettocart(struct map_session_data *sd, int index, int amount) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_storage_gettocart_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, int *index, int *amount);
+ int (*preHookFunc) (struct map_session_data **sd, int *index, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_gettocart_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_gettocart_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &index, &amount);
+ retVal___ = preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75723,11 +75723,11 @@ int HP_storage_gettocart(struct map_session_data *sd, int index, int amount) {
void HP_storage_close(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_storage_close_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_close_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_close_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75749,11 +75749,11 @@ void HP_storage_close(struct map_session_data *sd) {
void HP_storage_pc_quit(struct map_session_data *sd, int flag) {
int hIndex = 0;
if( HPMHooks.count.HP_storage_pc_quit_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *flag);
+ void (*preHookFunc) (struct map_session_data **sd, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_pc_quit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_pc_quit_pre[hIndex].func;
- preHookFunc(sd, &flag);
+ preHookFunc(&sd, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75776,11 +75776,11 @@ int HP_storage_comp_item(const void *i1_, const void *i2_) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_storage_comp_item_pre ) {
- int (*preHookFunc) (const void *i1_, const void *i2_);
+ int (*preHookFunc) (const void **i1_, const void **i2_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_comp_item_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_comp_item_pre[hIndex].func;
- retVal___ = preHookFunc(i1_, i2_);
+ retVal___ = preHookFunc(&i1_, &i2_);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75802,11 +75802,11 @@ int HP_storage_comp_item(const void *i1_, const void *i2_) {
void HP_storage_sortitem(struct item *items, unsigned int size) {
int hIndex = 0;
if( HPMHooks.count.HP_storage_sortitem_pre ) {
- void (*preHookFunc) (struct item *items, unsigned int *size);
+ void (*preHookFunc) (struct item **items, unsigned int *size);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_sortitem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_storage_sortitem_pre[hIndex].func;
- preHookFunc(items, &size);
+ preHookFunc(&items, &size);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75829,12 +75829,12 @@ int HP_storage_reconnect_sub(union DBKey key, struct DBData *data, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_storage_reconnect_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_storage_reconnect_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_storage_reconnect_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -75889,11 +75889,11 @@ StringBuf* HP_StrBuf_Malloc(void) {
void HP_StrBuf_Init(StringBuf *self) {
int hIndex = 0;
if( HPMHooks.count.HP_StrBuf_Init_pre ) {
- void (*preHookFunc) (StringBuf *self);
+ void (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Init_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Init_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75916,12 +75916,12 @@ int HP_StrBuf_Vprintf(StringBuf *self, const char *fmt, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_StrBuf_Vprintf_pre ) {
- int (*preHookFunc) (StringBuf *self, const char *fmt, va_list args);
+ int (*preHookFunc) (StringBuf **self, const char **fmt, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Vprintf_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_StrBuf_Vprintf_pre[hIndex].func;
- retVal___ = preHookFunc(self, fmt, args___copy);
+ retVal___ = preHookFunc(&self, &fmt, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -75949,11 +75949,11 @@ int HP_StrBuf_Append(StringBuf *self, const StringBuf *sbuf) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_StrBuf_Append_pre ) {
- int (*preHookFunc) (StringBuf *self, const StringBuf *sbuf);
+ int (*preHookFunc) (StringBuf **self, const StringBuf **sbuf);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Append_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Append_pre[hIndex].func;
- retVal___ = preHookFunc(self, sbuf);
+ retVal___ = preHookFunc(&self, &sbuf);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -75976,11 +75976,11 @@ int HP_StrBuf_AppendStr(StringBuf *self, const char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_StrBuf_AppendStr_pre ) {
- int (*preHookFunc) (StringBuf *self, const char *str);
+ int (*preHookFunc) (StringBuf **self, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_AppendStr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_AppendStr_pre[hIndex].func;
- retVal___ = preHookFunc(self, str);
+ retVal___ = preHookFunc(&self, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76003,11 +76003,11 @@ int HP_StrBuf_Length(StringBuf *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_StrBuf_Length_pre ) {
- int (*preHookFunc) (StringBuf *self);
+ int (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Length_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Length_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76030,11 +76030,11 @@ char* HP_StrBuf_Value(StringBuf *self) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_StrBuf_Value_pre ) {
- char* (*preHookFunc) (StringBuf *self);
+ char* (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Value_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Value_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76056,11 +76056,11 @@ char* HP_StrBuf_Value(StringBuf *self) {
void HP_StrBuf_Clear(StringBuf *self) {
int hIndex = 0;
if( HPMHooks.count.HP_StrBuf_Clear_pre ) {
- void (*preHookFunc) (StringBuf *self);
+ void (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Clear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Clear_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76082,11 +76082,11 @@ void HP_StrBuf_Clear(StringBuf *self) {
void HP_StrBuf_Destroy(StringBuf *self) {
int hIndex = 0;
if( HPMHooks.count.HP_StrBuf_Destroy_pre ) {
- void (*preHookFunc) (StringBuf *self);
+ void (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Destroy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Destroy_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76108,11 +76108,11 @@ void HP_StrBuf_Destroy(StringBuf *self) {
void HP_StrBuf_Free(StringBuf *self) {
int hIndex = 0;
if( HPMHooks.count.HP_StrBuf_Free_pre ) {
- void (*preHookFunc) (StringBuf *self);
+ void (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Free_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Free_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76136,11 +76136,11 @@ char* HP_strlib_jstrescape(char *pt) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_jstrescape_pre ) {
- char* (*preHookFunc) (char *pt);
+ char* (*preHookFunc) (char **pt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_jstrescape_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_jstrescape_pre[hIndex].func;
- retVal___ = preHookFunc(pt);
+ retVal___ = preHookFunc(&pt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76163,11 +76163,11 @@ char* HP_strlib_jstrescapecpy(char *pt, const char *spt) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_jstrescapecpy_pre ) {
- char* (*preHookFunc) (char *pt, const char *spt);
+ char* (*preHookFunc) (char **pt, const char **spt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_jstrescapecpy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_jstrescapecpy_pre[hIndex].func;
- retVal___ = preHookFunc(pt, spt);
+ retVal___ = preHookFunc(&pt, &spt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76190,11 +76190,11 @@ int HP_strlib_jmemescapecpy(char *pt, const char *spt, int size) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_jmemescapecpy_pre ) {
- int (*preHookFunc) (char *pt, const char *spt, int *size);
+ int (*preHookFunc) (char **pt, const char **spt, int *size);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_jmemescapecpy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_jmemescapecpy_pre[hIndex].func;
- retVal___ = preHookFunc(pt, spt, &size);
+ retVal___ = preHookFunc(&pt, &spt, &size);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76217,11 +76217,11 @@ int HP_strlib_remove_control_chars_(char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_remove_control_chars__pre ) {
- int (*preHookFunc) (char *str);
+ int (*preHookFunc) (char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_remove_control_chars__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_remove_control_chars__pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76244,11 +76244,11 @@ char* HP_strlib_trim_(char *str) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_trim__pre ) {
- char* (*preHookFunc) (char *str);
+ char* (*preHookFunc) (char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_trim__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_trim__pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76271,11 +76271,11 @@ char* HP_strlib_normalize_name_(char *str, const char *delims) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_normalize_name__pre ) {
- char* (*preHookFunc) (char *str, const char *delims);
+ char* (*preHookFunc) (char **str, const char **delims);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_normalize_name__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_normalize_name__pre[hIndex].func;
- retVal___ = preHookFunc(str, delims);
+ retVal___ = preHookFunc(&str, &delims);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76298,11 +76298,11 @@ const char* HP_strlib_stristr_(const char *haystack, const char *needle) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_stristr__pre ) {
- const char* (*preHookFunc) (const char *haystack, const char *needle);
+ const char* (*preHookFunc) (const char **haystack, const char **needle);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_stristr__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_stristr__pre[hIndex].func;
- retVal___ = preHookFunc(haystack, needle);
+ retVal___ = preHookFunc(&haystack, &needle);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76325,11 +76325,11 @@ size_t HP_strlib_strnlen_(const char *string, size_t maxlen) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_strlib_strnlen__pre ) {
- size_t (*preHookFunc) (const char *string, size_t *maxlen);
+ size_t (*preHookFunc) (const char **string, size_t *maxlen);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_strnlen__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_strnlen__pre[hIndex].func;
- retVal___ = preHookFunc(string, &maxlen);
+ retVal___ = preHookFunc(&string, &maxlen);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76352,11 +76352,11 @@ char* HP_strlib_strtok_r_(char *s1, const char *s2, char **lasts) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_strtok_r__pre ) {
- char* (*preHookFunc) (char *s1, const char *s2, char **lasts);
+ char* (*preHookFunc) (char **s1, const char **s2, char ***lasts);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_strtok_r__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_strtok_r__pre[hIndex].func;
- retVal___ = preHookFunc(s1, s2, lasts);
+ retVal___ = preHookFunc(&s1, &s2, &lasts);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76379,11 +76379,11 @@ int HP_strlib_e_mail_check_(char *email) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_e_mail_check__pre ) {
- int (*preHookFunc) (char *email);
+ int (*preHookFunc) (char **email);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_e_mail_check__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_e_mail_check__pre[hIndex].func;
- retVal___ = preHookFunc(email);
+ retVal___ = preHookFunc(&email);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76406,11 +76406,11 @@ int HP_strlib_config_switch_(const char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_config_switch__pre ) {
- int (*preHookFunc) (const char *str);
+ int (*preHookFunc) (const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_config_switch__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_config_switch__pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76433,11 +76433,11 @@ char* HP_strlib_safestrncpy_(char *dst, const char *src, size_t n) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_safestrncpy__pre ) {
- char* (*preHookFunc) (char *dst, const char *src, size_t *n);
+ char* (*preHookFunc) (char **dst, const char **src, size_t *n);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_safestrncpy__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_safestrncpy__pre[hIndex].func;
- retVal___ = preHookFunc(dst, src, &n);
+ retVal___ = preHookFunc(&dst, &src, &n);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76460,11 +76460,11 @@ size_t HP_strlib_safestrnlen_(const char *string, size_t maxlen) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_strlib_safestrnlen__pre ) {
- size_t (*preHookFunc) (const char *string, size_t *maxlen);
+ size_t (*preHookFunc) (const char **string, size_t *maxlen);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_safestrnlen__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_safestrnlen__pre[hIndex].func;
- retVal___ = preHookFunc(string, &maxlen);
+ retVal___ = preHookFunc(&string, &maxlen);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76487,11 +76487,11 @@ int HP_strlib_strline_(const char *str, size_t pos) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_strline__pre ) {
- int (*preHookFunc) (const char *str, size_t *pos);
+ int (*preHookFunc) (const char **str, size_t *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_strline__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_strline__pre[hIndex].func;
- retVal___ = preHookFunc(str, &pos);
+ retVal___ = preHookFunc(&str, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76514,11 +76514,11 @@ bool HP_strlib_bin2hex_(char *output, const unsigned char *input, size_t count)
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_strlib_bin2hex__pre ) {
- bool (*preHookFunc) (char *output, const unsigned char *input, size_t *count);
+ bool (*preHookFunc) (char **output, const unsigned char **input, size_t *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_bin2hex__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_bin2hex__pre[hIndex].func;
- retVal___ = preHookFunc(output, input, &count);
+ retVal___ = preHookFunc(&output, &input, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76542,11 +76542,11 @@ int HP_sv_parse_next(struct s_svstate *svstate) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sv_parse_next_pre ) {
- int (*preHookFunc) (struct s_svstate *svstate);
+ int (*preHookFunc) (struct s_svstate **svstate);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_parse_next_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_parse_next_pre[hIndex].func;
- retVal___ = preHookFunc(svstate);
+ retVal___ = preHookFunc(&svstate);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76569,11 +76569,11 @@ int HP_sv_parse(const char *str, int len, int startoff, char delim, int *out_pos
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sv_parse_pre ) {
- int (*preHookFunc) (const char *str, int *len, int *startoff, char *delim, int *out_pos, int *npos, enum e_svopt *opt);
+ int (*preHookFunc) (const char **str, int *len, int *startoff, char *delim, int **out_pos, int *npos, enum e_svopt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_parse_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_parse_pre[hIndex].func;
- retVal___ = preHookFunc(str, &len, &startoff, &delim, out_pos, &npos, &opt);
+ retVal___ = preHookFunc(&str, &len, &startoff, &delim, &out_pos, &npos, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76596,11 +76596,11 @@ int HP_sv_split(char *str, int len, int startoff, char delim, char **out_fields,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sv_split_pre ) {
- int (*preHookFunc) (char *str, int *len, int *startoff, char *delim, char **out_fields, int *nfields, enum e_svopt *opt);
+ int (*preHookFunc) (char **str, int *len, int *startoff, char *delim, char ***out_fields, int *nfields, enum e_svopt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_split_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_split_pre[hIndex].func;
- retVal___ = preHookFunc(str, &len, &startoff, &delim, out_fields, &nfields, &opt);
+ retVal___ = preHookFunc(&str, &len, &startoff, &delim, &out_fields, &nfields, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76623,11 +76623,11 @@ size_t HP_sv_escape_c(char *out_dest, const char *src, size_t len, const char *e
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_sv_escape_c_pre ) {
- size_t (*preHookFunc) (char *out_dest, const char *src, size_t *len, const char *escapes);
+ size_t (*preHookFunc) (char **out_dest, const char **src, size_t *len, const char **escapes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_escape_c_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_escape_c_pre[hIndex].func;
- retVal___ = preHookFunc(out_dest, src, &len, escapes);
+ retVal___ = preHookFunc(&out_dest, &src, &len, &escapes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76650,11 +76650,11 @@ size_t HP_sv_unescape_c(char *out_dest, const char *src, size_t len) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_sv_unescape_c_pre ) {
- size_t (*preHookFunc) (char *out_dest, const char *src, size_t *len);
+ size_t (*preHookFunc) (char **out_dest, const char **src, size_t *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_unescape_c_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_unescape_c_pre[hIndex].func;
- retVal___ = preHookFunc(out_dest, src, &len);
+ retVal___ = preHookFunc(&out_dest, &src, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76677,11 +76677,11 @@ const char* HP_sv_skip_escaped_c(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_sv_skip_escaped_c_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_skip_escaped_c_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_skip_escaped_c_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -76704,11 +76704,11 @@ bool HP_sv_readdb(const char *directory, const char *filename, char delim, int m
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_sv_readdb_pre ) {
- bool (*preHookFunc) (const char *directory, const char *filename, char *delim, int *mincols, int *maxcols, int *maxrows, bool ( *parseproc ) (char *fields[], int columns, int current));
+ bool (*preHookFunc) (const char **directory, const char **filename, char *delim, int *mincols, int *maxcols, int *maxrows, bool ( **parseproc ) (char *fields[], int columns, int current));
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_readdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_readdb_pre[hIndex].func;
- retVal___ = preHookFunc(directory, filename, &delim, &mincols, &maxcols, &maxrows, parseproc);
+ retVal___ = preHookFunc(&directory, &filename, &delim, &mincols, &maxcols, &maxrows, &parseproc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77432,11 +77432,11 @@ int HP_timer_add_func_list(TimerFunc func, char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_timer_add_func_list_pre ) {
- int (*preHookFunc) (TimerFunc *func, char *name);
+ int (*preHookFunc) (TimerFunc *func, char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_add_func_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_timer_add_func_list_pre[hIndex].func;
- retVal___ = preHookFunc(&func, name);
+ retVal___ = preHookFunc(&func, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77565,11 +77565,11 @@ void HP_timer_final(void) {
void HP_trade_request(struct map_session_data *sd, struct map_session_data *target_sd) {
int hIndex = 0;
if( HPMHooks.count.HP_trade_request_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, struct map_session_data *target_sd);
+ void (*preHookFunc) (struct map_session_data **sd, struct map_session_data **target_sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_request_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_trade_request_pre[hIndex].func;
- preHookFunc(sd, target_sd);
+ preHookFunc(&sd, &target_sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77591,11 +77591,11 @@ void HP_trade_request(struct map_session_data *sd, struct map_session_data *targ
void HP_trade_ack(struct map_session_data *sd, int type) {
int hIndex = 0;
if( HPMHooks.count.HP_trade_ack_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *type);
+ void (*preHookFunc) (struct map_session_data **sd, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_trade_ack_pre[hIndex].func;
- preHookFunc(sd, &type);
+ preHookFunc(&sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77618,11 +77618,11 @@ int HP_trade_check_impossible(struct map_session_data *sd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_trade_check_impossible_pre ) {
- int (*preHookFunc) (struct map_session_data *sd);
+ int (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_check_impossible_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_trade_check_impossible_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77645,11 +77645,11 @@ int HP_trade_check(struct map_session_data *sd, struct map_session_data *tsd) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_trade_check_pre ) {
- int (*preHookFunc) (struct map_session_data *sd, struct map_session_data *tsd);
+ int (*preHookFunc) (struct map_session_data **sd, struct map_session_data **tsd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_trade_check_pre[hIndex].func;
- retVal___ = preHookFunc(sd, tsd);
+ retVal___ = preHookFunc(&sd, &tsd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77671,11 +77671,11 @@ int HP_trade_check(struct map_session_data *sd, struct map_session_data *tsd) {
void HP_trade_additem(struct map_session_data *sd, short index, short amount) {
int hIndex = 0;
if( HPMHooks.count.HP_trade_additem_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, short *index, short *amount);
+ void (*preHookFunc) (struct map_session_data **sd, short *index, short *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_additem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_trade_additem_pre[hIndex].func;
- preHookFunc(sd, &index, &amount);
+ preHookFunc(&sd, &index, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77697,11 +77697,11 @@ void HP_trade_additem(struct map_session_data *sd, short index, short amount) {
void HP_trade_addzeny(struct map_session_data *sd, int amount) {
int hIndex = 0;
if( HPMHooks.count.HP_trade_addzeny_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *amount);
+ void (*preHookFunc) (struct map_session_data **sd, int *amount);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_addzeny_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_trade_addzeny_pre[hIndex].func;
- preHookFunc(sd, &amount);
+ preHookFunc(&sd, &amount);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77723,11 +77723,11 @@ void HP_trade_addzeny(struct map_session_data *sd, int amount) {
void HP_trade_ok(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_trade_ok_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_ok_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_trade_ok_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77749,11 +77749,11 @@ void HP_trade_ok(struct map_session_data *sd) {
void HP_trade_cancel(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_trade_cancel_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_cancel_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_trade_cancel_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77775,11 +77775,11 @@ void HP_trade_cancel(struct map_session_data *sd) {
void HP_trade_commit(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_trade_commit_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_trade_commit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_trade_commit_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77857,11 +77857,11 @@ struct unit_data* HP_unit_bl2ud(struct block_list *bl) {
int hIndex = 0;
struct unit_data* retVal___ = NULL;
if( HPMHooks.count.HP_unit_bl2ud_pre ) {
- struct unit_data* (*preHookFunc) (struct block_list *bl);
+ struct unit_data* (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_bl2ud_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_bl2ud_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77884,11 +77884,11 @@ struct unit_data* HP_unit_bl2ud2(struct block_list *bl) {
int hIndex = 0;
struct unit_data* retVal___ = NULL;
if( HPMHooks.count.HP_unit_bl2ud2_pre ) {
- struct unit_data* (*preHookFunc) (struct block_list *bl);
+ struct unit_data* (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_bl2ud2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_bl2ud2_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77910,11 +77910,11 @@ struct unit_data* HP_unit_bl2ud2(struct block_list *bl) {
void HP_unit_init_ud(struct unit_data *ud) {
int hIndex = 0;
if( HPMHooks.count.HP_unit_init_ud_pre ) {
- void (*preHookFunc) (struct unit_data *ud);
+ void (*preHookFunc) (struct unit_data **ud);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_init_ud_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_init_ud_pre[hIndex].func;
- preHookFunc(ud);
+ preHookFunc(&ud);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -77991,11 +77991,11 @@ int HP_unit_walktoxy_sub(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_walktoxy_sub_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_walktoxy_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_walktoxy_sub_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78045,11 +78045,11 @@ int HP_unit_walktoxy(struct block_list *bl, short x, short y, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_walktoxy_pre ) {
- int (*preHookFunc) (struct block_list *bl, short *x, short *y, int *flag);
+ int (*preHookFunc) (struct block_list **bl, short *x, short *y, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_walktoxy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_walktoxy_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &x, &y, &flag);
+ retVal___ = preHookFunc(&bl, &x, &y, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78099,11 +78099,11 @@ int HP_unit_walktobl(struct block_list *bl, struct block_list *tbl, int range, i
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_walktobl_pre ) {
- int (*preHookFunc) (struct block_list *bl, struct block_list *tbl, int *range, int *flag);
+ int (*preHookFunc) (struct block_list **bl, struct block_list **tbl, int *range, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_walktobl_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_walktobl_pre[hIndex].func;
- retVal___ = preHookFunc(bl, tbl, &range, &flag);
+ retVal___ = preHookFunc(&bl, &tbl, &range, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78126,11 +78126,11 @@ bool HP_unit_run(struct block_list *bl, struct map_session_data *sd, enum sc_typ
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_unit_run_pre ) {
- bool (*preHookFunc) (struct block_list *bl, struct map_session_data *sd, enum sc_type *type);
+ bool (*preHookFunc) (struct block_list **bl, struct map_session_data **sd, enum sc_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_run_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_run_pre[hIndex].func;
- retVal___ = preHookFunc(bl, sd, &type);
+ retVal___ = preHookFunc(&bl, &sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78152,11 +78152,11 @@ bool HP_unit_run(struct block_list *bl, struct map_session_data *sd, enum sc_typ
void HP_unit_run_hit(struct block_list *bl, struct status_change *sc, struct map_session_data *sd, enum sc_type type) {
int hIndex = 0;
if( HPMHooks.count.HP_unit_run_hit_pre ) {
- void (*preHookFunc) (struct block_list *bl, struct status_change *sc, struct map_session_data *sd, enum sc_type *type);
+ void (*preHookFunc) (struct block_list **bl, struct status_change **sc, struct map_session_data **sd, enum sc_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_run_hit_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_run_hit_pre[hIndex].func;
- preHookFunc(bl, sc, sd, &type);
+ preHookFunc(&bl, &sc, &sd, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78179,11 +78179,11 @@ int HP_unit_escape(struct block_list *bl, struct block_list *target, short dist)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_escape_pre ) {
- int (*preHookFunc) (struct block_list *bl, struct block_list *target, short *dist);
+ int (*preHookFunc) (struct block_list **bl, struct block_list **target, short *dist);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_escape_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_escape_pre[hIndex].func;
- retVal___ = preHookFunc(bl, target, &dist);
+ retVal___ = preHookFunc(&bl, &target, &dist);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78206,11 +78206,11 @@ int HP_unit_movepos(struct block_list *bl, short dst_x, short dst_y, int easy, b
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_movepos_pre ) {
- int (*preHookFunc) (struct block_list *bl, short *dst_x, short *dst_y, int *easy, bool *checkpath);
+ int (*preHookFunc) (struct block_list **bl, short *dst_x, short *dst_y, int *easy, bool *checkpath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_movepos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_movepos_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &dst_x, &dst_y, &easy, &checkpath);
+ retVal___ = preHookFunc(&bl, &dst_x, &dst_y, &easy, &checkpath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78233,11 +78233,11 @@ int HP_unit_setdir(struct block_list *bl, unsigned char dir) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_setdir_pre ) {
- int (*preHookFunc) (struct block_list *bl, unsigned char *dir);
+ int (*preHookFunc) (struct block_list **bl, unsigned char *dir);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_setdir_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_setdir_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &dir);
+ retVal___ = preHookFunc(&bl, &dir);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78260,11 +78260,11 @@ uint8 HP_unit_getdir(struct block_list *bl) {
int hIndex = 0;
uint8 retVal___ = 0;
if( HPMHooks.count.HP_unit_getdir_pre ) {
- uint8 (*preHookFunc) (struct block_list *bl);
+ uint8 (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_getdir_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_getdir_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78287,11 +78287,11 @@ int HP_unit_blown(struct block_list *bl, int dx, int dy, int count, int flag) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_blown_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *dx, int *dy, int *count, int *flag);
+ int (*preHookFunc) (struct block_list **bl, int *dx, int *dy, int *count, int *flag);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_blown_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_blown_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &dx, &dy, &count, &flag);
+ retVal___ = preHookFunc(&bl, &dx, &dy, &count, &flag);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78314,11 +78314,11 @@ int HP_unit_warp(struct block_list *bl, short m, short x, short y, clr_type type
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_warp_pre ) {
- int (*preHookFunc) (struct block_list *bl, short *m, short *x, short *y, clr_type *type);
+ int (*preHookFunc) (struct block_list **bl, short *m, short *x, short *y, clr_type *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_warp_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_warp_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &m, &x, &y, &type);
+ retVal___ = preHookFunc(&bl, &m, &x, &y, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78341,11 +78341,11 @@ int HP_unit_stop_walking(struct block_list *bl, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_stop_walking_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *type);
+ int (*preHookFunc) (struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_stop_walking_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_stop_walking_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &type);
+ retVal___ = preHookFunc(&bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78368,11 +78368,11 @@ int HP_unit_skilluse_id(struct block_list *src, int target_id, uint16 skill_id,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_skilluse_id_pre ) {
- int (*preHookFunc) (struct block_list *src, int *target_id, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct block_list **src, int *target_id, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skilluse_id_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_skilluse_id_pre[hIndex].func;
- retVal___ = preHookFunc(src, &target_id, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&src, &target_id, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78421,11 +78421,11 @@ int HP_unit_step_timer(int tid, int64 tick, int id, intptr_t data) {
void HP_unit_stop_stepaction(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_unit_stop_stepaction_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_stop_stepaction_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_stop_stepaction_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78448,11 +78448,11 @@ int HP_unit_is_walking(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_is_walking_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_is_walking_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_is_walking_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78475,11 +78475,11 @@ int HP_unit_can_move(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_can_move_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_can_move_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_can_move_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78529,11 +78529,11 @@ int HP_unit_set_walkdelay(struct block_list *bl, int64 tick, int delay, int type
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_set_walkdelay_pre ) {
- int (*preHookFunc) (struct block_list *bl, int64 *tick, int *delay, int *type);
+ int (*preHookFunc) (struct block_list **bl, int64 *tick, int *delay, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_set_walkdelay_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_set_walkdelay_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &tick, &delay, &type);
+ retVal___ = preHookFunc(&bl, &tick, &delay, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78556,11 +78556,11 @@ int HP_unit_skilluse_id2(struct block_list *src, int target_id, uint16 skill_id,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_skilluse_id2_pre ) {
- int (*preHookFunc) (struct block_list *src, int *target_id, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
+ int (*preHookFunc) (struct block_list **src, int *target_id, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skilluse_id2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_skilluse_id2_pre[hIndex].func;
- retVal___ = preHookFunc(src, &target_id, &skill_id, &skill_lv, &casttime, &castcancel);
+ retVal___ = preHookFunc(&src, &target_id, &skill_id, &skill_lv, &casttime, &castcancel);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78583,11 +78583,11 @@ int HP_unit_skilluse_pos(struct block_list *src, short skill_x, short skill_y, u
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_skilluse_pos_pre ) {
- int (*preHookFunc) (struct block_list *src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv);
+ int (*preHookFunc) (struct block_list **src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skilluse_pos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_skilluse_pos_pre[hIndex].func;
- retVal___ = preHookFunc(src, &skill_x, &skill_y, &skill_id, &skill_lv);
+ retVal___ = preHookFunc(&src, &skill_x, &skill_y, &skill_id, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78610,11 +78610,11 @@ int HP_unit_skilluse_pos2(struct block_list *src, short skill_x, short skill_y,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_skilluse_pos2_pre ) {
- int (*preHookFunc) (struct block_list *src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
+ int (*preHookFunc) (struct block_list **src, short *skill_x, short *skill_y, uint16 *skill_id, uint16 *skill_lv, int *casttime, int *castcancel);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skilluse_pos2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_skilluse_pos2_pre[hIndex].func;
- retVal___ = preHookFunc(src, &skill_x, &skill_y, &skill_id, &skill_lv, &casttime, &castcancel);
+ retVal___ = preHookFunc(&src, &skill_x, &skill_y, &skill_id, &skill_lv, &casttime, &castcancel);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78637,11 +78637,11 @@ int HP_unit_set_target(struct unit_data *ud, int target_id) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_set_target_pre ) {
- int (*preHookFunc) (struct unit_data *ud, int *target_id);
+ int (*preHookFunc) (struct unit_data **ud, int *target_id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_set_target_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_set_target_pre[hIndex].func;
- retVal___ = preHookFunc(ud, &target_id);
+ retVal___ = preHookFunc(&ud, &target_id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78663,11 +78663,11 @@ int HP_unit_set_target(struct unit_data *ud, int target_id) {
void HP_unit_stop_attack(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_unit_stop_attack_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_stop_attack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_stop_attack_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78690,11 +78690,11 @@ int HP_unit_unattackable(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_unattackable_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_unattackable_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_unattackable_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78717,11 +78717,11 @@ int HP_unit_attack(struct block_list *src, int target_id, int continuous) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_attack_pre ) {
- int (*preHookFunc) (struct block_list *src, int *target_id, int *continuous);
+ int (*preHookFunc) (struct block_list **src, int *target_id, int *continuous);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_attack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_attack_pre[hIndex].func;
- retVal___ = preHookFunc(src, &target_id, &continuous);
+ retVal___ = preHookFunc(&src, &target_id, &continuous);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78744,11 +78744,11 @@ int HP_unit_cancel_combo(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_cancel_combo_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_cancel_combo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_cancel_combo_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78771,11 +78771,11 @@ bool HP_unit_can_reach_pos(struct block_list *bl, int x, int y, int easy) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_unit_can_reach_pos_pre ) {
- bool (*preHookFunc) (struct block_list *bl, int *x, int *y, int *easy);
+ bool (*preHookFunc) (struct block_list **bl, int *x, int *y, int *easy);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_can_reach_pos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_can_reach_pos_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &x, &y, &easy);
+ retVal___ = preHookFunc(&bl, &x, &y, &easy);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78798,11 +78798,11 @@ bool HP_unit_can_reach_bl(struct block_list *bl, struct block_list *tbl, int ran
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_unit_can_reach_bl_pre ) {
- bool (*preHookFunc) (struct block_list *bl, struct block_list *tbl, int *range, int *easy, short *x, short *y);
+ bool (*preHookFunc) (struct block_list **bl, struct block_list **tbl, int *range, int *easy, short **x, short **y);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_can_reach_bl_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_can_reach_bl_pre[hIndex].func;
- retVal___ = preHookFunc(bl, tbl, &range, &easy, x, y);
+ retVal___ = preHookFunc(&bl, &tbl, &range, &easy, &x, &y);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78825,11 +78825,11 @@ int HP_unit_calc_pos(struct block_list *bl, int tx, int ty, uint8 dir) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_calc_pos_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *tx, int *ty, uint8 *dir);
+ int (*preHookFunc) (struct block_list **bl, int *tx, int *ty, uint8 *dir);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_calc_pos_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_calc_pos_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &tx, &ty, &dir);
+ retVal___ = preHookFunc(&bl, &tx, &ty, &dir);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78852,11 +78852,11 @@ int HP_unit_attack_timer_sub(struct block_list *src, int tid, int64 tick) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_attack_timer_sub_pre ) {
- int (*preHookFunc) (struct block_list *src, int *tid, int64 *tick);
+ int (*preHookFunc) (struct block_list **src, int *tid, int64 *tick);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_attack_timer_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_attack_timer_sub_pre[hIndex].func;
- retVal___ = preHookFunc(src, &tid, &tick);
+ retVal___ = preHookFunc(&src, &tid, &tick);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78879,11 +78879,11 @@ int HP_unit_skillcastcancel(struct block_list *bl, int type) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_skillcastcancel_pre ) {
- int (*preHookFunc) (struct block_list *bl, int *type);
+ int (*preHookFunc) (struct block_list **bl, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_skillcastcancel_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_skillcastcancel_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &type);
+ retVal___ = preHookFunc(&bl, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78905,11 +78905,11 @@ int HP_unit_skillcastcancel(struct block_list *bl, int type) {
void HP_unit_dataset(struct block_list *bl) {
int hIndex = 0;
if( HPMHooks.count.HP_unit_dataset_pre ) {
- void (*preHookFunc) (struct block_list *bl);
+ void (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_dataset_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_dataset_pre[hIndex].func;
- preHookFunc(bl);
+ preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78932,11 +78932,11 @@ int HP_unit_counttargeted(struct block_list *bl) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_counttargeted_pre ) {
- int (*preHookFunc) (struct block_list *bl);
+ int (*preHookFunc) (struct block_list **bl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_counttargeted_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_counttargeted_pre[hIndex].func;
- retVal___ = preHookFunc(bl);
+ retVal___ = preHookFunc(&bl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78959,11 +78959,11 @@ int HP_unit_fixdamage(struct block_list *src, struct block_list *target, int sde
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_fixdamage_pre ) {
- int (*preHookFunc) (struct block_list *src, struct block_list *target, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
+ int (*preHookFunc) (struct block_list **src, struct block_list **target, int *sdelay, int *ddelay, int64 *damage, short *div, unsigned char *type, int64 *damage2);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_fixdamage_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_fixdamage_pre[hIndex].func;
- retVal___ = preHookFunc(src, target, &sdelay, &ddelay, &damage, &div, &type, &damage2);
+ retVal___ = preHookFunc(&src, &target, &sdelay, &ddelay, &damage, &div, &type, &damage2);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -78986,11 +78986,11 @@ int HP_unit_changeviewsize(struct block_list *bl, short size) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_changeviewsize_pre ) {
- int (*preHookFunc) (struct block_list *bl, short *size);
+ int (*preHookFunc) (struct block_list **bl, short *size);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_changeviewsize_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_changeviewsize_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &size);
+ retVal___ = preHookFunc(&bl, &size);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79013,11 +79013,11 @@ int HP_unit_remove_map(struct block_list *bl, clr_type clrtype, const char *file
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_remove_map_pre ) {
- int (*preHookFunc) (struct block_list *bl, clr_type *clrtype, const char *file, int *line, const char *func);
+ int (*preHookFunc) (struct block_list **bl, clr_type *clrtype, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_remove_map_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_remove_map_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &clrtype, file, &line, func);
+ retVal___ = preHookFunc(&bl, &clrtype, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79039,11 +79039,11 @@ int HP_unit_remove_map(struct block_list *bl, clr_type clrtype, const char *file
void HP_unit_remove_map_pc(struct map_session_data *sd, clr_type clrtype) {
int hIndex = 0;
if( HPMHooks.count.HP_unit_remove_map_pc_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, clr_type *clrtype);
+ void (*preHookFunc) (struct map_session_data **sd, clr_type *clrtype);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_remove_map_pc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_remove_map_pc_pre[hIndex].func;
- preHookFunc(sd, &clrtype);
+ preHookFunc(&sd, &clrtype);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79065,11 +79065,11 @@ void HP_unit_remove_map_pc(struct map_session_data *sd, clr_type clrtype) {
void HP_unit_free_pc(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_unit_free_pc_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_free_pc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_free_pc_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79092,11 +79092,11 @@ int HP_unit_free(struct block_list *bl, clr_type clrtype) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_unit_free_pre ) {
- int (*preHookFunc) (struct block_list *bl, clr_type *clrtype);
+ int (*preHookFunc) (struct block_list **bl, clr_type *clrtype);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_unit_free_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_unit_free_pre[hIndex].func;
- retVal___ = preHookFunc(bl, &clrtype);
+ retVal___ = preHookFunc(&bl, &clrtype);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79171,11 +79171,11 @@ void HP_vending_final(void) {
void HP_vending_close(struct map_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_vending_close_pre ) {
- void (*preHookFunc) (struct map_session_data *sd);
+ void (*preHookFunc) (struct map_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_close_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_vending_close_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79197,11 +79197,11 @@ void HP_vending_close(struct map_session_data *sd) {
void HP_vending_open(struct map_session_data *sd, const char *message, const uint8 *data, int count) {
int hIndex = 0;
if( HPMHooks.count.HP_vending_open_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, const char *message, const uint8 *data, int *count);
+ void (*preHookFunc) (struct map_session_data **sd, const char **message, const uint8 **data, int *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_vending_open_pre[hIndex].func;
- preHookFunc(sd, message, data, &count);
+ preHookFunc(&sd, &message, &data, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79223,11 +79223,11 @@ void HP_vending_open(struct map_session_data *sd, const char *message, const uin
void HP_vending_list(struct map_session_data *sd, unsigned int id) {
int hIndex = 0;
if( HPMHooks.count.HP_vending_list_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, unsigned int *id);
+ void (*preHookFunc) (struct map_session_data **sd, unsigned int *id);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_vending_list_pre[hIndex].func;
- preHookFunc(sd, &id);
+ preHookFunc(&sd, &id);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79249,11 +79249,11 @@ void HP_vending_list(struct map_session_data *sd, unsigned int id) {
void HP_vending_purchase(struct map_session_data *sd, int aid, unsigned int uid, const uint8 *data, int count) {
int hIndex = 0;
if( HPMHooks.count.HP_vending_purchase_pre ) {
- void (*preHookFunc) (struct map_session_data *sd, int *aid, unsigned int *uid, const uint8 *data, int *count);
+ void (*preHookFunc) (struct map_session_data **sd, int *aid, unsigned int *uid, const uint8 **data, int *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_purchase_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_vending_purchase_pre[hIndex].func;
- preHookFunc(sd, &aid, &uid, data, &count);
+ preHookFunc(&sd, &aid, &uid, &data, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79276,11 +79276,11 @@ bool HP_vending_search(struct map_session_data *sd, unsigned short nameid) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_vending_search_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, unsigned short *nameid);
+ bool (*preHookFunc) (struct map_session_data **sd, unsigned short *nameid);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_search_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_vending_search_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &nameid);
+ retVal___ = preHookFunc(&sd, &nameid);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -79303,11 +79303,11 @@ bool HP_vending_searchall(struct map_session_data *sd, const struct s_search_sto
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_vending_searchall_pre ) {
- bool (*preHookFunc) (struct map_session_data *sd, const struct s_search_store_search *s);
+ bool (*preHookFunc) (struct map_session_data **sd, const struct s_search_store_search **s);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_vending_searchall_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_vending_searchall_pre[hIndex].func;
- retVal___ = preHookFunc(sd, s);
+ retVal___ = preHookFunc(&sd, &s);
}
if( *HPMforce_return ) {
*HPMforce_return = false;