ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
LevelSelection.hpp
1#pragma once
2
3#include "../../CP_SDK/Utils/Il2cpp.hpp"
4#include "../../CP_SDK/Utils/MonoPtr.hpp"
5
6#include <custom-types/shared/coroutine.hpp>
7
8#include <GlobalNamespace/CustomPreviewBeatmapLevel.hpp>
9#include <GlobalNamespace/LevelSelectionNavigationController.hpp>
10#include <GlobalNamespace/LevelSearchViewController.hpp>
11
12namespace CP_SDK_BS::Game {
13
14 namespace _u
15 {
16 using namespace GlobalNamespace;
17 }
18 namespace _v
19 {
20 using namespace CP_SDK::Utils;
21 }
22
25 {
26 CP_SDK_NO_DEF_CTORS(LevelSelection);
27
28 private:
29 static _v::MonoPtr<_u::CustomPreviewBeatmapLevel> m_PendingFilterSong;
30 static bool m_PreventLevelSearchViewController_didStartLoadingEvent;
31
32 public:
35 static bool FilterToSpecificSong(_u::CustomPreviewBeatmapLevel* p_SongToFilter);
36
37 public:
40 static void LevelSelectionNavigationController_didActivateEvent(_u::LevelSelectionNavigationController* p_LevelSelectionNavigationController);
41
42 private:
45 static custom_types::Helpers::Coroutine LevelSelection_SelectLevelCategory(_u::LevelSelectionNavigationController* p_LevelSelectionNavigationController);
49 static custom_types::Helpers::Coroutine LevelSelection_FilterLevel(_u::LevelSearchViewController* p_LevelSearchViewController, bool p_Wait);
50
51 public:
54 static void LevelSearchViewController_didStartLoadingEvent(_u::LevelSearchViewController* p_LevelSearchViewController);
55
56 };
57
58}
59
static void LevelSelectionNavigationController_didActivateEvent(_u::LevelSelectionNavigationController *p_LevelSelectionNavigationController)
Change current song view to all songs view.
static void LevelSearchViewController_didStartLoadingEvent(_u::LevelSearchViewController *p_LevelSearchViewController)
LevelSearchViewController didStartLoadingEvent.
static bool FilterToSpecificSong(_u::CustomPreviewBeatmapLevel *p_SongToFilter)
Filter to specific song.
Various platform utils like Delegate/Action/Function/Event system.
Definition Delegate.hpp:8
Game specific helper and utilities.
Definition MapDetail.hpp:12