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