48 lines
1.2 KiB
C++
48 lines
1.2 KiB
C++
|
|
#ifndef _SUIArenaGameBingoBoardWnd_h_
|
|
#define _SUIArenaGameBingoBoardWnd_h_
|
|
|
|
//#include "SUIWnd.h"
|
|
//#include "Util.h"
|
|
//#include "SUIUtil.h"
|
|
|
|
struct sBingoBoard;
|
|
struct sDoubleEffect;
|
|
|
|
class SUIArenaGameBingoBoardWnd : public SUIWnd
|
|
{
|
|
public:
|
|
SUIArenaGameBingoBoardWnd(SGameManager* pGameManager);
|
|
virtual ~SUIArenaGameBingoBoardWnd();
|
|
virtual bool InitData( bool reload = false );
|
|
virtual void Process(DWORD dwTime);
|
|
virtual void ProcMsgAtStatic( SGameMessage* msg );
|
|
virtual void OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd = true );
|
|
|
|
private:
|
|
void initFp();
|
|
void initHideList();
|
|
void initDoubleEffect();
|
|
void createBingoBoard();
|
|
void syncPos();
|
|
void setStatus(int bingoManState, int bingoManIndex);
|
|
void setOpacity(bool opacity);
|
|
void setArenaJoinSituationByBingoCount(int bingoCount);
|
|
void setShowEmptyBingoPanel(bool show);
|
|
|
|
void procMsgBattleStatus(SGameMessage* msg);
|
|
void procMsgBattleInfo(SGameMessage* msg);
|
|
void procMsgMove(SGameMessage* msg);
|
|
void procMsgSendData(SGameMessage* msg);
|
|
|
|
private:
|
|
DWORD m_time;
|
|
sBingoBoard* m_bingoBoard;
|
|
sDoubleEffect* m_doubleEffect;
|
|
std::list<KUIWnd*> m_hideList;
|
|
cClassParamFuncP<SUIArenaGameBingoBoardWnd, SGameMessage*, int> m_msgFp;
|
|
};
|
|
|
|
|
|
#endif
|