StoneAge/gmsv/include/char_talk.h
2018-08-07 00:51:35 -07:00

25 lines
687 B
C

#ifndef __CHAR_TALK_H__
#define __CHAR_TALK_H__
#include "common.h"
#include "util.h"
#include "net.h"
void CHAR_getMessageBody(char* message, char* kind, int kindlen,
char** body);
#ifdef _GM_SIGUSR2
typedef void (*CHATMAGICFUNC2)(int,char*);//¹¦ÄÜÏàͬtypedef void (*CHATMAGICFUNC)(int,char*);
CHATMAGICFUNC2 gm_CHAR_getChatMagicFuncPointer(char* name,BOOL isDebug);
#endif
int CHAR_getChatMagicFuncLevel(char* name,BOOL isDebug);
int CHAR_getChatMagicFuncNameAndString( int ti, char* name, char *usestring, int level, BOOL isDebug);
int CHAR_getChatMagicFuncMaxNum( void);
void OneByOneTkChannel ( int fd , char *tmp1 , char *tmp2 , int color) ;
#endif