LeviLamina
Loading...
Searching...
No Matches
LeaveLevelProgressScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/GameEventNotification.h"
8#include "mc/client/gui/SceneType.h"
9#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
10
11// auto generated forward declare list
12// clang-format off
14class ProgressHandler;
15namespace Json { class Value; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mNext;
23 ::ll::TypedStorage<1, 1, bool> mForceRenderBelow;
24 ::ll::TypedStorage<8, 32, ::std::string> mCalledFrom;
25 ::ll::TypedStorage<8, 8, int64> mLastAudioProgressNotificationUpdate;
26 ::ll::TypedStorage<8, 8, int64 const> mProgressMessageInterval;
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProgressHandler>> mProgressHandler;
28 ::ll::TypedStorage<8, 40, ::std::deque<::std::unique_ptr<::ProgressHandler>>> mProgressHandlerList;
29 ::ll::TypedStorage<1, 1, bool> mHasTicked;
30 ::ll::TypedStorage<1, 1, bool> mPostInitEventFired;
31 ::ll::TypedStorage<1, 1, bool> mRunStandaloneProgressHandler;
32 ::ll::TypedStorage<1, 1, bool> mShouldExitScreen;
33 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mEduCloudUploadFinishTime;
34 ::ll::TypedStorage<1, 1, bool> mEduCloudUploadTimerActive;
35 ::ll::TypedStorage<1, 1, bool> mEduCloudConflictPopupShown;
36 ::ll::TypedStorage<1, 1, bool> mQueueCloudDownload;
37 ::ll::TypedStorage<8, 8, int64> mLastSaved;
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
42 LeaveLevelProgressScreenController();
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 virtual ~LeaveLevelProgressScreenController() /*override*/;
48
49 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification notification) /*override*/;
50
51 virtual ::ui::DirtyFlag tick() /*override*/;
52
53 virtual ::std::string getAdditionalScreenInfo() const /*override*/;
54
55 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
56
57 virtual ::ui::SceneType getSceneType() const /*override*/;
58
59 virtual void onLeave() /*override*/;
60
61 virtual void onReload() /*override*/;
62
63 virtual ::std::string _getButtonADescription() /*override*/;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI LeaveLevelProgressScreenController(
70 ::std::shared_ptr<::MinecraftScreenModel> model,
71 ::std::string const& calledFrom,
72 ::std::deque<::std::unique_ptr<::ProgressHandler>> progressInterfaces,
73 bool loadAssets,
74 bool forceRenderBelow
75 );
76
77 MCAPI void _closeEduCloudConflictPopup();
78
79 MCAPI void _exitScreen();
80
81 MCAPI bool _exitingErrorScreen() const;
82
83 MCAPI void _registerControllerCallbacks();
84
85 MCAPI void _registerProgressBindings();
86
87 MCAPI void _setupProgressScreen(bool loadAssets);
88
89 MCFOLD void _showEduCloudConflictPopup();
90 // NOLINTEND
91
92public:
93 // constructor thunks
94 // NOLINTBEGIN
95 MCAPI void* $ctor(
96 ::std::shared_ptr<::MinecraftScreenModel> model,
97 ::std::string const& calledFrom,
98 ::std::deque<::std::unique_ptr<::ProgressHandler>> progressInterfaces,
99 bool loadAssets,
100 bool forceRenderBelow
101 );
102 // NOLINTEND
103
104public:
105 // destructor thunk
106 // NOLINTBEGIN
107 MCAPI void $dtor();
108 // NOLINTEND
109
110public:
111 // virtual function thunks
112 // NOLINTBEGIN
113 MCFOLD ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
114
115 MCAPI ::ui::DirtyFlag $tick();
116
117 MCFOLD ::std::string $getAdditionalScreenInfo() const;
118
119 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
120
121 MCFOLD ::ui::SceneType $getSceneType() const;
122
123 MCAPI void $onLeave();
124
125 MCAPI void $onReload();
126
127 MCFOLD ::std::string $_getButtonADescription();
128 // NOLINTEND
129
130public:
131 // vftables
132 // NOLINTBEGIN
134
135 MCNAPI static void** $vftableForScreenController();
136 // NOLINTEND
137};
Definition Value.h:16
Definition LeaveLevelProgressScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5