summaryrefslogtreecommitdiff
path: root/src/map/buyingstore.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-10 01:59:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:25 +0300
commitd82c06ba163ee9529358e4de83370d0b2fa77769 (patch)
tree05d6c28dcb21d09d1e31b289fddac983ec8ba80f /src/map/buyingstore.h
parentd8864002e09274f630cfe283f2b13e70e1b2ad62 (diff)
downloadhercules-d82c06ba163ee9529358e4de83370d0b2fa77769.tar.gz
hercules-d82c06ba163ee9529358e4de83370d0b2fa77769.tar.bz2
hercules-d82c06ba163ee9529358e4de83370d0b2fa77769.tar.xz
hercules-d82c06ba163ee9529358e4de83370d0b2fa77769.zip
Update packet CZ_REQ_OPEN_BUYING_STORE.
Diffstat (limited to 'src/map/buyingstore.h')
-rw-r--r--src/map/buyingstore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/buyingstore.h b/src/map/buyingstore.h
index 408678e8e..b68e7b309 100644
--- a/src/map/buyingstore.h
+++ b/src/map/buyingstore.h
@@ -30,6 +30,7 @@ struct map_session_data;
* Declarations
**/
struct s_search_store_search;
+struct PACKET_CZ_REQ_OPEN_BUYING_STORE_sub;
/**
* Defines
@@ -79,7 +80,7 @@ struct buyingstore_interface {
struct item_option blankoptions[MAX_ITEM_OPTIONS]; // used for search result temporary.
/* */
bool (*setup) (struct map_session_data* sd, unsigned char slots);
- void (*create) (struct map_session_data* sd, int zenylimit, unsigned char result, const char* storename, const uint8* itemlist, unsigned int count);
+ void (*create) (struct map_session_data* sd, int zenylimit, unsigned char result, const char* storename, const struct PACKET_CZ_REQ_OPEN_BUYING_STORE_sub* itemlist, unsigned int count);
void (*close) (struct map_session_data* sd);
void (*open) (struct map_session_data* sd, int account_id);
void (*trade) (struct map_session_data* sd, int account_id, unsigned int buyer_id, const uint8* itemlist, unsigned int count);