LeviLamina
Loading...
Searching...
No Matches
EDUWorldTemplatesScreenController.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/MainMenuScreenController.h"
8#include "mc/client/gui/screens/controllers/edu_screen_helpers/InstanceType.h"
9
10// auto generated forward declare list
11// clang-format off
12class PackManifest;
13class PlayScreenModel;
15struct UIPropertyBag;
16namespace EDUScreenHelpers { class TemplateWrapper; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PlayScreenModel>> mPlayScreenModel;
24 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::LibraryCollection>> mLibraryCollection;
25 ::ll::TypedStorage<1, 1, bool> mScreenNeedsRefresh;
26 ::ll::TypedStorage<8, 32, ::std::string> mSearchString;
27 ::ll::TypedStorage<8, 24, ::std::vector<uint64>> mMatchedTemplates;
28 ::ll::TypedStorage<8, 8, uint64> mLocalTemplateCount;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 EDUWorldTemplatesScreenController();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~EDUWorldTemplatesScreenController() /*override*/;
39
40 virtual void onOpen() /*override*/;
41
42 virtual ::ui::DirtyFlag tick() /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI explicit EDUWorldTemplatesScreenController(::std::shared_ptr<::PlayScreenModel> model);
49
50 MCAPI void _createOrDeleteTemplate(::UIPropertyBag& bag, ::EDUScreenHelpers::InstanceType instanceType);
51
52 MCAPI ::EDUScreenHelpers::TemplateWrapper _getTemplateInfo(::UIPropertyBag& bag) const;
53
54 MCAPI uint64 _getTileIndex(::UIPropertyBag& bag) const;
55
56 MCAPI void _registerBindings();
57
58 MCAPI void _registerEventHandlers();
59
60 MCAPI void _registerNestedControls();
61
62 MCAPI void _registerSubcontrollers();
63
64 MCAPI void _useTemplate(
65 ::PackManifest const& manifest,
66 ::EDUScreenHelpers::InstanceType type,
67 ::std::string_view templateName
68 );
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(::std::shared_ptr<::PlayScreenModel> model);
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCAPI void $dtor();
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCAPI void $onOpen();
87
88 MCAPI ::ui::DirtyFlag $tick();
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
95
96 MCNAPI static void** $vftableForScreenController();
97 // NOLINTEND
98};
Definition TemplateWrapper.h:7
Definition EDUWorldTemplatesScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition MainMenuScreenController.h:5
Definition PackManifest.h:37
Definition PlayScreenModel.h:5
Definition LibraryCollection.h:5
Definition UIPropertyBag.h:5