summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking.Hooks.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Hooks.inc162
1 files changed, 0 insertions, 162 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Hooks.inc b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
index f16f7406b..f5e4b5cb0 100644
--- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
@@ -33649,168 +33649,6 @@ int HP_itemdb_isidentified2(struct item_data *data) {
}
return retVal___;
}
-bool HP_itemdb_read_itemavail(char *str[], int columns, int current) {
- int hIndex = 0;
- bool retVal___ = false;
- if( HPMHooks.count.HP_itemdb_read_itemavail_pre ) {
- bool (*preHookFunc) (char *str[], int *columns, int *current);
- *HPMforce_return = false;
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_itemavail_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_itemdb_read_itemavail_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return retVal___;
- }
- }
- {
- retVal___ = HPMHooks.source.itemdb.read_itemavail(str, columns, current);
- }
- if( HPMHooks.count.HP_itemdb_read_itemavail_post ) {
- bool (*postHookFunc) (bool retVal___, char *str[], int *columns, int *current);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_itemavail_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_itemdb_read_itemavail_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
- }
- }
- return retVal___;
-}
-bool HP_itemdb_read_itemtrade(char *str[], int columns, int current) {
- int hIndex = 0;
- bool retVal___ = false;
- if( HPMHooks.count.HP_itemdb_read_itemtrade_pre ) {
- bool (*preHookFunc) (char *str[], int *columns, int *current);
- *HPMforce_return = false;
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_itemtrade_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_itemdb_read_itemtrade_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return retVal___;
- }
- }
- {
- retVal___ = HPMHooks.source.itemdb.read_itemtrade(str, columns, current);
- }
- if( HPMHooks.count.HP_itemdb_read_itemtrade_post ) {
- bool (*postHookFunc) (bool retVal___, char *str[], int *columns, int *current);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_itemtrade_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_itemdb_read_itemtrade_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
- }
- }
- return retVal___;
-}
-bool HP_itemdb_read_itemdelay(char *str[], int columns, int current) {
- int hIndex = 0;
- bool retVal___ = false;
- if( HPMHooks.count.HP_itemdb_read_itemdelay_pre ) {
- bool (*preHookFunc) (char *str[], int *columns, int *current);
- *HPMforce_return = false;
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_itemdelay_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_itemdb_read_itemdelay_pre[hIndex].func;
- retVal___ = preHookFunc(str, &columns, &current);
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return retVal___;
- }
- }
- {
- retVal___ = HPMHooks.source.itemdb.read_itemdelay(str, columns, current);
- }
- if( HPMHooks.count.HP_itemdb_read_itemdelay_post ) {
- bool (*postHookFunc) (bool retVal___, char *str[], int *columns, int *current);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_itemdelay_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_itemdb_read_itemdelay_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, str, &columns, &current);
- }
- }
- return retVal___;
-}
-bool HP_itemdb_read_stack(char *fields[], int columns, int current) {
- int hIndex = 0;
- bool retVal___ = false;
- if( HPMHooks.count.HP_itemdb_read_stack_pre ) {
- bool (*preHookFunc) (char *fields[], int *columns, int *current);
- *HPMforce_return = false;
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_stack_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_itemdb_read_stack_pre[hIndex].func;
- retVal___ = preHookFunc(fields, &columns, &current);
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return retVal___;
- }
- }
- {
- retVal___ = HPMHooks.source.itemdb.read_stack(fields, columns, current);
- }
- if( HPMHooks.count.HP_itemdb_read_stack_post ) {
- bool (*postHookFunc) (bool retVal___, char *fields[], int *columns, int *current);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_stack_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_itemdb_read_stack_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, fields, &columns, &current);
- }
- }
- return retVal___;
-}
-bool HP_itemdb_read_buyingstore(char *fields[], int columns, int current) {
- int hIndex = 0;
- bool retVal___ = false;
- if( HPMHooks.count.HP_itemdb_read_buyingstore_pre ) {
- bool (*preHookFunc) (char *fields[], int *columns, int *current);
- *HPMforce_return = false;
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_buyingstore_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_itemdb_read_buyingstore_pre[hIndex].func;
- retVal___ = preHookFunc(fields, &columns, &current);
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return retVal___;
- }
- }
- {
- retVal___ = HPMHooks.source.itemdb.read_buyingstore(fields, columns, current);
- }
- if( HPMHooks.count.HP_itemdb_read_buyingstore_post ) {
- bool (*postHookFunc) (bool retVal___, char *fields[], int *columns, int *current);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_buyingstore_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_itemdb_read_buyingstore_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, fields, &columns, &current);
- }
- }
- return retVal___;
-}
-bool HP_itemdb_read_nouse(char *fields[], int columns, int current) {
- int hIndex = 0;
- bool retVal___ = false;
- if( HPMHooks.count.HP_itemdb_read_nouse_pre ) {
- bool (*preHookFunc) (char *fields[], int *columns, int *current);
- *HPMforce_return = false;
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_nouse_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_itemdb_read_nouse_pre[hIndex].func;
- retVal___ = preHookFunc(fields, &columns, &current);
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return retVal___;
- }
- }
- {
- retVal___ = HPMHooks.source.itemdb.read_nouse(fields, columns, current);
- }
- if( HPMHooks.count.HP_itemdb_read_nouse_post ) {
- bool (*postHookFunc) (bool retVal___, char *fields[], int *columns, int *current);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_read_nouse_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_itemdb_read_nouse_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, fields, &columns, &current);
- }
- }
- return retVal___;
-}
int HP_itemdb_combo_split_atoi(char *str, int *val) {
int hIndex = 0;
int retVal___ = 0;