diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-03-06 19:16:09 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-03-06 19:16:09 +0000 |
commit | c7a8f268c8110899f374cd367afaa564d47ff691 (patch) | |
tree | 2330fd66b29e75dbfdcaaae976a67859f7908019 /src/map/buyingstore.h | |
parent | cc77964c3e6134a6b2257501fd1b79c4330af4ea (diff) | |
download | hercules-c7a8f268c8110899f374cd367afaa564d47ff691.tar.gz hercules-c7a8f268c8110899f374cd367afaa564d47ff691.tar.bz2 hercules-c7a8f268c8110899f374cd367afaa564d47ff691.tar.xz hercules-c7a8f268c8110899f374cd367afaa564d47ff691.zip |
* Implemented search store info system (aka. vending and buying store search) together with related items.
- Requires 2010-08-03aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14732 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/buyingstore.h')
-rw-r--r-- | src/map/buyingstore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/buyingstore.h b/src/map/buyingstore.h index 473fdb01a..0ed6e5457 100644 --- a/src/map/buyingstore.h +++ b/src/map/buyingstore.h @@ -4,6 +4,8 @@ #ifndef _BUYINGSTORE_H_ #define _BUYINGSTORE_H_ +struct s_search_store_search; + #define MAX_BUYINGSTORE_SLOTS 5 struct s_buyingstore_item @@ -25,5 +27,7 @@ void buyingstore_create(struct map_session_data* sd, int zenylimit, unsigned cha void buyingstore_close(struct map_session_data* sd); void buyingstore_open(struct map_session_data* sd, int account_id); void buyingstore_trade(struct map_session_data* sd, int account_id, unsigned int buyer_id, const uint8* itemlist, unsigned int count); +bool buyingstore_search(struct map_session_data* sd, unsigned short nameid); +bool buyingstore_searchall(struct map_session_data* sd, const struct s_search_store_search* s); #endif // _BUYINGSTORE_H_ |