summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-09-17 15:25:03 +0200
committerHaruna <haru@dotalux.com>2015-09-17 15:25:03 +0200
commit45e9625f0f6756fd2e22d51f68f3aab238d0139f (patch)
tree7856d9f330d15ec99241bf07c6e4c25b52774643 /src/map/pc.h
parentebf17bcb5e113f17ddb5c8e9c09bddd799bd7223 (diff)
parent0af11c16f1daf23d77a237b9452945706e9b40bc (diff)
downloadhercules-45e9625f0f6756fd2e22d51f68f3aab238d0139f.tar.gz
hercules-45e9625f0f6756fd2e22d51f68f3aab238d0139f.tar.bz2
hercules-45e9625f0f6756fd2e22d51f68f3aab238d0139f.tar.xz
hercules-45e9625f0f6756fd2e22d51f68f3aab238d0139f.zip
Merge pull request #711 from dastgir/autotrade_struct
Autotrade Struct to HPM
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 85bbd2016..26df30527 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -757,6 +757,9 @@ struct autotrade_vending {
struct item list[MAX_VENDING];
struct s_vending vending[MAX_VENDING];
unsigned char vend_num;
+ /* HPM Custom Struct */
+ struct HPluginData **hdata;
+ unsigned int hdatac;
};
/*=====================================
@@ -1066,6 +1069,7 @@ END_ZEROED_BLOCK; /* End */
void (*autotrade_start) (struct map_session_data *sd);
void (*autotrade_prepare) (struct map_session_data *sd);
void (*autotrade_populate) (struct map_session_data *sd);
+ int (*autotrade_final) (DBKey key, DBData *data, va_list ap);
int (*check_job_name) (const char *name);
};