LeviLamina
Loading...
Searching...
No Matches
IAppPlatform.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/social/MultiplayerServiceIdentifier.h"
7#include "mc/deps/core/file/PathBuffer.h"
8#include "mc/deps/core/platform/BuildPlatform.h"
9#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
10
11// auto generated forward declare list
12// clang-format off
14// clang-format on
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual ~IAppPlatform() /*override*/;
21
22 virtual bool restartRequested() = 0;
23
24 virtual ::Core::PathBuffer<::std::string> getLoggingPath() const = 0;
25
26 virtual bool isLowMemoryDevice() const = 0;
27
28 virtual bool isLowPhysicalMemoryDevice() const = 0;
29
30 virtual bool hasPlatformSpecificInvites() const = 0;
31
32 virtual bool isRealmsEnabled() const = 0;
33
34 virtual void initAppPlatformNetworkSettings() = 0;
35
36 virtual int const numberOfThrottledTreatmentPacksToImportPerMinute() const = 0;
37
38 virtual bool const areTreatmentPacksThrottled() const = 0;
39
40 virtual void goToExternalConsumablesStoreListing() const = 0;
41
42 virtual void showPlatformEmptyStoreDialog(::std::function<void(bool)>&& callback) = 0;
43
44 virtual bool isNetworkEnabled(bool) const = 0;
45
46 virtual bool isNetworkAvailable() const = 0;
47
48 virtual bool isLANAvailable() const = 0;
49
50 virtual bool isLANAllowed() const = 0;
51
52 virtual bool isInternetAvailable() const = 0;
53
54 virtual bool multiplayerRequiresPremiumAccess() const = 0;
55
56 virtual bool multiplayerRequiresUGCEnabled() const = 0;
57
58 virtual ::BuildPlatform getBuildPlatform() const = 0;
59
60 virtual ::std::string getPlatformString() const = 0;
61
62 virtual ::std::vector<::Social::MultiplayerServiceIdentifier>
63 getBroadcastingMultiplayerServiceIds(bool, bool) const = 0;
64
65 virtual uint64 getLowPhysicalMemoryThreshold() const = 0;
66
67 virtual uint64 getTotalPhysicalMemory() const = 0;
68
69#ifdef LL_PLAT_S
70 virtual ::HardwareMemoryTierUtil const& getHardwareMemoryTierUtil() const = 0;
71#else // LL_PLAT_C
72 virtual ::HardwareMemoryTierUtil const& getHardwareMemoryTierUtil() const = 0;
73
74 virtual ::std::string getDeviceId() const = 0;
75#endif
76
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCNAPI void $dtor();
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88
89 // NOLINTEND
90};
Definition EnableNonOwnerReferences.h:7
Definition HardwareMemoryTierUtil.h:16
Definition IAppPlatform.h:16
MCAPI void $dtor()