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