itf_brewlogin.h

来自「象棋框架」· C头文件 代码 · 共 27 行

H
27
字号
#include "BrewDefine.h"
#include "global.h"

struct IBrewLogin{
  virtual void setLoginFrame(IBrewLoginFrame *f) = 0;
  virtual void onGetGameList(UINT16 num, struct GameItemStruct *gItem) = 0;
  virtual void onGetServerList(UINT16 gameId, UINT16 num, struct ServerItemStruct *sItem) = 0;
  virtual void onGetRoomList(UINT16 gameId, UINT16 serverId, UINT16 num, struct RoomItemStruct *rItem) = 0;
  virtual void onEnterRoom(UINT16 gameId, UINT16 serverId, UINT8 roomId, UINT8 retCode) = 0;
  virtual void onInviteUser(UINT16 num, struct InviteItemStruct *inviteItem) = 0;
  virtual void onChat(UINT16 num, struct ChatItemStruct *chatItem) = 0;
  virtual void onLoginUser(UINT8 retCode) = 0;
  virtual void onRegisterUser(UINT8 retCode) = 0;
  virtual void onConnectGameServer(boolean retFlag) = 0;
  virtual void onDisconnectGameServer(UINT8 retCode) = 0;
  virtual void onYouBack(UINT8 roomId, UINT8 tableId, UINT8 seatId) = 0;
  virtual void onStart() = 0;
  virtual void onStop() = 0;
  virtual void onSuspend() = 0;
  virtual void onResume() = 0;
  virtual void onPlay() = 0;
  virtual void onEvent(AEEEvent eCode, UINT16 wParam, UINT32 dwParam) = 0;
  virtual void Release() = 0;
};

IBrewLogin *CreateBrewLogin();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?