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

📄 itf_brewgame.h

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

struct IBrewGame{
  virtual void setGameFrame(IBrewGameFrame *f) = 0;
  virtual UINT16 getCurrentGameId() = 0;
  virtual void onSitDown(UINT8 tableId, UINT8 seatId, UINT8 action, UINT8 retCode) = 0;
  virtual void onUserInfo(UINT8 ret, UINT16 num, struct UserItemStruct *uItem) = 0;
  virtual void onInviteUser(UINT16 num, struct InviteItemStruct *inviteItem) = 0;
  virtual void onChat(UINT16 num, struct ChatItemStruct *chatItem) = 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 onPackage(IMessageReader *mReader) = 0;
  virtual void onEvent(AEEEvent eCode, UINT16 wParam, UINT32 dwParam) = 0;
  virtual void Release() = 0;
};

IBrewGame *CreateBrewGame();

⌨️ 快捷键说明

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