?? saacproto_serv.h
字號:
/* output by ../../bin/lsgen.perl 0.41 ( 1998 May) * made Thu Feb 17 17:30:27 2000 * user ringo * host indy * file /opt/ringo/chsa/src/saac/./saacproto_serv.h * util ./saacproto_util.c , ./saacproto_util.h * src /opt/ringo/chsa/src/saac/../../doc/saacproto.html */#ifndef _SAACPROTOSERV_H_#define _SAACPROTOSERV_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 // Syu ADD 排行榜NPCvoid saacproto_UpdataStele_recv( int fd , char *cdkey , char *name , char *title , int level , int trns , int time , int floor) ;void saacproto_UpdataStele_send( int fd , char *data ) ;void saacproto_S_UpdataStele_send( int fd , char *ocdkey , char *oname , char *ncdkey , char *nname , char *title , int level , int trns , int floor ) ;#endifvoid saacproto_ACServerLogin_recv( int fd,char* servername,char* serverpas ) ;void saacproto_ACServerLogin_send( int fd,char* result,char* data ) ;void saacproto_ACServerLogout_recv( int fd ) ;void saacproto_ACCharList_recv( int ti,char* id,char* pas , int mesgid);void saacproto_ACCharList_send( int fd,char* result,char* output,int id ) ; /* ../../doc/saacproto.html line 124 */void saacproto_ACCharLoad_recv( int fd,char* id,char* pas,char* charname,int lock,char* opt,int mesgid ) ; /* ../../doc/saacproto.html line 148 */// CoolFish: 2001/10/16#ifdef _NewSavevoid saacproto_ACCharLoad_send( int fd,char* result,char* data,int id,int charindex ) ; /* ../../doc/saacproto.html line 175 */void saacproto_ACCharSave_recv( int fd,char* id,char* charname,char* opt,char* charinfo,int unlock,int mesgid,int charindex ) ; /* ../../doc/saacproto.html line 191 */#elsevoid saacproto_ACCharLoad_send( int fd,char* result,char* data,int id ) ; /* ../../doc/saacproto.html line 175 */void saacproto_ACCharSave_recv( int fd,char* id,char* charname,char* opt,char* charinfo,int unlock,int mesgid ) ; /* ../../doc/saacproto.html line 191 */#endifvoid saacproto_ACCharSave_send( int fd,char* result,char* data,int id ) ; /* ../../doc/saacproto.html line 214 */#ifdef _RELOGINvoid saacproto_ACCharSaveII_recv( int ti, char* id,char *charname,char* opt ,char* charinfo , int unlock , int mesgid , int charindex );void saacproto_ACCharLoadII_recv( int fd,char* id,char* pas,char* charname,int lock,char* opt,int mesgid ,int gs1,int gs2 ) ; /* ../../doc/saacproto.html line 148 */void saacproto_ACCharLoadII_send( int fd,char* result,char* data,int id,int charindex,int gs1,int gs2 ) ; /* ../../doc/saacproto.html line 175 *///void saacproto_ACCharSaveII_recv( int fd,char* id,char* charname,char* opt,char* charinfo,int unlock,int mesgid,int charindex,int gs1,int gs2 ) ; /* ../../doc/saacproto.html line 191 */void saacproto_ACCharSaveII_send( int fd,char* result,char* data,int id,int gs1,int gs2 ) ; /* ../../doc/saacproto.html line 214 */#endifvoid saacproto_ACCharDelete_recv( int fd,char* id,char* passwd,char* charname,char* option,int mesgid ) ; /* ../../doc/saacproto.html line 231 */void saacproto_ACCharDelete_send( int fd,char* result,char* data,int id ) ; /* ../../doc/saacproto.html line 256 */void saacproto_ACLock_recv( int fd,char* id,int lock,int mesgid ) ; /* ../../doc/saacproto.html line 271 */void saacproto_ACLock_send( int fd,char* result,char* data,int id ) ; /* ../../doc/saacproto.html line 290 */void saacproto_ACUCheck_recv( int fd,char* mem_id,int status ) ; /* ../../doc/saacproto.html line 304 */void saacproto_ACUCheck_send( int fd,char* mem_id ) ; /* ../../doc/saacproto.html line 318 */void saacproto_DBUpdateEntryString_recv( int fd,char* table,char* key,char* value,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 329 */void saacproto_DBUpdateEntryString_send( int fd,char* result,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 344 */void saacproto_DBDeleteEntryString_recv( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 357 */void saacproto_DBDeleteEntryString_send( int fd,char* result,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 369 */void saacproto_DBGetEntryString_recv( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 384 */void saacproto_DBGetEntryString_send( int fd,char* result,char* value,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 396 */void saacproto_DBUpdateEntryInt_recv( int fd,char* table,char* key,int value,char* info,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 413 */void saacproto_DBUpdateEntryInt_send( int fd,char* result,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 435 */void saacproto_DBGetEntryRank_recv( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 449 */void saacproto_DBGetEntryRank_send( int fd,char* result,int rank,int count,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 463 */void saacproto_DBDeleteEntryInt_recv( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 482 */void saacproto_DBDeleteEntryInt_send( int fd,char* result,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 494 */void saacproto_DBGetEntryInt_recv( int fd,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 508 */void saacproto_DBGetEntryInt_send( int fd,char* result,int value,char* table,char* key,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 520 */void saacproto_DBGetEntryByRank_recv( int fd,char* table,int rank_start,int rank_end,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 537 */void saacproto_DBGetEntryByRank_send( int fd,char* result,char* list,char* table,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 552 */void saacproto_DBGetEntryByCount_recv( int fd,char* table,int count_start,int num,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 571 */void saacproto_DBGetEntryByCount_send( int fd,char* result,char* list,char* table,int count_start,int msgid,int msgid2 ) ; /* ../../doc/saacproto.html line 583 */void saacproto_Broadcast_recv( int fd,char* id,char* charname,char* message,int flag ) ; /* ../../doc/saacproto.html line 598 */void saacproto_Broadcast_send( int fd,char* id,char* charname,char* message ) ; /* ../../doc/saacproto.html line 611 */void saacproto_Message_recv( int fd,char* id_from,char* charname_from,char* id_to,char* charname_to,char* message,int option ) ; /* ../../doc/saacproto.html line 624 */void saacproto_Message_send( int fd,char* id_from,char* charname_from,char* id_to,char* charname_to,char* message,int option,int mesgid ) ; /* ../../doc/saacproto.html line 642 */void saacproto_MessageAck_recv( int fd,char* id,char* charname,char* result,int mesgid ) ; /* ../../doc/saacproto.html line 661 */void saacproto_MessageFlush_recv( int fd,char* id,char* charname ) ; /* ../../doc/saacproto.html line 680 */int saacproto_InitServer(int (*writefunc)(int,char*,int) , int worksiz );void saacproto_SetServerLogFiles( char *read , char *write );void saacproto_CleanupServer( void );//int saacproto_ServerDispatchMessage( int fd, char *line );int saacproto_ServerDispatchMessage( int fd , char *encoded, char *debugfun);// CoolFish: Family 2001/5/9// 成立家族#ifdef _PERSONAL_FAMEvoid saacproto_ACAddFM_recv(int fd, char *fmname, char *fmleadername, char *fmleaderid, int fmleaderlv, char *petname, char *petarrt, char *fmrule, int fmsprite, int fmleadergrano, int fame, int charfdid);#elsevoid saacproto_ACAddFM_recv(int fd, char *fmname, char *fmleadername, char *fmleaderid, int fmleaderlv, char *petname, char *petarrt, char *fmrule, int fmsprite, int fmleadergrano, int charfdid);#endifvoid saacproto_ACAddFM_send(int fd, char *result, int fmindex, int index, int charfdid);// 加入家族// #ifdef _PERSONAL_FAME // Arminius: 家族個人聲望void saacproto_ACJoinFM_recv(int fd, char *fmname, int fmindex, char *charname, char *charid, int charlv, int index, int fame, int charfdid);// #else// void saacproto_ACJoinFM_recv(int fd, char *fmname, int fmindex, char *charname,// char *charid, int charlv, int index, int charfdid);// #endifvoid saacproto_ACJoinFM_send(int fd, char *result, int recv, int charfdid);// 退出家族void saacproto_ACLeaveFM_recv(int fd, char *fmname, int fmindex, char *charname, char *charid, int index, int charfdid);void saacproto_ACLeaveFM_send(int fd, char *result, int resultflag, int charfdid);// 解散家族#ifdef _LEADERFUNCHECKvoid saacproto_ACDelFM_recv(int fd, char *fmname, int fmindex, int index, char *charname, char *charid, int charfdid);#elsevoid saacproto_ACDelFM_recv(int fd, char *fmname, int fmindex, int index, int charfdid);#endifvoid saacproto_ACDelFM_send(int fd, char *result, int charfdid);// 列出家族列表void saacproto_ACShowFMList_recv(int fd);void saacproto_ACShowFMList_send(int fd, char *result, int num, char *data);// 列出成員列表void saacproto_ACShowMemberList_recv(int fd, int index);void saacproto_ACShowMemberList_send(int fd, char *result, int index, int num, int acceptflag, int fmjoinnum, char *data);// 列出家族詳細資料void saacproto_ACFMDetail_recv(int fd, char *fmname, int fmindex, int index, int charfdid);void saacproto_ACFMDetail_send(int fd, char *result, char *data, int charfdid);// 列出家族留言板void saacproto_ACFMReadMemo_recv(int fd, int index);void saacproto_ACFMReadMemo_send(int fd, char *result, int index, int num, int dataindex, char *data);// 寫入家族留言板void saacproto_ACFMWriteMemo_recv(int fd, char *fmname, int fmindex, char *data, int index);void saacproto_ACFMWriteMemo_send(int fd, char *result, int index);// 玩家login#ifdef _FM_MODIFYvoid saacproto_ACFMCharLogin_recv(int fd, char *fmname, int fmindex, char *charname, char *charid, int charlv, int eventflag, int charfdid,int gsnum);#else #ifdef _FMVER21 void saacproto_ACFMCharLogin_recv(int fd, char *fmname, int fmindex, char *charname, char *charid, int charlv, int eventflag, int charfdid); #else void saacproto_ACFMCharLogin_recv(int fd, char *fmname, int fmindex, char *charname, char *charid, int charlv, int charfdid); #endif#endif#ifdef _PERSONAL_FAME // Arminius: 家族個人聲望void saacproto_ACFMCharLogin_send(int fd, char *result, int index, int floor, int fmpopular, int joinflag, int fmsetupflag, int flag, int charindex, int charfame, int charfdid#ifdef _NEW_MANOR_LAW ,int momentum#endif );#elsevoid saacproto_ACFMCharLogin_send(int fd, char *result, int index, int floor, int fmpopular, int joinflag, int fmsetupflag, int flag, int charindex, int charfdid);#endif// 玩家logoutvoid saacproto_ACFMCharLogout_recv(int fd, char *fmname, int fmindex, char *charname, char *charid, int charlv, int index, int charfdid);void saacproto_ACFMCharLogout_send(int fd, char *result, int charfdid);// 族長審核成員加入家族、修改家族成員職位#ifdef _FMVER21void saacproto_ACMemberJoinFM_recv(int fd, char* fmname, int fmindex, char* charname, int charindex, int index, int result, int meindex, int charfdid);#elsevoid saacproto_ACMemberJoinFM_recv(int fd, char* fmname, int fmindex, char* charname, int charindex, int index, int result, int charfdid);#endifvoid saacproto_ACMemberJoinFM_send(int fd, char* result, int charfdid);// 族長審核成員離開家族#ifdef _FMVER21void saacproto_ACMemberLeaveFM_recv(int fd, char* fmname, int fmindex, char* charname, int charindex, int index, int meindex, int charfdid);#elsevoid saacproto_ACMemberLeaveFM_recv(int fd, char* fmname, int fmindex, char* charname, int charindex, int index, int charfdid);#endifvoid saacproto_ACMemberLeaveFM_send(int fd, char* result, int charfdid);// 列出家族據點void saacproto_ACFMPointList_recv(int fd);void saacproto_ACFMPointList_send(int fd, char *result, char *data);#ifdef _CK_ONLINE_PLAYER_COUNT // WON ADD 計算線上人數
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -