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*/ = default;
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 bool _exitingErrorScreen() const;
80
81 MCAPI ::std::chrono::milliseconds const _getEduCloudIsDoneInterval() const;
82
83 MCAPI void _showEduCloudConflictPopup();
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCAPI void* $ctor(
90 ::std::shared_ptr<::MinecraftScreenModel> model,
91 ::std::string const& calledFrom,
92 ::std::deque<::std::unique_ptr<::ProgressHandler>> progressInterfaces,
93 bool loadAssets,
94 bool forceRenderBelow
95 );
96 // NOLINTEND
97
98public:
99 // virtual function thunks
100 // NOLINTBEGIN
101 MCFOLD ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
102
103 MCAPI ::ui::DirtyFlag $tick();
104
105 MCAPI ::std::string $getAdditionalScreenInfo() const;
106
107 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
108
109 MCFOLD ::ui::SceneType $getSceneType() const;
110
111 MCAPI void $onLeave();
112
113 MCAPI void $onReload();
114
115 MCFOLD ::std::string $_getButtonADescription();
116 // NOLINTEND
117};
Definition Value.h:16
Definition LeaveLevelProgressScreenController.h:5
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5