#pragma once #include "TipNode.h" #include "PlatformHeader.h" #include "Singleton.h" #include "GamePlayer.h" USING_NS_CC; using namespace cocos2d::ui; #define IP_TABLE_PLAYER_COUNT 3 class IpTipScene : public TipNode, public Singleton { public: IpTipScene(); ~IpTipScene(); public: CREATE_FUNC(IpTipScene); virtual bool init(); void show(std::string aryNames[], std::string aryIps[], BYTE cbCount); void pushScene(); void hide(); private: ImageView* m_ImageViewBg; std::vector m_vecNickName; };