LeviLamina
Loading...
Searching...
No Matches
IAppPlatformImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/platform/UIScalingRules.h"
7#include "mc/deps/core/threading/Async.h"
8#include "mc/options/UIProfile.h"
9
10// auto generated forward declare list
11// clang-format off
12class AppPlatform;
15namespace Bedrock::PubSub { class Subscription; }
16namespace Core { class DiskAccessTracker; }
17namespace Core { class LoadTimeProfiler; }
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 0
25 virtual ~IAppPlatformImpl() = default;
26
27 // vIndex: 1
28 virtual ::IPlatformScreenshots& getPlatformScreenshots() = 0;
29
30 // vIndex: 2
31 virtual void setServiceLocators(::AppPlatform&) = 0;
32
33 // vIndex: 3
34 virtual void resetServiceLocators() = 0;
35
36 // vIndex: 4
37 virtual void setDiskAccessEventing(::Core::DiskAccessTracker&) = 0;
38
39 // vIndex: 5
40 virtual bool isRealmsEnabled() const = 0;
41
42 // vIndex: 6
43 virtual ::Bedrock::PubSub::Subscription initializeLoadProfiler(::Core::LoadTimeProfiler&) = 0;
44
45 // vIndex: 7
46 virtual ::Bedrock::Threading::Async<::IntegrityTokenResult> requestIntegrityToken(::std::string const&) = 0;
47
48 // vIndex: 8
49 virtual ::std::string getFullLanguageCode() = 0;
50
51 // vIndex: 9
52 virtual bool mouseInputHandledByImGui() = 0;
53
54 // vIndex: 10
55 virtual bool keyboardInputHandledByImGui() = 0;
56
57 // vIndex: 11
58 virtual void updateImGuiMousePosition(float, float) = 0;
59
60 // vIndex: 12
61 virtual void updateImGuiMouseButton(uchar, bool) = 0;
62
63 // vIndex: 13
64 virtual void updateImGuiMouseScrollBar(float) = 0;
65
66 // vIndex: 14
67 virtual void imGuiAddInputChar(ushort) = 0;
68
69 // vIndex: 15
70 virtual bool updateImGuiKeyboard(uchar, bool) = 0;
71
72 // vIndex: 16
73 virtual ::UIProfile getDefaultUIProfile(::UIScalingRules) const = 0;
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79
80 // NOLINTEND
81};
Definition AppPlatform.h:50
Definition DiskAccessTracker.h:16
Definition LoadTimeProfiler.h:10
Definition IAppPlatformImpl.h:20
Definition IPlatformScreenshots.h:10
Definition IntegrityTokenResult.h:5