Skip to content

Commit 0517361

Browse files
committed
Fix LevelSearchLayer bindings
1 parent 4459b9c commit 0517361

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

bindings/2.2081/GeometryDash.bro

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3207,7 +3207,7 @@ class DemonFilterSelectLayer : FLAlertLayer {
32073207
DemonFilterSelectLayer() = inline;
32083208
~DemonFilterSelectLayer() = win inline, imac 0x62f1e0, m1 0x552198, ios 0x5716c;
32093209

3210-
static DemonFilterSelectLayer* create() = win inline, imac 0x62b890, m1 0x54eb90, ios 0x545a4;
3210+
static DemonFilterSelectLayer* create() = win inline, imac 0x62b8b0, m1 0x54ebb8, ios 0x545a4;
32113211

32123212
virtual bool init() = win 0x317950, imac 0x62f510, m1 0x5523bc, ios 0x57210;
32133213
virtual void keyBackClicked() = win 0x3180a0, imac 0x62faf0, m1 0x5529ac, ios 0x57770;
@@ -12469,17 +12469,17 @@ class LevelSearchLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtoc
1246912469

1247012470
bool checkDiff(int diff) = win 0x311e90, imac 0x62c790, m1 0x54fa24, ios 0x5507c;
1247112471
bool checkTime(int time) = win 0x312450, imac 0x62c890, m1 0x54fb3c, ios 0x55104;
12472-
void clearFilters() = win 0x30e790, imac 0x62bb00, m1 0x54edb0, ios 0x547f4;
12472+
void clearFilters() = win 0x30e790, imac 0x62bc40, m1 0x54eea8, ios 0x547f4;
1247312473
void confirmClearFilters(cocos2d::CCObject* sender) = win 0x30e670, imac 0x62a120, m1 0x54d408, ios 0x53090;
12474-
char const* getDiffKey(int diff) = win inline, imac 0x62b700, m1 0x54ea00, ios inline;
12475-
gd::string getLevelLenKey() = win inline, imac 0x62c5e0, m1 0x54f870, ios 0x54fc0;
12476-
gd::string getSearchDiffKey() = win inline, imac 0x62c220, m1 0x54f51c, ios 0x54ec8;
12477-
GJSearchObject* getSearchObject(SearchType type, gd::string query) = win 0x30fd80, imac 0x62c200, m1 0x54f508, ios 0x54c2c;
12474+
char const* getDiffKey(int diff) = win inline, imac 0x62b890, m1 0x54eb90, ios inline;
12475+
gd::string getLevelLenKey() = win inline, imac 0x62c6d0, m1 0x54f968, ios 0x54fc0;
12476+
gd::string getSearchDiffKey() = win inline, imac 0x62c5e0, m1 0x54f870, ios 0x54ec8;
12477+
GJSearchObject* getSearchObject(SearchType type, gd::string query) = win 0x30fd80, imac 0x62c220, m1 0x54f51c, ios 0x54c2c;
1247812478
char const* getTimeKey(int time) = win inline, imac 0x62c990, m1 0x54fc54, ios inline;
1247912479
bool init(int type) = win 0x30c190, imac 0x627a80, m1 0x54acc8, ios 0x513fc;
12480-
void onBack(cocos2d::CCObject* sender) = win 0x311bf0, imac 0x62b4b0, m1 0x54e790, ios 0x54340;
12480+
void onBack(cocos2d::CCObject* sender) = win 0x311bf0, imac 0x62b530, m1 0x54e824, ios 0x54340;
1248112481
void onClearFreeSearch(cocos2d::CCObject* sender) = win 0x311bb0, imac 0x62a890, m1 0x54db3c, ios 0x53728;
12482-
void onClose(cocos2d::CCObject* sender) = win inline, imac 0x62c190, m1 0x54f480, ios inline;
12482+
void onClose(cocos2d::CCObject* sender) = win inline, imac 0x62c200, m1 0x54f508, ios inline;
1248312483
void onFollowed(cocos2d::CCObject* sender) = win 0x3115b0, imac 0x62acb0, m1 0x54df7c, ios 0x53cd8;
1248412484
void onFriends(cocos2d::CCObject* sender) = win 0x3114f0, imac 0x62ad20, m1 0x54dfe8, ios 0x53d7c;
1248512485
void onLatestStars(cocos2d::CCObject* sender) = win 0x311430, imac 0x62ac40, m1 0x54df10, ios 0x53c34;
@@ -12493,15 +12493,15 @@ class LevelSearchLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtoc
1249312493
void onSearch(cocos2d::CCObject* sender) = win 0x311730, imac 0x62a5f0, m1 0x54d87c, ios 0x534a8;
1249412494
void onSearchMode(cocos2d::CCObject* sender) = win 0x30e520, imac 0x62a220, m1 0x54d504, ios 0x53160;
1249512495
void onSearchUser(cocos2d::CCObject* sender) = win 0x311970, imac 0x62a760, m1 0x54da04, ios 0x535ec;
12496-
void onSpecialDemon(cocos2d::CCObject* sender) = win 0x30e180, imac 0x62ae00, m1 0x54e0c0, ios 0x54150;
12497-
void onStarAward(cocos2d::CCObject* sender) = win inline, imac 0x62c6d0, m1 0x54f968, ios inline;
12496+
void onSpecialDemon(cocos2d::CCObject* sender) = win 0x30e180, imac 0x62b2e0, m1 0x54e5b0, ios 0x54150;
12497+
void onStarAward(cocos2d::CCObject* sender) = win 0x311670, imac 0x62ad90, m1 0x54e054, ios 0x53e20;
1249812498
void onSuggested(cocos2d::CCObject* sender) = win 0x311130, imac 0x62aa80, m1 0x54dd60, ios 0x539a4;
1249912499
void onTrending(cocos2d::CCObject* sender) = win 0x3111f0, imac 0x62aaf0, m1 0x54ddcc, ios 0x53a48;
12500-
void toggleDifficulty(cocos2d::CCObject* sender) = win 0x311f70, imac 0x62ad90, m1 0x54e054, ios 0x53ec4;
12501-
void toggleDifficultyNum(int diff, bool enabled) = win 0x3122d0, imac 0x62b530, m1 0x54e824, ios 0x54398;
12502-
void toggleStar(cocos2d::CCObject* sender) = win 0x311c60, imac 0x62b320, m1 0x54e5ec, ios 0x542ac;
12503-
void toggleTime(cocos2d::CCObject* sender) = win 0x312530, imac 0x62b2e0, m1 0x54e5b0, ios 0x5418c;
12504-
void toggleTimeNum(int time, bool enabled) = win 0x3126e0, imac 0x62b580, m1 0x54e87c, ios 0x54498;
12500+
void toggleDifficulty(cocos2d::CCObject* sender) = win 0x311f70, imac 0x62ae00, m1 0x54e0c0, ios 0x53ec4;
12501+
void toggleDifficultyNum(int diff, bool enabled) = win 0x3122d0, imac 0x62b580, m1 0x54e87c, ios 0x54398;
12502+
void toggleStar(cocos2d::CCObject* sender) = win 0x311c60, imac 0x62b4b0, m1 0x54e790, ios 0x542ac;
12503+
void toggleTime(cocos2d::CCObject* sender) = win 0x312530, imac 0x62b320, m1 0x54e5ec, ios 0x5418c;
12504+
void toggleTimeNum(int time, bool enabled) = win 0x3126e0, imac 0x62b700, m1 0x54ea00, ios 0x54498;
1250512505
void updateSearchLabel(char const* label) = win 0x30fa10, imac 0x62a270, m1 0x54d548, ios 0x532b4;
1250612506

1250712507
int m_type;
@@ -13211,7 +13211,7 @@ class MoreSearchLayer : FLAlertLayer, TextInputDelegate {
1321113211
MoreSearchLayer() = inline;
1321213212
~MoreSearchLayer() = win inline, imac 0x62ccc0, m1 0x54ff40, ios 0x553b4;
1321313213

13214-
static MoreSearchLayer* create() = win inline, imac 0x62bae0, m1 0x54eda8, ios 0x54744;
13214+
static MoreSearchLayer* create() = win inline, imac 0x62bb00, m1 0x54edb0, ios 0x54744;
1321513215

1321613216
virtual bool init() = win 0x312bd0, imac 0x62d030, m1 0x550180, ios 0x55478;
1321713217
virtual void keyBackClicked() = win 0x317940, imac 0x62f1b0, m1 0x55218c, ios 0x57160;

bindings/2.2081/inline/LevelSearchLayer.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ char const* LevelSearchLayer::getTimeKey(int time) {
2323
void LevelSearchLayer::onClose(cocos2d::CCObject* sender) {
2424
m_searchInput->onClickTrackNode(false);
2525
}
26-
27-
void LevelSearchLayer::onStarAward(cocos2d::CCObject* sender) {
28-
this->onClose(nullptr);
29-
cocos2d::CCDirector::sharedDirector()->pushScene(cocos2d::CCTransitionFade::create(.5f, LevelBrowserLayer::scene(this->getSearchObject(SearchType::Sends, ""))));
30-
}
3126
#endif
3227

3328
#if defined(GEODE_IS_WINDOWS)

bindings/include/Geode/Enums.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ enum class SearchType {
3838
Sent = 27,
3939
FeaturedLite = 28,
4040
Bonus = 29,
41+
StarAward = 30,
4142
MyLevels = 98,
4243
SavedLevels = 99,
4344
FavouriteLevels = 100,

0 commit comments

Comments
 (0)