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 ::std::chrono::milliseconds const _getEduCloudIsDoneInterval() const;
84
85 MCAPI ::std::string const _getErrorCode() const;
86
87 MCAPI void _registerControllerCallbacks();
88
89 MCAPI void _registerEventHandlers();
90
91 MCAPI void _registerProgressBindings();
92
93 MCFOLD void _showEduCloudConflictPopup();
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
99 MCAPI void* $ctor(
100 ::std::shared_ptr<::MinecraftScreenModel> model,
101 ::std::string const& calledFrom,
102 ::std::deque<::std::unique_ptr<::ProgressHandler>> progressInterfaces,
103 bool loadAssets,
104 bool forceRenderBelow
105 );
106 // NOLINTEND
107
108public:
109 // destructor thunk
110 // NOLINTBEGIN
111 MCAPI void $dtor();
112 // NOLINTEND
113
114public:
115 // virtual function thunks
116 // NOLINTBEGIN
117 MCFOLD ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
118
119 MCAPI ::ui::DirtyFlag $tick();
120
121 MCFOLD ::std::string $getAdditionalScreenInfo() const;
122
123 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
124
125 MCFOLD ::ui::SceneType $getSceneType() const;
126
127 MCAPI void $onLeave();
128
129 MCAPI void $onReload();
130
131 MCFOLD ::std::string $_getButtonADescription();
132 // NOLINTEND
133
134public:
135 // vftables
136 // NOLINTBEGIN
138
139 MCNAPI static void** $vftableForScreenController();
140 // NOLINTEND
141};
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