⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 itf_brewhall.h

📁 象棋框架
💻 H
字号:
#include "BrewDefine.h"
#include "global.h"

struct IBrewHall{
  virtual void setHallFrame(IBrewHallFrame *f) = 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 onSeatInfo(UINT16 gameId, UINT16 serverId, UINT8 roomId, UINT16 num, struct SeatItemStruct *cItem) = 0;
  virtual void onSitDown(UINT8 tableId, UINT8 seatId, UINT8 action, UINT8 retCode) = 0;
  virtual void onInviteUser(UINT16 num, struct InviteItemStruct *inviteItem) = 0;
  virtual void onChat(UINT16 num, struct ChatItemStruct *chatItem) = 0;
  virtual void onUserInfo(UINT8 ret, UINT16 num, struct UserItemStruct *uItem) = 0;
  virtual void onDisconnectGameServer(UINT8 retCode) = 0;
  virtual void onYouBack(UINT8 roomId, UINT8 tableId, UINT8 seatId) = 0;
  virtual void onTableUp(UINT8 tableId, UINT8 action) = 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;
};

IBrewHall *CreateBrewHall();

⌨️ 快捷键说明

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