summaryrefslogtreecommitdiff
path: root/src/map/vending.h
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-06 19:16:09 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-03-06 19:16:09 +0000
commitc7a8f268c8110899f374cd367afaa564d47ff691 (patch)
tree2330fd66b29e75dbfdcaaae976a67859f7908019 /src/map/vending.h
parentcc77964c3e6134a6b2257501fd1b79c4330af4ea (diff)
downloadhercules-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/vending.h')
-rw-r--r--src/map/vending.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/vending.h b/src/map/vending.h
index 3c483a38c..6cfc90820 100644
--- a/src/map/vending.h
+++ b/src/map/vending.h
@@ -7,6 +7,7 @@
#include "../common/cbasetypes.h"
//#include "map.h"
struct map_session_data;
+struct s_search_store_search;
struct s_vending {
short index;
@@ -18,5 +19,7 @@ void vending_closevending(struct map_session_data* sd);
void vending_openvending(struct map_session_data* sd, const char* message, bool flag, const uint8* data, int count);
void vending_vendinglistreq(struct map_session_data* sd, int id);
void vending_purchasereq(struct map_session_data* sd, int aid, int uid, const uint8* data, int count);
+bool vending_search(struct map_session_data* sd, unsigned short nameid);
+bool vending_searchall(struct map_session_data* sd, const struct s_search_store_search* s);
#endif /* _VENDING_H_ */