LeviLamina
Loading...
Searching...
No Matches
EducationLevelSettings.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandPermissionLevel.h"
7#include "mc/world/level/AgentCapabilities.h"
8#include "mc/world/level/EducationLocalLevelSettings.h"
9#include "mc/world/level/ExternalLinkSettings.h"
10
11// auto generated forward declare list
12// clang-format off
14struct CommandFlag;
15// clang-format on
16
17struct EducationLevelSettings {
18public:
19 // EducationLevelSettings inner types define
20 using CommandOverrideFunctor =
21 ::std::function<void(::std::string const&, ::CommandFlag&, ::CommandPermissionLevel&)>;
22
23 using HiddenCommands = ::std::string;
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 32, ::std::string> codeBuilderDefaultUri;
29 ::ll::TypedStorage<8, 32, ::std::string> codeBuilderTitle;
30 ::ll::TypedStorage<1, 1, bool> canResizeCodeBuilder;
31 ::ll::TypedStorage<1, 1, bool> disableLegacyTitleBar;
32 ::ll::TypedStorage<8, 32, ::std::string> postProcessFilter;
33 ::ll::TypedStorage<8, 32, ::std::string> screenshotBorderResourcePath;
34 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, uint>> hiddenCommands;
35 ::ll::TypedStorage<8, 40, ::EducationLocalLevelSettings> localSettings;
36 ::ll::TypedStorage<1, 3, ::std::optional<::AgentCapabilities>> agentCapabilities;
37 ::ll::TypedStorage<8, 72, ::std::optional<::ExternalLinkSettings>> externalLinkSettings;
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
42 EducationLevelSettings();
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI EducationLevelSettings(::EducationLevelSettings const&);
48
49 MCAPI ::std::function<void(::std::string const&, ::CommandFlag&, ::CommandPermissionLevel&)>
50 getCommandOverrideFunctor() const;
51
52#ifdef LL_PLAT_C
53 MCAPI ::std::string getScreenShotBorderPath() const;
54#endif
55
56 MCAPI ::EducationLevelSettings& operator=(::EducationLevelSettings const&);
57
58 MCAPI ~EducationLevelSettings();
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64#ifdef LL_PLAT_C
65 MCAPI static ::std::optional<::EducationLevelSettings> load(::LevelLooseFileStorage const& storage);
66#endif
67 // NOLINTEND
68
69public:
70 // static variables
71 // NOLINTBEGIN
72 MCAPI static ::std::string const& DEFAULT_BORDER_PATH();
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCAPI void* $ctor(::EducationLevelSettings const&);
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCAPI void $dtor();
85 // NOLINTEND
86};
Definition LevelLooseFileStorage.h:16
Definition CommandFlag.h:43