chuyiwen_gmsv/include/npc_stoneserviceman.h

21 lines
697 B
C
Raw Permalink Normal View History

2016-12-24 08:45:52 +08:00
#ifndef __NPC_STONESERVICEMAN_H__
#define __NPC_STONESERVICEMAN_H__
2017-01-13 23:37:03 +08:00
// 资料串列
2016-12-24 08:45:52 +08:00
typedef struct _List
{
2017-01-13 23:37:03 +08:00
char Data[32]; // 资料
struct _List *Next; // 指向下一个List
2016-12-24 08:45:52 +08:00
}List,*LPList;
BOOL NPC_StoneServiceManInit(int meindex);
void NPC_StoneServiceManLoop(int meindex);
void NPC_StoneServiceManTalked(int meindex,int talkerindex,char *msg,int color);
void NPC_StoneServiceManWindowTalked(int meindex,int talkerindex,int seqno,
int select,char *data);
int SendToAP(int nAid,int nIndex,int nLen,void *Data1,void *Data2);
int RecvFromAP(int *nAid,int nIndex,int *nLen,LPList *Data);
int GetMsg(int meindex);
int ConnectToAP(void);
#endif