3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/level/GameType.h"
13class PlayerCommandOrigin;
25 virtual bool hasCommandsEnabled()
const = 0;
27 virtual ::std::string getFormattedHoverText(::ItemStackBase
const&,
bool const) = 0;
29 virtual bool achievementsWillBeDisabledOnLoad() = 0;
31 virtual bool hasAchievementsDisabled() = 0;
33 virtual ::std::string getLevelName() = 0;
35 virtual int getGameDifficulty() = 0;
37 virtual int getGameType() = 0;
39 virtual void setGameType(::GameType) = 0;
41 virtual int getGenerator() = 0;
43 virtual bool getStartWithMap() = 0;
45 virtual bool isAlwaysDay() = 0;
47 virtual bool isGameRule(::GameRuleId) = 0;
49 virtual bool isImmutableWorld() = 0;
51 virtual ::std::unique_ptr<::PlayerCommandOrigin> makePlayerCommandOrigin() = 0;
53 virtual void setCommandsEnabled(
bool) = 0;
55 virtual void disableAchievements() = 0;
57 virtual float getGuiScale()
const = 0;
59 virtual ::Vec2 getScreenSize()
const = 0;
61 virtual ::RectangleArea getSafeScreenZoneArea()
const = 0;
63 virtual ::RectangleArea getWYSIWYGSafeScreenZoneArea()
const = 0;
65 virtual ::RectangleArea getLayoutCustomizationSubPanelRectangle()
const = 0;
67 virtual ::RectangleArea getLayoutCustomizationMainPanelRectangle()
const = 0;
69 virtual ::RectangleArea getWYSIWYGBottomHudReservedArea()
const = 0;
71 virtual ::RectangleArea
const& getHUDHotbarRectangle()
const = 0;
73 virtual ::Option
const& getGuiScaleOption()
const = 0;
75 virtual void setGuiScaleOffset(
int) = 0;
77 virtual ::FontHandle getFontHandle()
const = 0;
79 virtual void notifyForLeaveGame() = 0;
Definition ClientModel.h:5
Definition FontHandle.h:5