summaryrefslogtreecommitdiff
path: root/src/map/buyingstore.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-10 05:35:29 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:25 +0300
commitb8d36d894c8e1c931ba2143c763cd2e562c8572e (patch)
tree3ba193955434d8da2392dfc8c29aef8de7d1ccdf /src/map/buyingstore.h
parentd172c28f9b25a780235c7c7a7f4db9ca9866f531 (diff)
downloadhercules-b8d36d894c8e1c931ba2143c763cd2e562c8572e.tar.gz
hercules-b8d36d894c8e1c931ba2143c763cd2e562c8572e.tar.bz2
hercules-b8d36d894c8e1c931ba2143c763cd2e562c8572e.tar.xz
hercules-b8d36d894c8e1c931ba2143c763cd2e562c8572e.zip
Update packet CZ_REQ_TRADE_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 b68e7b309..e96cc832d 100644
--- a/src/map/buyingstore.h
+++ b/src/map/buyingstore.h
@@ -31,6 +31,7 @@ struct map_session_data;
**/
struct s_search_store_search;
struct PACKET_CZ_REQ_OPEN_BUYING_STORE_sub;
+struct PACKET_CZ_REQ_TRADE_BUYING_STORE_sub;
/**
* Defines
@@ -83,7 +84,7 @@ struct buyingstore_interface {
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);
+ void (*trade) (struct map_session_data* sd, int account_id, unsigned int buyer_id, const struct PACKET_CZ_REQ_TRADE_BUYING_STORE_sub* itemlist, unsigned int count);
bool (*search) (struct map_session_data* sd, unsigned short nameid);
bool (*searchall) (struct map_session_data* sd, const struct s_search_store_search* s);
unsigned int (*getuid) (void);