57 lines
1.5 KiB
C
57 lines
1.5 KiB
C
|
|
#pragma once
|
|||
|
|
|
|||
|
|
#include <stdio.h>
|
|||
|
|
#include <vector>
|
|||
|
|
#include <string>
|
|||
|
|
|
|||
|
|
#include "cocos2d.h"
|
|||
|
|
#include "ui/CocosGUI.h"
|
|||
|
|
#include "NN_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 NNPrivateEndNode : public cocos2d::Node
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
NNPrivateEndNode();
|
|||
|
|
~NNPrivateEndNode();
|
|||
|
|
|
|||
|
|
CREATE_FUNC(NNPrivateEndNode);
|
|||
|
|
virtual bool init(); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC>
|
|||
|
|
|
|||
|
|
// <20><><EFBFBD><EFBFBD>
|
|||
|
|
public:
|
|||
|
|
void ShowGameResult(NN_CMD_S_Private_End_Info* pNetInfo, GamePlayer* players[NN_GAME_PLAYER],
|
|||
|
|
bool bUnionScore, SCORE lGameGold, SCORE lScoreMultiple);
|
|||
|
|
void ShowGameResult(NN_CMD_S_Private_End_Info* pNetInfo, GamePlayer* players[NN_GAME_PLAYER],
|
|||
|
|
uint8 cbBaseScore);
|
|||
|
|
void ShowGameResult(NN_CMD_S_Private_End_Info* pNetInfo, GamePlayer* players[NN_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_PanelList; // <20><><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1>ؼ<EFBFBD>;
|
|||
|
|
//Layout* m_ListItem; // <20>б<EFBFBD><D0B1>ڵ<EFBFBD>;
|
|||
|
|
Node* m_pPlayNode[NN_GAME_PLAYER]; // <20><><EFBFBD>ҽ<EFBFBD><D2BD><EFBFBD><EFBFBD><EFBFBD>Ϣ
|
|||
|
|
};
|