Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Config.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/PixelCalc.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/input/InputMode.h"
9
10// auto generated forward declare list
11// clang-format off
12class IClientInstance;
13class IMinecraftGame;
14class OptionRegistry;
15// clang-format on
16
17class Config {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, int> mWidth;
22 ::ll::TypedStorage<4, 4, int> mHeight;
23 ::ll::TypedStorage<4, 4, float> mGuiScale;
24 ::ll::TypedStorage<4, 4, float> mInvGuiScale;
25 ::ll::TypedStorage<4, 4, int> mGuiWidth;
26 ::ll::TypedStorage<4, 4, int> mGuiHeight;
27 ::ll::TypedStorage<4, 8, ::PixelCalc> mDpadScale;
28 ::ll::TypedStorage<8, 8, ::IMinecraftGame*> mMinecraft;
29 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::OptionRegistry>> mOptions;
30 ::ll::TypedStorage<4, 4, ::InputMode> mCurrentInputMode;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI ~Config();
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static ::Config createConfig(::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client);
43 // NOLINTEND
44
45public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCAPI void $dtor();
49 // NOLINTEND
50};
Definition Config.h:5
Definition IClientInstance.h:5
Definition IMinecraftGame.h:5
Definition OptionRegistry.h:5