LeviLamina
Loading...
Searching...
No Matches
LibraryItemScreenController.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/SceneType.h"
8#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
9#include "mc/options/EduSharedUriResource.h"
10
11// auto generated forward declare list
12// clang-format off
17class LibraryItem;
19class PlayScreenModel;
21class ToastManager;
22namespace Json { class Value; }
23namespace LibraryInfo { struct BaseLibraryInfo; }
24// clang-format on
25
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::LibraryInfo::BaseLibraryInfo>>> mInfoSections;
31 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::LibraryItem>> mItem;
32 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::EducationContentManagerScreenController>>
33 mEducationContentManagerScreenController;
34 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mSearchableTags;
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::EduShareLinkScreenController>> mEduShareLinkScreenController;
36 ::ll::TypedStorage<8, 72, ::std::optional<::EduSharedUriResource>> mAdditionalUriResource;
37 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::LibrarySearchBarScreenController>> mSearchBarSubController;
38 ::ll::TypedStorage<1, 1, bool> mCancelButtonPressed;
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 LibraryItemScreenController();
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual ~LibraryItemScreenController() /*override*/;
49
50 virtual ::ui::DirtyFlag tick() /*override*/;
51
52 virtual ::ui::SceneType getSceneType() const /*override*/;
53
54 virtual void onOpen() /*override*/;
55
56 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
57
58 virtual void addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const
59 /*override*/;
60 // NOLINTEND
61
62public:
63 // member functions
64 // NOLINTBEGIN
65 MCAPI LibraryItemScreenController(
66 ::std::shared_ptr<::PlayScreenModel> model,
67 ::std::shared_ptr<::LibraryItem> item,
68 ::std::unordered_map<::std::string, ::std::string> additionalOptions,
69 ::IResourcePackRepository& resourcePackRepository,
70 ::ResourcePackManager& resourcePackManager,
71 ::IMinecraftEventing& eventing,
72 ::ToastManager& toastManager
73 );
74
75 MCAPI void _populateTags();
76
77 MCAPI void _registerBindings();
78
79 MCAPI void _registerEventHandlers();
80
81 MCAPI void _registerSubControllers(
82 ::std::shared_ptr<::PlayScreenModel> model,
83 ::IResourcePackRepository& resourcePackRepository,
84 ::ResourcePackManager& resourcePackManager,
85 ::IMinecraftEventing& eventing,
86 ::ToastManager& toastManager
87 );
88
89 MCAPI void _registerTagEventHandlers();
90 // NOLINTEND
91
92public:
93 // constructor thunks
94 // NOLINTBEGIN
95 MCAPI void* $ctor(
96 ::std::shared_ptr<::PlayScreenModel> model,
97 ::std::shared_ptr<::LibraryItem> item,
98 ::std::unordered_map<::std::string, ::std::string> additionalOptions,
99 ::IResourcePackRepository& resourcePackRepository,
100 ::ResourcePackManager& resourcePackManager,
101 ::IMinecraftEventing& eventing,
102 ::ToastManager& toastManager
103 );
104 // NOLINTEND
105
106public:
107 // destructor thunk
108 // NOLINTBEGIN
109 MCAPI void $dtor();
110 // NOLINTEND
111
112public:
113 // virtual function thunks
114 // NOLINTBEGIN
115 MCAPI ::ui::DirtyFlag $tick();
116
117 MCAPI ::ui::SceneType $getSceneType() const;
118
119 MCAPI void $onOpen();
120
121 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
122
123 MCAPI void $addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const;
124 // NOLINTEND
125
126public:
127 // vftables
128 // NOLINTBEGIN
130
131 MCNAPI static void** $vftableForScreenController();
132 // NOLINTEND
133};
Definition EduShareLinkScreenController.h:5
Definition EducationContentManagerScreenController.h:5
Definition IMinecraftEventing.h:134
Definition IResourcePackRepository.h:34
Definition Value.h:16
Definition LibraryItemScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition LibraryItem.h:5
Definition LibrarySearchBarScreenController.h:5
Definition MainMenuScreenController.h:5
Definition PlayScreenModel.h:5
Definition ResourcePackManager.h:30
Definition ToastManager.h:5
Definition BaseLibraryInfo.h:7