summaryrefslogtreecommitdiff
path: root/src/map/vending.h
blob: a95d6abf5f75e4421dc08c4bcf59ae0d874a722e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef	_VENDING_H_
#define	_VENDING_H_

#include "../common/cbasetypes.h"
//#include "map.h"
struct map_session_data;

struct s_vending {
	short index;
	short amount;
	unsigned int value;
};

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 id, const uint8* data, int count);

#endif /* _VENDING_H_ */