54 lines
1.4 KiB
C
54 lines
1.4 KiB
C
|
|
#pragma once
|
|||
|
|
|
|||
|
|
#include <stdio.h>
|
|||
|
|
#include <vector>
|
|||
|
|
#include <string>
|
|||
|
|
|
|||
|
|
#include "cocos2d.h"
|
|||
|
|
#include "ui/CocosGUI.h"
|
|||
|
|
#include "DZ_CMD.h"
|
|||
|
|
#include "GamePlayer.h"
|
|||
|
|
#include "Singleton.h"
|
|||
|
|
|
|||
|
|
USING_NS_CC;
|
|||
|
|
using namespace ui;
|
|||
|
|
|
|||
|
|
/************************************************************************/
|
|||
|
|
/* ע<><D7A2><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>ʹ<EFBFBD>õ<EFBFBD><C3B5>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼλ<CDBC><CEBB> */
|
|||
|
|
/************************************************************************/
|
|||
|
|
|
|||
|
|
class DZPrivateEndNode : public cocos2d::Node
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DZPrivateEndNode();
|
|||
|
|
~DZPrivateEndNode();
|
|||
|
|
|
|||
|
|
CREATE_FUNC(DZPrivateEndNode);
|
|||
|
|
virtual bool init(); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC>
|
|||
|
|
|
|||
|
|
// <20><><EFBFBD><EFBFBD>
|
|||
|
|
public:
|
|||
|
|
void ShowGameResult(DZ_CMD_S_Private_End_Info* pNetInfo, GamePlayer* players[DZ_GAME_PLAYER],
|
|||
|
|
bool bUnionScore, SCORE lGameGold, SCORE lScoreMultiple);
|
|||
|
|
void ShowGameResult(DZ_CMD_S_Private_End_Info* pNetInfo, GamePlayer* players[DZ_GAME_PLAYER],
|
|||
|
|
BYTE cbBaseScore);
|
|||
|
|
void ShowGameResult(DZ_CMD_S_Private_End_Info* pNetInfo, GamePlayer* players[DZ_GAME_PLAYER],
|
|||
|
|
CMD_GF_Private_Room_Info& RoomInfo, CMD_GF_Private_Score_Info& ScoreInfo);
|
|||
|
|
|
|||
|
|
void pushScene();
|
|||
|
|
void popScene();
|
|||
|
|
void SetRoomID(std::string strRoomID);
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
std::string getcurrTime();
|
|||
|
|
|
|||
|
|
// <20>ؼ<EFBFBD>
|
|||
|
|
public:
|
|||
|
|
ImageView* m_ImageViewBg; // <20><><EFBFBD>ڵ<EFBFBD>
|
|||
|
|
Button* m_btnleave; // <20>û<EFBFBD><C3BB>뿪
|
|||
|
|
Button* m_btnShow; // <20><><EFBFBD><EFBFBD>
|
|||
|
|
Text* m_txtRoomID; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
|
|||
|
|
Text* m_txtTime; // <20><>ǰʱ<C7B0><CAB1>;
|
|||
|
|
Layout* m_pPlayNode[DZ_GAME_PLAYER]; // <20><><EFBFBD>ҽ<EFBFBD><D2BD><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
|||
|
|
};
|