summaryrefslogtreecommitdiff
path: root/src/map/searchstore.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-11 20:53:42 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:27 +0300
commitaee584e0444ab514ced7787451f281777437912a (patch)
treec0e820f6a940642be4cf0cd346d8c8480acbb483 /src/map/searchstore.h
parent8d5020c5b9d13718c52a1a1a7c3bbe640c83a5b1 (diff)
downloadhercules-aee584e0444ab514ced7787451f281777437912a.tar.gz
hercules-aee584e0444ab514ced7787451f281777437912a.tar.bz2
hercules-aee584e0444ab514ced7787451f281777437912a.tar.xz
hercules-aee584e0444ab514ced7787451f281777437912a.zip
Update packet CZ_SEARCH_STORE_INFO.
Diffstat (limited to 'src/map/searchstore.h')
-rw-r--r--src/map/searchstore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/searchstore.h b/src/map/searchstore.h
index 634486258..03924c29a 100644
--- a/src/map/searchstore.h
+++ b/src/map/searchstore.h
@@ -60,8 +60,8 @@ enum e_searchstore_failure {
/// information about the search being performed
struct s_search_store_search {
struct map_session_data* search_sd; // sd of the searching player
- const unsigned short* itemlist;
- const unsigned short* cardlist;
+ const uint32* itemlist;
+ const uint32* cardlist;
unsigned int item_count;
unsigned int card_count;
unsigned int min_price;
@@ -101,7 +101,7 @@ typedef bool (*searchstore_searchall_t)(struct map_session_data* sd, const struc
**/
struct searchstore_interface {
bool (*open) (struct map_session_data* sd, unsigned int uses, unsigned short effect);
- void (*query) (struct map_session_data* sd, unsigned char type, unsigned int min_price, unsigned int max_price, const unsigned short* itemlist, unsigned int item_count, const unsigned short* cardlist, unsigned int card_count);
+ void (*query) (struct map_session_data* sd, unsigned char type, unsigned int min_price, unsigned int max_price, const uint32* itemlist, unsigned int item_count, const uint32* cardlist, unsigned int card_count);
bool (*querynext) (struct map_session_data* sd);
void (*next) (struct map_session_data* sd);
void (*clear) (struct map_session_data* sd);