Skip to content

Commit

Permalink
Merge pull request #43 from DanTheMan827/dev/1.37
Browse files Browse the repository at this point in the history
1.37 Support
  • Loading branch information
NSGolova authored Jun 27, 2024
2 parents db42047 + 4d5d7c1 commit 3f7b740
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
6 changes: 3 additions & 3 deletions mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "NSGolova",
"version": "0.8.0",
"packageId": "com.beatgames.beatsaber",
"packageVersion": "1.35.0_8016709773",
"packageVersion": "1.37.0_9064817954",
"description": "beatleader.xyz | In-game leaderboards for custom and OST maps | Score replays | Clans, events, playlists and much more",
"coverImage": "cover.png",
"dependencies": [
Expand Down Expand Up @@ -41,9 +41,9 @@
"libbl.so"
],
"libraryFiles": [
"libbeatsaber-hook_5_1_6.so",
"libbeatsaber-hook_5_1_7.so",
"libsl2.so"
],
"fileCopies": [],
"copyExtensions": []
}
}
2 changes: 1 addition & 1 deletion mod.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "NSGolova",
"modloader": "Scotland2",
"packageId": "com.beatgames.beatsaber",
"packageVersion": "1.35.0_8016709773",
"packageVersion": "1.37.0_9064817954",
"coverImage": "cover.png",
"description": "beatleader.xyz | In-game leaderboards for custom and OST maps | Score replays | Clans, events, playlists and much more",
"modFiles": [],
Expand Down
14 changes: 7 additions & 7 deletions qpm.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": [
{
"id": "beatsaber-hook",
"versionRange": "^5.1.6",
"versionRange": "^5.1.7",
"additionalData": {
"extraFiles": [
"src/inline-hook"
Expand All @@ -31,12 +31,12 @@
},
{
"id": "bs-cordl",
"versionRange": "3500.*",
"versionRange": "3700.*",
"additionalData": {}
},
{
"id": "custom-types",
"versionRange": "^0.17.0",
"versionRange": "^0.17.8",
"additionalData": {}
},
{
Expand All @@ -61,7 +61,7 @@
},
{
"id": "songcore",
"versionRange": "^1.1.1",
"versionRange": "^1.1.13",
"additionalData": {}
},
{
Expand All @@ -71,7 +71,7 @@
},
{
"id": "bs-utils",
"versionRange": "^0.8.0",
"versionRange": "^0.8.2",
"additionalData": {}
},
{
Expand All @@ -81,8 +81,8 @@
},
{
"id": "bsml",
"versionRange": "^0.4.24",
"versionRange": "^0.4.34",
"additionalData": {}
}
]
}
}
4 changes: 2 additions & 2 deletions src/UI/LeaderboardUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
#include "GlobalNamespace/LeaderboardTableCell.hpp"
#include "GlobalNamespace/SinglePlayerLevelSelectionFlowCoordinator.hpp"
#include "GlobalNamespace/SoloFreePlayFlowCoordinator.hpp"
#include "GlobalNamespace/BoolSettingsController.hpp"
#include "GlobalNamespace/SwitchSettingsController.hpp"
#include "BGLib/Polyglot/LocalizedTextMeshProUGUI.hpp"

#include "TMPro/TMP_Sprite.hpp"
Expand Down Expand Up @@ -1275,7 +1275,7 @@ namespace LeaderboardUI {
GameObject* gameObject = Object::Instantiate(toggleCopy.ptr(), parent, false);
static ConstString nameTextName("NameText");
GameObject* nameText = gameObject->get_transform()->Find(nameTextName)->get_gameObject();
Object::Destroy(gameObject->GetComponent<GlobalNamespace::BoolSettingsController*>());
Object::Destroy(gameObject->GetComponent<GlobalNamespace::SwitchSettingsController*>());

static ConstString name("QuestUICheckboxSetting");
gameObject->set_name(name);
Expand Down
3 changes: 1 addition & 2 deletions src/UI/QuestUI.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#include "UI/QuestUI.hpp"

#include "GlobalNamespace/UIKeyboardManager.hpp"
#include "GlobalNamespace/BoolSettingsController.hpp"
#include "GlobalNamespace/FormattedFloatListSettingsValueController.hpp"
#include "GlobalNamespace/SwitchSettingsController.hpp"
#include "GlobalNamespace/ColorPickerButtonController.hpp"
#include "GlobalNamespace/HSVPanelController.hpp"
#include "GlobalNamespace/MenuShockwave.hpp"
Expand Down

0 comments on commit 3f7b740

Please sign in to comment.