LeviLamina
Loading...
Searching...
No Matches
ClientInstanceModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/models/ClientModel.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/world/level/GameType.h"
9
10// auto generated forward declare list
11// clang-format off
12class FontHandle;
13class IClientInstance;
14class ItemStackBase;
15class Option;
17class RectangleArea;
18class Vec2;
19struct GameRuleId;
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClient;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~ClientInstanceModel() /*override*/ = default;
33
34 virtual bool hasCommandsEnabled() const /*override*/;
35
36 virtual ::std::string getFormattedHoverText(::ItemStackBase const& item, bool const showCategory) /*override*/;
37
38 virtual bool achievementsWillBeDisabledOnLoad() /*override*/;
39
40 virtual bool hasAchievementsDisabled() /*override*/;
41
42 virtual ::std::string getLevelName() /*override*/;
43
44 virtual int getGameDifficulty() /*override*/;
45
46 virtual int getGameType() /*override*/;
47
48 virtual void setGameType(::GameType) /*override*/;
49
50 virtual int getGenerator() /*override*/;
51
52 virtual bool getStartWithMap() /*override*/;
53
54 virtual bool isAlwaysDay() /*override*/;
55
56 virtual bool isGameRule(::GameRuleId gameRule) /*override*/;
57
58 virtual bool isImmutableWorld() /*override*/;
59
60 virtual ::std::unique_ptr<::PlayerCommandOrigin> makePlayerCommandOrigin() /*override*/;
61
62 virtual void setCommandsEnabled(bool val) /*override*/;
63
64 virtual void disableAchievements() /*override*/;
65
66 virtual float getGuiScale() const /*override*/;
67
68 virtual ::Vec2 getScreenSize() const /*override*/;
69
70 virtual ::RectangleArea getSafeScreenZoneArea() const /*override*/;
71
72 virtual ::RectangleArea getWYSIWYGSafeScreenZoneArea() const /*override*/;
73
74 virtual ::RectangleArea getLayoutCustomizationSubPanelRectangle() const /*override*/;
75
76 virtual ::RectangleArea getLayoutCustomizationMainPanelRectangle() const /*override*/;
77
78 virtual ::RectangleArea getWYSIWYGBottomHudReservedArea() const /*override*/;
79
80 virtual ::RectangleArea const& getHUDHotbarRectangle() const /*override*/;
81
82 virtual ::Option const& getGuiScaleOption() const /*override*/;
83
84 virtual void setGuiScaleOffset(int guiScale) /*override*/;
85
86 virtual ::FontHandle getFontHandle() const /*override*/;
87
88 virtual void notifyForLeaveGame() /*override*/;
89 // NOLINTEND
90
91public:
92 // virtual function thunks
93 // NOLINTBEGIN
94 MCAPI bool $hasCommandsEnabled() const;
95
96 MCAPI ::std::string $getFormattedHoverText(::ItemStackBase const& item, bool const showCategory);
97
98 MCAPI bool $achievementsWillBeDisabledOnLoad();
99
100 MCAPI bool $hasAchievementsDisabled();
101
102 MCAPI ::std::string $getLevelName();
103
104 MCAPI int $getGameDifficulty();
105
106 MCAPI int $getGameType();
107
108 MCAPI int $getGenerator();
109
110 MCAPI bool $getStartWithMap();
111
112 MCAPI bool $isAlwaysDay();
113
114 MCAPI bool $isGameRule(::GameRuleId gameRule);
115
116 MCAPI bool $isImmutableWorld();
117
118 MCAPI ::std::unique_ptr<::PlayerCommandOrigin> $makePlayerCommandOrigin();
119
120 MCAPI void $setCommandsEnabled(bool val);
121
122 MCAPI void $disableAchievements();
123
124 MCAPI float $getGuiScale() const;
125
126 MCAPI ::Vec2 $getScreenSize() const;
127
128 MCAPI ::RectangleArea $getSafeScreenZoneArea() const;
129
130 MCAPI ::RectangleArea $getWYSIWYGSafeScreenZoneArea() const;
131
132 MCAPI ::RectangleArea $getLayoutCustomizationSubPanelRectangle() const;
133
134 MCAPI ::RectangleArea $getLayoutCustomizationMainPanelRectangle() const;
135
136 MCAPI ::RectangleArea $getWYSIWYGBottomHudReservedArea() const;
137
138 MCAPI ::RectangleArea const& $getHUDHotbarRectangle() const;
139
140 MCAPI ::Option const& $getGuiScaleOption() const;
141
142 MCAPI void $setGuiScaleOffset(int guiScale);
143
144 MCAPI ::FontHandle $getFontHandle() const;
145
146 MCAPI void $notifyForLeaveGame();
147 // NOLINTEND
148
149public:
150 // vftables
151 // NOLINTBEGIN
152 MCNAPI static void** $vftable();
153 // NOLINTEND
154};
Definition ClientInstanceModel.h:5
static MCAPI void ** $vftable()
Definition ClientModel.h:5
Definition FontHandle.h:5
Definition IClientInstance.h:5
Definition ItemStackBase.h:44
Definition Option.h:22
Definition PlayerCommandOrigin.h:28
Definition RectangleArea.h:5
Definition Vec2.h:5
Definition GameRuleId.h:8