stoneage8.5/石器时代服务器端最新完整源代码/Serv/gmsv/include/longzoro/newshop.h
anson1788 a5b185b7ef Revert "re upload"
This reverts commit 274b7d169c.
2020-06-23 15:23:51 +08:00

40 lines
684 B
C

#ifndef _NEW_SHOP_H_
#define _NEW_SHOP_H_
#ifdef _ONLINE_SHOP
#define SHOPLISTMAX 100
#define SHOPPAGEMAX 8
//±àÕß#ͼÏñ#Ãû³Æ#ÑÕÉ«#ÕÛ¿Û#½ð¶î#˵Ã÷
typedef struct ONLINE_SHOP_t{
BOOL use;
int id;
int picid;
char name[64];
int color;
int percentage;
int price;
char readme[256];
}Online_Shop_t;
typedef enum
{
ONLINESHOP_PET,
ONLINESHOP_ITEM,
ONLINESHOP_HEALER,
ONLINESHOP_COMPOSE,
ONLINESHOP_MISSION,
ONLINESHOP_OTHER,
ONLINESHOP_AMPOINT,
ONLINESHOP_NUM
}CHAR_ONLINESHOP;
BOOL OnlineShop_init();
void OnlineShop_ShowList(int fd, int charaindex, int type, int page);
void OnlineShop_Buy(int fd, int charaindex, int type, int page, int id, int num);
#endif
#endif