public interface IGameLogicHandler
{
	void onLoginSuccess();

	void onLoginFail(string reason);

	void onConnectOK();

	void onConnectFail();

	void onDisconnect();

	void onRoomList(MyVector roomList);

	void onBoardList(sbyte roomID, MyVector boardList);

	void onJoinGameSuccess(int ownerID, int money, MyVector players, sbyte map);

	void onJoinGameFail(string reason);

	void onSomeOneJoinBoard(int seat, PlayerInfo joinPersonInfo);

	void onSomeOneLeaveBoard(int leave, int newOwner);

	void onSomeOneReady(int id, bool isReady);

	void onOwnerSetMoney(int money3);

	void onChatFromBoard(string text, int from);

	void onKicked(int kicked, string reason);

	void onStartGame(sbyte boardID6, sbyte roomID6, MyVector myCards, int whoMoveFirst, sbyte interval);

	void onMove(sbyte roomID7, sbyte boardID7, int whoMove, sbyte[] movedCards, int nextMove);

	void onForceLose(sbyte roomID8, sbyte boardID8, int whoLose);

	void onMoveAndWin(sbyte roomID9, sbyte boardID9, int whoWin, sbyte x1, sbyte y1);

	void onOpponentWantDraw(sbyte roomID10, sbyte boardID10);

	void onGameDraw(sbyte roomID11, sbyte boardID11);

	void onDenyDraw(sbyte roomID12, sbyte boardID12);

	void onWantLose(sbyte roomID13, sbyte boardID13, int whoLose2);

	void onRichestList(int page, MyVector richestList);

	void onStrongestList(int page, MyVector strongestList);

	void onRegisterInfo(string username, bool available, string smsPrefix, string sendTo);

	void onRegisterInfo2(string content, bool available, string sendTo);

	void onChargeMoneySms(string content, string sendTo);

	void onFriendList(MyVector friendList);

	void onClanMemberList(sbyte page, MyVector memberList);

	void onInviteList(MyVector inviteList);

	void onSearchResult(MyVector searchList);

	void onAddFriendResult(int addResult);

	void onDelFriendResult(int delResult);

	void onMatchResult(MyVector matchResult);

	void onChatFrom(MsgInfo msg);

	void onMyUserData(UserData userData);

	void onAvatar(AvatarInfo avi);

	void onPing();

	void onAvatarList(MyVector avs);

	void onBuyAvtarSuccess(short id);

	void onMoneyInfo(MyVector mni);

	void onServerMessage(string msg);

	void onServerInfo(string info);

	void onVersion(string info, string url);

	void onAdminCommandResponse(string responseText);

	void onSomeOneFinish(sbyte roomID10, sbyte boardID10, int whoFinish, sbyte finishPosition, int dMoney, int dExp);

	void onStopGame(sbyte roomID11, sbyte boardID11, int whoShowCards, sbyte[] cardsShow);

	void onMoveError(sbyte boardID19, sbyte roomID19, string info);

	void onSetMoneyError(string error);

	void onStartArmy(sbyte mapID, sbyte timeInterval, short[] playerX, short[] playerY);

	void onMoveArmy(sbyte whoMove, short x, short y);

	void onUpdateXY(sbyte whoUpdateXY, short x, short y);

	void onFireArmy(sbyte whoFire, sbyte type, short x, short y, short angle, sbyte force);

	void onUpdateHP(sbyte whoUpdateHP, short nextHP);

	void onNextTurn(sbyte whoNext);

	void onWind(sbyte wind);

	void onUseItem(int whoUse, sbyte item);

	void onChooseGun(int userID1, sbyte itemGun);

	void onMapChanged(sbyte map);

	void onChangeTeam(int playerID, sbyte side);

	void onBonusMoney(int whoBonus, int moneyBonus, int newMoney);

	void onURL(string info, string url, sbyte Auto);

	void onGetImage(short id, Image img);

	void onXepHanglist(sbyte type, sbyte page, MyVector v, string title);
}
