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*/ = default;
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 void _useTemplate(
52 ::PackManifest const& manifest,
53 ::EDUScreenHelpers::InstanceType type,
54 ::std::string_view templateName
55 );
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static uint64 _getTileIndex(::UIPropertyBag& bag);
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::std::shared_ptr<::PlayScreenModel> model);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI void $onOpen();
74
75 MCAPI ::ui::DirtyFlag $tick();
76 // NOLINTEND
77};
Definition EDUWorldTemplatesScreenController.h:5
Definition LibraryCollection.h:5
Definition MainMenuScreenController.h:5
Definition PackManifest.h:39
Definition PlayScreenModel.h:5
Definition UIPropertyBag.h:5