?? saacproto_cli.c
字號:
return 0; }/*406 : <Li><a name="DBGetEntryStringS"><font color=blue>servertoclient DBGetEntryString( string result, string value, string table, string key, int msgid, int msgid2 );</font></a><BR>407 : 潸曰分仄及忒曰襖408 : <dl>409 : <dt>string result410 : <dd>successful / failed411 : <dt>string value412 : <dd>襖413 : <dt>string table414 : <dd> 415 : <dt>string key416 : <dd>417 : <dt>int msgid418 : <dd>419 : <dt>int msgid2420 : <dd> 421 : </dl>422 : */ if( strcmp( funcname , "DBGetEntryString" ) == 0 ){ char* result; char* value; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); value = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[4] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[5] )); msgid = saacproto_demkstr_int( saacproto.token_list[6] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[7] ); saacproto_DBGetEntryString_recv( fd,result,value,table,key,msgid,msgid2); return 0; }/*445 : <LI><a name="DBUpdateEntryIntS"><font color=blue>servertoclient DBUpdateEntryInt( string result , string table, string key, int msgid, int msgid2 );</font></a><BR>446 : DBUpdateEntry及瑛絆[447 : <dl>448 : <dt>string result449 : <dd>succesful/failed450 : <dt>string table451 : <dd> □皮伙 毛公及引引井尹允452 : <dt>string key453 : <dd>平□毛公及引引井尹允 454 : <dt>int msgid, int msgid2455 : <dd>msgid 毛公及引引忒允[456 : </dl>457 : <BR><BR>458 : */ if( strcmp( funcname , "DBUpdateEntryInt" ) == 0 ){ char* result; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); msgid = saacproto_demkstr_int( saacproto.token_list[5] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[6] ); saacproto_DBUpdateEntryInt_recv( fd,result,table,key,msgid,msgid2); return 0; }/*473 : <LI><a name="DBGetEntryRankS"><font color=blue>servertoclient DBGetEntryRank( string result , int rank , int count, string table, string key, int msgid, int msgid2 );</font></a><BR>474 : 賜匏毛忒允[475 : <dl>476 : <dt>string result477 : <dd>successful/failed478 : <dt>int rank479 : <dd>賜匏[1動曉及襖毛潸月[480 : <dt>int count481 : <dd>曉井日中仁勾戶井[ 賡及巨件玄伉反0井日反元引月[482 : <dt>string table483 : <dd> □皮伙 毛公及引引井尹允484 : <dt>string key485 : <dd>平□毛公及引引井尹允486 : <dt>int msgid, int msgid2487 : <dd>msgid 毛公及引引忒允488 : </dl>489 : <BR><BR>490 : 491 : */ if( strcmp( funcname , "DBGetEntryRank" ) == 0 ){ char* result; int rank; int count; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); rank = saacproto_demkstr_int( saacproto.token_list[3] ); count = saacproto_demkstr_int( saacproto.token_list[4] ); table = saacproto_wrapStringAddr( saacproto_stringwrapper[4] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[5] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[5] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[6] )); msgid = saacproto_demkstr_int( saacproto.token_list[7] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[8] ); saacproto_DBGetEntryRank_recv( fd,result,rank,count,table,key,msgid,msgid2); return 0; }/*504 : <LI><a name="DBDeleteEntryIntS"><font color=blue>servertoclient DBDeleteEntryInt( string result , string table, string key, int msgid, int msgid2 );</font></a><BR>505 : 綽輪及瑛絆506 : <dl>507 : <dt>string result508 : <dd>successful/failed509 : <dt>string table510 : <dd> □皮伙 毛公及引引井尹允511 : <dt>string key512 : <dd>平□毛公及引引井尹允513 : <dt>int msgid, int msgid2514 : <dd>msgid 毛公及引引忒允515 : </dl>516 : <BR><BR>517 : */ if( strcmp( funcname , "DBDeleteEntryInt" ) == 0 ){ char* result; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); msgid = saacproto_demkstr_int( saacproto.token_list[5] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[6] ); saacproto_DBDeleteEntryInt_recv( fd,result,table,key,msgid,msgid2); return 0; }/*530 : <LI><a name="DBGetEntryIntS"><font color=blue>servertoclient DBGetEntryInt( string result , int value , string table, string key, int msgid, int msgid2 );</font></a><BR>531 : 巨件玄伉及襖毛井尹允532 : <dl>533 : <dt>string result534 : <dd>successful/failed535 : <dt>int value536 : <dd>襖公及手及537 : <dt>string table538 : <dd> □皮伙 毛公及引引井尹允539 : <dt>string key540 : <dd>平□毛公及引引井尹允541 : <dt>int msgid, int msgid2542 : <dd>msgid 毛公及引引忒允543 : </dl>544 : 545 : 546 : */ if( strcmp( funcname , "DBGetEntryInt" ) == 0 ){ char* result; int value; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); value = saacproto_demkstr_int( saacproto.token_list[3] ); table = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[4] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[5] )); msgid = saacproto_demkstr_int( saacproto.token_list[6] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[7] ); saacproto_DBGetEntryInt_recv( fd,result,value,table,key,msgid,msgid2); return 0; }/*562 : <LI><a name="DBGetEntryByRankS"><font color=blue>servertoclient DBGetEntryByRank( string result , string list , string table, int msgid, int msgid2 );</font></a><BR>563 : DBGetEntryByRank及瑛絆[564 : <dl>565 : <dt>string result566 : <dd>567 : <dt>string list568 : <dd>"RANK,KEY,SCORE,INFO|RANK,KEY,SCORE,INFO|...."<BR>569 : RANK反賜匏匹丐月[KEY反公及賜匏卞卅勻化中月旦戊失毛手勻化中月570 : 平□[SCORE反幫醒襖匹旦戊失匹丐月[571 : [<br>572 : "1,RINGO,123465,data1|2,HOGE,4567,data2|2,FUCK,4567,data3"<BR>573 : 仇及 分午}2匏反2諦中月仇午卞卅月[574 : <dt>string table575 : <dd> □皮伙 576 : <dt>int msgid, int msgid2577 : <dd>578 : </dl>579 : 580 : */ if( strcmp( funcname , "DBGetEntryByRank" ) == 0 ){ char* result; char* list; char* table; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); list = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); msgid = saacproto_demkstr_int( saacproto.token_list[5] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[6] ); saacproto_DBGetEntryByRank_recv( fd,result,list,table,msgid,msgid2); return 0; }/*593 : <LI><a name="DBGetEntryByCountS"><font color=blue>servertoclient DBGetEntryByCount( string result , string list , string table, int count_start, int msgid, int msgid2 );</font></a><BR>594 : DBGetEntryByCount 及瑛絆[595 : <dl>596 : <dt>string result597 : <dd>SUCCESSFUL/FAILED598 : <dt>string list599 : <dd>請 伉旦玄[1巨件玄伉丐兇曰 "INDEX,RANK,KEY,SCORE,INFO" 及4蜊及樹 600 : 及賺匹丐曰}公木互蜊醒坌 "|" 匹勾卅互月[蜊醒互0及樺寧反601 : 塢 儂 [602 : <dt>int num603 : <dd>中仁勾午曰分允井[1卅日1蜊[2卅日2蜊[604 : <dt>int msgid ,msgid2605 : <dd>丟永本□斥ID. 606 : </dL>607 : */ if( strcmp( funcname , "DBGetEntryByCount" ) == 0 ){ char* result; char* list; char* table; int count_start; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); list = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); count_start = saacproto_demkstr_int( saacproto.token_list[5] ); msgid = saacproto_demkstr_int( saacproto.token_list[6] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[7] ); saacproto_DBGetEntryByCount_recv( fd,result,list,table,count_start,msgid,msgid2); return 0; }#ifdef _ALLDOMAN // (不可開) Syu ADD 排行榜NPC if ( strcmp( funcname , "UpdataStele" ) == 0 ) { char* token; token = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); saacproto_UpdataStele_recv( fd , token) ; return 0; } if ( strcmp( funcname , "S_UpdataStele" ) == 0 ) { char* ocdkey; char* oname; char* ncdkey; char* nname; char* title; int level; int trns; int floor; ocdkey = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); oname = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); ncdkey = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); nname = saacproto_wrapStringAddr( saacproto_stringwrapper[4] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[5] )); title = saacproto_wrapStringAddr( saacproto_stringwrapper[5] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[6] )); level = saacproto_demkstr_int( saacproto.token_list[7] ); trns = saacproto_demkstr_int( saacproto.token_li
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -