LeviLamina
Loading...
Searching...
No Matches
IFlightReader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/services/flighting/FlightingTreatmentId.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Bedrock::PubSub { class Subscription; }
13// clang-format on
14
15namespace flighting {
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual ~IFlightReader() /*override*/ = default;
22
23 virtual int getPersonaLowMemoryThresholdMb() const = 0;
24
25 virtual int getPersonaCriticalMemoryThresholdMb() const = 0;
26
27 virtual int getPersonaSkinCutoffSizeKb() const = 0;
28
29 virtual bool useLegacyMultiplayerToken() const = 0;
30
31 virtual ::std::chrono::seconds getNetherNetTimeout() const = 0;
32
33 virtual ::std::chrono::seconds getJoinablePartiesRefreshIntervalSeconds() const = 0;
34
35 virtual bool getPartiesEnabled() const = 0;
36
37 virtual bool getPartiesChatEnabled() const = 0;
38
39 virtual bool getPartiesChatInWorldEnabled() const = 0;
40
41 virtual bool getPartiesEligibilityCheckForExperiences() const = 0;
42
43 virtual bool getPartiesTravelToRealmsEnabled() const = 0;
44
45 virtual bool getPartiesTravelToExperiencesEnabled() const = 0;
46
47 virtual bool getPartiesTravelToThirdPartyServersEnabled() const = 0;
48
49 virtual bool getNewAlreadyLinkedMSAModal() const = 0;
50
51 virtual int getLowMemoryRenderDistanceReductionPct() const = 0;
52
53 virtual bool getDataDrivenRendererV2ActorsWithAttachables() const = 0;
54
55 virtual bool getSplitStreamAndroid() const = 0;
56
57 virtual ::std::chrono::seconds getPlayerMessagingSafetyRefreshIntervalSeconds() const = 0;
58
59 virtual ::std::chrono::seconds getProfileImageRefreshIntervalSeconds() const = 0;
60
61 virtual bool getEnableMemoryTracker() const = 0;
62
63 virtual bool getEnablePredictedMovementComponent() const = 0;
64
65 virtual int getNXLowMemoryThresholdMb() const = 0;
66
67 virtual bool getHostJsonRpcSignalingService() const = 0;
68
69 virtual bool getNewLinkedAccountsService() const = 0;
70
71 virtual bool getEnableUseHardwareMemTier() const = 0;
72
73 virtual bool getFriendsDrawerOnMainMenu() const = 0;
74
75 virtual bool getFriendsDrawerOnGameMenu() const = 0;
76
77 virtual bool getFriendsDrawerOnMultipleScreens() const = 0;
78
79 virtual bool getFriendsDrawerPlayersInMyWorld() const = 0;
80
81 virtual bool getPacketTelemetry() const = 0;
82
83 virtual bool getTextureCacheEnabled() const = 0;
84
85 virtual bool getTextureStreamingEnabled() const = 0;
86
87 virtual bool getShowMismatchedClientError() const = 0;
88
89 virtual bool getSocialDrawerHotkeyEnabled() const = 0;
90
91 virtual bool getUseLegacyTickFiltering() const = 0;
92
93 virtual bool getExperienceManifestRefreshOnTokenEnabled() const = 0;
94
95 virtual bool getDisableTrickleIce(int networkType) const = 0;
96
97 virtual ::std::string getProfilingOrchestratorConfig() const = 0;
98
99 virtual ::std::chrono::seconds getSignalingPingInterval() const = 0;
100
101 virtual bool getReconnectOnResume() const = 0;
102
103 virtual bool getEnableNewDisconnectScreen3PServers() const = 0;
104
105 virtual bool getEnableSwitchLan() const = 0;
106
107 virtual bool getDisableSwitchAdHoc() const = 0;
108
109 virtual void visit(::std::function<void(::FlightingToggleMetadata const&)> const& visitor) const = 0;
110
111 virtual void registerPartiesEnabledObserver(
113 ::std::function<void(bool)> observer
114 ) const = 0;
115
116 virtual void registerPartiesChatEnabledObserver(
118 ::std::function<void(bool)> observer
119 ) const = 0;
120
121 virtual void registerProfilingOrchestratorConfigChangedObserver(
123 ::std::function<void(::std::string_view)>&& observer
124 ) const = 0;
125
126 virtual void registerEnableMemoryTrackerObserver(
128 ::std::function<void(bool)> observer
129 ) const = 0;
130
131 virtual void registerFriendsDrawerOnMultipleScreensObserver(
133 ::std::function<void(bool)> observer
134 ) const = 0;
135
136 virtual void registerPartiesTravelToRealmsEnabledObserver(
138 ::std::function<void(bool)> observer
139 ) const = 0;
140
141 virtual bool isEnabled(::FlightingTreatmentId id) const = 0;
142
143 virtual void registerOptionObserverCallback(
145 ::FlightingTreatmentId id,
146 ::std::function<void(bool)> observer
147 ) const = 0;
148 // NOLINTEND
149
150public:
151 // virtual function thunks
152 // NOLINTBEGIN
153
154 // NOLINTEND
155};
156
157} // namespace flighting
Definition EnableNonOwnerReferences.h:7
Definition Subscription.h:10
Definition IFlightReader.h:17
Definition FlightingToggleMetadata.h:5