Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DlcProgressScreenController.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/screens/controllers/DlcProgressState.h"
8#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
9
10// auto generated forward declare list
11// clang-format off
12class DlcId;
13class IDlcBatchModel;
15namespace Json { class Value; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::IDlcBatchModel&> mDlcBatch;
23 ::ll::TypedStorage<4, 4, uint> mLastActiveImportIndex;
24 ::ll::TypedStorage<8, 64, ::std::function<void(bool, bool)>> mOnCompleteCallback;
25 ::ll::TypedStorage<1, 1, bool> mLeaveScreen;
26 ::ll::TypedStorage<1, 1, bool> mShowCloseButton;
27 ::ll::TypedStorage<1, 1, bool> mProcessingUpdates;
28 ::ll::TypedStorage<1, 1, bool> mDisableExitWhileInProgress;
29 ::ll::TypedStorage<8, 8, int64> mLastAudioProgressNotificationUpdate;
30 ::ll::TypedStorage<8, 8, int64 const> mProgressMessageInterval;
31 ::ll::TypedStorage<4, 4, ::DlcProgressState> mProgressState;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 DlcProgressScreenController& operator=(DlcProgressScreenController const&);
37 DlcProgressScreenController(DlcProgressScreenController const&);
38 DlcProgressScreenController();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual ~DlcProgressScreenController() /*override*/ = default;
44
45 virtual ::ui::DirtyFlag tick() /*override*/;
46
47 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
48
49 virtual bool canExit() /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
56 ::std::shared_ptr<::MainMenuScreenModel> model,
57 ::std::vector<::DlcId> const& dlcIds,
58 ::std::function<void(bool, bool)> callback,
59 bool showCloseButton,
60 bool processingUpdates,
61 bool disableExitWhileInProgress
62 );
63
64 MCNAPI ::std::string const _getImportProgress() const;
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCNAPI void* $ctor(
71 ::std::shared_ptr<::MainMenuScreenModel> model,
72 ::std::vector<::DlcId> const& dlcIds,
73 ::std::function<void(bool, bool)> callback,
74 bool showCloseButton,
75 bool processingUpdates,
76 bool disableExitWhileInProgress
77 );
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCNAPI ::ui::DirtyFlag $tick();
84
85 MCNAPI void $addStaticScreenVars(::Json::Value& globalVars);
86
87 MCNAPI bool $canExit();
88 // NOLINTEND
89};
Definition DlcId.h:5
Definition DlcProgressScreenController.h:5
MCAPI void $addStaticScreenVars(::Json::Value &globalVars)
MCAPI::std::string const _getImportProgress() const
MCAPI DlcProgressScreenController(::std::shared_ptr<::MainMenuScreenModel > model, ::std::vector<::DlcId > const &dlcIds, ::std::function< void(bool, bool)> callback, bool showCloseButton, bool processingUpdates, bool disableExitWhileInProgress)
MCAPI::ui::DirtyFlag $tick()
MCAPI void * $ctor(::std::shared_ptr<::MainMenuScreenModel > model, ::std::vector<::DlcId > const &dlcIds, ::std::function< void(bool, bool)> callback, bool showCloseButton, bool processingUpdates, bool disableExitWhileInProgress)
Definition IDlcBatchModel.h:5
Definition Value.h:16
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5