3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/screens/models/ClientModel.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/world/level/GameType.h"
26 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClient;
32 virtual ~ClientInstanceModel() =
default;
34 virtual bool hasCommandsEnabled() const ;
36 virtual ::std::
string getFormattedHoverText(::ItemStackBase const& item,
bool const showCategory) ;
38 virtual ::std::
string getFilteredItemName(::ItemStackBase const& item) ;
40 virtual
bool achievementsWillBeDisabledOnLoad() ;
42 virtual
bool hasAchievementsDisabled() ;
44 virtual ::std::
string getLevelName() ;
46 virtual
int getGameDifficulty() ;
48 virtual
int getGameType() ;
50 virtual
void setGameType(::GameType gameType) ;
52 virtual
int getGenerator() ;
54 virtual
bool getStartWithMap() ;
56 virtual
bool isAlwaysDay() ;
58 virtual
bool isGameRule(::GameRuleId gameRule) ;
60 virtual
bool isImmutableWorld() ;
62 virtual ::std::unique_ptr<::PlayerCommandOrigin> makePlayerCommandOrigin() ;
64 virtual
void setCommandsEnabled(
bool val) ;
66 virtual
void disableAchievements() ;
68 virtual
float getGuiScale() const ;
70 virtual ::Vec2 getScreenSize() const ;
72 virtual ::RectangleArea getSafeScreenZoneArea() const ;
74 virtual ::RectangleArea getWYSIWYGSafeScreenZoneArea() const ;
76 virtual ::RectangleArea getLayoutCustomizationSubPanelRectangle() const ;
78 virtual ::RectangleArea getLayoutCustomizationMainPanelRectangle() const ;
80 virtual ::RectangleArea getWYSIWYGBottomHudReservedArea() const ;
82 virtual ::RectangleArea const& getHUDHotbarRectangle() const ;
84 virtual ::Option const& getGuiScaleOption() const ;
86 virtual
void setGuiScaleOffset(
int guiScale) ;
88 virtual ::FontHandle getFontHandle() const ;
90 virtual
void notifyForLeaveGame() ;
98 MCAPI ::
std::
string $getFormattedHoverText(::
ItemStackBase const& item,
bool const showCategory);
Definition ClientInstanceModel.h:5
MCAPI void $disableAchievements()
MCAPI::RectangleArea $getLayoutCustomizationMainPanelRectangle() const
MCAPI::std::string $getFilteredItemName(::ItemStackBase const &item)
MCAPI bool $isGameRule(::GameRuleId gameRule)
MCAPI::Option const & $getGuiScaleOption() const
MCAPI::RectangleArea $getWYSIWYGSafeScreenZoneArea() const
static MCAPI void ** $vftable()
MCAPI bool $achievementsWillBeDisabledOnLoad()
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 ::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
Definition IClientInstance.h:5
Definition ItemStackBase.h:45
Definition PlayerCommandOrigin.h:28
Definition RectangleArea.h:5
Definition GameRuleId.h:8