StoneAge/gmsv/include/saacproto_cli.h

384 lines
20 KiB
C
Raw Normal View History

2018-08-07 15:51:35 +08:00
/* output by ../../bin/lsgen.perl 0.41 ( 1998 May)
* made Mon Oct 9 10:21:40 2000
* user ttom
* host proxy1
* file /home/ttom/gmsv2/src/gmsv/include/saacproto_cli.h
* util ./saacproto_util.c , include/saacproto_util.h
* src /home/ttom/gmsv2/src/gmsv/../../doc/saacproto.html
*/
#ifndef _SAACPROTOCLI_H_
#define _SAACPROTOCLI_H_
#include "version.h"
#include "saacproto_util.h"
#ifdef MAXLSRPCARGS
#if ( MAXLSRPCARGS <= ( 7 + 1 ) )
#undef MAXLSRPCARGS
#define MAXLSRPCARGS ( 7 + 1 )
#endif
#else
#define MAXLSRPCARGS ( 7 + 1 )
#endif
#ifdef _ALLDOMAN // (<28><><EFBFBD>ɿ<EFBFBD>) Syu ADD <20><><EFBFBD>а<EFBFBD>NPC
void saacproto_UpdataStele_send( int fd , char *cdkey , char *name , char *title , int level , int trns , int time , int floor) ;
void saacproto_UpdataStele_recv( int fd , char *token) ;
void saacproto_S_UpdataStele_recv( int i , char *ocdkey , char *oname , char *ncdkey ,
char *nname , char *title , int level , int trns , int floor );
#endif
void saacproto_ACGmsvDownRequest_recv( int fd,int min ) ; /* ../../doc/saacproto.html line 80 */
void saacproto_ACServerLogin_send( int fd,char* servername,char* serverpas ) ; /* ../../doc/saacproto.html line 90 */
void saacproto_ACServerLogin_recv( int fd,char* result,char* data ) ; /* ../../doc/saacproto.html line 101 */
void saacproto_ACServerLogout_send( int fd ) ; /* ../../doc/saacproto.html line 114 */
#ifdef _PKSEVER_VER
void saacproto_ACCharList_send( int fd,char* id,char* pas,int mesgid, int star);
#else
void saacproto_ACCharList_send( int fd,char* id,char* pas,int mesgid ) ; /* ../../doc/saacproto.html line 123 */
#endif
void saacproto_ACCharList_recv( int fd,char* result,char* output,int id ) ; /* ../../doc/saacproto.html line 135 */
void saacproto_ACCharLoad_send( int fd,char* id,char* pas,char* charname,int lock,char* opt,int mesgid ) ; /* ../../doc/saacproto.html line 158 */
void saacproto_ACCharLoad_recv( int fd,char* result,char* data,int id,int saveindex ) ; /* ../../doc/saacproto.html line 185 */
#ifdef _NEWSAVE
void saacproto_ACCharSave_send( int fd,char* id,char* charname,char* opt,char* charinfo,int unlock,int mesgid,int saveindex ) ; /* ../../doc/saacproto.html line 201 */
#else
void saacproto_ACCharSave_send( int fd,char* id,char* charname,char* opt,char* charinfo,int unlock,int mesgid ) ; /* ../../doc/saacproto.html line 201 */
#endif
void saacproto_ACCharSave_recv( int fd,char* result,char* data,int id ) ; /* ../../doc/saacproto.html line 224 */
void saacproto_ACCharDelete_send( int fd,char* id,char* passwd,char* charname,char* option,int mesgid ) ; /* ../../doc/saacproto.html line 241 */
void saacproto_ACCharDelete_recv( int fd,char* result,char* data,int id ) ; /* ../../doc/saacproto.html line 266 */
void saacproto_ACLock_send( int fd,char* id,int lock,int mesgid ) ; /* ../../doc/saacproto.html line 281 */
void saacproto_ACLock_recv( int fd,char* result,char* data,int id ) ; /* ../../doc/saacproto.html line 300 */
void saacproto_ACUCheck_send( int fd,char* mem_id,int status ) ; /* ../../doc/saacproto.html line 314 */
void saacproto_ACUCheck_recv( int fd,char* mem_id ) ; /* ../../doc/saacproto.html line 328 */
void saacproto_DBUpdateEntryString_send( int fd,char* table,char* key,char* value,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 339 */
void saacproto_DBUpdateEntryString_recv( int fd,char* result,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 354 */
void saacproto_DBDeleteEntryString_send( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 367 */
void saacproto_DBDeleteEntryString_recv( int fd,char* result,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 379 */
void saacproto_DBGetEntryString_send( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 394 */
void saacproto_DBGetEntryString_recv( int fd,char* result,char* value,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 406 */
void saacproto_DBUpdateEntryInt_send( int fd,char* table,char* key,int value,char* info,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 423 */
void saacproto_DBUpdateEntryInt_recv( int fd,char* result,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 445 */
void saacproto_DBGetEntryRank_send( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 459 */
void saacproto_DBGetEntryRank_recv( int fd,char* result,int rank,int count,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 473 */
void saacproto_DBDeleteEntryInt_send( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 492 */
void saacproto_DBDeleteEntryInt_recv( int fd,char* result,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 504 */
void saacproto_DBGetEntryInt_send( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 518 */
void saacproto_DBGetEntryInt_recv( int fd,char* result,int value,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 530 */
void saacproto_DBGetEntryByRank_send( int fd,char* table,int rank_start,int rank_end,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 547 */
void saacproto_DBGetEntryByRank_recv( int fd,char* result,char* list,char* table,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 562 */
void saacproto_DBGetEntryByCount_send( int fd,char* table,int count_start,int num,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 581 */
void saacproto_DBGetEntryByCount_recv( int fd,char* result,char* list,char* table,int count_start,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 593 */
void saacproto_Broadcast_send( int fd,char* id,char* charname,char* message,int flag ) ; /* ../../doc/saacproto.html line 608 */
void saacproto_Broadcast_recv( int fd,char* id,char* charname,char* message ) ; /* ../../doc/saacproto.html line 621 */
void saacproto_Message_send( int fd,char* id_from,char* charname_from,char* id_to,char* charname_to,char* message,int option ) ; /* ../../doc/saacproto.html line 634 */
void saacproto_Message_recv( int fd,char* id_from,char* charname_from,char* id_to,char* charname_to,char* message,int option,int mesgid ) ; /* ../../doc/saacproto.html line 652 */
void saacproto_MessageAck_send( int fd,char* id,char* charname,char* result,int mesgid ) ; /* ../../doc/saacproto.html line 671 */
void saacproto_MessageFlush_send( int fd,char* id,char* charname ) ; /* ../../doc/saacproto.html line 690 */
int saacproto_InitClient( int(*)(int,char*,int) , int bufsiz , int fd);
void saacproto_SetClientLogFiles( char *read , char *write);
void saacproto_CleanupClient(void);
int saacproto_ClientDispatchMessage(int fd ,char*line);
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#ifdef _PERSONAL_FAME
void saacproto_ACAddFM_send(int fd, char *fmname, char *fmleadername,
char *fmleaderid, int fmleaderlv, char *petname, char *petarrt,
char *fmrule, int fmsprite, int fmleadergrano, int fame, int charfdid);
#else
void saacproto_ACAddFM_send(int fd, char *fmname, char *fmleadername,
char *fmleaderid, int fmleaderlv, char *petname, char *petarrt,
char *fmrule, int fmsprite, int fmleadergrano, int charfdid);
#endif
void saacproto_ACAddFM_recv(int fd, char *result, int fmindex, int index,
int charfdid);
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// #ifdef _PERSONAL_FAME // Arminius: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_ACJoinFM_send(int fd, char *fmname, int fmindex, char *charname,
char *charid, int charlv, int index, int fame, int charfdid);
// #else
// void saacproto_ACJoinFM_send(int fd, char *fmname, int fmindex, char *charname,
// char *charid, int charlv, int index, int charfdid);
// #endif
void saacproto_ACJoinFM_recv(int fd, char *result, int recv, int charfdid);
// <20>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD>
void saacproto_ACLeaveFM_send(int fd, char *fmname, int fmindex, char *charname,
char *charid, int index, int charfdid);
void saacproto_ACLeaveFM_recv(int fd, char *result, int resultflag, int charfdid);
// <20><>ɢ<EFBFBD><C9A2><EFBFBD><EFBFBD>
void saacproto_ACDelFM_send(int fd, char *fmname, int fmindex, int index,
char *charname, char *charid, int charfdid);
void saacproto_ACDelFM_recv(int fd, char *result, int charfdid);
// <20>г<EFBFBD><D0B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
void saacproto_ACShowFMList_send(int fd);
void saacproto_ACShowFMList_recv(int fd, char *result, int num, char *data);
// <20>г<EFBFBD><D0B3><EFBFBD>Ա<EFBFBD>б<EFBFBD>
void saacproto_ACShowMemberList_send(int fd, int index);
void saacproto_ACShowMemberList_recv(int fd, char *result, int index, int num,
int fmacceptflag, int fmjoinnum, char *data);
// <20>г<EFBFBD><D0B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD><EFBFBD>
void saacproto_ACFMDetail_send(int fd, char *fmname, int fmindex,
int index, int charfdid);
void saacproto_ACFMDetail_recv(int fd, char *result, char *data, int charfdid);
//<2F><EFBFBD><E5B3A4><EFBFBD>˳<EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸ļ<DEB8><C4BC><EFBFBD><EFBFBD><EFBFBD>Աְλ
#ifdef _FMVER21
void saacproto_ACMemberJoinFM_send(int fd, char *fmname, int fmindex, char *charname,
int charindex, int index, int result, int meindex, int charfdid);
#else
void saacproto_ACMemberJoinFM_send(int fd, char *fmname, int fmindex, char *charname,
int charindex, int index, int result, int charfdid);
#endif
void saacproto_ACMemberJoinFM_recv(int fd, char *result, char *data, int charfdid);
//<2F><EFBFBD><E5B3A4><EFBFBD>˳<EFBFBD>Ա<EFBFBD><EFBFBD><EBBFAA><EFBFBD><EFBFBD>
#ifdef _FMVER21
void saacproto_ACMemberLeaveFM_send(int fd, char *fmname, int fmindex, char *charname,
int charindex, int index, int meindex, int charfdid);
#else
void saacproto_ACMemberLeaveFM_send(int fd, char *fmname, int fmindex, char *charname,
int charindex, int index, int charfdid);
#endif
void saacproto_ACMemberLeaveFM_recv(int fd, char *result, char *data, int charfdid);
//<2F><><EFBFBD><EFBFBD> Login
#ifdef _FM_MODIFY
void saacproto_ACFMCharLogin_send(int fd, char *fmname, int fmindex, char *charname,
char *charid, int charlv, int eventflag, int charfdid,int gsnum);
#else
#ifdef _FMVER21
void saacproto_ACFMCharLogin_send(int fd, char *fmname, int fmindex, char *charname,
char *charid, int result, int eventflag, int charfdid);
#else
void saacproto_ACFMCharLogin_send(int fd, char *fmname, int fmindex, char *charname,
char *charid, int result, int charfdid);
#endif
#endif
#ifdef _PERSONAL_FAME // Arminius: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_ACFMCharLogin_recv(int fd, char *result, int index, int floor,
int fmdp, int joinflag, int fmsetupflag, int flag, int charindex,
int charfame, int charfdid
#ifdef _NEW_MANOR_LAW
,int momentum
#endif
);
#else
void saacproto_ACFMCharLogin_recv(int fd, char *result, int index, int floor,
int fmdp, int joinflag, int fmsetupflag, int flag, int charindex,
int charfdid);
#endif
// <20><><EFBFBD><EFBFBD> Logout
void saacproto_ACFMCharLogout_send(int fd, char *fmname, int fmindex, char *charname,
char *charid, int result, int index, int charfdid);
void saacproto_ACFMCharLogout_recv(int fd, char *result, int charfdid);
// <20>г<EFBFBD><D0B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD>
void saacproto_ACFMReadMemo_send(int fd, int index);
void saacproto_ACFMReadMemo_recv(int fd, char *result, int index, int num,
int dataindex, char *data);
// д<><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD>
void saacproto_ACFMWriteMemo_send(int fd, char *fmname, int fmindex,
char *data, int index);
void saacproto_ACFMWriteMemo_recv(int fd, char *result, int index);
// <20>г<EFBFBD><D0B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݵ<EFBFBD>
void saacproto_ACFMPointList_send(int fd);
void saacproto_ACFMPointList_recv(int fd, char *result, char *data);
#ifdef _CK_ONLINE_PLAYER_COUNT // WON ADD <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_GS_PLAYER_COUNT_SEND( int acfd, int num );
#endif
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݵ<EFBFBD>
void saacproto_ACSetFMPoint_send(int fd, char* fmname, int fmindex, int index,
int fmpointindex, int fl, int x, int y, int charfdid);
void saacproto_ACSetFMPoint_recv(int fd, char *result, int r, int charfdid);
// <20><EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD>ݵ<EFBFBD>
void saacproto_ACFixFMPoint_send(int fd, char *winfmname, int winfmindex,
int winindex, char *losefmname, int losefmindex, int loseindex,
int village);
void saacproto_ACFixFMPoint_recv(int fd, char *result, int r);
// <20><EFBFBD><E5B3A4><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD>
// kindflag 1:<3A><EFBFBD>㲥 2:<3A><><EFBFBD>屻ϵͳɾ<CDB3><C9BE> 3:ϵͳ֪ͨѶϢ
void saacproto_ACFMAnnounce_send(int fd, char *fmname, int fmindex, int index,
char *data, int color);
void saacproto_ACFMAnnounce_recv(int fd, char *result, char *fmname,
int fmindex, int index, int kindflag, char *data, int color);
// <20>г<EFBFBD> TOP 50 <20><><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
void saacproto_ACShowTopFMList_send(int fd, int kindflag);
void saacproto_ACShowTopFMList_recv(int fd, char *result, int kindflag,
int num, char *data);
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ճ<EFBFBD>Ա)
// flag 1:acceptjoinflag 2:dpchanged 3:change fmpet 4:change fminfo 5:predel FM Time
void saacproto_ACFixFMData_send(int fd, char *fmname, int fmindex, int index,
int kindflag,char *data1,char *data2,int charindex, int charfdid);
#ifdef _FAMILYBANKSTONELOG
void saacproto_ACgetFMBankgold_send(int fd, char *fmname, int fmindex, int index,
int charindex, int charfdid);
void saacproto_ACgetFMBankgold_recv(int fd,int charfdid,int r);
#endif
void saacproto_ACFixFMData_recv(int fd, char *result, int kindflag, char *data1,
char *data2, int charfdid);
// <20>У<EFBFBD><D0A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_ACFixFMPK_send(int fd, char *winfmname, int winfmindex,
int winindex, char *losefmname, int losefmindex, int loseindex);
void saacproto_ACFixFMPK_recv(int fd, char *result, int data, int winindex,
int loseindex);
// ȡ<>ü<EFBFBD><C3BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// kindflag 1:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_ACGetFMData_send(int fd, char *fmname, int fmindex, int index,
int kindflag, int charfdid);
void saacproto_ACGetFMData_recv(int fd, char *result, int kindflag, int data,
int charfdid);
// <20>ǣ<EFBFBD><C7A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_ACGMFixFMData_send(int fd, int index, char *charid, char *cmd,
char *data, int charfdid);
void saacproto_ACGMFixFMData_recv(int fd, char *result, char *fmindex, int charfdid);
// ɾ<><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ս<EFBFBD>ų<EFBFBD>
void saacproto_ACFMClearPK_recv(int fd, char *result, char *fmname, int fmindex,
int index);
// Arminius 7.26 manor pk acknowledge
void saacproto_ACManorPKAck_send(int fd, char *data);
void saacproto_ACManorPKAck_recv(int fd, char *data);
void saacproto_ACreLoadFmData_send( int fd, int type, int data);
#ifdef _ACFMPK_LIST
void saacproto_ACLoadFmPk_recv(int fd, char *data);
void saacproto_ACLoadFmPk_send(int fd, int fmpks_pos);
void saacproto_ACSendFmPk_recv( int fd, int toindex, int flg);
void saacproto_ACSendFmPk_send(int fd, int toindex, int PkFlg, int fmpks_pos, char *msg);
#endif
#ifdef _RECAL_ASK_PLAYER // WON Ҫ<><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_Recal_Player_send(int acfd, char *uid, int userfdid, int GmCliId, char *id, int char_num, int date, int backup_flag);
void saacproto_ACRecalPlayer_recv(char *uid, int userfdid, int GmCliId, char *id, int char_num, int date, char *char_data);
void saacproto_ACRecalBackupPlayer_recv(char *uid, int userfdid, int GmCliId, char *id, int char_num, int date, char *char_data);
void saacproto_ACRecalAllBackupOK_recv(char *uid, int userfdid, int GmCliId, char *id, int char_num, int date, char *char_data);
void saacproto_ACRecalBackupDate_recv(char *uid, int userfdid, int GmCliId, char *id, int char_num, int date, char *char_data);
void saacproto_Recal_Backup_send(int acfd, char *uid, int userfdid, int GmCliId, char *id, int char_num, int date, char *char_data, int backup_flag);
#endif // end RECAL_ASK_PLAYER
void saacproto_ACAuctionSold_send(int fd, char *data);
void saacproto_ACAuctionSold_recv(int fd, char *data);
#ifdef _WAEI_KICK //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_ACKick_send( int fd, char* kickid,int kickfd, int flg);
void saacproto_ACKick_recv(int fd , int act, char* data ,int retfd);
#endif
#ifdef _NEW_PLAYERGOLD
void saacproto_LoadNEWPlayer_recv(int fd , int charaindex, char *data);
void saacproto_LoadNEWPlayer_send( int fd, int charaindex, char *filename);
#endif
#ifdef _PAUCTION_MAN
void saacproto_ACItemAuction_recv( int fd, char *ITEMNAME, char *data, int itemID, int ret, int flg);
void saacproto_ACItemAuction_send( int fd, char *ITEMNAME, char *data, int itemID, int ret, int flg);
//ACAddItemAuction_send( int fd, int itemID, char *ITEMNAME, char* SECRETNAME, char *EFFECTSTRING);
#endif
#ifdef _NEW_PLAYERGOLD
enum{
NEW_ERR=0,
NEW_DELOK,
NEW_DELERR,
NEW_ADDOK=11,
NEW_ADDERR,
NEW_LISTFULL,
};
void saacproto_ACNEWPlayerList_recv( int fd, char *CdKey, char *UserName, int charaindex, int RunType);
void saacproto_ACNEWPlayerList_send( int fd, char *CdKey, char *UserName, int charaindex, int RunType);
#endif
#ifdef _DEATH_CONTEND
void saacproto_LoadPkTeamListData_recv(int fd , char* result, char* data, int ti );
void saacproto_LoadPkTeamListData_send(int fd , int start, int count );
void saacproto_PkListUpDate_send( int fd , char *mycdkey, char *tocdkey,
int mynum, int tonum, int winer, int flg );
void saacproto_PKLISTCHARTS_recv( int fd, char *data, int type, int flg);
void saacproto_PKLISTCHARTS_send( int fd, int type, int flg );
#endif
#ifdef _CHAR_POOLITEM
void saacproto_ACCharInsertPoolItem_send( int acfd, int charaindex, int clifdid, char *CdKey, char *Pooldataarg, int TYPE);
void saacproto_ACCharSavePoolItem_recv(int fd ,char* result, char* data,int retfd);
void saacproto_ACCharSavePoolItem_send( int acfd, int charaindex, int clifdid, char *CdKey, char *Pooldataarg);
void saacproto_ACCharGetPoolItem_recv(int fd ,char* result, char* data,int retfd, int meindex);
void saacproto_ACCharGetPoolItem_send( int acfd, int meindex, int charaindex, int clifdid, char * CdKey);
#endif
#ifdef _CHAR_POOLPET
void saacproto_ACCharInsertPoolPet_send( int acfd, int charaindex, int clifdid, char *CdKey, char *Pooldataarg, int TYPE);
void saacproto_ACCharSavePoolPet_recv(int fd ,char* result, char* data,int retfd);
void saacproto_ACCharSavePoolPet_send( int acfd, int charaindex, int clifdid, char *CdKey, char *Pooldataarg);
void saacproto_ACCharGetPoolPet_recv(int fd ,char* result, char* data,int retfd, int meindex);
void saacproto_ACCharGetPoolPet_send( int acfd, int meindex, int charaindex, int clifdid, char * CdKey);
#endif
#ifdef _DEATH_FAMILY_LOGIN_CHECK // WON ADD <20><><EFBFBD><EFBFBD>ս<EFBFBD><D5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_new_ACFM_Login_send( int acfd, int charaindex, char *char_id, char *char_name );
void saacproto_ACSendMember_recv(int fd, char *result, char *data, int charindex );
#endif
#ifdef _DEATH_FAMILY_GM_COMMAND // WON ADD <20><><EFBFBD><EFBFBD>սGMָ<4D><D6B8>
void saacproto_ReloadFamily_send( int acfd, int charaindex );
void saacproto_ACRELOADFMOK_recv( int fd, int charindex );
void saacproto_ACShowMemberList_2_send( int fd, int charaindex, int fm1, int fm2, int time, int id );
void saacproto_ACSHOWMEMBERLIST2_recv( int fd, int charaindex, int fm1, char *fm1_id, int fm2, char *fm2_id, int time, int id );
#endif
#ifdef _DEATH_FAMILY_STRUCT // WON ADD <20><><EFBFBD><EFBFBD>ս<EFBFBD><D5BD><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void saacproto_Init_FM_PK_STRUC_send( int fd );
void saacproto_FM_PK_STRUCT_send( int fd, char *msg );
void saacproto_ACSendFmPkStruct_recv( int fd, char *data );
#endif
#ifdef _UNIVERSE_CHATROOM
void saacproto_ACUniChatroom_recv( int acfd, int charaindex, int clifdid, char *result,
char *CdKey, char *data);
void saacproto_ACUniChatroom_send( int acfd, int charaindex, int clifdid, char *CdKey, char *data);
#endif
#ifdef _ANGEL_SUMMON
void saacproto_ACMissionTable_recv( int fd, int num, int type, char *data, char* angelinfo);
void saacproto_ACMissionTable_send( int fd, int num, int type, char *data, char* angelinfo);
#endif
#ifdef _TEACHER_SYSTEM
// RETURN_FUNCTION -> R_F_XXXXXXX
enum{
R_F_TEACHER_SYSTEM,
R_F_END
};
void saacproto_ACCheckCharacterOnLine_recv( int acfd, int charaindex, int iOnline,char *data,int flag);
void saacproto_ACCheckCharacterOnLine_send( int acfd, int charaindex, char *id, char *name, int flag);
#endif
#ifdef _RACEMAN
void saacproto_ACRaceRecordandSort_recv(int fd,int charaindex,int racetype,char *data);
void saacproto_ACRaceRecordandSort_send(int fd,int charaindex,char *code ,char *id,char *name,int racetype,int catchcnt,int ranknum );
void saacproto_ACRaceRecordfmdo_send(int fd,int charaindex, int fmid , int bbi , char *unicode, char *petname );
#endif
#endif
/* end of the generated client header code */