LeviLamina
Loading...
Searching...
No Matches
ProgressScreenNavigation.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/ProgressContentType.h"
7#include "mc/client/gui/screens/OnlineSafetyDialogVisibility.h"
8#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10#include "mc/world/level/GameType.h"
11
12// auto generated forward declare list
13// clang-format off
14class ISceneStack;
15class ProgressHandler;
16class SceneFactory;
17namespace OreUI { class Router; }
18namespace World { struct RealmsJoinData; }
19// clang-format on
20
21namespace ui {
22
23class ProgressScreenNavigation : public ::Bedrock::EnableNonOwnerReferences {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 8, ::SceneFactory&> mSceneFactory;
28 ::ll::TypedStorage<8, 64, ::std::function<::Bedrock::NotNullNonOwnerPtr<::ISceneStack>()>> mGetSceneStack;
29 ::ll::TypedStorage<8, 8, ::OreUI::Router&> mRouter;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 ProgressScreenNavigation& operator=(ProgressScreenNavigation const&);
35 ProgressScreenNavigation(ProgressScreenNavigation const&);
36 ProgressScreenNavigation();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~ProgressScreenNavigation() /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI ProgressScreenNavigation(
48 ::SceneFactory& sceneFactory,
49 ::std::function<::Bedrock::NotNullNonOwnerPtr<::ISceneStack>()> getSceneStackCallback,
50 ::OreUI::Router& router
51 );
52
53 MCAPI void leaveProgressScreen();
54
55 MCAPI void navigateToJoinLanServerProgressScreen(
56 ::std::unique_ptr<::ProgressHandler> connectHandler,
57 ::OnlineSafetyDialogVisibility onlineSafetyDialogVisibility
58 );
59
60 MCAPI void navigateToJoinServerProgressScreen(
61 ::std::deque<::std::unique_ptr<::ProgressHandler>> connectHandlers,
62 bool allowSmallDownloads,
63 ::OnlineSafetyDialogVisibility onlineSafetyDialogVisibility
64 );
65
66 MCAPI void navigateToRealmsWarningScreen(::World::RealmsJoinData& realmsJoinData);
67
68 MCAPI void navigateToRealmsWorldProgressScreen(
69 ::std::unique_ptr<::ProgressHandler> connectHandler,
70 ::std::unique_ptr<::ProgressHandler> progressHandler,
71 bool isRealmsPlusExpired,
72 ::std::function<void()> onlineSafetyCancelledCallback
73 );
74
75 MCAPI void navigateToTimelineRequirementScreen(::std::string const& realmId);
76
77 MCAPI void pushProgressScreen(
78 ::std::string const& screenTitle,
79 ::std::string const& eventName,
80 ::ProgressContentType contentType,
81 ::GameType gameType
82 );
83 // NOLINTEND
84
85public:
86 // constructor thunks
87 // NOLINTBEGIN
88 MCAPI void* $ctor(
89 ::SceneFactory& sceneFactory,
90 ::std::function<::Bedrock::NotNullNonOwnerPtr<::ISceneStack>()> getSceneStackCallback,
91 ::OreUI::Router& router
92 );
93 // NOLINTEND
94
95public:
96 // destructor thunk
97 // NOLINTBEGIN
98 MCAPI void $dtor();
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCNAPI static void** $vftable();
105 // NOLINTEND
106};
107
108} // namespace ui
Definition ISceneStack.h:5
Definition Router.h:7
Definition ProgressHandler.h:5
Definition SceneFactory.h:5
Definition ProgressScreenNavigation.h:7
static MCAPI void ** $vftable()
Definition RealmsJoinData.h:7