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