@@ -5702,7 +5702,7 @@ class GameLevelManager : cocos2d::CCNode {
57025702 GJChallengeDelegate* m_GJChallengeDelegate;
57035703 GJDailyLevelDelegate* m_GJDailyLevelDelegate;
57045704 OnlineListDelegate* m_onlineListDelegate;
5705- void * m_levelRateInfoDelegate;
5705+ LevelRateInfoDelegate * m_levelRateInfoDelegate;
57065706 SearchType m_searchType;
57075707 int m_mapPack;
57085708 gd::string m_tempSave;
@@ -7310,7 +7310,7 @@ class GJAssetDownloadAction {
73107310 int m_status;
73117311}
73127312
7313- [[link(android), depends(GJGameState), depends(PlayerButtonCommand)]]
7313+ [[link(android), depends(GJGameState), depends(PlayerButtonCommand), depends(RecordCheckpoint) ]]
73147314class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate {
73157315 GJBaseGameLayer() = win 0x2cfef0, m1 0xac9f4, imac 0xc01e0;
73167316 ~GJBaseGameLayer() = win 0x2057a0, m1 0xea680, imac 0x10ea70;
@@ -8073,10 +8073,10 @@ class GJBaseGameLayer : cocos2d::CCLayer, TriggerEffectDelegate {
80738073 int m_currentStep;
80748074 gd::vector<PlayerButtonCommand> m_queuedButtons;
80758075 gd::vector<PlayerButtonCommand> m_queuedRecordedButtons;
8076- gd::unordered_map<int, int > m_unk3330;
8076+ gd::unordered_map<int, RecordCheckpoint > m_unk3330;
80778077 int m_unk3370;
80788078 gd::vector<PlayerButtonCommand> m_queuedReplayButtons;
8079- gd::unordered_map<int, int > m_unk3390;
8079+ gd::unordered_map<int, RecordCheckpoint > m_unk3390;
80808080 gd::vector<void*> m_unk3340;
80818081 gd::vector<void*> m_unk3358;
80828082 int m_queuedRecordedButtonsSize;
@@ -9742,6 +9742,46 @@ class GJPurchaseDelegate {
97429742 virtual void didPurchaseItem(GJStoreItem* item) = inline;
97439743}
97449744
9745+ [[link(android)]]
9746+ class GJRateLevelLayer : SetupTriggerPopup, UploadPopupDelegate, UploadActionDelegate, LevelRateInfoDelegate, FLAlertLayerProtocol {
9747+ GJRateLevelLayer() = inline;
9748+ ~GJRateLevelLayer() = win inline;
9749+
9750+ virtual void keyBackClicked();
9751+ virtual void onClose(cocos2d::CCObject* sender);
9752+ virtual void onCustomButton(cocos2d::CCObject* sender);
9753+ virtual void uploadActionFinished(int id, int response);
9754+ virtual void uploadActionFailed(int id, int response);
9755+ virtual void onClosePopup(UploadActionPopup* popup);
9756+ virtual void rateInfoFinished(int id, gd::string info);
9757+ virtual void rateInfoFailed(int id, int response);
9758+ virtual void FLAlert_Clicked(FLAlertLayer* layer, bool btn2);
9759+
9760+ static GJRateLevelLayer* create(GJGameLevel* level);
9761+
9762+ void createStatPillar(int, int, int, cocos2d::ccColor3B, cocos2d::ccColor3B, cocos2d::CCPoint, gd::string);
9763+ CCMenuItemSpriteExtra* getStarsButton(int stars, cocos2d::SEL_MenuHandler selector, cocos2d::CCMenu* menu, float scale);
9764+ bool init(GJGameLevel* level);
9765+ void onFeature(cocos2d::CCObject* sender);
9766+ void onRate(cocos2d::CCObject* sender);
9767+ void onToggleCoins(cocos2d::CCObject* sender);
9768+ void selectRating(cocos2d::CCObject* sender);
9769+ void setupRateInfo(gd::string info);
9770+
9771+ GJGameLevel* m_level;
9772+ bool m_uploadFinished;
9773+ CCMenuItemSpriteExtra* m_submitButton;
9774+ cocos2d::CCArray* m_starButtons;
9775+ int m_stars;
9776+ bool m_coinsToggled;
9777+ cocos2d::CCSprite* m_coinSprite;
9778+ UploadActionPopup* m_uploadPopup;
9779+ GJDifficultySprite* m_difficultySprite;
9780+ GJFeatureState m_featureState;
9781+ LoadingCircle* m_loadingCircle;
9782+ cocos2d::CCPoint m_center;
9783+ }
9784+
97459785[[link(android)]]
97469786class GJRequestCell : TableViewCell, FLAlertLayerProtocol, UploadPopupDelegate, UploadActionDelegate {
97479787 GJRequestCell(char const* identifier, float width, float height) = win inline, ios inline, m1 0x1fcebc, imac 0x257670;
@@ -12392,6 +12432,12 @@ class LevelPage : cocos2d::CCLayer, DialogDelegate {
1239212432 cocos2d::CCSprite* m_secretDoor;
1239312433}
1239412434
12435+ [[link(android)]]
12436+ class LevelRateInfoDelegate {
12437+ virtual void rateInfoFinished(int id, gd::string info) = inline;
12438+ virtual void rateInfoFailed(int id, int response) = inline;
12439+ }
12440+
1239512441[[link(android)]]
1239612442class LevelSearchLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol, DemonFilterDelegate {
1239712443 LevelSearchLayer() = inline;
@@ -12632,7 +12678,7 @@ class LevelSettingsObject : cocos2d::CCNode {
1263212678 // property kA44
1263312679 int m_propertykA44;
1263412680 // property kA47
12635- int m_propertykA47 ;
12681+ int m_nextFreeID ;
1263612682 // property kA35
1263712683 bool m_resetCamera;
1263812684 // property kA36
0 commit comments