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() =
default;
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
void _useTemplate(
52 ::PackManifest
const& manifest,
53 ::EDUScreenHelpers::InstanceType type,
54 ::std::string_view templateName
61 MCAPI
static uint64 _getTileIndex(::UIPropertyBag& bag);
67 MCAPI
void* $ctor(::std::shared_ptr<::PlayScreenModel> model);
75 MCAPI ::ui::DirtyFlag $tick();
Definition EDUWorldTemplatesScreenController.h:5
Definition LibraryCollection.h:5
Definition MainMenuScreenController.h:5
Definition PackManifest.h:39
Definition PlayScreenModel.h:5
Definition UIPropertyBag.h:5