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