LeviLamina
Loading...
Searching...
No Matches
ScreenTechStackSelector.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/TechStack.h"
7
8// auto generated forward declare list
9// clang-format off
10class Option;
11namespace ui { class OreUIScreenConfiguration; }
12// clang-format on
13
14namespace ui {
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::ui::OreUIScreenConfiguration>> mConfigurations;
21 // NOLINTEND
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCFOLD ::ui::OreUIScreenConfiguration const* _getConfiguration(::std::string const& screenName) const;
27
28 MCAPI ::ui::TechStack getPreferredTechStackForScreen(::std::string const& screenName) const;
29
30 MCAPI ::ui::TechStack getTechStackForScreen(::std::string const& screenName) const;
31
32 MCAPI bool isOreUISupportedForScreen(::std::string const& screenName) const;
33
34 MCAPI ::ui::OreUIScreenConfiguration& registerScreen(
35 ::std::string const& screenName,
36 ::std::optional<::Option*> isSelectedOption,
37 ::std::optional<::Option*> isForceEnabledOption
38 );
39
40 MCAPI void selectPreferredTechStackForScreen(::std::string const& screenName, ::ui::TechStack tech);
41 // NOLINTEND
42};
43
44} // namespace ui
Definition Option.h:22
Definition OreUIScreenConfiguration.h:7
Definition ScreenTechStackSelector.h:7