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 SceneFactory;
16struct ProgressHandler;
17namespace OreUI { struct Router; }
18// clang-format on
19
20namespace ui {
21
22class ProgressScreenNavigation : public ::Bedrock::EnableNonOwnerReferences {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 8, ::SceneFactory&> mSceneFactory;
27 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack>> mSceneStack;
28 ::ll::TypedStorage<8, 8, ::OreUI::Router&> mRouter;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 ProgressScreenNavigation& operator=(ProgressScreenNavigation const&);
34 ProgressScreenNavigation(ProgressScreenNavigation const&);
35 ProgressScreenNavigation();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~ProgressScreenNavigation() /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI void navigateToJoinServerProgressScreen(
47 ::std::unique_ptr<::ProgressHandler> connectHandler,
48 bool allowSmallDownloads,
49 ::OnlineSafetyDialogVisibility onlineSafetyDialogVisibility
50 );
51
52 MCAPI void navigateToRealmsWorldProgressScreen(
53 ::std::unique_ptr<::ProgressHandler> connectHandler,
54 ::std::unique_ptr<::ProgressHandler> progressHandler,
55 bool isRealmsPlusExpired,
56 ::std::function<void()> onlineSafetyCancelledCallback
57 );
58
59 MCAPI void navigateToTimelineRequirementScreen(::std::string const& realmId);
60
61 MCAPI void pushProgressScreen(
62 ::std::string const& screenTitle,
63 ::std::string const& eventName,
64 ::ProgressContentType contentType,
65 ::GameType gameType
66 );
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCAPI void $dtor();
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
81
82} // namespace ui
Definition ISceneStack.h:5
Definition SceneFactory.h:5
Definition ProgressScreenNavigation.h:7
static MCAPI void ** $vftable()
Definition Router.h:7
Definition ProgressHandler.h:5