LeviLamina
Loading...
Searching...
No Matches
Impl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/application/IAppPlatformImpl.h"
7#include "mc/deps/application/IPlatformScreenshots.h"
8#include "mc/deps/core/platform/UIScalingRules.h"
9#include "mc/deps/core/threading/Async.h"
10#include "mc/options/UIProfile.h"
11
12// auto generated forward declare list
13// clang-format off
14class AppPlatform;
17namespace AppPlatformImpl { class IDependencies; }
18namespace Bedrock::PubSub { class Subscription; }
19namespace Core { class DiskAccessTracker; }
20namespace Core { class LoadTimeProfiler; }
21// clang-format on
22
23namespace AppPlatformImpl {
24
26public:
27 // member variables
28 // NOLINTBEGIN
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 Impl& operator=(Impl const&);
40 Impl(Impl const&);
41 Impl();
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 0
47 virtual ~Impl() /*override*/;
48
49 // vIndex: 1
50 virtual ::IPlatformScreenshots& getPlatformScreenshots() /*override*/;
51
52 // vIndex: 9
53 virtual bool mouseInputHandledByImGui() /*override*/;
54
55 // vIndex: 10
56 virtual bool keyboardInputHandledByImGui() /*override*/;
57
58 // vIndex: 11
59 virtual void updateImGuiMousePosition(float x, float y) /*override*/;
60
61 // vIndex: 12
62 virtual void updateImGuiMouseButton(uchar button, bool isDown) /*override*/;
63
64 // vIndex: 13
65 virtual void updateImGuiMouseScrollBar(float value) /*override*/;
66
67 // vIndex: 14
68 virtual void imGuiAddInputChar(ushort c) /*override*/;
69
70 // vIndex: 15
71 virtual bool updateImGuiKeyboard(uchar param, bool isDown) /*override*/;
72
73 // vIndex: 2
74 virtual void setServiceLocators(::AppPlatform& platform) /*override*/;
75
76 // vIndex: 3
77 virtual void resetServiceLocators() /*override*/;
78
79 // vIndex: 4
80 virtual void setDiskAccessEventing(::Core::DiskAccessTracker& diskAccessTracker) /*override*/;
81
82 // vIndex: 5
83 virtual bool isRealmsEnabled() const /*override*/;
84
85 // vIndex: 6
86 virtual ::Bedrock::PubSub::Subscription initializeLoadProfiler(::Core::LoadTimeProfiler& profiler) /*override*/;
87
88 // vIndex: 7
89 virtual ::Bedrock::Threading::Async<::IntegrityTokenResult>
90 requestIntegrityToken(::std::string const&) /*override*/;
91
92 // vIndex: 8
93 virtual ::std::string getFullLanguageCode() /*override*/;
94
95 // vIndex: 16
96 virtual ::UIProfile getDefaultUIProfile(::UIScalingRules uiScalingRules) const /*override*/;
97
98 // vIndex: 1
99 virtual ::std::optional<::ScreenshotOptions> getExtraLevelSaveDataIconParams(::std::string const&) const
100 /*override*/;
101 // NOLINTEND
102
103public:
104 // member functions
105 // NOLINTBEGIN
106 MCNAPI explicit Impl(::std::unique_ptr<::AppPlatformImpl::IDependencies> deps);
107 // NOLINTEND
108
109public:
110 // constructor thunks
111 // NOLINTBEGIN
112 MCNAPI void* $ctor(::std::unique_ptr<::AppPlatformImpl::IDependencies> deps);
113 // NOLINTEND
114
115public:
116 // destructor thunk
117 // NOLINTBEGIN
118 MCNAPI void $dtor();
119 // NOLINTEND
120
121public:
122 // virtual function thunks
123 // NOLINTBEGIN
124 MCNAPI ::IPlatformScreenshots& $getPlatformScreenshots();
125
127
129
130 MCNAPI void $updateImGuiMousePosition(float x, float y);
131
132 MCNAPI void $updateImGuiMouseButton(uchar button, bool isDown);
133
134 MCNAPI void $updateImGuiMouseScrollBar(float value);
135
136 MCNAPI void $imGuiAddInputChar(ushort c);
137
138 MCNAPI bool $updateImGuiKeyboard(uchar param, bool isDown);
139
140 MCNAPI void $setServiceLocators(::AppPlatform& platform);
141
143
144 MCNAPI void $setDiskAccessEventing(::Core::DiskAccessTracker& diskAccessTracker);
145
146 MCNAPI bool $isRealmsEnabled() const;
147
148 MCNAPI ::Bedrock::PubSub::Subscription $initializeLoadProfiler(::Core::LoadTimeProfiler& profiler);
149
150 MCNAPI ::Bedrock::Threading::Async<::IntegrityTokenResult> $requestIntegrityToken(::std::string const&);
151
152 MCNAPI ::std::string $getFullLanguageCode();
153
154 MCNAPI ::UIProfile $getDefaultUIProfile(::UIScalingRules uiScalingRules) const;
155
156 MCNAPI ::std::optional<::ScreenshotOptions> $getExtraLevelSaveDataIconParams(::std::string const&) const;
157 // NOLINTEND
158
159public:
160 // vftables
161 // NOLINTBEGIN
162 MCNAPI static void** $vftableForIPlatformScreenshots();
163
164 MCNAPI static void** $vftableForIAppPlatformImpl();
165 // NOLINTEND
166};
167
168} // namespace AppPlatformImpl
Definition Impl.h:25
MCAPI void $updateImGuiMousePosition(float x, float y)
static MCAPI void ** $vftableForIAppPlatformImpl()
MCAPI ::Bedrock::Threading::Async<::IntegrityTokenResult > $requestIntegrityToken(::std::string const &)
MCAPI::IPlatformScreenshots & $getPlatformScreenshots()
MCAPI void * $ctor(::std::unique_ptr<::AppPlatformImpl::IDependencies > deps)
MCAPI::Bedrock::PubSub::Subscription $initializeLoadProfiler(::Core::LoadTimeProfiler &profiler)
MCAPI void $setDiskAccessEventing(::Core::DiskAccessTracker &diskAccessTracker)
MCAPI Impl(::std::unique_ptr<::AppPlatformImpl::IDependencies > deps)
MCAPI::std::string $getFullLanguageCode()
MCAPI void $updateImGuiMouseButton(uchar button, bool isDown)
MCAPI bool $isRealmsEnabled() const
MCAPI bool $updateImGuiKeyboard(uchar param, bool isDown)
MCAPI bool $keyboardInputHandledByImGui()
static MCAPI void ** $vftableForIPlatformScreenshots()
MCAPI void $setServiceLocators(::AppPlatform &platform)
MCAPI void $resetServiceLocators()
MCAPI::UIProfile $getDefaultUIProfile(::UIScalingRules uiScalingRules) const
MCAPI void $imGuiAddInputChar(ushort c)
MCAPI bool $mouseInputHandledByImGui()
MCAPI void $updateImGuiMouseScrollBar(float value)
MCAPI ::std::optional<::ScreenshotOptions > $getExtraLevelSaveDataIconParams(::std::string const &) const
Definition AppPlatform.h:50
Definition DiskAccessTracker.h:16
Definition LoadTimeProfiler.h:10
Definition IAppPlatformImpl.h:20
Definition IPlatformScreenshots.h:10
Definition IntegrityTokenResult.h:5
Definition ScreenshotOptions.h:5
Definition Alias.h:14