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
13class PackManifest;
14class PlayScreenModel;
15class UIPropertyBag;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
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;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 EDUWorldTemplatesScreenController();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~EDUWorldTemplatesScreenController() /*override*/;
38
39 virtual void onOpen() /*override*/;
40
41 virtual ::ui::DirtyFlag tick() /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI explicit EDUWorldTemplatesScreenController(::std::shared_ptr<::PlayScreenModel> model);
48
49 MCAPI void _createOrDeleteTemplate(::UIPropertyBag& bag, ::EDUScreenHelpers::InstanceType instanceType);
50
51 MCAPI uint64 _getTileIndex(::UIPropertyBag& bag) const;
52
53 MCAPI void _registerBindings();
54
55 MCAPI void _registerEventHandlers();
56
57 MCAPI void _registerNestedControls();
58
59 MCAPI void _registerSubcontrollers();
60
61 MCAPI void _useTemplate(
62 ::PackManifest const& manifest,
63 ::EDUScreenHelpers::InstanceType type,
64 ::std::string_view templateName
65 );
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(::std::shared_ptr<::PlayScreenModel> model);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI void $dtor();
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI void $onOpen();
84
85 MCAPI ::ui::DirtyFlag $tick();
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
92
93 MCNAPI static void** $vftableForScreenController();
94 // NOLINTEND
95};
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