3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/controllers/SettingsScreenControllerBase.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
20namespace Json {
class Value; }
26 enum class StartWorldCaller :
int {
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PlayScreenModel>> mPlayScreenModel;
36 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::WorldsClipboardScreenController>> mWorldsClipboardScreenController;
37 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::EduCloud::IEduCloudSaveSystem>> mEduCloudSaveSystem;
38 ::ll::TypedStorage<1, 1, bool> mManageActive;
39 ::ll::TypedStorage<1, 1, bool> mMatchedWorldsNeedsRefresh;
40 ::ll::TypedStorage<1, 1, bool> mPlaceholderSelected;
41 ::ll::TypedStorage<1, 1, bool> mChangingScreen;
42 ::ll::TypedStorage<1, 1, bool> mHandlingConflict;
43 ::ll::TypedStorage<1, 1, bool> mSkipNextFetch;
44 ::ll::TypedStorage<1, 1, bool> mWaitingOnWorldCloudChecks;
45 ::ll::TypedStorage<1, 1, bool> mWaitingOnSettingsCloudChecks;
46 ::ll::TypedStorage<8, 32, ::std::string> mSearchString;
47 ::ll::TypedStorage<8, 24, ::std::vector<uint64>> mMatchedWorlds;
48 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DlcUIWrapper>> mDlcUIWrapper;
49 ::ll::TypedStorage<8, 8, ::PackManagerContentSource*> mWorldContentSource;
50 ::ll::TypedStorage<8, 8, ::IContentManager&> mContentManager;
51 ::ll::TypedStorage<4, 4, int> mLastSelectedWorldIndex;
56 EDUWorldsScreenController& operator=(EDUWorldsScreenController
const&);
57 EDUWorldsScreenController(EDUWorldsScreenController
const&);
58 EDUWorldsScreenController();
63 virtual ~EDUWorldsScreenController() =
default;
65 virtual void onOpen() ;
67 virtual void onEntering() ;
69 virtual void onReload() ;
71 virtual void onTerminate() ;
73 virtual ::ui::DirtyFlag tick() ;
75 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
81 MCAPI
explicit EDUWorldsScreenController(::std::shared_ptr<::PlayScreenModel> model);
83 MCAPI
void _closeEduCloudConflictPopup(
bool keepLocal);
85 MCAPI
void _openWorldSettings(::std::string
const& levelId);
87 MCAPI
void _openWorldSettings(::LocalWorldInfo* worldInfo);
89 MCAPI
void _registerBindings();
91 MCAPI
void _registerControllerCallbacks();
93 MCAPI
void _registerEventHandlers();
95 MCAPI
void _registerSubControllers();
97 MCAPI
void _showEduCloudConflictPopup();
99 MCAPI
void _startWorld(::std::string
const& levelId, ::EDUWorldsScreenController::StartWorldCaller caller);
101 MCAPI
void _startWorld(::LocalWorldInfo* worldInfo, ::EDUWorldsScreenController::StartWorldCaller caller);
107 MCAPI
static uint64 _getTileIndex(::UIPropertyBag& bag);
113 MCAPI
void* $ctor(::std::shared_ptr<::PlayScreenModel> model);
119 MCAPI
void $onOpen();
121 MCAPI
void $onEntering();
123 MCAPI
void $onReload();
125 MCFOLD
void $onTerminate();
127 MCAPI ::ui::DirtyFlag $tick();
129 MCFOLD
void $addStaticScreenVars(::Json::Value& globalVars);
Definition DlcUIWrapper.h:5
Definition EDUWorldsScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition IContentManager.h:5
Definition PlayScreenModel.h:5
Definition SettingsScreenControllerBase.h:5
Definition UIPropertyBag.h:5
Definition WorldsClipboardScreenController.h:5
Definition IEduCloudSaveSystem.h:7
Definition LocalWorldInfo.h:5
Definition PackManagerContentSource.h:5