Skip to content
LeviMC
English
AutoLightDark
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*/ = default;
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 MCNAPI 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 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCNAPI void* $ctor(
80 ::std::shared_ptr<::PlayScreenModel> model,
81 ::std::shared_ptr<::LibraryItem> item,
82 ::std::unordered_map<::std::string, ::std::string> additionalOptions,
83 ::IResourcePackRepository& resourcePackRepository,
84 ::ResourcePackManager& resourcePackManager,
85 ::IMinecraftEventing& eventing,
86 ::ToastManager& toastManager
87 );
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
93 MCNAPI ::ui::DirtyFlag $tick();
94
95 MCNAPI ::ui::SceneType $getSceneType() const;
96
97 MCNAPI void $onOpen();
98
99 MCNAPI void $addStaticScreenVars(::Json::Value& globalVars);
100
101 MCNAPI void $addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const;
102 // NOLINTEND
103};
Definition EduShareLinkScreenController.h:5
Definition EducationContentManagerScreenController.h:5
Definition IMinecraftEventing.h:152
Definition IResourcePackRepository.h:36
Definition Value.h:16
Definition LibraryItemScreenController.h:5
MCAPI void * $ctor(::std::shared_ptr<::PlayScreenModel > model, ::std::shared_ptr<::LibraryItem > item, ::std::unordered_map<::std::string, ::std::string > additionalOptions, ::IResourcePackRepository &resourcePackRepository, ::ResourcePackManager &resourcePackManager, ::IMinecraftEventing &eventing, ::ToastManager &toastManager)
MCAPI::ui::SceneType $getSceneType() const
MCAPI void $addEventProperties(::std::unordered_map<::std::string, ::std::string > &eventProperties) const
MCAPI void $addStaticScreenVars(::Json::Value &globalVars)
MCAPI::ui::DirtyFlag $tick()
Definition LibraryItem.h:5
Definition LibrarySearchBarScreenController.h:5
Definition MainMenuScreenController.h:5
Definition PlayScreenModel.h:5
Definition ResourcePackManager.h:29
Definition ToastManager.h:5
STL namespace.
Definition BaseLibraryInfo.h:7