summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc307
1 files changed, 215 insertions, 92 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc
index fbf332ffb..238580b83 100644
--- a/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc
+++ b/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc
@@ -1,7 +1,8 @@
/**
* This file is part of Hercules.
+ * http://herc.ws - http://github.com/HerculesWS/Hercules
*
- * Copyright (C) 2013-2016 Hercules Dev Team
+ * Copyright (C) 2013-2020 Hercules Dev Team
*
* Hercules is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -22,12 +23,14 @@
* as it will get overwritten.
*/
+/* GENERATED FILE DO NOT EDIT */
+
struct HookingPointData HookingPoints[] = {
-/* HCache */
+/* HCache_interface */
{ HP_POP(HCache->init, HP_HCache_init) },
{ HP_POP(HCache->check, HP_HCache_check) },
{ HP_POP(HCache->open, HP_HCache_open) },
-/* chr */
+/* char_interface */
{ HP_POP(chr->waiting_disconnect, HP_chr_waiting_disconnect) },
{ HP_POP(chr->delete_char_sql, HP_chr_delete_char_sql) },
{ HP_POP(chr->create_online_char_data, HP_chr_create_online_char_data) },
@@ -43,6 +46,7 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(chr->set_all_offline_sql, HP_chr_set_all_offline_sql) },
{ HP_POP(chr->create_charstatus, HP_chr_create_charstatus) },
{ HP_POP(chr->mmo_char_tosql, HP_chr_mmo_char_tosql) },
+ { HP_POP(chr->getitemdata_from_sql, HP_chr_getitemdata_from_sql) },
{ HP_POP(chr->memitemdata_to_sql, HP_chr_memitemdata_to_sql) },
{ HP_POP(chr->mmo_gender, HP_chr_mmo_gender) },
{ HP_POP(chr->mmo_chars_fromsql, HP_chr_mmo_chars_fromsql) },
@@ -50,12 +54,14 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(chr->mmo_char_sql_init, HP_chr_mmo_char_sql_init) },
{ HP_POP(chr->char_slotchange, HP_chr_char_slotchange) },
{ HP_POP(chr->rename_char_sql, HP_chr_rename_char_sql) },
+ { HP_POP(chr->name_exists, HP_chr_name_exists) },
{ HP_POP(chr->check_char_name, HP_chr_check_char_name) },
{ HP_POP(chr->make_new_char_sql, HP_chr_make_new_char_sql) },
{ HP_POP(chr->divorce_char_sql, HP_chr_divorce_char_sql) },
{ HP_POP(chr->count_users, HP_chr_count_users) },
{ HP_POP(chr->mmo_char_tobuf, HP_chr_mmo_char_tobuf) },
- { HP_POP(chr->mmo_char_send099d, HP_chr_mmo_char_send099d) },
+ { HP_POP(chr->send_HC_ACK_CHARINFO_PER_PAGE, HP_chr_send_HC_ACK_CHARINFO_PER_PAGE) },
+ { HP_POP(chr->send_HC_ACK_CHARINFO_PER_PAGE_tail, HP_chr_send_HC_ACK_CHARINFO_PER_PAGE_tail) },
{ HP_POP(chr->mmo_char_send_ban_list, HP_chr_mmo_char_send_ban_list) },
{ HP_POP(chr->mmo_char_send_slots_info, HP_chr_mmo_char_send_slots_info) },
{ HP_POP(chr->mmo_char_send_characters, HP_chr_mmo_char_send_characters) },
@@ -128,7 +134,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(chr->map_auth_failed, HP_chr_map_auth_failed) },
{ HP_POP(chr->parse_frommap_auth_request, HP_chr_parse_frommap_auth_request) },
{ HP_POP(chr->parse_frommap_update_ip, HP_chr_parse_frommap_update_ip) },
- { HP_POP(chr->parse_frommap_request_stats_report, HP_chr_parse_frommap_request_stats_report) },
{ HP_POP(chr->parse_frommap_scdata_update, HP_chr_parse_frommap_scdata_update) },
{ HP_POP(chr->parse_frommap_scdata_delete, HP_chr_parse_frommap_scdata_delete) },
{ HP_POP(chr->parse_frommap, HP_chr_parse_frommap) },
@@ -184,23 +189,37 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(chr->online_data_cleanup_sub, HP_chr_online_data_cleanup_sub) },
{ HP_POP(chr->online_data_cleanup, HP_chr_online_data_cleanup) },
{ HP_POP(chr->sql_config_read, HP_chr_sql_config_read) },
- { HP_POP(chr->config_dispatch, HP_chr_config_dispatch) },
+ { HP_POP(chr->sql_config_read_registry, HP_chr_sql_config_read_registry) },
+ { HP_POP(chr->sql_config_read_pc, HP_chr_sql_config_read_pc) },
+ { HP_POP(chr->sql_config_read_guild, HP_chr_sql_config_read_guild) },
{ HP_POP(chr->config_read, HP_chr_config_read) },
-/* cmdline */
+ { HP_POP(chr->config_read_database, HP_chr_config_read_database) },
+ { HP_POP(chr->config_read_console, HP_chr_config_read_console) },
+ { HP_POP(chr->config_read_player_fame, HP_chr_config_read_player_fame) },
+ { HP_POP(chr->config_read_player_deletion, HP_chr_config_read_player_deletion) },
+ { HP_POP(chr->config_read_player_name, HP_chr_config_read_player_name) },
+ { HP_POP(chr->config_set_start_item, HP_chr_config_set_start_item) },
+ { HP_POP(chr->config_read_player_new, HP_chr_config_read_player_new) },
+ { HP_POP(chr->config_read_player, HP_chr_config_read_player) },
+ { HP_POP(chr->config_read_permission, HP_chr_config_read_permission) },
+ { HP_POP(chr->config_set_ip, HP_chr_config_set_ip) },
+ { HP_POP(chr->config_read_inter, HP_chr_config_read_inter) },
+ { HP_POP(chr->config_read_top, HP_chr_config_read_top) },
+/* cmdline_interface */
{ HP_POP(cmdline->init, HP_cmdline_init) },
{ HP_POP(cmdline->final, HP_cmdline_final) },
{ HP_POP(cmdline->arg_add, HP_cmdline_arg_add) },
{ HP_POP(cmdline->exec, HP_cmdline_exec) },
{ HP_POP(cmdline->arg_next_value, HP_cmdline_arg_next_value) },
{ HP_POP(cmdline->arg_source, HP_cmdline_arg_source) },
-/* console */
+/* console_interface */
{ HP_POP(console->init, HP_console_init) },
{ HP_POP(console->final, HP_console_final) },
{ HP_POP(console->display_title, HP_console_display_title) },
{ HP_POP(console->display_gplnotice, HP_console_display_gplnotice) },
-/* core */
+/* core_interface */
{ HP_POP(core->shutdown_callback, HP_core_shutdown_callback) },
-/* DB */
+/* db_interface */
{ HP_POP(DB->fix_options, HP_DB_fix_options) },
{ HP_POP(DB->default_cmp, HP_DB_default_cmp) },
{ HP_POP(DB->default_hash, HP_DB_default_hash) },
@@ -220,11 +239,22 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(DB->data2ptr, HP_DB_data2ptr) },
{ HP_POP(DB->init, HP_DB_init) },
{ HP_POP(DB->final, HP_DB_final) },
-/* geoip */
+/* des_interface */
+ { HP_POP(des->decrypt_block, HP_des_decrypt_block) },
+ { HP_POP(des->decrypt, HP_des_decrypt) },
+/* geoip_interface */
{ HP_POP(geoip->getcountry, HP_geoip_getcountry) },
{ HP_POP(geoip->final, HP_geoip_final) },
{ HP_POP(geoip->init, HP_geoip_init) },
-/* inter_auction */
+/* inter_achievement_interface */
+ { HP_POP(inter_achievement->sql_init, HP_inter_achievement_sql_init) },
+ { HP_POP(inter_achievement->sql_final, HP_inter_achievement_sql_final) },
+ { HP_POP(inter_achievement->tosql, HP_inter_achievement_tosql) },
+ { HP_POP(inter_achievement->fromsql, HP_inter_achievement_fromsql) },
+ { HP_POP(inter_achievement->ensure_char_achievements, HP_inter_achievement_ensure_char_achievements) },
+ { HP_POP(inter_achievement->char_achievements_clear, HP_inter_achievement_char_achievements_clear) },
+ { HP_POP(inter_achievement->parse_frommap, HP_inter_achievement_parse_frommap) },
+/* inter_auction_interface */
{ HP_POP(inter_auction->count, HP_inter_auction_count) },
{ HP_POP(inter_auction->save, HP_inter_auction_save) },
{ HP_POP(inter_auction->create, HP_inter_auction_create) },
@@ -234,11 +264,19 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(inter_auction->parse_frommap, HP_inter_auction_parse_frommap) },
{ HP_POP(inter_auction->sql_init, HP_inter_auction_sql_init) },
{ HP_POP(inter_auction->sql_final, HP_inter_auction_sql_final) },
-/* inter_elemental */
+/* inter_clan_interface */
+ { HP_POP(inter_clan->kick_inactive_members, HP_inter_clan_kick_inactive_members) },
+ { HP_POP(inter_clan->count_members, HP_inter_clan_count_members) },
+ { HP_POP(inter_clan->parse_frommap, HP_inter_clan_parse_frommap) },
+/* inter_elemental_interface */
{ HP_POP(inter_elemental->sql_init, HP_inter_elemental_sql_init) },
{ HP_POP(inter_elemental->sql_final, HP_inter_elemental_sql_final) },
{ HP_POP(inter_elemental->parse_frommap, HP_inter_elemental_parse_frommap) },
-/* inter_guild */
+ { HP_POP(inter_elemental->create, HP_inter_elemental_create) },
+ { HP_POP(inter_elemental->save, HP_inter_elemental_save) },
+ { HP_POP(inter_elemental->load, HP_inter_elemental_load) },
+ { HP_POP(inter_elemental->delete, HP_inter_elemental_delete) },
+/* inter_guild_interface */
{ HP_POP(inter_guild->save_timer, HP_inter_guild_save_timer) },
{ HP_POP(inter_guild->removemember_tosql, HP_inter_guild_removemember_tosql) },
{ HP_POP(inter_guild->tosql, HP_inter_guild_tosql) },
@@ -259,13 +297,32 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(inter_guild->sex_changed, HP_inter_guild_sex_changed) },
{ HP_POP(inter_guild->charname_changed, HP_inter_guild_charname_changed) },
{ HP_POP(inter_guild->parse_frommap, HP_inter_guild_parse_frommap) },
- { HP_POP(inter_guild->leave, HP_inter_guild_leave) },
{ HP_POP(inter_guild->broken, HP_inter_guild_broken) },
-/* inter_homunculus */
+ { HP_POP(inter_guild->create, HP_inter_guild_create) },
+ { HP_POP(inter_guild->add_member, HP_inter_guild_add_member) },
+ { HP_POP(inter_guild->leave, HP_inter_guild_leave) },
+ { HP_POP(inter_guild->update_member_info_short, HP_inter_guild_update_member_info_short) },
+ { HP_POP(inter_guild->update_member_info, HP_inter_guild_update_member_info) },
+ { HP_POP(inter_guild->disband, HP_inter_guild_disband) },
+ { HP_POP(inter_guild->update_basic_info, HP_inter_guild_update_basic_info) },
+ { HP_POP(inter_guild->update_position, HP_inter_guild_update_position) },
+ { HP_POP(inter_guild->use_skill_point, HP_inter_guild_use_skill_point) },
+ { HP_POP(inter_guild->remove_alliance, HP_inter_guild_remove_alliance) },
+ { HP_POP(inter_guild->change_alliance, HP_inter_guild_change_alliance) },
+ { HP_POP(inter_guild->update_notice, HP_inter_guild_update_notice) },
+ { HP_POP(inter_guild->update_emblem, HP_inter_guild_update_emblem) },
+ { HP_POP(inter_guild->update_castle_data, HP_inter_guild_update_castle_data) },
+ { HP_POP(inter_guild->change_leader, HP_inter_guild_change_leader) },
+/* inter_homunculus_interface */
{ HP_POP(inter_homunculus->sql_init, HP_inter_homunculus_sql_init) },
{ HP_POP(inter_homunculus->sql_final, HP_inter_homunculus_sql_final) },
{ HP_POP(inter_homunculus->parse_frommap, HP_inter_homunculus_parse_frommap) },
-/* inter */
+ { HP_POP(inter_homunculus->create, HP_inter_homunculus_create) },
+ { HP_POP(inter_homunculus->save, HP_inter_homunculus_save) },
+ { HP_POP(inter_homunculus->load, HP_inter_homunculus_load) },
+ { HP_POP(inter_homunculus->delete, HP_inter_homunculus_delete) },
+ { HP_POP(inter_homunculus->rename, HP_inter_homunculus_rename) },
+/* inter_interface */
{ HP_POP(inter->msg_txt, HP_inter_msg_txt) },
{ HP_POP(inter->msg_config_read, HP_inter_msg_config_read) },
{ HP_POP(inter->do_final_msg, HP_inter_do_final_msg) },
@@ -273,16 +330,18 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(inter->vmsg_to_fd, HP_inter_vmsg_to_fd) },
{ HP_POP(inter->savereg, HP_inter_savereg) },
{ HP_POP(inter->accreg_fromsql, HP_inter_accreg_fromsql) },
- { HP_POP(inter->config_read, HP_inter_config_read) },
{ HP_POP(inter->vlog, HP_inter_vlog) },
{ HP_POP(inter->init_sql, HP_inter_init_sql) },
{ HP_POP(inter->mapif_init, HP_inter_mapif_init) },
- { HP_POP(inter->check_ttl_wisdata_sub, HP_inter_check_ttl_wisdata_sub) },
- { HP_POP(inter->check_ttl_wisdata, HP_inter_check_ttl_wisdata) },
{ HP_POP(inter->check_length, HP_inter_check_length) },
{ HP_POP(inter->parse_frommap, HP_inter_parse_frommap) },
{ HP_POP(inter->final, HP_inter_final) },
-/* inter_mail */
+ { HP_POP(inter->config_read, HP_inter_config_read) },
+ { HP_POP(inter->config_read_log, HP_inter_config_read_log) },
+ { HP_POP(inter->config_read_connection, HP_inter_config_read_connection) },
+ { HP_POP(inter->accinfo, HP_inter_accinfo) },
+ { HP_POP(inter->accinfo2, HP_inter_accinfo2) },
+/* inter_mail_interface */
{ HP_POP(inter_mail->sql_init, HP_inter_mail_sql_init) },
{ HP_POP(inter_mail->sql_final, HP_inter_mail_sql_final) },
{ HP_POP(inter_mail->parse_frommap, HP_inter_mail_parse_frommap) },
@@ -291,17 +350,28 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(inter_mail->loadmessage, HP_inter_mail_loadmessage) },
{ HP_POP(inter_mail->DeleteAttach, HP_inter_mail_DeleteAttach) },
{ HP_POP(inter_mail->sendmail, HP_inter_mail_sendmail) },
-/* inter_mercenary */
+ { HP_POP(inter_mail->mark_read, HP_inter_mail_mark_read) },
+ { HP_POP(inter_mail->get_attachment, HP_inter_mail_get_attachment) },
+ { HP_POP(inter_mail->delete, HP_inter_mail_delete) },
+ { HP_POP(inter_mail->return_message, HP_inter_mail_return_message) },
+ { HP_POP(inter_mail->send, HP_inter_mail_send) },
+/* inter_mercenary_interface */
{ HP_POP(inter_mercenary->owner_fromsql, HP_inter_mercenary_owner_fromsql) },
{ HP_POP(inter_mercenary->owner_tosql, HP_inter_mercenary_owner_tosql) },
{ HP_POP(inter_mercenary->owner_delete, HP_inter_mercenary_owner_delete) },
{ HP_POP(inter_mercenary->sql_init, HP_inter_mercenary_sql_init) },
{ HP_POP(inter_mercenary->sql_final, HP_inter_mercenary_sql_final) },
{ HP_POP(inter_mercenary->parse_frommap, HP_inter_mercenary_parse_frommap) },
-/* inter_party */
+ { HP_POP(inter_mercenary->create, HP_inter_mercenary_create) },
+ { HP_POP(inter_mercenary->save, HP_inter_mercenary_save) },
+ { HP_POP(inter_mercenary->load, HP_inter_mercenary_load) },
+ { HP_POP(inter_mercenary->delete, HP_inter_mercenary_delete) },
+/* inter_party_interface */
{ HP_POP(inter_party->check_lv, HP_inter_party_check_lv) },
+ { HP_POP(inter_party->is_family_party, HP_inter_party_is_family_party) },
{ HP_POP(inter_party->calc_state, HP_inter_party_calc_state) },
{ HP_POP(inter_party->tosql, HP_inter_party_tosql) },
+ { HP_POP(inter_party->del_nonexistent_party, HP_inter_party_del_nonexistent_party) },
{ HP_POP(inter_party->fromsql, HP_inter_party_fromsql) },
{ HP_POP(inter_party->sql_init, HP_inter_party_sql_init) },
{ HP_POP(inter_party->sql_final, HP_inter_party_sql_final) },
@@ -312,16 +382,40 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(inter_party->leave, HP_inter_party_leave) },
{ HP_POP(inter_party->CharOnline, HP_inter_party_CharOnline) },
{ HP_POP(inter_party->CharOffline, HP_inter_party_CharOffline) },
-/* inter_pet */
+ { HP_POP(inter_party->create, HP_inter_party_create) },
+ { HP_POP(inter_party->add_member, HP_inter_party_add_member) },
+ { HP_POP(inter_party->change_option, HP_inter_party_change_option) },
+ { HP_POP(inter_party->change_map, HP_inter_party_change_map) },
+ { HP_POP(inter_party->disband, HP_inter_party_disband) },
+ { HP_POP(inter_party->change_leader, HP_inter_party_change_leader) },
+/* inter_pet_interface */
{ HP_POP(inter_pet->tosql, HP_inter_pet_tosql) },
{ HP_POP(inter_pet->fromsql, HP_inter_pet_fromsql) },
{ HP_POP(inter_pet->sql_init, HP_inter_pet_sql_init) },
{ HP_POP(inter_pet->sql_final, HP_inter_pet_sql_final) },
{ HP_POP(inter_pet->delete_, HP_inter_pet_delete_) },
{ HP_POP(inter_pet->parse_frommap, HP_inter_pet_parse_frommap) },
-/* inter_quest */
+ { HP_POP(inter_pet->create, HP_inter_pet_create) },
+ { HP_POP(inter_pet->load, HP_inter_pet_load) },
+/* inter_quest_interface */
{ HP_POP(inter_quest->parse_frommap, HP_inter_quest_parse_frommap) },
-/* inter_storage */
+ { HP_POP(inter_quest->fromsql, HP_inter_quest_fromsql) },
+ { HP_POP(inter_quest->delete, HP_inter_quest_delete) },
+ { HP_POP(inter_quest->add, HP_inter_quest_add) },
+ { HP_POP(inter_quest->update, HP_inter_quest_update) },
+ { HP_POP(inter_quest->save, HP_inter_quest_save) },
+/* inter_rodex_interface */
+ { HP_POP(inter_rodex->sql_init, HP_inter_rodex_sql_init) },
+ { HP_POP(inter_rodex->sql_final, HP_inter_rodex_sql_final) },
+ { HP_POP(inter_rodex->parse_frommap, HP_inter_rodex_parse_frommap) },
+ { HP_POP(inter_rodex->fromsql, HP_inter_rodex_fromsql) },
+ { HP_POP(inter_rodex->hasnew, HP_inter_rodex_hasnew) },
+ { HP_POP(inter_rodex->checkname, HP_inter_rodex_checkname) },
+ { HP_POP(inter_rodex->savemessage, HP_inter_rodex_savemessage) },
+ { HP_POP(inter_rodex->updatemail, HP_inter_rodex_updatemail) },
+ { HP_POP(inter_rodex->getzeny, HP_inter_rodex_getzeny) },
+ { HP_POP(inter_rodex->getitems, HP_inter_rodex_getitems) },
+/* inter_storage_interface */
{ HP_POP(inter_storage->tosql, HP_inter_storage_tosql) },
{ HP_POP(inter_storage->fromsql, HP_inter_storage_fromsql) },
{ HP_POP(inter_storage->guild_storage_tosql, HP_inter_storage_guild_storage_tosql) },
@@ -331,7 +425,10 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(inter_storage->delete_, HP_inter_storage_delete_) },
{ HP_POP(inter_storage->guild_storage_delete, HP_inter_storage_guild_storage_delete) },
{ HP_POP(inter_storage->parse_frommap, HP_inter_storage_parse_frommap) },
-/* libconfig */
+ { HP_POP(inter_storage->retrieve_bound_items, HP_inter_storage_retrieve_bound_items) },
+/* libconfig_interface */
+ { HP_POP(libconfig->set_db_path, HP_libconfig_set_db_path) },
+ { HP_POP(libconfig->format_db_path, HP_libconfig_format_db_path) },
{ HP_POP(libconfig->read, HP_libconfig_read) },
{ HP_POP(libconfig->write, HP_libconfig_write) },
{ HP_POP(libconfig->set_options, HP_libconfig_set_options) },
@@ -400,7 +497,7 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(libconfig->setting_lookup_int16, HP_libconfig_setting_lookup_int16) },
{ HP_POP(libconfig->setting_lookup_mutable_string, HP_libconfig_setting_lookup_mutable_string) },
{ HP_POP(libconfig->lookup_mutable_string, HP_libconfig_lookup_mutable_string) },
-/* loginif */
+/* loginif_interface */
{ HP_POP(loginif->init, HP_loginif_init) },
{ HP_POP(loginif->final, HP_loginif_final) },
{ HP_POP(loginif->reset, HP_loginif_reset) },
@@ -414,22 +511,7 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(loginif->auth, HP_loginif_auth) },
{ HP_POP(loginif->send_users_count, HP_loginif_send_users_count) },
{ HP_POP(loginif->connect_to_server, HP_loginif_connect_to_server) },
-/* iMalloc */
- { HP_POP(iMalloc->init, HP_iMalloc_init) },
- { HP_POP(iMalloc->final, HP_iMalloc_final) },
- { HP_POP(iMalloc->malloc, HP_iMalloc_malloc) },
- { HP_POP(iMalloc->calloc, HP_iMalloc_calloc) },
- { HP_POP(iMalloc->realloc, HP_iMalloc_realloc) },
- { HP_POP(iMalloc->reallocz, HP_iMalloc_reallocz) },
- { HP_POP(iMalloc->astrdup, HP_iMalloc_astrdup) },
- { HP_POP(iMalloc->astrndup, HP_iMalloc_astrndup) },
- { HP_POP(iMalloc->free, HP_iMalloc_free) },
- { HP_POP(iMalloc->memory_check, HP_iMalloc_memory_check) },
- { HP_POP(iMalloc->verify_ptr, HP_iMalloc_verify_ptr) },
- { HP_POP(iMalloc->usage, HP_iMalloc_usage) },
- { HP_POP(iMalloc->post_shutdown, HP_iMalloc_post_shutdown) },
- { HP_POP(iMalloc->init_messages, HP_iMalloc_init_messages) },
-/* mapif */
+/* mapif_interface */
{ HP_POP(mapif->ban, HP_mapif_ban) },
{ HP_POP(mapif->server_init, HP_mapif_server_init) },
{ HP_POP(mapif->server_destroy, HP_mapif_server_destroy) },
@@ -441,6 +523,11 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapif->sendallwos, HP_mapif_sendallwos) },
{ HP_POP(mapif->send, HP_mapif_send) },
{ HP_POP(mapif->send_users_count, HP_mapif_send_users_count) },
+ { HP_POP(mapif->pLoadAchievements, HP_mapif_pLoadAchievements) },
+ { HP_POP(mapif->sAchievementsToMap, HP_mapif_sAchievementsToMap) },
+ { HP_POP(mapif->pSaveAchievements, HP_mapif_pSaveAchievements) },
+ { HP_POP(mapif->achievement_load, HP_mapif_achievement_load) },
+ { HP_POP(mapif->achievement_save, HP_mapif_achievement_save) },
{ HP_POP(mapif->auction_message, HP_mapif_auction_message) },
{ HP_POP(mapif->auction_sendlist, HP_mapif_auction_sendlist) },
{ HP_POP(mapif->parse_auction_requestlist, HP_mapif_parse_auction_requestlist) },
@@ -452,10 +539,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapif->parse_auction_close, HP_mapif_parse_auction_close) },
{ HP_POP(mapif->auction_bid, HP_mapif_auction_bid) },
{ HP_POP(mapif->parse_auction_bid, HP_mapif_parse_auction_bid) },
- { HP_POP(mapif->elemental_create, HP_mapif_elemental_create) },
- { HP_POP(mapif->elemental_save, HP_mapif_elemental_save) },
- { HP_POP(mapif->elemental_load, HP_mapif_elemental_load) },
- { HP_POP(mapif->elemental_delete, HP_mapif_elemental_delete) },
{ HP_POP(mapif->elemental_send, HP_mapif_elemental_send) },
{ HP_POP(mapif->parse_elemental_create, HP_mapif_parse_elemental_create) },
{ HP_POP(mapif->parse_elemental_load, HP_mapif_parse_elemental_load) },
@@ -470,7 +553,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapif->guild_withdraw, HP_mapif_guild_withdraw) },
{ HP_POP(mapif->guild_memberinfoshort, HP_mapif_guild_memberinfoshort) },
{ HP_POP(mapif->guild_broken, HP_mapif_guild_broken) },
- { HP_POP(mapif->guild_message, HP_mapif_guild_message) },
{ HP_POP(mapif->guild_basicinfochanged, HP_mapif_guild_basicinfochanged) },
{ HP_POP(mapif->guild_memberinfochanged, HP_mapif_guild_memberinfochanged) },
{ HP_POP(mapif->guild_skillupack, HP_mapif_guild_skillupack) },
@@ -486,12 +568,10 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapif->parse_GuildLeave, HP_mapif_parse_GuildLeave) },
{ HP_POP(mapif->parse_GuildChangeMemberInfoShort, HP_mapif_parse_GuildChangeMemberInfoShort) },
{ HP_POP(mapif->parse_BreakGuild, HP_mapif_parse_BreakGuild) },
- { HP_POP(mapif->parse_GuildMessage, HP_mapif_parse_GuildMessage) },
{ HP_POP(mapif->parse_GuildBasicInfoChange, HP_mapif_parse_GuildBasicInfoChange) },
{ HP_POP(mapif->parse_GuildMemberInfoChange, HP_mapif_parse_GuildMemberInfoChange) },
{ HP_POP(mapif->parse_GuildPosition, HP_mapif_parse_GuildPosition) },
{ HP_POP(mapif->parse_GuildSkillUp, HP_mapif_parse_GuildSkillUp) },
- { HP_POP(mapif->parse_GuildDeleteAlliance, HP_mapif_parse_GuildDeleteAlliance) },
{ HP_POP(mapif->parse_GuildAlliance, HP_mapif_parse_GuildAlliance) },
{ HP_POP(mapif->parse_GuildNotice, HP_mapif_parse_GuildNotice) },
{ HP_POP(mapif->parse_GuildEmblem, HP_mapif_parse_GuildEmblem) },
@@ -503,11 +583,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapif->homunculus_loaded, HP_mapif_homunculus_loaded) },
{ HP_POP(mapif->homunculus_saved, HP_mapif_homunculus_saved) },
{ HP_POP(mapif->homunculus_renamed, HP_mapif_homunculus_renamed) },
- { HP_POP(mapif->homunculus_create, HP_mapif_homunculus_create) },
- { HP_POP(mapif->homunculus_save, HP_mapif_homunculus_save) },
- { HP_POP(mapif->homunculus_load, HP_mapif_homunculus_load) },
- { HP_POP(mapif->homunculus_delete, HP_mapif_homunculus_delete) },
- { HP_POP(mapif->homunculus_rename, HP_mapif_homunculus_rename) },
{ HP_POP(mapif->parse_homunculus_create, HP_mapif_parse_homunculus_create) },
{ HP_POP(mapif->parse_homunculus_delete, HP_mapif_parse_homunculus_delete) },
{ HP_POP(mapif->parse_homunculus_load, HP_mapif_parse_homunculus_load) },
@@ -517,7 +592,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapif->parse_mail_requestinbox, HP_mapif_parse_mail_requestinbox) },
{ HP_POP(mapif->parse_mail_read, HP_mapif_parse_mail_read) },
{ HP_POP(mapif->mail_sendattach, HP_mapif_mail_sendattach) },
- { HP_POP(mapif->mail_getattach, HP_mapif_mail_getattach) },
{ HP_POP(mapif->parse_mail_getattach, HP_mapif_parse_mail_getattach) },
{ HP_POP(mapif->mail_delete, HP_mapif_mail_delete) },
{ HP_POP(mapif->parse_mail_delete, HP_mapif_parse_mail_delete) },
@@ -526,10 +600,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapif->parse_mail_return, HP_mapif_parse_mail_return) },
{ HP_POP(mapif->mail_send, HP_mapif_mail_send) },
{ HP_POP(mapif->parse_mail_send, HP_mapif_parse_mail_send) },
- { HP_POP(mapif->mercenary_create, HP_mapif_mercenary_create) },
- { HP_POP(mapif->mercenary_save, HP_mapif_mercenary_save) },
- { HP_POP(mapif->mercenary_load, HP_mapif_mercenary_load) },
- { HP_POP(mapif->mercenary_delete, HP_mapif_mercenary_delete) },
{ HP_POP(mapif->mercenary_send, HP_mapif_mercenary_send) },
{ HP_POP(mapif->parse_mercenary_create, HP_mapif_parse_mercenary_create) },
{ HP_POP(mapif->parse_mercenary_load, HP_mapif_parse_mercenary_load) },
@@ -545,7 +615,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapif->party_withdraw, HP_mapif_party_withdraw) },
{ HP_POP(mapif->party_membermoved, HP_mapif_party_membermoved) },
{ HP_POP(mapif->party_broken, HP_mapif_party_broken) },
- { HP_POP(mapif->party_message, HP_mapif_party_message) },
{ HP_POP(mapif->parse_CreateParty, HP_mapif_parse_CreateParty) },
{ HP_POP(mapif->parse_PartyInfo, HP_mapif_parse_PartyInfo) },
{ HP_POP(mapif->parse_PartyAddMember, HP_mapif_parse_PartyAddMember) },
@@ -553,53 +622,55 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapif->parse_PartyLeave, HP_mapif_parse_PartyLeave) },
{ HP_POP(mapif->parse_PartyChangeMap, HP_mapif_parse_PartyChangeMap) },
{ HP_POP(mapif->parse_BreakParty, HP_mapif_parse_BreakParty) },
- { HP_POP(mapif->parse_PartyMessage, HP_mapif_parse_PartyMessage) },
{ HP_POP(mapif->parse_PartyLeaderChange, HP_mapif_parse_PartyLeaderChange) },
{ HP_POP(mapif->pet_created, HP_mapif_pet_created) },
{ HP_POP(mapif->pet_info, HP_mapif_pet_info) },
{ HP_POP(mapif->pet_noinfo, HP_mapif_pet_noinfo) },
{ HP_POP(mapif->save_pet_ack, HP_mapif_save_pet_ack) },
{ HP_POP(mapif->delete_pet_ack, HP_mapif_delete_pet_ack) },
- { HP_POP(mapif->create_pet, HP_mapif_create_pet) },
- { HP_POP(mapif->load_pet, HP_mapif_load_pet) },
{ HP_POP(mapif->save_pet, HP_mapif_save_pet) },
{ HP_POP(mapif->delete_pet, HP_mapif_delete_pet) },
{ HP_POP(mapif->parse_CreatePet, HP_mapif_parse_CreatePet) },
{ HP_POP(mapif->parse_LoadPet, HP_mapif_parse_LoadPet) },
{ HP_POP(mapif->parse_SavePet, HP_mapif_parse_SavePet) },
{ HP_POP(mapif->parse_DeletePet, HP_mapif_parse_DeletePet) },
- { HP_POP(mapif->quests_fromsql, HP_mapif_quests_fromsql) },
- { HP_POP(mapif->quest_delete, HP_mapif_quest_delete) },
- { HP_POP(mapif->quest_add, HP_mapif_quest_add) },
- { HP_POP(mapif->quest_update, HP_mapif_quest_update) },
{ HP_POP(mapif->quest_save_ack, HP_mapif_quest_save_ack) },
{ HP_POP(mapif->parse_quest_save, HP_mapif_parse_quest_save) },
{ HP_POP(mapif->send_quests, HP_mapif_send_quests) },
{ HP_POP(mapif->parse_quest_load, HP_mapif_parse_quest_load) },
+ { HP_POP(mapif->parse_rodex_requestinbox, HP_mapif_parse_rodex_requestinbox) },
+ { HP_POP(mapif->rodex_sendinbox, HP_mapif_rodex_sendinbox) },
+ { HP_POP(mapif->parse_rodex_checkhasnew, HP_mapif_parse_rodex_checkhasnew) },
+ { HP_POP(mapif->rodex_sendhasnew, HP_mapif_rodex_sendhasnew) },
+ { HP_POP(mapif->parse_rodex_updatemail, HP_mapif_parse_rodex_updatemail) },
+ { HP_POP(mapif->parse_rodex_send, HP_mapif_parse_rodex_send) },
+ { HP_POP(mapif->rodex_send, HP_mapif_rodex_send) },
+ { HP_POP(mapif->parse_rodex_checkname, HP_mapif_parse_rodex_checkname) },
+ { HP_POP(mapif->rodex_checkname, HP_mapif_rodex_checkname) },
+ { HP_POP(mapif->rodex_getzenyack, HP_mapif_rodex_getzenyack) },
+ { HP_POP(mapif->rodex_getitemsack, HP_mapif_rodex_getitemsack) },
{ HP_POP(mapif->load_guild_storage, HP_mapif_load_guild_storage) },
{ HP_POP(mapif->save_guild_storage_ack, HP_mapif_save_guild_storage_ack) },
{ HP_POP(mapif->parse_LoadGuildStorage, HP_mapif_parse_LoadGuildStorage) },
{ HP_POP(mapif->parse_SaveGuildStorage, HP_mapif_parse_SaveGuildStorage) },
+ { HP_POP(mapif->account_storage_load, HP_mapif_account_storage_load) },
+ { HP_POP(mapif->pAccountStorageLoad, HP_mapif_pAccountStorageLoad) },
+ { HP_POP(mapif->pAccountStorageSave, HP_mapif_pAccountStorageSave) },
+ { HP_POP(mapif->sAccountStorageSaveAck, HP_mapif_sAccountStorageSaveAck) },
{ HP_POP(mapif->itembound_ack, HP_mapif_itembound_ack) },
- { HP_POP(mapif->parse_ItemBoundRetrieve_sub, HP_mapif_parse_ItemBoundRetrieve_sub) },
{ HP_POP(mapif->parse_ItemBoundRetrieve, HP_mapif_parse_ItemBoundRetrieve) },
{ HP_POP(mapif->parse_accinfo, HP_mapif_parse_accinfo) },
- { HP_POP(mapif->parse_accinfo2, HP_mapif_parse_accinfo2) },
- { HP_POP(mapif->broadcast, HP_mapif_broadcast) },
- { HP_POP(mapif->wis_message, HP_mapif_wis_message) },
- { HP_POP(mapif->wis_response, HP_mapif_wis_response) },
- { HP_POP(mapif->wis_end, HP_mapif_wis_end) },
{ HP_POP(mapif->account_reg_reply, HP_mapif_account_reg_reply) },
{ HP_POP(mapif->disconnectplayer, HP_mapif_disconnectplayer) },
- { HP_POP(mapif->parse_broadcast, HP_mapif_parse_broadcast) },
- { HP_POP(mapif->parse_WisRequest, HP_mapif_parse_WisRequest) },
- { HP_POP(mapif->parse_WisReply, HP_mapif_parse_WisReply) },
- { HP_POP(mapif->parse_WisToGM, HP_mapif_parse_WisToGM) },
{ HP_POP(mapif->parse_Registry, HP_mapif_parse_Registry) },
{ HP_POP(mapif->parse_RegistryRequest, HP_mapif_parse_RegistryRequest) },
{ HP_POP(mapif->namechange_ack, HP_mapif_namechange_ack) },
{ HP_POP(mapif->parse_NameChangeRequest, HP_mapif_parse_NameChangeRequest) },
-/* mapindex */
+ { HP_POP(mapif->parse_ClanMemberKick, HP_mapif_parse_ClanMemberKick) },
+ { HP_POP(mapif->parse_ClanMemberCount, HP_mapif_parse_ClanMemberCount) },
+/* mapindex_interface */
+ { HP_POP(mapindex->config_read_dbpath, HP_mapindex_config_read_dbpath) },
+ { HP_POP(mapindex->config_read, HP_mapindex_config_read) },
{ HP_POP(mapindex->init, HP_mapindex_init) },
{ HP_POP(mapindex->final, HP_mapindex_final) },
{ HP_POP(mapindex->addmap, HP_mapindex_addmap) },
@@ -609,25 +680,62 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(mapindex->name2id, HP_mapindex_name2id) },
{ HP_POP(mapindex->id2name, HP_mapindex_id2name) },
{ HP_POP(mapindex->check_default, HP_mapindex_check_default) },
-/* nullpo */
+/* md5_interface */
+ { HP_POP(md5->string, HP_md5_string) },
+ { HP_POP(md5->binary, HP_md5_binary) },
+ { HP_POP(md5->salt, HP_md5_salt) },
+/* mutex_interface */
+ { HP_POP(mutex->create, HP_mutex_create) },
+ { HP_POP(mutex->destroy, HP_mutex_destroy) },
+ { HP_POP(mutex->lock, HP_mutex_lock) },
+ { HP_POP(mutex->trylock, HP_mutex_trylock) },
+ { HP_POP(mutex->unlock, HP_mutex_unlock) },
+ { HP_POP(mutex->cond_create, HP_mutex_cond_create) },
+ { HP_POP(mutex->cond_destroy, HP_mutex_cond_destroy) },
+ { HP_POP(mutex->cond_wait, HP_mutex_cond_wait) },
+ { HP_POP(mutex->cond_signal, HP_mutex_cond_signal) },
+ { HP_POP(mutex->cond_broadcast, HP_mutex_cond_broadcast) },
+/* nullpo_interface */
+ { HP_POP(nullpo->init, HP_nullpo_init) },
+ { HP_POP(nullpo->final, HP_nullpo_final) },
{ HP_POP(nullpo->assert_report, HP_nullpo_assert_report) },
-/* pincode */
+/* packets_interface */
+ { HP_POP(packets->init, HP_packets_init) },
+ { HP_POP(packets->final, HP_packets_final) },
+ { HP_POP(packets->addLens, HP_packets_addLens) },
+ { HP_POP(packets->addLen, HP_packets_addLen) },
+/* pincode_interface */
{ HP_POP(pincode->handle, HP_pincode_handle) },
{ HP_POP(pincode->decrypt, HP_pincode_decrypt) },
{ HP_POP(pincode->error, HP_pincode_error) },
{ HP_POP(pincode->update, HP_pincode_update) },
- { HP_POP(pincode->sendstate, HP_pincode_sendstate) },
+ { HP_POP(pincode->makestate, HP_pincode_makestate) },
+ { HP_POP(pincode->editstate, HP_pincode_editstate) },
+ { HP_POP(pincode->loginstate, HP_pincode_loginstate) },
+ { HP_POP(pincode->loginstate2, HP_pincode_loginstate2) },
{ HP_POP(pincode->setnew, HP_pincode_setnew) },
{ HP_POP(pincode->change, HP_pincode_change) },
+ { HP_POP(pincode->isBlacklisted, HP_pincode_isBlacklisted) },
{ HP_POP(pincode->compare, HP_pincode_compare) },
{ HP_POP(pincode->check, HP_pincode_check) },
{ HP_POP(pincode->config_read, HP_pincode_config_read) },
-/* showmsg */
+ { HP_POP(pincode->init, HP_pincode_init) },
+ { HP_POP(pincode->final, HP_pincode_final) },
+/* rnd_interface */
+ { HP_POP(rnd->init, HP_rnd_init) },
+ { HP_POP(rnd->final, HP_rnd_final) },
+ { HP_POP(rnd->seed, HP_rnd_seed) },
+ { HP_POP(rnd->random, HP_rnd_random) },
+ { HP_POP(rnd->roll, HP_rnd_roll) },
+ { HP_POP(rnd->value, HP_rnd_value) },
+ { HP_POP(rnd->uniform, HP_rnd_uniform) },
+ { HP_POP(rnd->uniform53, HP_rnd_uniform53) },
+/* showmsg_interface */
{ HP_POP(showmsg->init, HP_showmsg_init) },
{ HP_POP(showmsg->final, HP_showmsg_final) },
{ HP_POP(showmsg->clearScreen, HP_showmsg_clearScreen) },
{ HP_POP(showmsg->showMessageV, HP_showmsg_showMessageV) },
-/* sockt */
+/* socket_interface */
{ HP_POP(sockt->init, HP_sockt_init) },
{ HP_POP(sockt->final, HP_sockt_final) },
{ HP_POP(sockt->perform, HP_sockt_perform) },
@@ -637,12 +745,15 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(sockt->realloc_fifo, HP_sockt_realloc_fifo) },
{ HP_POP(sockt->realloc_writefifo, HP_sockt_realloc_writefifo) },
{ HP_POP(sockt->wfifoset, HP_sockt_wfifoset) },
+ { HP_POP(sockt->wfifohead, HP_sockt_wfifohead) },
{ HP_POP(sockt->rfifoskip, HP_sockt_rfifoskip) },
{ HP_POP(sockt->close, HP_sockt_close) },
+ { HP_POP(sockt->validateWfifo, HP_sockt_validateWfifo) },
{ HP_POP(sockt->session_is_valid, HP_sockt_session_is_valid) },
{ HP_POP(sockt->session_is_active, HP_sockt_session_is_active) },
{ HP_POP(sockt->flush, HP_sockt_flush) },
{ HP_POP(sockt->flush_fifos, HP_sockt_flush_fifos) },
+ { HP_POP(sockt->connect_client, HP_sockt_connect_client) },
{ HP_POP(sockt->set_nonblocking, HP_sockt_set_nonblocking) },
{ HP_POP(sockt->set_defaultparse, HP_sockt_set_defaultparse) },
{ HP_POP(sockt->host2ip, HP_sockt_host2ip) },
@@ -656,7 +767,7 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(sockt->trusted_ip_check, HP_sockt_trusted_ip_check) },
{ HP_POP(sockt->net_config_read_sub, HP_sockt_net_config_read_sub) },
{ HP_POP(sockt->net_config_read, HP_sockt_net_config_read) },
-/* SQL */
+/* sql_interface */
{ HP_POP(SQL->Connect, HP_SQL_Connect) },
{ HP_POP(SQL->GetTimeout, HP_SQL_GetTimeout) },
{ HP_POP(SQL->GetColumnNames, HP_SQL_GetColumnNames) },
@@ -689,7 +800,7 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(SQL->StmtFreeResult, HP_SQL_StmtFreeResult) },
{ HP_POP(SQL->StmtFree, HP_SQL_StmtFree) },
{ HP_POP(SQL->StmtShowDebug_, HP_SQL_StmtShowDebug_) },
-/* StrBuf */
+/* stringbuf_interface */
{ HP_POP(StrBuf->Malloc, HP_StrBuf_Malloc) },
{ HP_POP(StrBuf->Init, HP_StrBuf_Init) },
{ HP_POP(StrBuf->Vprintf, HP_StrBuf_Vprintf) },
@@ -700,7 +811,7 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(StrBuf->Clear, HP_StrBuf_Clear) },
{ HP_POP(StrBuf->Destroy, HP_StrBuf_Destroy) },
{ HP_POP(StrBuf->Free, HP_StrBuf_Free) },
-/* strlib */
+/* strlib_interface */
{ HP_POP(strlib->jstrescape, HP_strlib_jstrescape) },
{ HP_POP(strlib->jstrescapecpy, HP_strlib_jstrescapecpy) },
{ HP_POP(strlib->jmemescapecpy, HP_strlib_jmemescapecpy) },
@@ -716,7 +827,7 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(strlib->safestrnlen_, HP_strlib_safestrnlen_) },
{ HP_POP(strlib->strline_, HP_strlib_strline_) },
{ HP_POP(strlib->bin2hex_, HP_strlib_bin2hex_) },
-/* sv */
+/* sv_interface */
{ HP_POP(sv->parse_next, HP_sv_parse_next) },
{ HP_POP(sv->parse, HP_sv_parse) },
{ HP_POP(sv->split, HP_sv_split) },
@@ -724,7 +835,7 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(sv->unescape_c, HP_sv_unescape_c) },
{ HP_POP(sv->skip_escaped_c, HP_sv_skip_escaped_c) },
{ HP_POP(sv->readdb, HP_sv_readdb) },
-/* sysinfo */
+/* sysinfo_interface */
{ HP_POP(sysinfo->getpagesize, HP_sysinfo_getpagesize) },
{ HP_POP(sysinfo->platform, HP_sysinfo_platform) },
{ HP_POP(sysinfo->osversion, HP_sysinfo_osversion) },
@@ -743,7 +854,19 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(sysinfo->is_superuser, HP_sysinfo_is_superuser) },
{ HP_POP(sysinfo->init, HP_sysinfo_init) },
{ HP_POP(sysinfo->final, HP_sysinfo_final) },
-/* timer */
+/* thread_interface */
+ { HP_POP(thread->init, HP_thread_init) },
+ { HP_POP(thread->final, HP_thread_final) },
+ { HP_POP(thread->create, HP_thread_create) },
+ { HP_POP(thread->create_opt, HP_thread_create_opt) },
+ { HP_POP(thread->destroy, HP_thread_destroy) },
+ { HP_POP(thread->self, HP_thread_self) },
+ { HP_POP(thread->get_tid, HP_thread_get_tid) },
+ { HP_POP(thread->wait, HP_thread_wait) },
+ { HP_POP(thread->prio_set, HP_thread_prio_set) },
+ { HP_POP(thread->prio_get, HP_thread_prio_get) },
+ { HP_POP(thread->yield, HP_thread_yield) },
+/* timer_interface */
{ HP_POP(timer->gettick, HP_timer_gettick) },
{ HP_POP(timer->gettick_nocache, HP_timer_gettick_nocache) },
{ HP_POP(timer->add, HP_timer_add) },
@@ -759,4 +882,4 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(timer->final, HP_timer_final) },
};
-int HookingPointsLenMax = 42;
+int HookingPointsLenMax = 43;