| 1 | /*************************************************************************** |
| 2 | * Copyright (C) 2009 by The qGo Project * |
| 3 | * * |
| 4 | * This file is part of qGo. * |
| 5 | * * |
| 6 | * qGo is free software: you can redistribute it and/or modify * |
| 7 | * it under the terms of the GNU General Public License as published by * |
| 8 | * the Free Software Foundation; either version 2 of the License, or * |
| 9 | * (at your option) any later version. * |
| 10 | * * |
| 11 | * This program is distributed in the hope that it will be useful, * |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
| 14 | * GNU General Public License for more details. * |
| 15 | * * |
| 16 | * You should have received a copy of the GNU General Public License * |
| 17 | * along with this program; if not, see <http://www.gnu.org/licenses/> * |
| 18 | * or write to the Free Software Foundation, Inc., * |
| 19 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
| 20 | ***************************************************************************/ |
| 21 | |
| 22 | |
| 23 | #include <QtNetwork> |
| 24 | #include "networkconnection.h"cxx . . $ `<file>/src/network/networkconnection.h`/ |
| 25 | #include "messages.h"cxx . . $ `<file>/src/network/messages.h`/ |
| 26 | #include <vector> |
| 27 | |
| 28 | class BoardDispatchcxx . . $ BoardDispatch#; |
| 29 | class GameDialogDispatchcxx . . $ GameDialogDispatch#; |
| 30 | class TalkDispatchcxx . . $ TalkDispatch#; |
| 31 | class QuickConnectioncxx . . $ QuickConnection#; |
| 32 | |
| 33 | class CyberOroConnectioncxx . . $ CyberOroConnection# : public NetworkConnectioncxx . . $ NetworkConnection# |
| 34 | { |
| 35 | public: |
| 36 | CyberOroConnectioncxx . . $ CyberOroConnection#CyberOroConnection(231cf4fc7da7cd6f).(const ConnectionCredentialscxx . . $ ConnectionCredentials# credentials); |
| 37 | ~cxx . . $ CyberOroConnection#`~CyberOroConnection`(ced63f7c635d850d).CyberOroConnectioncxx . . $ CyberOroConnection#(); |
| 38 | virtual void sendTextcxx . . $ CyberOroConnection#sendText(7df51288a9ebd664).(QStringcxx . . $ QString# text); |
| 39 | virtual void sendTextcxx . . $ CyberOroConnection#sendText(85c52e162fed56f9).(const char * text); |
| 40 | virtual void sendDisconnectcxx . . $ CyberOroConnection#sendDisconnect(49f6e7a06ebc5aa8).(void); |
| 41 | virtual void sendMsgcxx . . $ CyberOroConnection#sendMsg(679a3afc1f0f3212).(unsigned int game_id, QStringcxx . . $ QString# text); |
| 42 | virtual void sendMsgcxx . . $ CyberOroConnection#sendMsg(c3abbc2f7b873519).(PlayerListingcxx . . $ PlayerListing# * player, QStringcxx . . $ QString# text); |
| 43 | virtual void sendTogglecxx . . $ CyberOroConnection#sendToggle(37c160c81b6367f7).(const QStringcxx . . $ QString# & param, bool val); |
| 44 | virtual void sendObservecxx . . $ CyberOroConnection#sendObserve(963dc8955d49573e).(const GameListingcxx . . $ GameListing# * game); |
| 45 | virtual void sendObserveOutsidecxx . . $ CyberOroConnection#sendObserveOutside(963dc8955d49573e).(const GameListingcxx . . $ GameListing# * game); |
| 46 | virtual void sendStatsRequestcxx . . $ CyberOroConnection#sendStatsRequest(cac334474c82cf3a).(const PlayerListingcxx . . $ PlayerListing# *) {} |
| 47 | virtual void sendPlayersRequestcxx . . $ CyberOroConnection#sendPlayersRequest(49f6e7a06ebc5aa8).(void) {} |
| 48 | virtual void sendGamesRequestcxx . . $ CyberOroConnection#sendGamesRequest(49f6e7a06ebc5aa8).(void) {} |
| 49 | virtual void sendMatchInvitecxx . . $ CyberOroConnection#sendMatchInvite(cac334474c82cf3a).(const PlayerListingcxx . . $ PlayerListing# * opponent); |
| 50 | virtual void adjournGamecxx . . $ CyberOroConnection#adjournGame(963dc8955d49573e).(const GameListingcxx . . $ GameListing# * game); |
| 51 | virtual void sendMovecxx . . $ CyberOroConnection#sendMove(74f2a753311a2adf).(unsigned int game_id, class MoveRecordcxx . . $ MoveRecord# * move); |
| 52 | virtual void sendRequestCountcxx . . $ CyberOroConnection#sendRequestCount(cb2f890c2fdad230).(unsigned int game_id); |
| 53 | virtual void sendRequestMatchModecxx . . $ CyberOroConnection#sendRequestMatchMode(cb2f890c2fdad230).(unsigned int game_id); |
| 54 | virtual void sendAcceptCountRequestcxx . . $ CyberOroConnection#sendAcceptCountRequest(53acbc9cc3152f0d).(class GameDatacxx . . $ GameData# * data); |
| 55 | virtual void sendRefuseCountRequestcxx . . $ CyberOroConnection#sendRefuseCountRequest(53acbc9cc3152f0d).(class GameDatacxx . . $ GameData# * data); |
| 56 | virtual void sendAcceptRequestMatchModecxx . . $ CyberOroConnection#sendAcceptRequestMatchMode(cb2f890c2fdad230).(unsigned int game_id); |
| 57 | virtual void sendDeclineRequestMatchModecxx . . $ CyberOroConnection#sendDeclineRequestMatchMode(cb2f890c2fdad230).(unsigned int game_id); |
| 58 | virtual void sendTimeLosscxx . . $ CyberOroConnection#sendTimeLoss(cb2f890c2fdad230).(unsigned int game_id); |
| 59 | virtual void sendMatchRequestcxx . . $ CyberOroConnection#sendMatchRequest(969a5d62d7a1bd6e).(class MatchRequestcxx . . $ MatchRequest# * mr); |
| 60 | virtual void sendRematchRequestcxx . . $ CyberOroConnection#sendRematchRequest(49f6e7a06ebc5aa8).(void); |
| 61 | virtual void sendRematchAcceptcxx . . $ CyberOroConnection#sendRematchAccept(49f6e7a06ebc5aa8).(void); |
| 62 | virtual void declineMatchOffercxx . . $ CyberOroConnection#declineMatchOffer(cac334474c82cf3a).(const PlayerListingcxx . . $ PlayerListing# * opponent); |
| 63 | virtual void cancelMatchOffercxx . . $ CyberOroConnection#cancelMatchOffer(cac334474c82cf3a).(const PlayerListingcxx . . $ PlayerListing# * opponent); |
| 64 | virtual void acceptMatchOffercxx . . $ CyberOroConnection#acceptMatchOffer(27875a747def42ce).(const PlayerListingcxx . . $ PlayerListing# * opponent, class MatchRequestcxx . . $ MatchRequest# * mr); |
| 65 | virtual void sendAdjournRequestcxx . . $ CyberOroConnection#sendAdjournRequest(49f6e7a06ebc5aa8).(void); |
| 66 | virtual void sendAdjourncxx . . $ CyberOroConnection#sendAdjourn(49f6e7a06ebc5aa8).(void); |
| 67 | virtual void sendRefuseAdjourncxx . . $ CyberOroConnection#sendRefuseAdjourn(49f6e7a06ebc5aa8).(void); |
| 68 | virtual void handlePendingDatacxx . . $ CyberOroConnection#handlePendingData(49f6e7a06ebc5aa8).(); |
| 69 | virtual void onReadycxx . . $ CyberOroConnection#onReady(49f6e7a06ebc5aa8).(void); |
| 70 | virtual void changeServercxx . . $ CyberOroConnection#changeServer(49f6e7a06ebc5aa8).(void); |
| 71 | virtual void createRoomcxx . . $ CyberOroConnection#createRoom(49f6e7a06ebc5aa8).(void); |
| 72 | virtual void sendCreateRoomcxx . . $ CyberOroConnection#sendCreateRoom(9db6e4897fed4acd).(class RoomCreatecxx . . $ RoomCreate# * room); |
| 73 | virtual void sendJoinRoomcxx . . $ CyberOroConnection#sendJoinRoom(27567cc4e87be946).(const RoomListingcxx . . $ RoomListing# & room, const char * password = 0); |
| 74 | |
| 75 | virtual char * sendRequestAccountInfocxx . . $ CyberOroConnection#sendRequestAccountInfo(f967802dd305bc07).(int * size, void * p); |
| 76 | virtual void handleAccountInfoMsgcxx . . $ CyberOroConnection#handleAccountInfoMsg(577809987ad7a468).(int size, char * msg); |
| 77 | |
| 78 | virtual void addFriendcxx . . $ CyberOroConnection#addFriend(122195e397f39e1b).(PlayerListingcxx . . $ PlayerListing# * player); |
| 79 | virtual void removeFriendcxx . . $ CyberOroConnection#removeFriend(122195e397f39e1b).(PlayerListingcxx . . $ PlayerListing# * player); |
| 80 | virtual char * sendAddFriendcxx . . $ CyberOroConnection#sendAddFriend(f967802dd305bc07).(int * size, void * p); |
| 81 | virtual void recvFriendResponsecxx . . $ CyberOroConnection#recvFriendResponse(577809987ad7a468).(int size, char * msg); |
| 82 | virtual char * sendRemoveFriendcxx . . $ CyberOroConnection#sendRemoveFriend(f967802dd305bc07).(int * size, void * p); |
| 83 | virtual void addBlockcxx . . $ CyberOroConnection#addBlock(122195e397f39e1b).(PlayerListingcxx . . $ PlayerListing# * player); |
| 84 | virtual void removeBlockcxx . . $ CyberOroConnection#removeBlock(122195e397f39e1b).(PlayerListingcxx . . $ PlayerListing# * player); |
| 85 | virtual char * sendAddBlockcxx . . $ CyberOroConnection#sendAddBlock(f967802dd305bc07).(int * size, void * p); |
| 86 | virtual char * sendRemoveBlockcxx . . $ CyberOroConnection#sendRemoveBlock(f967802dd305bc07).(int * size, void * p); |
| 87 | |
| 88 | virtual const PlayerListingcxx . . $ PlayerListing# * getOurListingcxx . . $ CyberOroConnection#getOurListing(c84291d55c8466c6).(void); |
| 89 | virtual unsigned short getRoomNumbercxx . . $ CyberOroConnection#getRoomNumber(32a7769d58713265).(void) { return room_were_incxx . . $ CyberOroConnection#room_were_in.; } |
| 90 | |
| 91 | virtual void closeBoardDispatchcxx . . $ CyberOroConnection#closeBoardDispatch(cb2f890c2fdad230).(unsigned int game_id); |
| 92 | |
| 93 | virtual int gd_verifyBoardSizecxx . . $ CyberOroConnection#gd_verifyBoardSize(7864480464b09eea).(int v); |
| 94 | virtual QTimecxx . . $ QTime# gd_checkMainTimecxx . . $ CyberOroConnection#gd_checkMainTime(71240b9f3410da6b).(TimeSystemcxx . . $ TimeSystem# s, const QTimecxx . . $ QTime# & t); |
| 95 | virtual QTimecxx . . $ QTime# gd_checkPeriodTimecxx . . $ CyberOroConnection#gd_checkPeriodTime(71240b9f3410da6b).(TimeSystemcxx . . $ TimeSystem# s, const QTimecxx . . $ QTime# & t); |
| 96 | virtual unsigned int gd_checkPeriodscxx . . $ CyberOroConnection#gd_checkPeriods(c827b1ce4ef0d032).(TimeSystemcxx . . $ TimeSystem# s, unsigned int p); |
| 97 | |
| 98 | virtual unsigned int rankToScorecxx . . $ CyberOroConnection#rankToScore(9d92bb507a34628c).(QStringcxx . . $ QString# rank); |
| 99 | virtual unsigned long getGameDialogFlagscxx . . $ CyberOroConnection#getGameDialogFlags(f708dce9a8856c70).(void); |
| 100 | virtual bool playerTrackingByIDcxx . . $ CyberOroConnection#playerTrackingByID(c9857a73d68e59ba).(void) { return true; } |
| 101 | virtual bool netWillEnterScoreModecxx . . $ CyberOroConnection#netWillEnterScoreMode(c9857a73d68e59ba).(void) { return true; } |
| 102 | virtual bool supportsMultipleUndocxx . . $ CyberOroConnection#supportsMultipleUndo(c9857a73d68e59ba).(void) { return true; } |
| 103 | virtual bool supportsRequestMatchModecxx . . $ CyberOroConnection#supportsRequestMatchMode(c9857a73d68e59ba).(void) { return true; } |
| 104 | virtual bool supportsRequestAdjourncxx . . $ CyberOroConnection#supportsRequestAdjourn(c9857a73d68e59ba).(void) { return true; } |
| 105 | virtual bool supportsRequestCountcxx . . $ CyberOroConnection#supportsRequestCount(c9857a73d68e59ba).(void) { return true; } |
| 106 | virtual bool supportsObserveOutsidecxx . . $ CyberOroConnection#supportsObserveOutside(c9857a73d68e59ba).(void) { return true; } |
| 107 | virtual bool supportsServerChangecxx . . $ CyberOroConnection#supportsServerChange(c9857a73d68e59ba).(void) { return true; } |
| 108 | virtual bool supportsRematchcxx . . $ CyberOroConnection#supportsRematch(c9857a73d68e59ba).(void) { return true; } |
| 109 | virtual bool supportsFriendListcxx . . $ CyberOroConnection#supportsFriendList(c9857a73d68e59ba).(void) { return true; } |
| 110 | virtual bool supportsBlockListcxx . . $ CyberOroConnection#supportsBlockList(c9857a73d68e59ba).(void) { return true; } |
| 111 | virtual unsigned long getPlayerListColumnscxx . . $ CyberOroConnection#getPlayerListColumns(f708dce9a8856c70).(void) { return PL_NOMATCHPREFScxx . . $ `src/network/networkconnection.h:230:11`!; } |
| 112 | virtual bool supportsCreateRoomcxx . . $ CyberOroConnection#supportsCreateRoom(c9857a73d68e59ba).(void) { return true; } |
| 113 | virtual void saveIfDoesntSavecxx . . $ CyberOroConnection#saveIfDoesntSave(53acbc9cc3152f0d).(GameDatacxx . . $ GameData# * data); |
| 114 | virtual unsigned long getRoomStructureFlagscxx . . $ CyberOroConnection#getRoomStructureFlags(f708dce9a8856c70).(void) { return (RS_NOROOMLISTcxx . . $ `src/network/networkconnection.h:234:11`! | RS_ONEROOMATATIMEcxx . . $ `src/network/networkconnection.h:237:11`! | RS_ONEGAMEPERROOMcxx . . $ `src/network/networkconnection.h:238:11`!); } |
| 115 | virtual const char * getCodecStringcxx . . $ CyberOroConnection#getCodecString(33a1f659e94feb42).(void); |
| 116 | virtual QStringcxx . . $ QString# getPlaceStringcxx . . $ CyberOroConnection#getPlaceString(4365c3963150523e).(void); |
| 117 | virtual void timerEventcxx . . $ CyberOroConnection#timerEvent(b9e57d1150f23bf5).(QTimerEventcxx . . $ QTimerEvent# * event); |
| 118 | private: |
| 119 | void handleServerListcxx . . $ CyberOroConnection#handleServerList(f25546b61a629de7).(unsigned char *msg); |
| 120 | int reconnectToServercxx . . $ CyberOroConnection#reconnectToServer(b126dc7c1de90089).(void); |
| 121 | void sendPersonalChatcxx . . $ CyberOroConnection#sendPersonalChat(7ed01115d689877).(const PlayerListingcxx . . $ PlayerListing# * player, const char * text); |
| 122 | void sendRoomChatcxx . . $ CyberOroConnection#sendRoomChat(85c52e162fed56f9).(const char * text); |
| 123 | friend class SetPhrasePalettecxx . . $ SetPhrasePalette#; |
| 124 | void sendServerChatcxx . . $ CyberOroConnection#sendServerChat(7df51288a9ebd664).(QStringcxx . . $ QString# text); |
| 125 | void requestAccountInfocxx . . $ CyberOroConnection#requestAccountInfo(49f6e7a06ebc5aa8).(void); |
| 126 | void sendLogincxx . . $ CyberOroConnection#sendLogin(49f6e7a06ebc5aa8).(void); |
| 127 | void sendSetChatMsgcxx . . $ CyberOroConnection#sendSetChatMsg(ed53e3bbd3fa2f69).(unsigned short phrase_id); |
| 128 | void sendObserveAfterJoiningcxx . . $ CyberOroConnection#sendObserveAfterJoining(963dc8955d49573e).(const GameListingcxx . . $ GameListing# * game); |
| 129 | void sendFinishObservingcxx . . $ CyberOroConnection#sendFinishObserving(963dc8955d49573e).(const GameListingcxx . . $ GameListing# * game); |
| 130 | void sendLeavecxx . . $ CyberOroConnection#sendLeave(963dc8955d49573e).(const GameListingcxx . . $ GameListing# *); |
| 131 | void sendGameUpdatecxx . . $ CyberOroConnection#sendGameUpdate(ed53e3bbd3fa2f69).(unsigned short game_code); |
| 132 | void sendKeepAlivecxx . . $ CyberOroConnection#sendKeepAlive(963dc8955d49573e).(const GameListingcxx . . $ GameListing# * game); |
| 133 | void sendRequestKeepAlivecxx . . $ CyberOroConnection#sendRequestKeepAlive(963dc8955d49573e).(const GameListingcxx . . $ GameListing# * game); |
| 134 | enum FriendsBlocksMsgTypecxx . . $ CyberOroConnection#FriendsBlocksMsgType# { fbm_addFriendcxx . . $ CyberOroConnection#fbm_addFriend., fbm_removeFriendcxx . . $ CyberOroConnection#fbm_removeFriend., fbm_addBlockcxx . . $ CyberOroConnection#fbm_addBlock., fbm_removeBlockcxx . . $ CyberOroConnection#fbm_removeBlock. }; |
| 135 | char * sendFriendsBlocksMsgcxx . . $ CyberOroConnection#sendFriendsBlocksMsg(fa1eb079735375ec).(int * size, void * p, enum FriendsBlocksMsgTypecxx . . $ CyberOroConnection#FriendsBlocksMsgType# f); |
| 136 | void sendMatchInvitecxx . . $ CyberOroConnection#sendMatchInvite(d77e65cb0d14bb16).(const PlayerListingcxx . . $ PlayerListing# * player, bool accepting); |
| 137 | void sendDeclineMatchInvitecxx . . $ CyberOroConnection#sendDeclineMatchInvite(cac334474c82cf3a).(const PlayerListingcxx . . $ PlayerListing# * player); |
| 138 | void sendDeclineMatchOffercxx . . $ CyberOroConnection#sendDeclineMatchOffer(cac334474c82cf3a).(const PlayerListingcxx . . $ PlayerListing# * player); |
| 139 | void sendMatchOfferPendingcxx . . $ CyberOroConnection#sendMatchOfferPending(cac334474c82cf3a).(const PlayerListingcxx . . $ PlayerListing# * player); |
| 140 | void sendMatchOfferCancelcxx . . $ CyberOroConnection#sendMatchOfferCancel(cac334474c82cf3a).(const PlayerListingcxx . . $ PlayerListing# * player); |
| 141 | void sendMatchOffercxx . . $ CyberOroConnection#sendMatchOffer(9a796e385859106a).(const MatchRequestcxx . . $ MatchRequest# & mr, bool offercounteroffer = false); |
| 142 | void sendInvitationSettingscxx . . $ CyberOroConnection#sendInvitationSettings(b45ddcbc8423892c).(bool invite); |
| 143 | void sendUndocxx . . $ CyberOroConnection#sendUndo(b8a9826dc1a717e6).(unsigned int game_code, const MoveRecordcxx . . $ MoveRecord# * move); |
| 144 | void sendDeclineUndocxx . . $ CyberOroConnection#sendDeclineUndo(b8a9826dc1a717e6).(unsigned int game_code, const MoveRecordcxx . . $ MoveRecord# * move); |
| 145 | void sendAcceptUndocxx . . $ CyberOroConnection#sendAcceptUndo(b8a9826dc1a717e6).(unsigned int game_code, const MoveRecordcxx . . $ MoveRecord# * move); |
| 146 | void sendRemoveStonescxx . . $ CyberOroConnection#sendRemoveStones(b8a9826dc1a717e6).(unsigned int game_code, const MoveRecordcxx . . $ MoveRecord# * move); |
| 147 | void sendEndgame12Msgcxx . . $ CyberOroConnection#sendEndgame12Msg(272d193675e92631).(unsigned int game_id, unsigned short msg_code); |
| 148 | void sendEnterScoringcxx . . $ CyberOroConnection#sendEnterScoring(cb2f890c2fdad230).(unsigned int game_code); |
| 149 | void sendDoneScoringcxx . . $ CyberOroConnection#sendDoneScoring(272d193675e92631).(unsigned int game_id, unsigned short opp_id); |
| 150 | void sendResigncxx . . $ CyberOroConnection#sendResign(cb2f890c2fdad230).(unsigned int game_code); |
| 151 | void sendMatchResultcxx . . $ CyberOroConnection#sendMatchResult(ed53e3bbd3fa2f69).(unsigned short game_code); |
| 152 | void sendNigiricxx . . $ CyberOroConnection#sendNigiri(aa266def8759b091).(unsigned short game_code, bool odd); |
| 153 | void sendDisconnectMsgcxx . . $ CyberOroConnection#sendDisconnectMsg(49f6e7a06ebc5aa8).(void); |
| 154 | void sendChallengeResponsecxx . . $ CyberOroConnection#sendChallengeResponse(49f6e7a06ebc5aa8).(void); |
| 155 | void encodecxx . . $ CyberOroConnection#encode(e1e8b00c42c42532).(unsigned char * h, unsigned int cycle_size); |
| 156 | void handleMessagecxx . . $ CyberOroConnection#handleMessage(7df51288a9ebd664).(QStringcxx . . $ QString# msg); |
| 157 | void handleMessagecxx . . $ CyberOroConnection#handleMessage(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 158 | void handleCodeTablecxx . . $ CyberOroConnection#handleCodeTable(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 159 | void handleConnectedcxx . . $ CyberOroConnection#handleConnected(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 160 | void handlePlayerListcxx . . $ CyberOroConnection#handlePlayerList(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 161 | QStringcxx . . $ QString# rating_pointsToRankcxx . . $ CyberOroConnection#rating_pointsToRank(538777a873a4ab5d).(unsigned int rp); |
| 162 | QStringcxx . . $ QString# getCountryFromCodecxx . . $ CyberOroConnection#getCountryFromCode(e76153c3c184c917).(unsigned char code); |
| 163 | void handleRoomListcxx . . $ CyberOroConnection#handleRoomList(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 164 | void handleBroadcastGamesListcxx . . $ CyberOroConnection#handleBroadcastGamesList(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 165 | int getPhasecxx . . $ CyberOroConnection#getPhase(b27dbea426b7b93).(unsigned char byte); |
| 166 | QStringcxx . . $ QString# getRoomTagcxx . . $ CyberOroConnection#getRoomTag(e76153c3c184c917).(unsigned char byte); |
| 167 | void handleGamesListcxx . . $ CyberOroConnection#handleGamesList(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 168 | void handlePlayerConnectcxx . . $ CyberOroConnection#handlePlayerConnect(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 169 | void handlePlayerRoomJoincxx . . $ CyberOroConnection#handlePlayerRoomJoin(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 170 | void removeObserverFromGameListingcxx . . $ CyberOroConnection#removeObserverFromGameListing(cac334474c82cf3a).(const PlayerListingcxx . . $ PlayerListing# * p); |
| 171 | void handlePlayerDisconnect2cxx . . $ CyberOroConnection#handlePlayerDisconnect2(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 172 | void handleServerAnnouncementcxx . . $ CyberOroConnection#handleServerAnnouncement(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 173 | void handleServerAnnouncementwithLinkcxx . . $ CyberOroConnection#handleServerAnnouncementwithLink(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 174 | void handleServerRoomChatcxx . . $ CyberOroConnection#handleServerRoomChat(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 175 | void handlePersonalChatcxx . . $ CyberOroConnection#handlePersonalChat(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 176 | void handleRoomChatcxx . . $ CyberOroConnection#handleRoomChat(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 177 | void handleSetPhraseChatMsgcxx . . $ CyberOroConnection#handleSetPhraseChatMsg(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 178 | void handleNewGamecxx . . $ CyberOroConnection#handleNewGame(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 179 | void handleGameEndedcxx . . $ CyberOroConnection#handleGameEnded(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 180 | void handleNewRoomcxx . . $ CyberOroConnection#handleNewRoom(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 181 | void handleGameMsgcxx . . $ CyberOroConnection#handleGameMsg(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 182 | void handleBettingMatchStartcxx . . $ CyberOroConnection#handleBettingMatchStart(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 183 | void handleBettingMatchResultcxx . . $ CyberOroConnection#handleBettingMatchResult(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 184 | void handleRequestCountcxx . . $ CyberOroConnection#handleRequestCount(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 185 | void handleAcceptCountRequestcxx . . $ CyberOroConnection#handleAcceptCountRequest(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 186 | void handleRejectCountRequestcxx . . $ CyberOroConnection#handleRejectCountRequest(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 187 | void handleRequestMatchModecxx . . $ CyberOroConnection#handleRequestMatchMode(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 188 | void handleRejectMatchModeRequestcxx . . $ CyberOroConnection#handleRejectMatchModeRequest(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 189 | void handleTimeLosscxx . . $ CyberOroConnection#handleTimeLoss(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 190 | void handleMovecxx . . $ CyberOroConnection#handleMove(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 191 | void handleUndocxx . . $ CyberOroConnection#handleUndo(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 192 | void handleDeclineUndocxx . . $ CyberOroConnection#handleDeclineUndo(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 193 | void handleAcceptUndocxx . . $ CyberOroConnection#handleAcceptUndo(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 194 | void handleMoveListcxx . . $ CyberOroConnection#handleMoveList(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 195 | void handleMoveList2cxx . . $ CyberOroConnection#handleMoveList2(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 196 | void handleObserverListcxx . . $ CyberOroConnection#handleObserverList(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 197 | void handleMatchOpenedcxx . . $ CyberOroConnection#handleMatchOpened(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 198 | void addObserverListToBoardcxx . . $ CyberOroConnection#addObserverListToBoard(f9aae4eee533680e).(BoardDispatchcxx . . $ BoardDispatch# * boarddispatch); |
| 199 | void handleResumeMatchcxx . . $ CyberOroConnection#handleResumeMatch(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 200 | void handleObserveAfterJoiningcxx . . $ CyberOroConnection#handleObserveAfterJoining(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 201 | void handleInvitationSettingscxx . . $ CyberOroConnection#handleInvitationSettings(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 202 | QStringcxx . . $ QString# getStatusFromCodecxx . . $ CyberOroConnection#getStatusFromCode(31cb2f216a834e82).(unsigned char code, QStringcxx . . $ QString# rank); |
| 203 | int compareRankscxx . . $ CyberOroConnection#compareRanks(cf8c7f074bbf9512).(QStringcxx . . $ QString# rankA, QStringcxx . . $ QString# rankB); |
| 204 | void handleCreateRoomcxx . . $ CyberOroConnection#handleCreateRoom(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 205 | void handleAdjournRequestcxx . . $ CyberOroConnection#handleAdjournRequest(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 206 | void handleAdjournDeclinecxx . . $ CyberOroConnection#handleAdjournDecline(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 207 | void handleAdjourncxx . . $ CyberOroConnection#handleAdjourn(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 208 | void handleMatchInvitecxx . . $ CyberOroConnection#handleMatchInvite(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 209 | void handleMatchOffercxx . . $ CyberOroConnection#handleMatchOffer(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 210 | void handleRematchRequestcxx . . $ CyberOroConnection#handleRematchRequest(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 211 | void handleRematchAcceptcxx . . $ CyberOroConnection#handleRematchAccept(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 212 | void handleMatchDeclinecxx . . $ CyberOroConnection#handleMatchDecline(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 213 | void handleAcceptMatchInvitecxx . . $ CyberOroConnection#handleAcceptMatchInvite(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 214 | void handleDeclineMatchInvitecxx . . $ CyberOroConnection#handleDeclineMatchInvite(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 215 | void handleMatchOfferPendingcxx . . $ CyberOroConnection#handleMatchOfferPending(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 216 | void handleResigncxx . . $ CyberOroConnection#handleResign(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 217 | void handleEnterScoringcxx . . $ CyberOroConnection#handleEnterScoring(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 218 | void handleRemoveStonescxx . . $ CyberOroConnection#handleRemoveStones(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 219 | void handleStonesDonecxx . . $ CyberOroConnection#handleStonesDone(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 220 | void handleScorecxx . . $ CyberOroConnection#handleScore(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 221 | void handleGamePhaseUpdatecxx . . $ CyberOroConnection#handleGamePhaseUpdate(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 222 | void handleMsg3cxx . . $ CyberOroConnection#handleMsg3(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 223 | void handleFriendscxx . . $ CyberOroConnection#handleFriends(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 224 | void handleMsg2cxx . . $ CyberOroConnection#handleMsg2(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 225 | void handleNigiricxx . . $ CyberOroConnection#handleNigiri(e1e8b00c42c42532).(unsigned char * msg, unsigned int size); |
| 226 | int time_to_secondscxx . . $ CyberOroConnection#time_to_seconds(645d6210e0be3a78).(const QStringcxx . . $ QString# & time); |
| 227 | void killActiveMatchTimerscxx . . $ CyberOroConnection#killActiveMatchTimers(49f6e7a06ebc5aa8).(void); |
| 228 | void startMatchTimerscxx . . $ CyberOroConnection#startMatchTimers(b45ddcbc8423892c).(bool ourTurn); |
| 229 | void setRoomNumbercxx . . $ CyberOroConnection#setRoomNumber(ed53e3bbd3fa2f69).(unsigned short number); |
| 230 | void setAttachedGamecxx . . $ CyberOroConnection#setAttachedGame(b9f1593580940ebc).(PlayerListingcxx . . $ PlayerListing# * const player, unsigned short game_id); |
| 231 | |
| 232 | /* We should really just have the player listing for ourself FIXME */ |
| 233 | unsigned short our_player_idcxx . . $ CyberOroConnection#our_player_id.; |
| 234 | unsigned char our_special_bytecxx . . $ CyberOroConnection#our_special_byte.; |
| 235 | QTextCodeccxx . . $ QTextCodec# * textCodeccxx . . $ CyberOroConnection#textCodec.; |
| 236 | QTextCodeccxx . . $ QTextCodec# * serverCodeccxx . . $ CyberOroConnection#serverCodec.; |
| 237 | class SetPhrasePalettecxx . . $ SetPhrasePalette# * setphrasepalettecxx . . $ CyberOroConnection#setphrasepalette.; |
| 238 | /* FIXME */ |
| 239 | stdcxx . . $ std/::vectorcxx . . $ std/vector# <class ServerItemcxx . . $ ServerItem# *> serverListcxx . . $ CyberOroConnection#serverList.; |
| 240 | int current_server_indexcxx . . $ CyberOroConnection#current_server_index.; |
| 241 | unsigned char * challenge_responsecxx . . $ CyberOroConnection#challenge_response.; |
| 242 | unsigned char * codetablecxx . . $ CyberOroConnection#codetable.; |
| 243 | unsigned int codetable_IVcxx . . $ CyberOroConnection#codetable_IV., codetable_IV2cxx . . $ CyberOroConnection#codetable_IV2.; |
| 244 | |
| 245 | QuickConnectioncxx . . $ QuickConnection# * metaserverQCcxx . . $ CyberOroConnection#metaserverQC.; |
| 246 | |
| 247 | /* Since 0a7d comes before 1a81 and one has the number for human |
| 248 | * consumption and the other the game_code necessary for joining, |
| 249 | * etc., we'll just combine them both at 1a81, checking names */ |
| 250 | stdcxx . . $ std/::vectorcxx . . $ std/vector# <GameListingcxx . . $ GameListing# *> rooms_without_ownerscxx . . $ CyberOroConnection#rooms_without_owners.; |
| 251 | stdcxx . . $ std/::mapcxx . . $ std/map# <unsigned short, unsigned short> game_code_to_numbercxx . . $ CyberOroConnection#game_code_to_number.; |
| 252 | unsigned short playerlist_skipnumbercxx . . $ CyberOroConnection#playerlist_skipnumber.; |
| 253 | unsigned short playerlist_receivedcxx . . $ CyberOroConnection#playerlist_received.; |
| 254 | unsigned short playerlist_roomnumbercxx . . $ CyberOroConnection#playerlist_roomnumber.; |
| 255 | unsigned short playerlist_observernumbercxx . . $ CyberOroConnection#playerlist_observernumber.; |
| 256 | unsigned short roomlist_observerscxx . . $ CyberOroConnection#roomlist_observers.; |
| 257 | stdcxx . . $ std/::vectorcxx . . $ std/vector# <PlayerListingcxx . . $ PlayerListing# *> playerlist_inordercxx . . $ CyberOroConnection#playerlist_inorder.; |
| 258 | |
| 259 | unsigned short room_were_incxx . . $ CyberOroConnection#room_were_in.; |
| 260 | unsigned short connecting_to_game_numbercxx . . $ CyberOroConnection#connecting_to_game_number.; //awkward FIXME |
| 261 | |
| 262 | bool we_send_nigiricxx . . $ CyberOroConnection#we_send_nigiri.; |
| 263 | |
| 264 | |
| 265 | int matchKeepAliveTimerIDcxx . . $ CyberOroConnection#matchKeepAliveTimerID., matchRequestKeepAliveTimerIDcxx . . $ CyberOroConnection#matchRequestKeepAliveTimerID.; |
| 266 | stdcxx . . $ std/::vectorcxx . . $ std/vector# <MoveRecordcxx . . $ MoveRecord#> deadStonesListcxx . . $ CyberOroConnection#deadStonesList.; |
| 267 | |
| 268 | virtual void OnConnectedcxx . . $ CyberOroConnection#OnConnected(49f6e7a06ebc5aa8).(); |
| 269 | }; |