Revision 1, 0.7 kB
(checked in by jinshiro, 17 years ago)
|
|
Rev | Line | |
---|
[1] | 1 | // Copyright (c) Athena Dev Teams - Licensed under GNU GPL |
---|
| 2 | // For more information, see LICENCE in the main folder |
---|
| 3 | |
---|
| 4 | #ifndef _VENDING_H_ |
---|
| 5 | #define _VENDING_H_ |
---|
| 6 | |
---|
| 7 | #include "../common/cbasetypes.h" |
---|
| 8 | //#include "map.h" |
---|
| 9 | struct map_session_data; |
---|
| 10 | |
---|
| 11 | struct s_vending { |
---|
| 12 | short index; |
---|
| 13 | short amount; |
---|
| 14 | unsigned int value; |
---|
| 15 | }; |
---|
| 16 | |
---|
| 17 | void vending_closevending(struct map_session_data* sd); |
---|
| 18 | void vending_openvending(struct map_session_data* sd, const char* message, bool flag, const uint8* data, int count); |
---|
| 19 | void vending_vendinglistreq(struct map_session_data* sd, int id); |
---|
| 20 | void vending_purchasereq(struct map_session_data* sd, int id, const uint8* data, int count); |
---|
| 21 | |
---|
| 22 | #endif /* _VENDING_H_ */ |
---|