LeviLamina
Loading...
Searching...
No Matches
AppPlatform.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/application/DeviceSunsetTier.h"
8#include "mc/deps/application/IAppPlatform.h"
9#include "mc/deps/application/LowMemorySeverity.h"
10#include "mc/deps/application/OsVersion.h"
11#include "mc/deps/core/NetworkConnectionType.h"
12#include "mc/deps/core/debug/AssertDialogResponse.h"
13#include "mc/deps/core/file/FileAccessType.h"
14#include "mc/deps/core/file/PathBuffer.h"
15#include "mc/deps/core/platform/ARVRPlatform.h"
16#include "mc/deps/core/platform/AppFocusState.h"
17#include "mc/deps/core/platform/BuildPlatform.h"
18#include "mc/deps/core/platform/FullscreenMode.h"
19#include "mc/deps/core/platform/OperationMode.h"
20#include "mc/deps/core/platform/PlatformType.h"
21#include "mc/deps/core/platform/UIScalingRules.h"
22#include "mc/deps/core/resource/ResourceFileSystem.h"
23#include "mc/deps/core/secure_storage/ISecureStorageKeySystem.h"
24#include "mc/deps/core/string/BasicStackString.h"
25#include "mc/deps/core/threading/IAsyncResult.h"
26#include "mc/deps/core/threading/MPMCQueue.h"
27#include "mc/deps/core/utility/NonOwnerPointer.h"
28#include "mc/deps/core/utility/pub_sub/Connector.h"
29#include "mc/deps/input/InputMode.h"
30#include "mc/deps/input/VRControllerType.h"
31
32// auto generated forward declare list
33// clang-format off
36class IFileAccess;
37class SecureStorage;
42namespace Core { class FileStorageArea; }
43namespace Core { class Path; }
44namespace Social { class MultiplayerService; }
45namespace Social { struct UserCreationData; }
46namespace Webview { class PlatformArguments; }
47namespace mce { class UUID; }
48// clang-format on
49
51public:
52 // member variables
53 // NOLINTBEGIN
111 // NOLINTEND
112
113public:
114 // prevent constructor by default
115 AppPlatform& operator=(AppPlatform const&);
116 AppPlatform(AppPlatform const&);
117 AppPlatform();
118
119public:
120 // virtual functions
121 // NOLINTBEGIN
122 // vIndex: 0
123 virtual ~AppPlatform() /*override*/;
124
125 // vIndex: 21
126 virtual void initialize();
127
128 // vIndex: 22
129 virtual void teardown();
130
131 // vIndex: 6
132 virtual void initAppPlatformNetworkSettings() /*override*/;
133
134 // vIndex: 23
135 virtual void initializeScreenDependentResources();
136
137 // vIndex: 24
138 virtual uint64 getHighPerformanceThreadsCount() const;
139
140 // vIndex: 25
141 virtual uint64 getTotalHardwareThreadsCount() const;
142
143 // vIndex: 26
144 virtual void initializeGraphicsDeviceTier();
145
146 // vIndex: 27
147 virtual void addListener(::AppPlatformListener* l, float priority);
148
149 // vIndex: 28
150 virtual void removeListener(::AppPlatformListener* l);
151
152 // vIndex: 29
153 virtual void restartApp(bool restart);
154
155 // vIndex: 1
156 virtual bool restartRequested() /*override*/;
157
158 // vIndex: 30
159 virtual ::Core::PathBuffer<::std::string> getPackagePath() const = 0;
160
161 // vIndex: 7
162 virtual int const numberOfThrottledTreatmentPacksToImportPerMinute() const /*override*/;
163
164 // vIndex: 8
165 virtual bool const areTreatmentPacksThrottled() const /*override*/;
166
167 // vIndex: 31
168 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::IntegrityTokenResult>>
169 requestIntegrityToken(::std::string const& nonceToken);
170
171 // vIndex: 32
172 virtual void setIntegrityToken(::std::string const& integrityToken);
173
174 // vIndex: 33
175 virtual void setIntegrityTokenErrorMessage(::std::string const& errorMessage);
176
177 // vIndex: 34
178 virtual bool supportsInPackageRecursion() const;
179
180 // vIndex: 35
181 virtual bool supportsXboxLiveAchievements() const;
182
183 // vIndex: 36
184 virtual void hideSplashScreen();
185
186 // vIndex: 37
187 virtual ::std::string getFeedbackBugsLink() const;
188
189 // vIndex: 38
190 virtual ::std::string getFeedbackHelpLink() const;
191
192 // vIndex: 39
193 virtual auto getModalErrorMessageProc() -> ::AssertDialogResponse (*)(::std::string const&, ::std::string const&);
194
195 // vIndex: 40
196 virtual void updateLocalization(::std::string const& loc);
197
198 // vIndex: 41
199 virtual void setSleepEnabled(bool enabled);
200
201 // vIndex: 42
202 virtual ::Core::PathBuffer<::std::string> getScratchPath();
203
204 // vIndex: 43
205 virtual ::Core::PathBuffer<::std::string> getInternalPackStoragePath() const;
206
207 // vIndex: 44
208 virtual ::Core::PathBuffer<::std::string> getSettingsPath();
209
210 // vIndex: 2
211 virtual ::Core::PathBuffer<::std::string> getLoggingPath() const /*override*/;
212
213 // vIndex: 45
214 virtual ::Core::PathBuffer<::std::string> getPackagedShaderCachePath();
215
216 // vIndex: 46
217 virtual ::Core::PathBuffer<::std::string> getShaderCachePath();
218
219 // vIndex: 47
220 virtual ::Core::PathBuffer<::std::string> getUserdataPathForLevels() const;
221
222 // vIndex: 48
223 virtual ::Core::PathBuffer<::std::string> getCacheStoragePath();
224
225 // vIndex: 49
226 virtual ::Core::PathBuffer<::std::string> getOnDiskScratchPath();
227
228 // vIndex: 50
229 virtual ::Core::PathBuffer<::std::string> getOnDiskPackScratchPath();
230
231 // vIndex: 51
232 virtual ::Core::PathBuffer<::std::string> getLevelInfoCachePath() const;
233
234 // vIndex: 52
235 virtual ::Core::PathBuffer<::std::string> getCatalogSearchScratchPath();
236
237 // vIndex: 53
238 virtual ::Core::PathBuffer<::std::string> getUserStorageRootPath() const;
239
240 // vIndex: 54
241 virtual ::std::shared_ptr<::Core::FileStorageArea> getOrCreateStorageAreaForUser(::Social::UserCreationData const&);
242
243 // vIndex: 55
244 virtual bool hasSeparatedStorageAreasForContentAcquisition() const;
245
246 // vIndex: 56
247 virtual uint64 getOptimalLDBSize();
248
249 // vIndex: 57
250 virtual int getMaxLDBFilesOpen() const;
251
252 // vIndex: 58
253 virtual bool getDisableLDBSeekCompactions() const;
254
255 // vIndex: 59
256 virtual void showDialog(int dialogId);
257
258 // vIndex: 61
259 virtual void createUserInput();
260
261 // vIndex: 60
262 virtual void createUserInput(int dialogId);
263
264 // vIndex: 62
265 virtual int getUserInputStatus();
266
267 // vIndex: 63
268 virtual ::std::vector<::std::string> getUserInput();
269
270 // vIndex: 64
271 virtual ::Bedrock::NotNullNonOwnerPtr<::IFileAccess> getFileAccess(::ResourceFileSystem fileSystem);
272
273 // vIndex: 65
274 virtual ::Core::PathBuffer<::std::string> copyImportFileToTempFolder(::Core::Path const& filePath);
275
276 // vIndex: 66
277 virtual void registerFileForCollectionWithCrashDump(::Core::Path const& fileName);
278
279 // vIndex: 67
280 virtual void registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const;
281
282 // vIndex: 68
283 virtual int getScreenWidth() const;
284
285 // vIndex: 69
286 virtual int getScreenHeight() const;
287
288 // vIndex: 70
289 virtual int getDisplayWidth();
290
291 // vIndex: 71
292 virtual int getDisplayHeight();
293
294 // vIndex: 72
295 virtual void setScreenSize(int width, int height);
296
297 // vIndex: 73
298 virtual void setWindowSize(int width, int height);
299
300 // vIndex: 74
301 virtual void setWindowText(::std::string const& title);
302
303 // vIndex: 75
304 virtual ::std::optional<::OperationMode> getOperationMode() const;
305
306 // vIndex: 76
307 virtual bool allowContentLogWriteToDisk();
308
309 // vIndex: 77
310 virtual uint getMaxClubsRequests() const;
311
312 // vIndex: 78
313 virtual void queueForMainThread_DEPRECATED(::std::function<void()>) = 0;
314
315 // vIndex: 79
316 virtual ::MPMCQueue<::std::function<void()>>& getMainThreadQueue() = 0;
317
318 // vIndex: 80
319 virtual bool supportsLaunchingLegacyVersion() const;
320
321 // vIndex: 81
322 virtual void launchLegacyVersion();
323
324 // vIndex: 82
325 virtual bool canManageLegacyData() const;
326
327 // vIndex: 83
328 virtual bool supportsDayOneExperience() const;
329
330 // vIndex: 84
331 virtual bool canMigrateWorldData() const;
332
333 // vIndex: 85
334 virtual bool isContentAutoUpdateAllowed() const;
335
336 // vIndex: 86
337 virtual int getMaxSimultaneousDownloads() const;
338
339 // vIndex: 87
340 virtual uint getMaxSimultaneousServiceRequests() const;
341
342 // vIndex: 88
343 virtual bool isDownloadAndImportBlocking() const;
344
345 // vIndex: 89
346 virtual bool isDownloadBuffered() const;
347
348 // vIndex: 90
349 virtual bool supportsAutoSaveOnDBCompaction() const;
350
351 // vIndex: 91
352 virtual ::std::string getTextBoxBackend() const = 0;
353
354 // vIndex: 92
355 virtual void setTextBoxBackend(::std::string const&) = 0;
356
357 // vIndex: 93
358 virtual int getCaretPosition() const = 0;
359
360 // vIndex: 94
361 virtual void setCaretPosition(int) = 0;
362
363 // vIndex: 95
364 virtual bool supportsVibration() const;
365
366 // vIndex: 96
367 virtual void vibrate(int milliSeconds);
368
369 // vIndex: 97
370 virtual ::Core::PathBuffer<::std::string> getAssetFileFullPath(::Core::Path const& filename);
371
372 // vIndex: 98
373 virtual ::std::string readAssetFile(::Core::Path const& filename);
374
375 // vIndex: 99
376 virtual bool hasAssetFile(::Core::Path const& filename);
377
378 // vIndex: 100
379 virtual bool copyAssetFile(::Core::Path const& filename, ::Core::Path const& destination);
380
381 // vIndex: 101
382 virtual ::std::set<::Core::PathBuffer<::std::string>>
383 listAssetFilesIn(::Core::Path const& path, ::std::string const& extension) const;
384
385 // vIndex: 102
386 virtual bool supportsClientUpdate() const;
387
388 // vIndex: 103
389 virtual ::std::string getClientUpdateUrl() const;
390
391 // vIndex: 104
392 virtual int checkLicense();
393
394 // vIndex: 105
395 virtual bool hasBuyButtonWhenInvalidLicense();
396
397 // vIndex: 10
398 virtual bool isNetworkAvailable() const /*override*/;
399
400 // vIndex: 11
401 virtual bool isLANAvailable() const /*override*/;
402
403 // vIndex: 9
404 virtual bool isNetworkEnabled(bool onlyWifiAllowed) const /*override*/;
405
406 // vIndex: 106
407 virtual void setNetworkAllowed(bool allowed);
408
409 // vIndex: 107
410 virtual bool isNetworkAllowed() const;
411
412 // vIndex: 13
413 virtual bool isInternetAvailable() const /*override*/;
414
415 // vIndex: 108
416 virtual ::std::optional<bool> isOnWifiConnectionTelemetryValue();
417
418 // vIndex: 109
419 virtual ::NetworkConnectionType getNetworkConnectionType();
420
421 // vIndex: 110
422 virtual void setNetworkConnectionType(::NetworkConnectionType connectionType);
423
424 // vIndex: 111
425 virtual int getDefaultNetworkMaxPlayers() const;
426
427 // vIndex: 14
428 virtual bool multiplayerRequiresPremiumAccess() const /*override*/;
429
430 // vIndex: 15
431 virtual bool multiplayerRequiresUGCEnabled() const /*override*/;
432
433 // vIndex: 112
434 virtual bool isCrossPlatformToggleVisible() const;
435
436 // vIndex: 113
437 virtual bool isTelemetryAllowed();
438
439 // vIndex: 114
440 virtual bool isTrialWorldsTransferToFullGameAllowed() const;
441
442 // vIndex: 115
443 virtual void buyGame();
444
445 // vIndex: 116
446 virtual void finish();
447
448 // vIndex: 117
449 virtual bool canLaunchUri(::std::string const& uri);
450
451 // vIndex: 118
452 virtual void launchUri(::std::string const& uri);
453
454 // vIndex: 119
455 virtual void launchSettings();
456
457 // vIndex: 120
458 virtual bool useXboxControlHelpers() const;
459
460 // vIndex: 121
461 virtual ::PlatformType getPlatformType() const;
462
463 // vIndex: 122
464 virtual bool isCentennial() const;
465
466 // vIndex: 123
467 virtual ::std::string getPackageFamilyName() const;
468
469 // vIndex: 16
470 virtual ::BuildPlatform getBuildPlatform() const /*override*/;
471
472 // vIndex: 124
473 virtual ::std::string getPlatformString() const = 0;
474
475 // vIndex: 125
476 virtual ::std::string getSubPlatformString() const = 0;
477
478 // vIndex: 126
479 virtual void setARVRPlatform(::ARVRPlatform);
480
481 // vIndex: 17
482 virtual ::ARVRPlatform getARVRPlatform() const /*override*/;
483
484 // vIndex: 127
485 virtual int getNumberOfParticleFramesToInterpolate() const;
486
487 // vIndex: 128
488 virtual int getDpi() const;
489
490 // vIndex: 129
491 virtual void setDpi(int dpi);
492
493 // vIndex: 130
494 virtual ::UIScalingRules getUIScalingRules() const;
495
496 // vIndex: 131
497 virtual void setUIScalingRules(::UIScalingRules UIScalingRules);
498
499 // vIndex: 132
500 virtual void setVRControllerType(::VRControllerType controllerType);
501
502 // vIndex: 133
503 virtual ::VRControllerType getVRControllerType() const;
504
505 // vIndex: 134
506 virtual bool hasIDEProfiler();
507
508 // vIndex: 135
509 virtual ::std::string getPlatformStringVar(int stringId);
510
511 // vIndex: 136
512 virtual ::std::string getApplicationId() const = 0;
513
514 // vIndex: 137
515 virtual uint64 getFreeMemory() const = 0;
516
517 // vIndex: 138
518 virtual uint64 getMemoryLimit() const = 0;
519
520 // vIndex: 139
521 virtual uint64 getUsedMemory() = 0;
522
523 // vIndex: 20
524 virtual uint64 getTotalPhysicalMemory() const = 0;
525
526 // vIndex: 140
527 virtual uint64 getMaximumUsedMemory();
528
529 // vIndex: 141
530 virtual uint64 getLowMemoryEventThreshold(::LowMemorySeverity) const;
531
532 // vIndex: 142
533 virtual uint64 getLowMemoryEventRecoveryThreshold(::LowMemorySeverity severity) const;
534
535 // vIndex: 19
536 virtual uint64 getLowPhysicalMemoryThreshold() const /*override*/;
537
538 // vIndex: 143
539 virtual void calculateIfLowMemoryDevice();
540
541 // vIndex: 3
542 virtual bool isLowMemoryDevice() const /*override*/;
543
544 // vIndex: 4
545 virtual bool isLowPhysicalMemoryDevice() const /*override*/;
546
547 // vIndex: 144
548 virtual uint64 getTextureMemoryBudget() const;
549
550 // vIndex: 145
551 virtual uint64 getSingleMipDefaultMemoryBudget() const;
552
553 // vIndex: 146
554 virtual void readyForApplicationExitInfo() const;
555
556 // vIndex: 147
557 virtual ::DeviceSunsetTier getDeviceSunsetTier() const;
558
559 // vIndex: 148
560 virtual int getMaxSimRadiusInChunks() const;
561
562 // vIndex: 149
563 virtual ::std::vector<::std::string> getBroadcastAddresses();
564
565 // vIndex: 150
566 virtual ::std::vector<::std::string> getIPAddresses();
567
568 // vIndex: 151
569 virtual bool useAppPlatformForTelemetryIPAddress();
570
571 // vIndex: 152
572 virtual ::std::string getModelName();
573
574 // vIndex: 153
575 virtual bool usesHDRBrightness() const;
576
577 // vIndex: 154
578 virtual void updateBootstrapSettingsFromTreatmentsAsync();
579
580 // vIndex: 155
581 virtual void setFullscreenMode(::FullscreenMode const fullscreenMode);
582
583 // vIndex: 156
584 virtual bool isNetworkThrottled() const;
585
586 // vIndex: 12
587 virtual bool isLANAllowed() const /*override*/;
588
589 // vIndex: 157
590 virtual bool doesLANRequireMultiplayerRestrictions() const;
591
592 // vIndex: 158
593 virtual void collectGraphicsHardwareDetails();
594
595 // vIndex: 159
596 virtual ::std::string getEdition() const;
597
598 // vIndex: 160
599 virtual ::OsVersion getOSVersion() const;
600
601 // vIndex: 161
602 virtual bool isWin10Arm() const;
603
604 // vIndex: 162
605 virtual void setThreadsFrozen(bool frozen);
606
607 // vIndex: 163
608 virtual bool areThreadsFrozen() const;
609
610 // vIndex: 164
611 virtual float getDefaultSafeZoneScaleX() const;
612
613 // vIndex: 165
614 virtual float getDefaultSafeZoneScaleY() const;
615
616 // vIndex: 166
617 virtual float getDefaultSafeZoneScaleAll() const;
618
619 // vIndex: 167
620 virtual float getDefaultScreenPositionX() const;
621
622 // vIndex: 168
623 virtual float getDefaultScreenPositionY() const;
624
625 // vIndex: 169
626 virtual bool isQuitCapable() const;
627
628 // vIndex: 170
629 virtual bool requireControllerAtStartup() const;
630
631 // vIndex: 171
632 virtual bool notifyControllerConnectionStateChange() const;
633
634 // vIndex: 172
635 virtual bool platformRequiresControllerApplet() const;
636
637 // vIndex: 173
638 virtual ::InputMode getDefaultInputMode() const;
639
640 // vIndex: 174
641 virtual ::AppFocusState getFocusState();
642
643 // vIndex: 175
644 virtual ::AppLifecycleContext& getAppLifecycleContext();
645
646 // vIndex: 176
647 virtual uint64 calculateAvailableDiskFreeSpace(::Core::Path const&) = 0;
648
649 // vIndex: 177
650 virtual bool supportsFliteTTS() const;
651
652 // vIndex: 178
653 virtual ::std::unique_ptr<::SecureStorage> getSecureStorage();
654
655 // vIndex: 1
656 virtual ::SecureStorageKey getSecureStorageKey(::std::string const& key) /*override*/;
657
658 // vIndex: 2
659 virtual void setSecureStorageKey(::std::string const& key, ::SecureStorageKey const& value) /*override*/;
660
661 // vIndex: 179
662 virtual bool devHotReloadRenderResources() const;
663
664 // vIndex: 180
665 virtual bool shouldPauseDownloadsWhenEnterGame() const;
666
667 // vIndex: 181
668 virtual bool compareAppReceiptToLocalReceipt(::std::string const& otherReceipt);
669
670 // vIndex: 182
671 virtual ::mce::UUID const& getThirdPartyPackUUID() const;
672
673 // vIndex: 183
674 virtual bool saveTreatmentPacksAsZips() const;
675
676 // vIndex: 184
677 virtual bool saveEncryptedPacksAsZips() const;
678
679 // vIndex: 185
680 virtual bool saveEncryptedWorldTemplatePacksAsZips() const;
681
682 // vIndex: 186
683 virtual bool allowsResourcePackDevelopment() const;
684
685 // vIndex: 187
686 virtual bool supportsLegacySinglePremiumCacheDirectory() const;
687
688 // vIndex: 188
689 virtual bool supportsWorldShare() const;
690
691 // vIndex: 189
692 virtual bool hasJournalingFilesystem() const;
693
694 // vIndex: 190
695 virtual bool isAutoCompactionEnabled() const;
696
697 // vIndex: 191
698 virtual ::std::chrono::nanoseconds getLevelSaveInterval() const;
699
700 // vIndex: 192
701 virtual ::std::chrono::nanoseconds getOptionsSaveInterval() const;
702
703 // vIndex: 193
704 virtual bool hasPlatformSpecificInvites() const;
705
706 // vIndex: 194
707 virtual bool usePlatformProfilePicturesOnly() const;
708
709 // vIndex: 195
710 virtual bool allowBetaXblSignIn() const;
711
712 // vIndex: 196
713 virtual bool requiresXboxLiveSigninToPlay() const;
714
715 // vIndex: 197
716 virtual bool requiresLiveGoldForMultiplayer() const;
717
718 // vIndex: 198
719 virtual bool shouldRegisterForXboxLiveNotifications() const;
720
721 // vIndex: 5
722 virtual bool isRealmsEnabled() const /*override*/;
723
724 // vIndex: 199
725 virtual bool minimizeBackgroundDownloads() const;
726
727 // vIndex: 200
728 virtual bool requiresAutoSaveIconExplanationPopup() const;
729
730 // vIndex: 201
731 virtual ::std::optional<::ScreenshotOptions> getExtraLevelSaveDataIconParams(::std::string const& levelId) const;
732
733 // vIndex: 202
734 virtual ::std::vector<::std::shared_ptr<::Social::MultiplayerService>> getMultiplayerServiceListToRegister() const;
735
736 // vIndex: 18
737 virtual ::std::vector<::Social::MultiplayerServiceIdentifier>
738 getBroadcastingMultiplayerServiceIds(bool xblBroadcast, bool platformBroadcast) const /*override*/;
739
740 // vIndex: 203
741 virtual uint maxFileDataRequestConcurrency() const;
742
743 // vIndex: 204
744 virtual void goToExternalConsumablesStoreListing() const;
745
746 // vIndex: 205
747 virtual float getStoreNetworkFailureTimeout() const;
748
749 // vIndex: 206
750 virtual ::std::shared_ptr<::Core::FileStorageArea>
751 createLoggingStorageArea(::Core::FileAccessType fileAccessType, ::Core::Path const& loggingPath);
752
753 // vIndex: 207
754 virtual void handlePlatformSpecificCommerceError(uint error);
755
756 // vIndex: 208
757 virtual bool isEduMode() const;
758
759 // vIndex: 209
760 virtual bool importAsFlatFile() const;
761
762 // vIndex: 210
763 virtual bool isWebviewSupported() const;
764
765 // vIndex: 211
766 virtual ::std::shared_ptr<::WebviewInterface> createWebview(::Webview::PlatformArguments&&) const;
767
768 // vIndex: 212
769 virtual bool canAppSelfTerminate() const = 0;
770
771 // vIndex: 213
772 virtual bool getPlatformTTSExists() const;
773
774 // vIndex: 214
775 virtual bool getPlatformTTSEnabled() const;
776
777 // vIndex: 215
778 virtual ::std::variant<::HWND__*, ::std::monostate> getRenderSurfaceParameters() const;
779
780 // vIndex: 216
781 virtual bool shouldRemoveGraphicsDeviceOnAppTermination() const;
782
783 // vIndex: 217
784 virtual bool isJoinableViaExternalServers() const;
785
786 // vIndex: 218
787 virtual void onPrimaryUserNetworkReady();
788
789 // vIndex: 219
790 virtual bool isDisplayInitialized() const;
791
792 // vIndex: 220
793 virtual bool usesAsyncOptionSaving() const;
794
795 // vIndex: 221
796 virtual void showPlatformStoreIcon(bool shouldShow);
797
798 // vIndex: 222
799 virtual void showPlatformEmptyStoreDialog(::std::function<void(bool)>&& callback);
800
801 // vIndex: 223
802 virtual bool supportsVRModeSwap() const;
803
804 // vIndex: 224
805 virtual bool canSwapVRMode(bool const inVRMode) const;
806
807 // vIndex: 225
808 virtual void tryEnterVRMode(bool duringStartup, ::std::function<void(bool)> callback);
809
810 // vIndex: 226
811 virtual void exitVRMode(::std::function<void()> callback);
812
813 // vIndex: 227
814 virtual void initializeGameStreaming();
815
816 // vIndex: 228
817 virtual void notifyNetworkConfigurationChanged();
818
819 // vIndex: 229
820 virtual void setKeepScreenOnFlag(bool);
821
822 // vIndex: 230
823 virtual void initializeMulticast() const;
824
825 // vIndex: 231
826 virtual void requestMulticastReceivePermission();
827
828 // vIndex: 232
829 virtual bool hasMulticastReceivePermission() const;
830
831 // vIndex: 233
832 virtual void releaseMulticastReceivePermission() const;
833
834 // vIndex: 234
835 virtual void onMinecraftGameInitComplete();
836
837 // vIndex: 235
838 virtual void onFullGameUnlock();
839
840 // vIndex: 236
841 virtual bool is24HourTimeFormat() const;
842
843 // vIndex: 237
844 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<bool>>
845 showOSUserDialog(::std::string, ::std::string, ::std::string);
846
847 // vIndex: 238
848 virtual ::Core::PathBuffer<::std::string> _getCurrentStoragePath() const = 0;
849
850 // vIndex: 239
851 virtual ::Core::PathBuffer<::std::string> _getExternalStoragePath() const = 0;
852
853 // vIndex: 240
854 virtual ::Core::PathBuffer<::std::string> _getInternalStoragePath() const = 0;
855
856 // vIndex: 241
857 virtual ::Core::PathBuffer<::std::string> _getUserdataPath() const = 0;
858
859 // vIndex: 242
860 virtual bool _tryEnableCPUBoost();
861
862 // vIndex: 243
863 virtual void _disableCPUBoost();
864
865 // vIndex: 244
866 virtual void _initializeFileStorageAreas();
867
868 // vIndex: 245
869 virtual void _teardownFileStorageAreas();
870
871 // vIndex: 246
872 virtual int getPlatformDpi() const;
873
874 // vIndex: 247
875 virtual ::UIScalingRules getPlatformUIScalingRules() const;
876
877 // vIndex: 248
878 virtual ::Core::PathBuffer<::std::string> getPlatformTempPath() const = 0;
879
880 // vIndex: 249
881 virtual void _onInitialize();
882
883 // vIndex: 250
884 virtual void _onTeardown();
885 // NOLINTEND
886
887public:
888 // member functions
889 // NOLINTBEGIN
890 MCNAPI explicit AppPlatform(bool registerService);
891
892 MCNAPI void _fireAppTerminated();
893
895
896 MCNAPI ::Core::PathBuffer<::std::string> getInternalStoragePath() const;
897
898 MCNAPI ::std::optional<::std::locale> getLocaleForDateTimeFormatting() const;
899
900 MCNAPI ::gsl::not_null<::Bedrock::PubSub::Connector<void(::LowMemorySeverity)>*> getOnLowMemoryConnector();
901 // NOLINTEND
902
903public:
904 // static variables
905 // NOLINTBEGIN
906 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& HOME_PATH();
907
908 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& LOG_PATH();
909
910 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& SETTINGS_PATH();
911
912 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& SHADERCACHE_PATH();
913 // NOLINTEND
914
915public:
916 // constructor thunks
917 // NOLINTBEGIN
918 MCNAPI void* $ctor(bool registerService);
919 // NOLINTEND
920
921public:
922 // destructor thunk
923 // NOLINTBEGIN
924 MCNAPI void $dtor();
925 // NOLINTEND
926
927public:
928 // virtual function thunks
929 // NOLINTBEGIN
930 MCNAPI void $initialize();
931
932 MCNAPI void $teardown();
933
935
937
938 MCNAPI uint64 $getHighPerformanceThreadsCount() const;
939
940 MCNAPI uint64 $getTotalHardwareThreadsCount() const;
941
943
944 MCNAPI void $addListener(::AppPlatformListener* l, float priority);
945
947
948 MCNAPI void $restartApp(bool restart);
949
950 MCNAPI bool $restartRequested();
951
953
954 MCNAPI bool const $areTreatmentPacksThrottled() const;
955
956 MCNAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::IntegrityTokenResult>>
957 $requestIntegrityToken(::std::string const& nonceToken);
958
959 MCNAPI void $setIntegrityToken(::std::string const& integrityToken);
960
961 MCNAPI void $setIntegrityTokenErrorMessage(::std::string const& errorMessage);
962
963 MCNAPI bool $supportsInPackageRecursion() const;
964
965 MCNAPI bool $supportsXboxLiveAchievements() const;
966
967 MCNAPI void $hideSplashScreen();
968
969 MCNAPI ::std::string $getFeedbackBugsLink() const;
970
971 MCNAPI ::std::string $getFeedbackHelpLink() const;
972
973 MCNAPI auto $getModalErrorMessageProc() -> ::AssertDialogResponse (*)(::std::string const&, ::std::string const&);
974
975 MCNAPI void $updateLocalization(::std::string const& loc);
976
977 MCNAPI void $setSleepEnabled(bool enabled);
978
979 MCNAPI ::Core::PathBuffer<::std::string> $getScratchPath();
980
981 MCNAPI ::Core::PathBuffer<::std::string> $getInternalPackStoragePath() const;
982
983 MCNAPI ::Core::PathBuffer<::std::string> $getSettingsPath();
984
985 MCNAPI ::Core::PathBuffer<::std::string> $getLoggingPath() const;
986
987 MCNAPI ::Core::PathBuffer<::std::string> $getPackagedShaderCachePath();
988
989 MCNAPI ::Core::PathBuffer<::std::string> $getShaderCachePath();
990
991 MCNAPI ::Core::PathBuffer<::std::string> $getUserdataPathForLevels() const;
992
993 MCNAPI ::Core::PathBuffer<::std::string> $getCacheStoragePath();
994
995 MCNAPI ::Core::PathBuffer<::std::string> $getOnDiskScratchPath();
996
997 MCNAPI ::Core::PathBuffer<::std::string> $getOnDiskPackScratchPath();
998
999 MCNAPI ::Core::PathBuffer<::std::string> $getLevelInfoCachePath() const;
1000
1001 MCNAPI ::Core::PathBuffer<::std::string> $getCatalogSearchScratchPath();
1002
1003 MCNAPI ::Core::PathBuffer<::std::string> $getUserStorageRootPath() const;
1004
1005 MCNAPI ::std::shared_ptr<::Core::FileStorageArea> $getOrCreateStorageAreaForUser(::Social::UserCreationData const&);
1006
1008
1009 MCNAPI uint64 $getOptimalLDBSize();
1010
1011 MCNAPI int $getMaxLDBFilesOpen() const;
1012
1014
1015 MCNAPI void $showDialog(int dialogId);
1016
1017 MCNAPI void $createUserInput();
1018
1019 MCNAPI void $createUserInput(int dialogId);
1020
1022
1023 MCNAPI ::std::vector<::std::string> $getUserInput();
1024
1025 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::IFileAccess> $getFileAccess(::ResourceFileSystem fileSystem);
1026
1027 MCNAPI ::Core::PathBuffer<::std::string> $copyImportFileToTempFolder(::Core::Path const& filePath);
1028
1030
1031 MCNAPI void $registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const;
1032
1033 MCNAPI int $getScreenWidth() const;
1034
1035 MCNAPI int $getScreenHeight() const;
1036
1037 MCNAPI int $getDisplayWidth();
1038
1039 MCNAPI int $getDisplayHeight();
1040
1041 MCNAPI void $setScreenSize(int width, int height);
1042
1043 MCNAPI void $setWindowSize(int width, int height);
1044
1045 MCNAPI void $setWindowText(::std::string const& title);
1046
1047 MCNAPI ::std::optional<::OperationMode> $getOperationMode() const;
1048
1050
1051 MCNAPI uint $getMaxClubsRequests() const;
1052
1054
1056
1057 MCNAPI bool $canManageLegacyData() const;
1058
1059 MCNAPI bool $supportsDayOneExperience() const;
1060
1061 MCNAPI bool $canMigrateWorldData() const;
1062
1063 MCNAPI bool $isContentAutoUpdateAllowed() const;
1064
1066
1068
1069 MCNAPI bool $isDownloadAndImportBlocking() const;
1070
1071 MCNAPI bool $isDownloadBuffered() const;
1072
1074
1075 MCNAPI bool $supportsVibration() const;
1076
1077 MCNAPI void $vibrate(int milliSeconds);
1078
1079 MCNAPI ::Core::PathBuffer<::std::string> $getAssetFileFullPath(::Core::Path const& filename);
1080
1081 MCNAPI ::std::string $readAssetFile(::Core::Path const& filename);
1082
1083 MCNAPI bool $hasAssetFile(::Core::Path const& filename);
1084
1085 MCNAPI bool $copyAssetFile(::Core::Path const& filename, ::Core::Path const& destination);
1086
1087 MCNAPI ::std::set<::Core::PathBuffer<::std::string>>
1088 $listAssetFilesIn(::Core::Path const& path, ::std::string const& extension) const;
1089
1090 MCNAPI bool $supportsClientUpdate() const;
1091
1092 MCNAPI ::std::string $getClientUpdateUrl() const;
1093
1094 MCNAPI int $checkLicense();
1095
1097
1098 MCNAPI bool $isNetworkAvailable() const;
1099
1100 MCNAPI bool $isLANAvailable() const;
1101
1102 MCNAPI bool $isNetworkEnabled(bool onlyWifiAllowed) const;
1103
1104 MCNAPI void $setNetworkAllowed(bool allowed);
1105
1106 MCNAPI bool $isNetworkAllowed() const;
1107
1108 MCNAPI bool $isInternetAvailable() const;
1109
1110 MCNAPI ::std::optional<bool> $isOnWifiConnectionTelemetryValue();
1111
1112 MCNAPI ::NetworkConnectionType $getNetworkConnectionType();
1113
1114 MCNAPI void $setNetworkConnectionType(::NetworkConnectionType connectionType);
1115
1117
1119
1121
1123
1124 MCNAPI bool $isTelemetryAllowed();
1125
1127
1128 MCNAPI void $buyGame();
1129
1130 MCNAPI void $finish();
1131
1132 MCNAPI bool $canLaunchUri(::std::string const& uri);
1133
1134 MCNAPI void $launchUri(::std::string const& uri);
1135
1136 MCNAPI void $launchSettings();
1137
1138 MCNAPI bool $useXboxControlHelpers() const;
1139
1140 MCNAPI ::PlatformType $getPlatformType() const;
1141
1142 MCNAPI bool $isCentennial() const;
1143
1144 MCNAPI ::std::string $getPackageFamilyName() const;
1145
1146 MCNAPI ::BuildPlatform $getBuildPlatform() const;
1147
1148 MCNAPI void $setARVRPlatform(::ARVRPlatform);
1149
1150 MCNAPI ::ARVRPlatform $getARVRPlatform() const;
1151
1153
1154 MCNAPI int $getDpi() const;
1155
1156 MCNAPI void $setDpi(int dpi);
1157
1158 MCNAPI ::UIScalingRules $getUIScalingRules() const;
1159
1160 MCNAPI void $setUIScalingRules(::UIScalingRules UIScalingRules);
1161
1162 MCNAPI void $setVRControllerType(::VRControllerType controllerType);
1163
1164 MCNAPI ::VRControllerType $getVRControllerType() const;
1165
1166 MCNAPI bool $hasIDEProfiler();
1167
1168 MCNAPI ::std::string $getPlatformStringVar(int stringId);
1169
1170 MCNAPI uint64 $getMaximumUsedMemory();
1171
1172 MCNAPI uint64 $getLowMemoryEventThreshold(::LowMemorySeverity) const;
1173
1174 MCNAPI uint64 $getLowMemoryEventRecoveryThreshold(::LowMemorySeverity severity) const;
1175
1176 MCNAPI uint64 $getLowPhysicalMemoryThreshold() const;
1177
1179
1180 MCNAPI bool $isLowMemoryDevice() const;
1181
1182 MCNAPI bool $isLowPhysicalMemoryDevice() const;
1183
1184 MCNAPI uint64 $getTextureMemoryBudget() const;
1185
1187
1188 MCNAPI void $readyForApplicationExitInfo() const;
1189
1190 MCNAPI ::DeviceSunsetTier $getDeviceSunsetTier() const;
1191
1192 MCNAPI int $getMaxSimRadiusInChunks() const;
1193
1194 MCNAPI ::std::vector<::std::string> $getBroadcastAddresses();
1195
1196 MCNAPI ::std::vector<::std::string> $getIPAddresses();
1197
1199
1200 MCNAPI ::std::string $getModelName();
1201
1202 MCNAPI bool $usesHDRBrightness() const;
1203
1205
1206 MCNAPI void $setFullscreenMode(::FullscreenMode const fullscreenMode);
1207
1208 MCNAPI bool $isNetworkThrottled() const;
1209
1210 MCNAPI bool $isLANAllowed() const;
1211
1213
1215
1216 MCNAPI ::std::string $getEdition() const;
1217
1218 MCNAPI ::OsVersion $getOSVersion() const;
1219
1220 MCNAPI bool $isWin10Arm() const;
1221
1222 MCNAPI void $setThreadsFrozen(bool frozen);
1223
1224 MCNAPI bool $areThreadsFrozen() const;
1225
1226 MCNAPI float $getDefaultSafeZoneScaleX() const;
1227
1228 MCNAPI float $getDefaultSafeZoneScaleY() const;
1229
1230 MCNAPI float $getDefaultSafeZoneScaleAll() const;
1231
1232 MCNAPI float $getDefaultScreenPositionX() const;
1233
1234 MCNAPI float $getDefaultScreenPositionY() const;
1235
1236 MCNAPI bool $isQuitCapable() const;
1237
1238 MCNAPI bool $requireControllerAtStartup() const;
1239
1241
1243
1244 MCNAPI ::AppFocusState $getFocusState();
1245
1246 MCNAPI ::AppLifecycleContext& $getAppLifecycleContext();
1247
1248 MCNAPI bool $supportsFliteTTS() const;
1249
1250 MCNAPI ::std::unique_ptr<::SecureStorage> $getSecureStorage();
1251
1252 MCNAPI ::SecureStorageKey $getSecureStorageKey(::std::string const& key);
1253
1254 MCNAPI void $setSecureStorageKey(::std::string const& key, ::SecureStorageKey const& value);
1255
1256 MCNAPI bool $devHotReloadRenderResources() const;
1257
1259
1260 MCNAPI bool $compareAppReceiptToLocalReceipt(::std::string const& otherReceipt);
1261
1262 MCNAPI ::mce::UUID const& $getThirdPartyPackUUID() const;
1263
1264 MCNAPI bool $saveTreatmentPacksAsZips() const;
1265
1266 MCNAPI bool $saveEncryptedPacksAsZips() const;
1267
1269
1271
1273
1274 MCNAPI bool $supportsWorldShare() const;
1275
1276 MCNAPI bool $hasJournalingFilesystem() const;
1277
1278 MCNAPI bool $isAutoCompactionEnabled() const;
1279
1280 MCNAPI ::std::chrono::nanoseconds $getLevelSaveInterval() const;
1281
1282 MCNAPI ::std::chrono::nanoseconds $getOptionsSaveInterval() const;
1283
1284 MCNAPI bool $hasPlatformSpecificInvites() const;
1285
1287
1288 MCNAPI bool $allowBetaXblSignIn() const;
1289
1291
1293
1295
1296 MCNAPI bool $isRealmsEnabled() const;
1297
1298 MCNAPI bool $minimizeBackgroundDownloads() const;
1299
1301
1302 MCNAPI ::std::optional<::ScreenshotOptions> $getExtraLevelSaveDataIconParams(::std::string const& levelId) const;
1303
1304 MCNAPI ::std::vector<::std::shared_ptr<::Social::MultiplayerService>> $getMultiplayerServiceListToRegister() const;
1305
1306 MCNAPI ::std::vector<::Social::MultiplayerServiceIdentifier>
1307 $getBroadcastingMultiplayerServiceIds(bool xblBroadcast, bool platformBroadcast) const;
1308
1310
1312
1314
1315 MCNAPI ::std::shared_ptr<::Core::FileStorageArea>
1316 $createLoggingStorageArea(::Core::FileAccessType fileAccessType, ::Core::Path const& loggingPath);
1317
1319
1320 MCNAPI bool $isEduMode() const;
1321
1322 MCNAPI bool $importAsFlatFile() const;
1323
1324 MCNAPI bool $isWebviewSupported() const;
1325
1326 MCNAPI ::std::shared_ptr<::WebviewInterface> $createWebview(::Webview::PlatformArguments&&) const;
1327
1328 MCNAPI bool $getPlatformTTSExists() const;
1329
1330 MCNAPI bool $getPlatformTTSEnabled() const;
1331
1332 MCNAPI ::std::variant<::HWND__*, ::std::monostate> $getRenderSurfaceParameters() const;
1333
1335
1337
1339
1340 MCNAPI bool $isDisplayInitialized() const;
1341
1342 MCNAPI bool $usesAsyncOptionSaving() const;
1343
1344 MCNAPI void $showPlatformStoreIcon(bool shouldShow);
1345
1346 MCNAPI void $showPlatformEmptyStoreDialog(::std::function<void(bool)>&& callback);
1347
1348 MCNAPI bool $supportsVRModeSwap() const;
1349
1350 MCNAPI bool $canSwapVRMode(bool const inVRMode) const;
1351
1352 MCNAPI void $tryEnterVRMode(bool duringStartup, ::std::function<void(bool)> callback);
1353
1354 MCNAPI void $exitVRMode(::std::function<void()> callback);
1355
1357
1359
1360 MCNAPI void $setKeepScreenOnFlag(bool);
1361
1362 MCNAPI void $initializeMulticast() const;
1363
1365
1367
1369
1371
1372 MCNAPI void $onFullGameUnlock();
1373
1374 MCNAPI bool $is24HourTimeFormat() const;
1375
1376 MCNAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<bool>>
1377 $showOSUserDialog(::std::string, ::std::string, ::std::string);
1378
1379 MCNAPI bool $_tryEnableCPUBoost();
1380
1381 MCNAPI void $_disableCPUBoost();
1382
1384
1386
1387 MCNAPI int $getPlatformDpi() const;
1388
1389 MCNAPI ::UIScalingRules $getPlatformUIScalingRules() const;
1390
1391 MCNAPI void $_onInitialize();
1392
1393 MCNAPI void $_onTeardown();
1394 // NOLINTEND
1395
1396public:
1397 // vftables
1398 // NOLINTBEGIN
1399 MCNAPI static void** $vftableForIAppPlatform();
1400
1402 // NOLINTEND
1403};
Definition AppLifecycleContext.h:5
Definition AppPlatformListener.h:15
Definition AppPlatform.h:50
MCAPI::PlatformType $getPlatformType() const
MCAPI void $onMinecraftGameInitComplete()
MCAPI ::std::optional<::OperationMode > $getOperationMode() const
MCAPI bool $restartRequested()
MCAPI ::std::vector<::std::shared_ptr<::Social::MultiplayerService > > $getMultiplayerServiceListToRegister() const
MCAPI void $setIntegrityTokenErrorMessage(::std::string const &errorMessage)
MCAPI void $initialize()
MCAPI ::std::shared_ptr<::Core::FileStorageArea > $getOrCreateStorageAreaForUser(::Social::UserCreationData const &)
MCAPI ::std::variant<::HWND__ *, ::std::monostate > $getRenderSurfaceParameters() const
MCAPI bool $copyAssetFile(::Core::Path const &filename, ::Core::Path const &destination)
MCAPI bool $isInternetAvailable() const
MCAPI bool $saveEncryptedWorldTemplatePacksAsZips() const
MCAPI bool $canSwapVRMode(bool const inVRMode) const
MCAPI bool $platformRequiresControllerApplet() const
MCAPI int $checkLicense()
MCAPI void $setNetworkAllowed(bool allowed)
MCAPI void $calculateIfLowMemoryDevice()
MCAPI bool $shouldRegisterForXboxLiveNotifications() const
MCAPI int $getMaxSimRadiusInChunks() const
MCAPI bool $canManageLegacyData() const
MCAPI ::Core::PathBuffer<::std::string > $getCatalogSearchScratchPath()
MCAPI bool $requiresXboxLiveSigninToPlay() const
MCAPI void $removeListener(::AppPlatformListener *l)
MCAPI void $setWindowText(::std::string const &title)
MCAPI ::Core::PathBuffer<::std::string > $getAssetFileFullPath(::Core::Path const &filename)
MCAPI void $setSleepEnabled(bool enabled)
MCAPI void $createUserInput(int dialogId)
MCAPI bool $isDownloadBuffered() const
MCAPI ::std::optional<::std::locale > getLocaleForDateTimeFormatting() const
MCAPI ::std::vector<::Social::MultiplayerServiceIdentifier > $getBroadcastingMultiplayerServiceIds(bool xblBroadcast, bool platformBroadcast) const
MCAPI int $getDefaultNetworkMaxPlayers() const
MCAPI::std::string $getModelName()
MCAPI bool $doesLANRequireMultiplayerRestrictions() const
MCAPI bool const $areTreatmentPacksThrottled() const
MCAPI void $setIntegrityToken(::std::string const &integrityToken)
MCAPI uint $getMaxClubsRequests() const
MCAPI void $_onTeardown()
MCAPI uint64 $getHighPerformanceThreadsCount() const
MCAPI::std::chrono::nanoseconds $getOptionsSaveInterval() const
MCAPI bool $isWin10Arm() const
MCAPI void $launchLegacyVersion()
MCAPI::OsVersion $getOSVersion() const
MCAPI void $setSecureStorageKey(::std::string const &key, ::SecureStorageKey const &value)
MCAPI ::Core::PathBuffer<::std::string > $getUserdataPathForLevels() const
MCAPI void $restartApp(bool restart)
MCAPI void $initializeScreenDependentResources()
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const & HOME_PATH()
MCAPI ::std::optional< bool > $isOnWifiConnectionTelemetryValue()
MCAPI bool $isCrossPlatformToggleVisible() const
MCAPI::std::string $getEdition() const
MCAPI int $getScreenWidth() const
MCAPI bool $isNetworkAvailable() const
MCAPI ::std::set<::Core::PathBuffer<::std::string > > $listAssetFilesIn(::Core::Path const &path, ::std::string const &extension) const
MCAPI uint64 $getLowMemoryEventThreshold(::LowMemorySeverity) const
MCAPI ::std::optional<::ScreenshotOptions > $getExtraLevelSaveDataIconParams(::std::string const &levelId) const
MCAPI float $getStoreNetworkFailureTimeout() const
MCAPI ::Core::PathBuffer<::std::string > $copyImportFileToTempFolder(::Core::Path const &filePath)
MCAPI::mce::UUID const & $getThirdPartyPackUUID() const
MCAPI void $tryEnterVRMode(bool duringStartup, ::std::function< void(bool)> callback)
MCAPI void $setFullscreenMode(::FullscreenMode const fullscreenMode)
MCAPI bool $supportsAutoSaveOnDBCompaction() const
MCAPI bool $isCentennial() const
MCAPI int $getScreenHeight() const
MCAPI ::Core::PathBuffer<::std::string > $getOnDiskPackScratchPath()
MCAPI bool $useAppPlatformForTelemetryIPAddress()
MCAPI bool $getPlatformTTSExists() const
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< bool > > $showOSUserDialog(::std::string, ::std::string, ::std::string)
MCAPI void $_disableCPUBoost()
MCAPI::VRControllerType $getVRControllerType() const
MCAPI ::Core::PathBuffer<::std::string > getInternalStoragePath() const
MCAPI ::Core::PathBuffer<::std::string > $getOnDiskScratchPath()
MCAPI bool $isQuitCapable() const
MCAPI::UIScalingRules $getPlatformUIScalingRules() const
MCAPI void $_onInitialize()
MCAPI void $launchSettings()
MCAPI bool $isAutoCompactionEnabled() const
MCAPI::BuildPlatform $getBuildPlatform() const
MCAPI bool $useXboxControlHelpers() const
MCAPI bool $hasJournalingFilesystem() const
MCAPI bool $multiplayerRequiresPremiumAccess() const
MCAPI void $updateBootstrapSettingsFromTreatmentsAsync()
MCAPI bool $isEduMode() const
MCAPI float $getDefaultScreenPositionX() const
MCAPI void $setVRControllerType(::VRControllerType controllerType)
MCAPI bool $notifyControllerConnectionStateChange() const
MCAPI ::std::vector<::std::string > $getUserInput()
MCAPI void $initializeGameStreaming()
MCAPI::NetworkConnectionType $getNetworkConnectionType()
MCAPI uint $maxFileDataRequestConcurrency() const
MCAPI void $initializeMulticast() const
MCAPI bool $_tryEnableCPUBoost()
MCAPI int $getDpi() const
MCAPI bool $supportsVRModeSwap() const
MCAPI void $dtor()
MCAPI void $buyGame()
MCAPI::std::string $getPlatformStringVar(int stringId)
MCAPI::std::string $getFeedbackBugsLink() const
MCAPI bool $isRealmsEnabled() const
MCAPI bool $multiplayerRequiresUGCEnabled() const
MCAPI bool $getDisableLDBSeekCompactions() const
MCAPI int $getPlatformDpi() const
MCAPI uint64 $getTotalHardwareThreadsCount() const
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const & LOG_PATH()
MCAPI ::std::vector<::std::string > $getIPAddresses()
MCAPI bool $usePlatformProfilePicturesOnly() const
MCAPI void $exitVRMode(::std::function< void()> callback)
MCAPI::SecureStorageKey $getSecureStorageKey(::std::string const &key)
MCAPI int $getNumberOfParticleFramesToInterpolate() const
MCAPI void $updateLocalization(::std::string const &loc)
MCAPI bool $supportsLegacySinglePremiumCacheDirectory() const
MCAPI ::Core::PathBuffer<::std::string > $getInternalPackStoragePath() const
MCAPI ::Core::PathBuffer<::std::string > $getLoggingPath() const
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const & SETTINGS_PATH()
MCAPI void $goToExternalConsumablesStoreListing() const
MCAPI bool $hasBuyButtonWhenInvalidLicense()
MCAPI ::Core::PathBuffer<::std::string > $getLevelInfoCachePath() const
MCAPI ::std::shared_ptr<::Core::FileStorageArea > $createLoggingStorageArea(::Core::FileAccessType fileAccessType, ::Core::Path const &loggingPath)
MCAPI bool $compareAppReceiptToLocalReceipt(::std::string const &otherReceipt)
MCAPI bool $supportsVibration() const
MCAPI void $requestMulticastReceivePermission()
MCAPI bool $supportsLaunchingLegacyVersion() const
MCAPI::std::string $readAssetFile(::Core::Path const &filename)
MCAPI bool $canLaunchUri(::std::string const &uri)
MCAPI int const $numberOfThrottledTreatmentPacksToImportPerMinute() const
MCAPI void $onFullGameUnlock()
MCAPI uint64 $getTextureMemoryBudget() const
MCAPI ::Core::PathBuffer<::std::string > $getShaderCachePath()
MCAPI float $getDefaultSafeZoneScaleX() const
MCAPI bool $supportsFliteTTS() const
MCAPI int $getUserInputStatus()
MCAPI bool $shouldRemoveGraphicsDeviceOnAppTermination() const
MCAPI ::std::unique_ptr<::SecureStorage > $getSecureStorage()
MCAPI bool $isLANAllowed() const
MCAPI void $setKeepScreenOnFlag(bool)
MCAPI void * $ctor(bool registerService)
MCAPI ::Core::PathBuffer<::std::string > $getScratchPath()
MCAPI bool $isDownloadAndImportBlocking() const
MCAPI bool $isTelemetryAllowed()
MCAPI ::Core::PathBuffer<::std::string > $getPackagedShaderCachePath()
MCAPI bool $requireControllerAtStartup() const
MCAPI void $teardown()
MCAPI::AppLifecycleContext & $getAppLifecycleContext()
MCAPI bool $usesHDRBrightness() const
MCAPI bool $isLowMemoryDevice() const
MCAPI void $initAppPlatformNetworkSettings()
static MCAPI void ** $vftableForIAppPlatform()
MCAPI uint64 $getSingleMipDefaultMemoryBudget() const
MCAPI bool $hasAssetFile(::Core::Path const &filename)
MCAPI::UIScalingRules $getUIScalingRules() const
MCAPI void $setScreenSize(int width, int height)
MCAPI ::gsl::not_null<::Bedrock::PubSub::Connector< void(::LowMemorySeverity)> * > getOnLowMemoryConnector()
MCAPI::std::string $getFeedbackHelpLink() const
MCAPI void $initializeGraphicsDeviceTier()
MCAPI bool $hasIDEProfiler()
MCAPI ::std::vector<::std::string > $getBroadcastAddresses()
MCAPI bool $supportsXboxLiveAchievements() const
MCAPI bool $supportsWorldShare() const
MCAPI uint $getMaxSimultaneousServiceRequests() const
MCAPI void $addListener(::AppPlatformListener *l, float priority)
MCAPI bool $allowsResourcePackDevelopment() const
MCAPI bool $hasPlatformSpecificInvites() const
MCAPI void $setWindowSize(int width, int height)
MCAPI bool $canMigrateWorldData() const
MCAPI bool $isNetworkThrottled() const
MCAPI void $vibrate(int milliSeconds)
MCAPI void $handlePlatformSpecificCommerceError(uint error)
MCAPI int $getDisplayWidth()
MCAPI auto $getModalErrorMessageProc() -> ::AssertDialogResponse(*)(::std::string const &, ::std::string const &)
MCAPI bool $saveTreatmentPacksAsZips() const
MCAPI bool $is24HourTimeFormat() const
MCAPI bool $isDisplayInitialized() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::IFileAccess > $getFileAccess(::ResourceFileSystem fileSystem)
MCAPI bool $hasSeparatedStorageAreasForContentAcquisition() const
MCAPI int $getMaxSimultaneousDownloads() const
MCAPI bool $isNetworkEnabled(bool onlyWifiAllowed) const
MCAPI void $releaseMulticastReceivePermission() const
MCAPI bool $supportsDayOneExperience() const
MCAPI uint64 $getLowPhysicalMemoryThreshold() const
MCAPI bool $importAsFlatFile() const
MCAPI bool $isNetworkAllowed() const
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::IntegrityTokenResult > > $requestIntegrityToken(::std::string const &nonceToken)
MCAPI::std::string $getClientUpdateUrl() const
MCAPI void $notifyNetworkConfigurationChanged()
MCAPI void $setThreadsFrozen(bool frozen)
MCAPI bool $requiresLiveGoldForMultiplayer() const
MCAPI ::Core::PathBuffer<::std::string > $getSettingsPath()
MCAPI ::Core::PathBuffer<::std::string > $getCacheStoragePath()
MCAPI ::std::shared_ptr<::WebviewInterface > $createWebview(::Webview::PlatformArguments &&) const
MCAPI bool $isJoinableViaExternalServers() const
MCAPI bool $allowContentLogWriteToDisk()
MCAPI bool $areThreadsFrozen() const
MCAPI::ARVRPlatform $getARVRPlatform() const
MCAPI void $readyForApplicationExitInfo() const
MCAPI bool $isContentAutoUpdateAllowed() const
MCAPI int $getDisplayHeight()
MCAPI bool $minimizeBackgroundDownloads() const
MCAPI bool $usesAsyncOptionSaving() const
MCAPI float $getDefaultScreenPositionY() const
MCAPI void $_initializeFileStorageAreas()
MCAPI ::Core::PathBuffer<::std::string > $getUserStorageRootPath() const
MCAPI void $showDialog(int dialogId)
MCAPI float $getDefaultSafeZoneScaleY() const
MCAPI void $onPrimaryUserNetworkReady()
MCAPI bool $shouldPauseDownloadsWhenEnterGame() const
MCAPI::std::string $getPackageFamilyName() const
MCAPI AppPlatform(bool registerService)
MCAPI void _fireAppTerminated()
MCAPI void $finish()
MCAPI void $setDpi(int dpi)
MCAPI void $registerExperimentsActiveCrashDump(::std::vector<::std::string > const &activeExperiments) const
MCAPI bool $requiresAutoSaveIconExplanationPopup() const
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const & SHADERCACHE_PATH()
MCAPI float $getDefaultSafeZoneScaleAll() const
MCAPI void $launchUri(::std::string const &uri)
MCAPI bool $allowBetaXblSignIn() const
MCAPI uint64 $getOptimalLDBSize()
MCAPI void $setUIScalingRules(::UIScalingRules UIScalingRules)
MCAPI::std::chrono::nanoseconds $getLevelSaveInterval() const
MCAPI bool $supportsInPackageRecursion() const
static MCAPI void ** $vftableForISecureStorageKeySystem()
MCAPI uint64 $getLowMemoryEventRecoveryThreshold(::LowMemorySeverity severity) const
MCAPI void $hideSplashScreen()
MCAPI bool $getPlatformTTSEnabled() const
MCAPI void $showPlatformStoreIcon(bool shouldShow)
MCAPI bool $isLowPhysicalMemoryDevice() const
MCAPI bool $isTrialWorldsTransferToFullGameAllowed() const
MCAPI void $collectGraphicsHardwareDetails()
MCAPI bool $hasMulticastReceivePermission() const
MCAPI void $createUserInput()
MCAPI int $getMaxLDBFilesOpen() const
MCAPI bool $isLANAvailable() const
MCAPI bool $devHotReloadRenderResources() const
MCAPI::AppFocusState $getFocusState()
MCAPI void $showPlatformEmptyStoreDialog(::std::function< void(bool)> &&callback)
MCAPI::DeviceSunsetTier $getDeviceSunsetTier() const
MCAPI bool $saveEncryptedPacksAsZips() const
MCAPI void $registerFileForCollectionWithCrashDump(::Core::Path const &fileName)
MCAPI uint64 $getMaximumUsedMemory()
MCAPI void $_teardownFileStorageAreas()
MCAPI void $setARVRPlatform(::ARVRPlatform)
MCAPI bool $supportsClientUpdate() const
MCAPI void _initializeLoadProfiler()
MCAPI bool $isWebviewSupported() const
MCAPI void $setNetworkConnectionType(::NetworkConnectionType connectionType)
Definition Connector.h:8
Definition Path.h:17
Definition IAppPlatform.h:12
Definition IFileAccess.h:15
Definition ISecureStorageKeySystem.h:10
Definition Path.h:16
Definition SecureStorageKey.h:5
Definition SecureStorage.h:5
Definition WebviewInterface.h:5
Definition PlatformArguments.h:7
Definition IntegrityTokenResult.h:5
Definition ScreenshotOptions.h:5
Definition UserCreationData.h:7
Definition Alias.h:14