Skip to content

Commit

Permalink
Update HPM Hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonch35 committed Nov 4, 2024
1 parent 98ad026 commit 0cb567d
Show file tree
Hide file tree
Showing 8 changed files with 2,670 additions and 2,434 deletions.
1 change: 1 addition & 0 deletions src/common/HPMDataCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = {
{ "script_reg_str", sizeof(struct script_reg_str), SERVER_TYPE_ALL },
{ "status_change_data", sizeof(struct status_change_data), SERVER_TYPE_ALL },
{ "storage_data", sizeof(struct storage_data), SERVER_TYPE_ALL },
{ "storage_settings", sizeof(struct storage_settings), SERVER_TYPE_ALL },
#else
#define COMMON_MMO_H
#endif // COMMON_MMO_H
Expand Down
1,234 changes: 624 additions & 610 deletions src/plugins/HPMHooking/HPMHooking.Defs.inc

Large diffs are not rendered by default.

592 changes: 296 additions & 296 deletions src/plugins/HPMHooking/HPMHooking_api.Hooks.inc

Large diffs are not rendered by default.

552 changes: 276 additions & 276 deletions src/plugins/HPMHooking/HPMHooking_char.Hooks.inc

Large diffs are not rendered by default.

416 changes: 208 additions & 208 deletions src/plugins/HPMHooking/HPMHooking_login.Hooks.inc

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7272,8 +7272,22 @@ struct {
struct HPMHookPoint *HP_status_base_matk_max_post;
struct HPMHookPoint *HP_status_check_job_bonus_pre;
struct HPMHookPoint *HP_status_check_job_bonus_post;
struct HPMHookPoint *HP_storage_init_pre;
struct HPMHookPoint *HP_storage_init_post;
struct HPMHookPoint *HP_storage_final_pre;
struct HPMHookPoint *HP_storage_final_post;
struct HPMHookPoint *HP_storage_reconnect_pre;
struct HPMHookPoint *HP_storage_reconnect_post;
struct HPMHookPoint *HP_storage_config_read_pre;
struct HPMHookPoint *HP_storage_config_read_post;
struct HPMHookPoint *HP_storage_config_read_additional_fields_pre;
struct HPMHookPoint *HP_storage_config_read_additional_fields_post;
struct HPMHookPoint *HP_storage_get_id_by_name_pre;
struct HPMHookPoint *HP_storage_get_id_by_name_post;
struct HPMHookPoint *HP_storage_ensure_pre;
struct HPMHookPoint *HP_storage_ensure_post;
struct HPMHookPoint *HP_storage_get_settings_pre;
struct HPMHookPoint *HP_storage_get_settings_post;
struct HPMHookPoint *HP_storage_delitem_pre;
struct HPMHookPoint *HP_storage_delitem_post;
struct HPMHookPoint *HP_storage_open_pre;
Expand Down Expand Up @@ -14863,8 +14877,22 @@ struct {
int HP_status_base_matk_max_post;
int HP_status_check_job_bonus_pre;
int HP_status_check_job_bonus_post;
int HP_storage_init_pre;
int HP_storage_init_post;
int HP_storage_final_pre;
int HP_storage_final_post;
int HP_storage_reconnect_pre;
int HP_storage_reconnect_post;
int HP_storage_config_read_pre;
int HP_storage_config_read_post;
int HP_storage_config_read_additional_fields_pre;
int HP_storage_config_read_additional_fields_post;
int HP_storage_get_id_by_name_pre;
int HP_storage_get_id_by_name_post;
int HP_storage_ensure_pre;
int HP_storage_ensure_post;
int HP_storage_get_settings_pre;
int HP_storage_get_settings_post;
int HP_storage_delitem_pre;
int HP_storage_delitem_post;
int HP_storage_open_pre;
Expand Down
7 changes: 7 additions & 0 deletions src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3716,7 +3716,14 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(status->base_matk_max, HP_status_base_matk_max) },
{ HP_POP(status->check_job_bonus, HP_status_check_job_bonus) },
/* storage_interface */
{ HP_POP(storage->init, HP_storage_init) },
{ HP_POP(storage->final, HP_storage_final) },
{ HP_POP(storage->reconnect, HP_storage_reconnect) },
{ HP_POP(storage->config_read, HP_storage_config_read) },
{ HP_POP(storage->config_read_additional_fields, HP_storage_config_read_additional_fields) },
{ HP_POP(storage->get_id_by_name, HP_storage_get_id_by_name) },
{ HP_POP(storage->ensure, HP_storage_ensure) },
{ HP_POP(storage->get_settings, HP_storage_get_settings) },
{ HP_POP(storage->delitem, HP_storage_delitem) },
{ HP_POP(storage->open, HP_storage_open) },
{ HP_POP(storage->add, HP_storage_add) },
Expand Down
2,274 changes: 1,230 additions & 1,044 deletions src/plugins/HPMHooking/HPMHooking_map.Hooks.inc

Large diffs are not rendered by default.

0 comments on commit 0cb567d

Please sign in to comment.