#ifndef __LEVELINFOLAYER_H__ #define __LEVELINFOLAYER_H__ #include namespace gd { class GJGameLevel; class CCMenuItemSpriteExtra; class CCMenuItemToggler; class TextArea; class GDH_DLL EditLevelLayer : public cocos2d::CCLayer, public TextInputDelegate, public FLAlertLayerProtocol, public UploadActionDelegate, public UploadPopupDelegate, public SetIDPopupDelegate { public: cocos2d::CCMenu* m_pButtonMenu; GJGameLevel* m_pLevel; TextArea* m_pDescriptionInput; cocos2d::CCArray* m_pSomeArray; cocos2d::CCLabelBMFont* m_pSomeFont; static EditLevelLayer* create(gd::GJGameLevel* level) { return reinterpret_cast( base + 0x6f530 )(level); } static void scene(gd::GJGameLevel* level) { auto pScene = cocos2d::CCScene::create(); pScene->addChild(gd::EditLevelLayer::create(level)); cocos2d::CCDirector::sharedDirector()->replaceScene( cocos2d::CCTransitionFade::create(.5f, pScene) ); } }; class GDH_DLL LevelInfoLayer : public cocos2d::CCLayer, LevelDownloadDelegate, LevelUpdateDelegate, RateLevelDelegate, LikeItemDelegate, FLAlertLayerProtocol, LevelDeleteDelegate, NumberInputDelegate, SetIDPopupDelegate { public: PAD(0x4) cocos2d::CCMenu* m_pPlayBtnMenu; GJGameLevel* m_pLevel; cocos2d::CCArray* m_pUnknown; CCMenuItemSpriteExtra* m_pLikeBtn; CCMenuItemSpriteExtra* m_pStarRateBtn; CCMenuItemSpriteExtra* m_pDemonRateBtn; PAD(0x4) CCMenuItemToggler* m_pToggler; cocos2d::CCLabelBMFont* m_pLabel0; cocos2d::CCLabelBMFont* m_pLabel1; cocos2d::CCLabelBMFont* m_pLabel2; cocos2d::CCLabelBMFont* m_pLabel3; cocos2d::CCLabelBMFont* m_pLabel4; cocos2d::CCLabelBMFont* m_pLabel5; CCMenuItemSpriteExtra* m_pCloneBtn; PAD(0x4) public: static LevelInfoLayer* create(gd::GJGameLevel* level) { return reinterpret_cast( base + 0x175d50 )(level); } void onGarage(cocos2d::CCObject* pSender) { reinterpret_cast( base + 0x177c10 )(this, pSender); } }; } #endif