chuyiwen_gmsv/include/npc_stoneserviceman.h
2017-01-14 00:37:03 +09:00

21 lines
697 B
C

#ifndef __NPC_STONESERVICEMAN_H__
#define __NPC_STONESERVICEMAN_H__
// 资料串列
typedef struct _List
{
char Data[32]; // 资料
struct _List *Next; // 指向下一个List
}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