3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
8#include "mc/client/gui/screens/controllers/edu_screen_helpers/InstanceType.h"
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PlayScreenModel>> mPlayScreenModel;
23 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::LibraryCollection>> mLibraryCollection;
24 ::ll::TypedStorage<1, 1, bool> mScreenNeedsRefresh;
25 ::ll::TypedStorage<8, 32, ::std::string> mSearchString;
26 ::ll::TypedStorage<8, 24, ::std::vector<uint64>> mMatchedTemplates;
27 ::ll::TypedStorage<8, 8, uint64> mLocalTemplateCount;
32 EDUWorldTemplatesScreenController();
37 virtual ~EDUWorldTemplatesScreenController() ;
39 virtual void onOpen() ;
41 virtual ::ui::DirtyFlag tick() ;
47 MCAPI
explicit EDUWorldTemplatesScreenController(::std::shared_ptr<::PlayScreenModel> model);
49 MCAPI
void _createOrDeleteTemplate(::UIPropertyBag& bag, ::EDUScreenHelpers::InstanceType instanceType);
51 MCAPI uint64 _getTileIndex(::UIPropertyBag& bag)
const;
53 MCAPI
void _registerBindings();
55 MCAPI
void _registerEventHandlers();
57 MCAPI
void _registerNestedControls();
59 MCAPI
void _registerSubcontrollers();
61 MCAPI
void _useTemplate(
62 ::PackManifest
const& manifest,
63 ::EDUScreenHelpers::InstanceType type,
64 ::std::string_view templateName
71 MCAPI
void* $ctor(::std::shared_ptr<::PlayScreenModel> model);
85 MCAPI ::ui::DirtyFlag $tick();
Definition EDUWorldTemplatesScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition LibraryCollection.h:5
Definition MainMenuScreenController.h:5
Definition PackManifest.h:38
Definition PlayScreenModel.h:5
Definition UIPropertyBag.h:5