Skip to content
LeviMC
English
AutoLightDark
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/gui/oreui/binding/queries/core/PlatformType.h"
7#include "mc/deps/application/AppAction.h"
8#include "mc/deps/application/ClipboardFeatureFlags.h"
9#include "mc/deps/application/DeviceSunsetTier.h"
10#include "mc/deps/application/IAppPlatform.h"
11#include "mc/deps/application/LowMemorySeverity.h"
12#include "mc/deps/application/OsVersion.h"
13#include "mc/deps/application/ProcessExecutionState.h"
14#include "mc/deps/application/StoragePermissionResult.h"
15#include "mc/deps/core/NetworkConnectionType.h"
16#include "mc/deps/core/debug/AssertDialogResponse.h"
17#include "mc/deps/core/file/FileAccessType.h"
18#include "mc/deps/core/file/FileStorageArea.h"
19#include "mc/deps/core/file/PathBuffer.h"
20#include "mc/deps/core/platform/AppFocusState.h"
21#include "mc/deps/core/platform/BuildPlatform.h"
22#include "mc/deps/core/platform/FileStorageDirectory.h"
23#include "mc/deps/core/platform/FullscreenMode.h"
24#include "mc/deps/core/platform/OperationMode.h"
25#include "mc/deps/core/platform/PermissionRequestReason.h"
26#include "mc/deps/core/platform/UIScalingRules.h"
27#include "mc/deps/core/platform_info/RefreshRate.h"
28#include "mc/deps/core/resource/ResourceFileSystem.h"
29#include "mc/deps/core/secure_storage/ISecureStorageKeySystem.h"
30#include "mc/deps/core/string/BasicStackString.h"
31#include "mc/deps/core/threading/Async.h"
32#include "mc/deps/core/threading/MPMCQueue.h"
33#include "mc/deps/core/utility/NonOwnerPointer.h"
34#include "mc/deps/input/InputMode.h"
35#include "mc/deps/input/PointerType.h"
36#include "mc/platform/Result.h"
37
38// auto generated forward declare list
39// clang-format off
46class IFileAccess;
47class PDFWriter;
48class PropertyBag;
49class SecureStorage;
52class UriListener;
54struct TextBoxSelection;
55namespace Bedrock::PubSub { class Subscription; }
56namespace Core { class FileHandlePool; }
57namespace Core { class FileStorageArea; }
58namespace Core { class Path; }
59namespace Core { class PathView; }
60namespace dragon::platform { struct SurfaceParameters; }
61namespace mce { class UUID; }
62namespace mce { struct Image; }
63class ActivationUri;
67class RectangleArea;
70namespace ApplicationSignal { class ClipboardCopy; }
71namespace ApplicationSignal { class ClipboardPaste; }
72namespace ApplicationSignal { class ClipboardPasteRequest; }
73namespace Bedrock { class CommonPlatform; }
74namespace MarketplaceErrorUtils { struct StoreErrorResult; }
75namespace Social { struct UserCreationData; }
76namespace Webview { class PlatformArguments; }
77// clang-format on
78
79class AppPlatform : public ::IAppPlatform, public ::ISecureStorageKeySystem {
80public:
81 // AppPlatform inner types declare
82 // clang-format off
83 struct Members;
84 struct ReadMode;
85 // clang-format on
86
87 // AppPlatform inner types define
88 struct Members {
89 public:
90 // member variables
91 // NOLINTBEGIN
99#ifdef LL_PLAT_C
101#endif
145#ifdef LL_PLAT_C
147#endif
151 // NOLINTEND
152
153 public:
154 // prevent constructor by default
155 Members& operator=(Members const&);
156 Members(Members const&);
157 Members();
158
159 public:
160 // member functions
161 // NOLINTBEGIN
162 MCNAPI ~Members();
163 // NOLINTEND
164
165 public:
166 // static variables
167 // NOLINTBEGIN
168#ifdef LL_PLAT_C
169 MCNAPI static bool& mIsInitialized();
170
171 MCNAPI static ::ActivationUri& mPendingProtocolActivation();
172
173 MCNAPI static ::std::mutex& mProtocolMutex();
174#endif
175 // NOLINTEND
176
177 public:
178 // destructor thunk
179 // NOLINTBEGIN
180 MCNAPI void $dtor();
181 // NOLINTEND
182 };
183
184 struct ReadMode {
185 public:
186 // member variables
187 // NOLINTBEGIN
189 // NOLINTEND
190
191 public:
192 // prevent constructor by default
193 ReadMode& operator=(ReadMode const&);
194 ReadMode(ReadMode const&);
195 ReadMode();
196 };
197
198 using Listener = ::AppPlatformListener;
199
200public:
201 // member variables
202 // NOLINTBEGIN
203 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::AppPlatform::Members>>> mMembers;
204 // NOLINTEND
205
206public:
207 // prevent constructor by default
208 AppPlatform();
209
210public:
211 // virtual functions
212 // NOLINTBEGIN
213 virtual ~AppPlatform() /*override*/;
214
215 virtual void initialize();
216
217 virtual void teardown();
218
219 virtual void initAppPlatformNetworkSettings() /*override*/;
220
221 virtual uint64 getHighPerformanceThreadsCount() const;
222
223 virtual uint64 getTotalHardwareThreadsCount() const;
224
225 virtual void initializeGraphicsDeviceTier();
226
227 virtual void addListener(::AppPlatformListener* l, float priority);
228
229 virtual void removeListener(::AppPlatformListener* l);
230
231 virtual ::ProcessExecutionState getProcessExecutionState() const;
232
233 virtual void restartApp(bool restart);
234
235 virtual bool restartRequested() /*override*/;
236
237 virtual ::Core::PathBuffer<::std::string> getPackagePath() const = 0;
238
239 virtual int const numberOfThrottledTreatmentPacksToImportPerMinute() const /*override*/;
240
241 virtual bool const areTreatmentPacksThrottled() const /*override*/;
242
243 virtual ::HardwareMemoryTierUtil const& getHardwareMemoryTierUtil() const /*override*/;
244
245#ifdef LL_PLAT_C
246 virtual ::Core::PathBuffer<::std::string> getDataUrl() const = 0;
247
248 virtual void loadPNG(::mce::Image& out, ::Core::Path const& filename);
249
250 virtual void loadTGA(::mce::Image& out, ::Core::Path const& filename);
251
252 virtual void loadJPEG(::mce::Image& out, ::Core::Path const& filename);
253
254 virtual int getKeyFromKeyCode(int, int, int);
255
256 virtual void textEditComponentGainedFocus(
257 ::std::string const& currentText,
258 int maxLength,
259 bool limitInput,
260 bool numbersOnly,
261 bool isMultiline
262 );
263
264 virtual void textEditComponentLostFocus();
265
266 virtual void showKeyboard(
267 ::std::string const& currentText,
268 int maxLength,
269 bool limitInput,
270 bool numbersOnly,
271 bool isMultiline,
272 int const controllerId,
273 ::glm::vec2 const& position,
274 float controlHeight,
275 ::InputMode inputMode
276 );
277
278 virtual void hideKeyboard();
279
280 virtual bool blankLineDismissesChat() const;
281
282 virtual bool signWrapsTextEntry() const;
283
284 virtual bool isFullScreenKeyboard() const;
285
286 virtual bool actionSuspendsApp(::AppAction) const;
287
288 virtual float getKeyboardHeight() const;
289
290 virtual bool refocusMouse(bool lostMouse, bool oldMouseGrabbed);
291
292 virtual void setMousePointerType(::Bedrock::Input::PointerType pointerType);
293
294 virtual void hideMousePointer();
295
296 virtual void showMousePointer();
297
298 virtual void postInteractiveSignIn();
299
300 virtual bool useHardwareMouse();
301
302 virtual void provideHardwareMouseImageData(::mce::Image const&);
303
304 virtual bool hasCustomSoftwareCursor() const;
305
306 virtual ::Core::PathBuffer<::std::string> getCustomSoftwareCursorAsset() const;
307
308 virtual bool getPointerFocus();
309
310 virtual void setPointerFocus(bool lostFocus);
311
312 virtual bool isInvertScrollEnabled() const;
313
314 virtual void toggleSimulateTouchWithMouse();
315
316 virtual void _fireAppSuspended();
317
318 virtual void _fireAppResumed();
319
320 virtual void _fireAppFocusLost();
321
322 virtual void _fireAppFocusGained();
323
324 virtual void _fireResizeBegin();
325
326 virtual void _fireResizeEnd();
327
328 virtual void _fireDeviceLost();
329
330 virtual void _fireSurfaceCreated();
331
332 virtual void _fireSurfaceDestroyed();
333
334 virtual void _fireAppConfigurationChanged();
335
336 virtual void _fireAppPaused();
337
338 virtual void _fireAppUnpaused();
339
340 virtual void swapBuffers() = 0;
341
342 virtual void discardBackbuffer();
343
344 virtual ::std::string getSystemLocale() const = 0;
345
346 virtual ::std::string getTermsOfUseHyperlink() const;
347
348 virtual void pickImage(::std::shared_ptr<::ImagePickingCallback> callback) = 0;
349
350 virtual void pickFile(::std::shared_ptr<::FilePickerSettings> settings);
351
352 virtual bool supportsAlbumExport() const;
353
354 virtual bool supportsPDFExport() const;
355
356 virtual ::std::shared_ptr<::PDFWriter> createPlatformPDFWriter();
357
358 virtual void shareFile(::Core::Path const&, ::std::function<void(bool)>);
359
360 virtual bool hasHardwareBackButton();
361
362 virtual bool supportsMSAA() const;
363
364 virtual bool supports3rdPartyServers() const;
365
366 virtual bool supportsManualAddedServers() const;
367
368 virtual bool supportsFilePicking() const;
369
370 virtual ::Core::FileStorageArea::StorageAreaSpaceInfo getPrimaryUserStorageAreaSpaceInfo();
371
372 virtual bool supportsTouch() const;
373
374 virtual bool supportsKeyboardMouse() const;
375
376 virtual bool supportsGamepad() const;
377
378 virtual ::ClipboardFeatureFlags getClipboardFeatures() const;
379
380 virtual bool supportsClipboardSet() const;
381
382 virtual bool supportsClipboardGet() const;
383
384 virtual bool supportsClipboardAsyncGet() const;
385
386 virtual void setClipboard(::std::string const& value) const;
387
388 virtual ::std::wstring getClipboardText() const;
389
390 virtual void getClipboardTextAsync(::std::function<void(::std::string const&)>) const;
391
392 virtual bool supportsShare() const;
393
394 virtual void share() const;
395
396 virtual bool allowSplitScreen();
397
398 virtual float splitScreenRenderDistScalar(uint numPlayers);
399
400 virtual float uiOpenRenderDistScalar();
401
402 virtual void pushNotificationReceived(::PushNotificationMessage const& msg);
403
404 virtual void openStoragePermissionRequest(
405 ::PermissionRequestReason,
406 ::std::function<void(::StoragePermissionResult)> resultCallback
407 );
408
409 virtual void setStorageDirectory(
410 ::FileStorageDirectory dir,
411 bool isCallback,
412 ::PropertyBag const& extraData,
413 ::std::function<void(bool)> onComplete
414 );
415
416 virtual ::FileStorageDirectory setInitialStorageDirectory(::FileStorageDirectory);
417
418 virtual ::FileStorageDirectory getStorageDirectory() const;
419
420 virtual void setStorageDirectoryChangeDenied(::std::function<void(::FileStorageDirectory)>);
421
422 virtual ::Bedrock::PubSub::Subscription
423 addStorageDirectoryChangedSubscriber(::std::function<void(::Core::Path const&)> callback);
424
425 virtual void runStoragePermissionResultCallback(::StoragePermissionResult result);
426
427 virtual bool hasExternalStoragePermission();
428
429 virtual bool delayOptionSaveUntilCloudSync() const;
430
431 virtual void updateTextEditBoxPosition(::RectangleArea const&, ::RectangleArea const&, float const);
432
433 virtual ::BatteryMonitorInterface const& getBatteryMonitorInterface() const;
434
435 virtual ::ThermalMonitorInterface const& getThermalMonitorInterface() const;
436
437 virtual void trialCorrelationStart();
438
439 virtual void setAllowLostFocusToasts(bool allowLostFocusToasts);
440
441 virtual void setShowLostFocusToasts(bool showLostFocusToasts);
442
443 virtual bool getShowLostFocusToasts();
444
445 virtual double getTimeSFromProcessStart() const = 0;
446
447 virtual ::Bedrock::Threading::Async<::IntegrityTokenResult> requestIntegrityToken(::std::string const& nonceToken);
448
449#endif
450 virtual void setIntegrityToken(::std::string const&);
451
452 virtual void setIntegrityTokenErrorMessage(::std::string const&);
453
454 virtual bool supportsInPackageRecursion() const;
455
456 virtual bool supportsXboxLiveAchievements() const;
457
458 virtual void hideSplashScreen();
459
460 virtual ::std::string getFeedbackBugsLink() const;
461
462 virtual ::std::string getFeedbackHelpLink() const;
463
464 virtual auto getModalErrorMessageProc() -> ::AssertDialogResponse (*)(::std::string const&, ::std::string const&);
465
466 virtual void updateLocalization(::std::string const&);
467
468 virtual void setSleepEnabled(bool);
469
470 virtual ::Core::PathBuffer<::std::string> getScratchPath();
471
472 virtual ::Core::PathBuffer<::std::string> getInternalPackStoragePath() const;
473
474 virtual ::Core::PathBuffer<::std::string> getSettingsPath();
475
476 virtual ::Core::PathBuffer<::std::string> getSharedSettingsPath();
477
478 virtual ::Core::PathBuffer<::std::string> getLoggingPath() const /*override*/;
479
480 virtual ::Core::PathBuffer<::std::string> getPackagedShaderCachePath();
481
482 virtual ::Core::PathBuffer<::std::string> getShaderCachePath();
483
484 virtual ::Core::PathBuffer<::std::string> getUserdataPathForLevels() const;
485
486 virtual ::Core::PathBuffer<::std::string> getCacheStoragePath();
487
488 virtual ::Core::PathBuffer<::std::string> getTextureCacheStoragePath();
489
490 virtual ::Core::PathBuffer<::std::string> getOnDiskScratchPath();
491
492 virtual ::Core::PathBuffer<::std::string> getOnDiskPackScratchPath();
493
494 virtual ::Core::PathBuffer<::std::string> getLevelInfoCachePath() const;
495
496 virtual ::Core::PathBuffer<::std::string> getCatalogSearchScratchPath();
497
498 virtual ::Core::PathBuffer<::std::string> getUserStorageRootPath() const;
499
500 virtual ::std::shared_ptr<::Core::FileStorageArea> getOrCreateStorageAreaForUser(::Social::UserCreationData const&);
501
502 virtual bool hasSeparatedStorageAreasForContentAcquisition() const;
503
504 virtual uint64 getOptimalLDBSize();
505
506 virtual int getMaxLDBFilesOpen() const;
507
508 virtual bool getDisableLDBSeekCompactions() const;
509
510 virtual void showDialog(int);
511
512 virtual void createUserInput();
513
514 virtual void createUserInput(int dialogId);
515
516 virtual int getUserInputStatus();
517
518 virtual ::std::vector<::std::string> getUserInput();
519
520 virtual ::Bedrock::NotNullNonOwnerPtr<::IFileAccess> getFileAccess(::ResourceFileSystem fileSystem);
521
522 virtual ::Core::PathBuffer<::std::string> copyImportFileToTempFolder(::Core::Path const& filePath);
523
524 virtual void registerFileForCollectionWithCrashDump(::Core::Path const&);
525
526 virtual void registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const;
527
528 virtual int getScreenWidth() const;
529
530 virtual int getScreenHeight() const;
531
532 virtual int getDisplayWidth();
533
534 virtual int getDisplayHeight();
535
536#ifdef LL_PLAT_S
537 virtual void setScreenSize(int, int);
538#else // LL_PLAT_C
539 virtual void setScreenSize(int width, int height);
540#endif
541
542 virtual void setWindowSize(int width, int height);
543
544#ifdef LL_PLAT_S
545 virtual void setWindowText(::std::string const& title);
546#else // LL_PLAT_C
547 virtual void setWindowText(::std::string const&);
548#endif
549
550 virtual ::std::optional<::OperationMode> getOperationMode() const;
551
552 virtual bool allowContentLogWriteToDisk();
553
554 virtual uint getMaxClubsRequests() const;
555
556 virtual void queueForMainThread_DEPRECATED(::std::function<void()> callback) = 0;
557
558 virtual ::MPMCQueue<::std::function<void()>>& getMainThreadQueue() = 0;
559
560 virtual bool supportsLaunchingLegacyVersion() const;
561
562 virtual void launchLegacyVersion();
563
564 virtual bool canManageLegacyData() const;
565
566 virtual bool supportsDayOneExperience() const;
567
568 virtual bool canMigrateWorldData() const;
569
570 virtual bool isContentAutoUpdateAllowed() const;
571
572 virtual int getMaxSimultaneousDownloads() const;
573
574 virtual uint getMaxSimultaneousServiceRequests() const;
575
576 virtual bool isDownloadAndImportBlocking() const;
577
578 virtual bool isDownloadBuffered() const;
579
580 virtual bool supportsAutoSaveOnDBCompaction() const;
581
582 virtual ::std::string getTextBoxBackend() const = 0;
583
584 virtual void setTextBoxBackend(::std::string const& newText) = 0;
585
586 virtual int getCaretPosition() const = 0;
587
588 virtual void setCaretPosition(int position) = 0;
589
590 virtual void setTextBoxSelection(::TextBoxSelection selection);
591
592 virtual bool supportsVibration() const;
593
594 virtual void vibrate(int);
595
596 virtual ::Core::PathBuffer<::std::string> getAssetFileFullPath(::Core::Path const& filename);
597
598 virtual ::Bedrock::Result<::std::string> _readAssetFileInternal(::Core::PathView filename, ::std::string& buffer);
599
600 virtual bool hasAssetFile(::Core::Path const& filename);
601
602 virtual bool copyAssetFile(::Core::Path const& filename, ::Core::Path const& destination);
603
604 virtual ::std::set<::Core::PathBuffer<::std::string>>
605 listAssetFilesIn(::Core::Path const& path, ::std::string const& extension) const;
606
607 virtual bool supportsClientUpdate() const;
608
609 virtual ::std::string getClientUpdateUrl() const;
610
611 virtual int checkLicense();
612
613 virtual bool hasBuyButtonWhenInvalidLicense();
614
615 virtual bool isNetworkAvailable() const /*override*/;
616
617 virtual bool isLANAvailable() const /*override*/;
618
619 virtual bool isNetworkEnabled(bool) const /*override*/;
620
621 virtual void setNetworkAllowed(bool);
622
623 virtual bool isNetworkAllowed() const;
624
625 virtual bool isInternetAvailable() const /*override*/;
626
627 virtual ::std::optional<bool> isOnWifiConnectionTelemetryValue();
628
629 virtual ::NetworkConnectionType getNetworkConnectionType();
630
631 virtual void setNetworkConnectionType(::NetworkConnectionType connectionType);
632
633 virtual int getDefaultNetworkMaxPlayers() const /*override*/;
634
635 virtual bool multiplayerRequiresPremiumAccess() const /*override*/;
636
637 virtual bool multiplayerRequiresUGCEnabled() const /*override*/;
638
639 virtual bool isCrossPlatformToggleVisible() const;
640
641 virtual bool isTelemetryAllowed();
642
643 virtual bool isTrialWorldsTransferToFullGameAllowed() const;
644
645 virtual void buyGame();
646
647 virtual void finish();
648
649 virtual bool canLaunchUri(::std::string const& uri);
650
651 virtual void launchUri(::std::string const& uri);
652
653 virtual void launchSettings();
654
655 virtual bool useXboxControlHelpers() const;
656
657 virtual ::PlatformType getPlatformType() const;
658
659 virtual bool isCentennial() const;
660
661 virtual ::std::string getPackageFamilyName() const;
662
663 virtual ::BuildPlatform getBuildPlatform() const /*override*/;
664
665 virtual int getNumberOfParticleFramesToInterpolate() const;
666
667 virtual int getDpi() const;
668
669 virtual void setDpi(int dpi);
670
671 virtual ::UIScalingRules getUIScalingRules() const;
672
673 virtual void setUIScalingRules(::UIScalingRules UIScalingRules);
674
675 virtual bool hasIDEProfiler();
676
677 virtual ::std::string getPlatformStringVar(int);
678
679 virtual ::std::string getApplicationId() const = 0;
680
681 virtual uint64 getFreeMemory() const = 0;
682
683 virtual uint64 getMemoryLimit() const = 0;
684
685 virtual uint64 getUsedMemory() = 0;
686
687 virtual uint64 getTotalPhysicalMemory() const = 0;
688
689 virtual uint64 getMaximumUsedMemory();
690
691 virtual uint64 getLowMemoryEventThreshold(::LowMemorySeverity) const;
692
693 virtual uint64 getLowMemoryEventRecoveryThreshold(::LowMemorySeverity severity) const;
694
695 virtual uint64 getLowPhysicalMemoryThreshold() const /*override*/;
696
697 virtual void calculateIfLowMemoryDevice();
698
699 virtual bool isLowMemoryDevice() const /*override*/;
700
701 virtual bool isLowPhysicalMemoryDevice() const /*override*/;
702
703 virtual uint64 getTextureMemoryBudget() const;
704
705 virtual uint64 getSingleMipDefaultMemoryBudget() const;
706
707 virtual void readyForApplicationExitInfo() const;
708
709 virtual ::DeviceSunsetTier getDeviceSunsetTier() const;
710
711 virtual int getMaxSimRadiusInChunks() const;
712
713 virtual ::std::vector<::std::string> getBroadcastAddresses();
714
715 virtual ::std::vector<::std::string> getIPAddresses();
716
717 virtual bool useAppPlatformForTelemetryIPAddress();
718
719 virtual ::std::string getModelName();
720
721 virtual ::std::string getModelNameForUI();
722
723 virtual void updateBootstrapSettingsFromTreatmentsAsync();
724
725#ifdef LL_PLAT_C
726 virtual ::std::string getDeviceId() const /*override*/;
727
728 virtual ::std::string createUUID() = 0;
729
730 virtual bool isTablet() const = 0;
731
732 virtual void registerUriListener(::UriListener& listener);
733
734 virtual void registerUriListener(::std::string const& verb, ::UriListener& listener);
735
736 virtual void unregisterUriListener(::UriListener const& listener);
737
738 virtual void notifyUriListeners(::ActivationUri const& uri);
739
740 virtual void notifyUriListenerRegistrationDone();
741
742 virtual ::IPlatformScreenshots& getPlatformScreenshots();
743
744 virtual bool isRealmsEnabled() const /*override*/;
745
746#endif
747 virtual void setFullscreenMode(::FullscreenMode const fullscreenMode);
748
749 virtual bool isNetworkThrottled() const;
750
751 virtual bool isLANAllowed() const /*override*/;
752
753 virtual bool doesLANRequireMultiplayerRestrictions() const;
754
755 virtual void collectGraphicsHardwareDetails();
756
757 virtual ::std::string getEdition() const /*override*/;
758
759 virtual ::OsVersion getOSVersion() const;
760
761 virtual void setThreadsFrozen(bool frozen);
762
763 virtual bool areThreadsFrozen() const;
764
765 virtual float getDefaultSafeZoneScaleX() const;
766
767 virtual float getDefaultSafeZoneScaleY() const;
768
769 virtual float getDefaultSafeZoneScaleAll() const;
770
771 virtual float getDefaultScreenPositionX() const;
772
773 virtual float getDefaultScreenPositionY() const;
774
775 virtual bool isQuitCapable() const;
776
777 virtual bool requireControllerAtStartup() const;
778
779 virtual bool notifyControllerConnectionStateChange() const;
780
781 virtual bool platformRequiresControllerApplet() const;
782
783 virtual ::InputMode getDefaultInputMode() const;
784
785 virtual ::AppFocusState getFocusState();
786
787 virtual ::AppLifecycleContext& getAppLifecycleContext();
788
789 virtual uint64 calculateAvailableDiskFreeSpace(::Core::Path const& rootPath) = 0;
790
791 virtual bool supportsFliteTTS() const;
792
793 virtual ::std::unique_ptr<::SecureStorage> getSecureStorage();
794
795 virtual ::std::unique_ptr<::SecureStorage> getSharedSecureStorage();
796
797 virtual ::SecureStorageKey getSecureStorageKey(::std::string const&) /*override*/;
798
799 virtual void setSecureStorageKey(::std::string const&, ::SecureStorageKey const&) /*override*/;
800
801 virtual bool devHotReloadRenderResources() const;
802
803 virtual bool shouldPauseDownloadsWhenEnterGame() const;
804
805 virtual bool compareAppReceiptToLocalReceipt(::std::string const&);
806
807 virtual ::mce::UUID const& getThirdPartyPackUUID() const;
808
809 virtual ::mce::UUID const& getPlatformBetaPackUUID() const;
810
811 virtual bool saveTreatmentPacksAsZips() const;
812
813 virtual bool saveEncryptedPacksAsZips() const;
814
815 virtual bool saveEncryptedWorldTemplatePacksAsZips() const;
816
817 virtual bool saveEncryptedPersonaPacksAsZips() const;
818
819 virtual bool allowsResourcePackDevelopment() const;
820
821 virtual bool supportsLegacySinglePremiumCacheDirectory() const;
822
823 virtual bool supportsWorldShare() const;
824
825 virtual bool hasJournalingFilesystem() const;
826
827 virtual bool isAutoCompactionEnabled() const;
828
829 virtual ::std::chrono::nanoseconds getLevelSaveInterval() const;
830
831 virtual ::std::chrono::nanoseconds getOptionsSaveInterval() const;
832
833 virtual bool hasPlatformSpecificInvites() const /*override*/;
834
835 virtual bool usePlatformProfilePicturesOnly() const;
836
837 virtual bool allowBetaXblSignIn() const;
838
839 virtual bool requiresXboxLiveSigninToPlay() const;
840
841 virtual bool requiresLiveGoldForMultiplayer() const;
842
843 virtual bool shouldRegisterForXboxLiveNotifications() const;
844
845 virtual bool minimizeBackgroundDownloads() const;
846
847 virtual bool requiresAutoSaveIconExplanationPopup() const;
848
849 virtual uint maxFileDataRequestConcurrency() const;
850
851 virtual void goToExternalConsumablesStoreListing() const /*override*/;
852
853 virtual float getStoreNetworkFailureTimeout() const;
854
855 virtual ::std::shared_ptr<::Core::FileStorageArea>
856 createLoggingStorageArea(::Core::FileAccessType fileAccessType, ::Core::PathView loggingPath);
857
858 virtual uint getPlatformErrorCodeForStoreError(::MarketplaceErrorUtils::StoreErrorResult const&);
859
860 virtual void handlePlatformSpecificCommerceError(uint, ::std::string const&);
861
862 virtual bool isEduMode() const;
863
864 virtual bool importAsFlatFile() const;
865
866 virtual bool isWebviewSupported() const;
867
868#ifdef LL_PLAT_S
869 virtual ::std::shared_ptr<::WebviewInterface> createWebview(::Webview::PlatformArguments&& args) const;
870#else // LL_PLAT_C
871 virtual ::std::shared_ptr<::WebviewInterface> createWebview(::Webview::PlatformArguments&&) const;
872#endif
873
874 virtual bool canAppSelfTerminate() const = 0;
875
876 virtual bool getPlatformTTSExists() const;
877
878 virtual bool getPlatformTTSEnabled() const;
879
880 virtual ::dragon::platform::SurfaceParameters getRenderSurfaceParameters() const;
881
882 virtual bool shouldRemoveGraphicsDeviceOnAppTermination() const;
883
884 virtual bool isJoinableViaExternalServers() const;
885
886 virtual void onPrimaryUserNetworkReady();
887
888 virtual bool isDisplayInitialized() const;
889
890 virtual bool usesAsyncOptionSaving() const;
891
892 virtual void showPlatformStoreIcon(bool);
893
894 virtual void showPlatformEmptyStoreDialog(::std::function<void(bool)>&& callback) /*override*/;
895
896#ifdef LL_PLAT_C
897 virtual void showXboxLiveUserSettings();
898
899#endif
900 virtual void initializeGameStreaming();
901
902 virtual void notifyNetworkConfigurationChanged();
903
904 virtual void setKeepScreenOnFlag(bool);
905
906 virtual void initializeMulticast() const;
907
908 virtual void requestMulticastReceivePermission();
909
910 virtual bool hasMulticastReceivePermission() const;
911
912 virtual void releaseMulticastReceivePermission() const;
913
914 virtual void onMinecraftGameInitComplete();
915
916 virtual void onFullGameUnlock();
917
918 virtual bool is24HourTimeFormat() const;
919
920 virtual ::Bedrock::Threading::Async<bool> showOSUserDialog(::std::string, ::std::string, ::std::string);
921
922#ifdef LL_PLAT_C
923 virtual ::Bedrock::NotNullNonOwnerPtr<::ThrottledFileWriteManager> getThrottledFileWriteManager() const;
924
925#endif
926 virtual ::std::optional<::RefreshRate> getRefreshRate() const;
927
928 virtual ::Core::PathBuffer<::std::string> _getCurrentStoragePath() const = 0;
929
930 virtual ::Core::PathBuffer<::std::string> _getExternalStoragePath() const = 0;
931
932 virtual ::Core::PathBuffer<::std::string> _getInternalStoragePath() const = 0;
933
934 virtual ::Core::PathBuffer<::std::string> _getUserdataPath() const = 0;
935
936 virtual ::Core::PathBuffer<::std::string> _getSharedDataPath() const = 0;
937
938 virtual ::std::chrono::milliseconds getWatchdogTimerDurationForAppSuspend() const;
939
940#ifdef LL_PLAT_C
941 virtual void _notifyUriListeners(::ActivationUri const& uri, bool ignoreVerb);
942
943#endif
944 virtual bool _tryEnableCPUBoost();
945
946 virtual void _disableCPUBoost();
947
948 virtual ::Bedrock::CommonPlatform* getPlatformShim() const;
949
950 virtual void _initializeFileStorageAreas();
951
952 virtual void _teardownFileStorageAreas();
953
954 virtual int getPlatformDpi() const;
955
956 virtual ::UIScalingRules getPlatformUIScalingRules() const;
957
958 virtual ::Core::PathBuffer<::std::string> getPlatformTempPath() const = 0;
959
960 virtual void _onInitialize();
961
962 virtual void _onTeardown();
963 // NOLINTEND
964
965public:
966 // member functions
967 // NOLINTBEGIN
968 MCNAPI AppPlatform(::std::unique_ptr<::IAppPlatformImpl> impl, bool registerService);
969
970#ifdef LL_PLAT_C
971 MCNAPI void _clipboardCopyHandler(::ApplicationSignal::ClipboardCopy const& signal);
972
973 MCNAPI void _clipboardPasteHandler(::ApplicationSignal::ClipboardPaste const& signal);
974
975 MCNAPI void _clipboardPasteRequestHandler(::ApplicationSignal::ClipboardPasteRequest const& signal);
976#endif
977
978 MCNAPI void _setDeviceTier(::std::string tier);
979
980#ifdef LL_PLAT_C
981 MCNAPI void _setLocale(::std::string locale);
982#endif
983
984#ifdef LL_PLAT_S
985 MCNAPI void _terminateListeners();
986#endif
987
988#ifdef LL_PLAT_C
989 MCNAPI void checkAndTriggerOnLowMemory();
990#endif
991
992 MCNAPI ::std::shared_ptr<::Core::FileHandlePool> getArchiveHandlePool() const;
993
994#ifdef LL_PLAT_C
995 MCNAPI ::std::string getDeviceIdWarning() const;
996#endif
997
998 MCNAPI ::std::string getGraphicsDeviceTier() const;
999
1000 MCNAPI ::std::optional<::std::locale> getLocaleForDateTimeFormatting() const;
1001
1002#ifdef LL_PLAT_C
1003 MCNAPI ::std::string getShareText() const;
1004
1005 MCNAPI ::std::string getShareTitle() const;
1006
1007 MCNAPI ::std::string getShareUri() const;
1008
1009 MCNAPI double getTotalActiveSeconds();
1010
1011 MCNAPI void loadImage(::mce::Image& out, ::Core::Path const& filename);
1012#endif
1013
1014 MCNAPI ::Bedrock::Result<::std::string>
1015 readAssetFile(::Core::PathView filename, ::AppPlatform::ReadMode const& readMode, ::std::string&& buffer);
1016
1017#ifdef LL_PLAT_C
1018 MCNAPI bool requiresNetworkOutageMessaging() const;
1019
1020 MCNAPI void setShareData(::std::string shareTitle, ::std::string shareText, ::std::string shareUri);
1021
1022 MCNAPI void setShareMetaData(::std::string const& shareTitle, ::std::string const& shareText);
1023#endif
1024 // NOLINTEND
1025
1026public:
1027 // static functions
1028 // NOLINTBEGIN
1029#ifdef LL_PLAT_S
1030 MCNAPI static ::Bedrock::Result<::std::string>
1031 _readAssetFileGeneric(::Core::PathView filename, ::std::string& buffer);
1032#endif
1033
1034#ifdef LL_PLAT_C
1035 MCNAPI static void imGuiAddInputChar(ushort c);
1036
1037 MCNAPI static bool mouseInputHandledByImGui();
1038
1039 MCNAPI static bool updateImGuiKeyboard(uchar param, bool isDown);
1040
1041 MCNAPI static void updateImGuiMouseButton(uchar button, bool isDown);
1042
1043 MCNAPI static void updateImGuiMousePosition(float x, float y);
1044
1045 MCNAPI static void updateImGuiMouseScrollBar(float value);
1046#endif
1047 // NOLINTEND
1048
1049public:
1050 // static variables
1051 // NOLINTBEGIN
1052 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& HOME_PATH();
1053
1054 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& LOG_PATH();
1055
1056 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& SETTINGS_PATH();
1057
1058 MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const& SHADERCACHE_PATH();
1059 // NOLINTEND
1060
1061public:
1062 // constructor thunks
1063 // NOLINTBEGIN
1064 MCNAPI void* $ctor(::std::unique_ptr<::IAppPlatformImpl> impl, bool registerService);
1065 // NOLINTEND
1066
1067public:
1068 // destructor thunk
1069 // NOLINTBEGIN
1070 MCNAPI void $dtor();
1071 // NOLINTEND
1072
1073public:
1074 // virtual function thunks
1075 // NOLINTBEGIN
1076 MCNAPI void $initialize();
1077
1078 MCNAPI void $teardown();
1079
1081
1082 MCNAPI uint64 $getHighPerformanceThreadsCount() const;
1083
1084 MCNAPI uint64 $getTotalHardwareThreadsCount() const;
1085
1087
1088 MCNAPI void $addListener(::AppPlatformListener* l, float priority);
1089
1091
1092 MCNAPI ::ProcessExecutionState $getProcessExecutionState() const;
1093
1094 MCNAPI void $restartApp(bool restart);
1095
1096 MCNAPI bool $restartRequested();
1097
1099
1100 MCNAPI bool const $areTreatmentPacksThrottled() const;
1101
1102 MCNAPI ::HardwareMemoryTierUtil const& $getHardwareMemoryTierUtil() const;
1103
1104 MCNAPI void $setIntegrityToken(::std::string const&);
1105
1106 MCNAPI void $setIntegrityTokenErrorMessage(::std::string const&);
1107
1108 MCNAPI bool $supportsInPackageRecursion() const;
1109
1111
1112 MCNAPI void $hideSplashScreen();
1113
1114 MCNAPI ::std::string $getFeedbackBugsLink() const;
1115
1116 MCNAPI ::std::string $getFeedbackHelpLink() const;
1117
1118 MCNAPI auto $getModalErrorMessageProc() -> ::AssertDialogResponse (*)(::std::string const&, ::std::string const&);
1119
1120 MCNAPI void $updateLocalization(::std::string const&);
1121
1122 MCNAPI void $setSleepEnabled(bool);
1123
1124 MCNAPI ::Core::PathBuffer<::std::string> $getScratchPath();
1125
1126 MCNAPI ::Core::PathBuffer<::std::string> $getInternalPackStoragePath() const;
1127
1128 MCNAPI ::Core::PathBuffer<::std::string> $getSettingsPath();
1129
1130 MCNAPI ::Core::PathBuffer<::std::string> $getSharedSettingsPath();
1131
1132 MCNAPI ::Core::PathBuffer<::std::string> $getLoggingPath() const;
1133
1134 MCNAPI ::Core::PathBuffer<::std::string> $getPackagedShaderCachePath();
1135
1136 MCNAPI ::Core::PathBuffer<::std::string> $getShaderCachePath();
1137
1138 MCNAPI ::Core::PathBuffer<::std::string> $getUserdataPathForLevels() const;
1139
1140 MCNAPI ::Core::PathBuffer<::std::string> $getCacheStoragePath();
1141
1142 MCNAPI ::Core::PathBuffer<::std::string> $getTextureCacheStoragePath();
1143
1144 MCNAPI ::Core::PathBuffer<::std::string> $getOnDiskScratchPath();
1145
1146 MCNAPI ::Core::PathBuffer<::std::string> $getOnDiskPackScratchPath();
1147
1148 MCNAPI ::Core::PathBuffer<::std::string> $getLevelInfoCachePath() const;
1149
1150 MCNAPI ::Core::PathBuffer<::std::string> $getCatalogSearchScratchPath();
1151
1152 MCNAPI ::Core::PathBuffer<::std::string> $getUserStorageRootPath() const;
1153
1154 MCNAPI ::std::shared_ptr<::Core::FileStorageArea> $getOrCreateStorageAreaForUser(::Social::UserCreationData const&);
1155
1157
1158 MCNAPI uint64 $getOptimalLDBSize();
1159
1160 MCNAPI int $getMaxLDBFilesOpen() const;
1161
1163
1164 MCNAPI void $showDialog(int);
1165
1166 MCNAPI void $createUserInput();
1167
1168 MCNAPI void $createUserInput(int dialogId);
1169
1171
1172 MCNAPI ::std::vector<::std::string> $getUserInput();
1173
1174 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::IFileAccess> $getFileAccess(::ResourceFileSystem fileSystem);
1175
1176 MCNAPI ::Core::PathBuffer<::std::string> $copyImportFileToTempFolder(::Core::Path const& filePath);
1177
1179
1180 MCNAPI void $registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const;
1181
1182 MCNAPI int $getScreenWidth() const;
1183
1184 MCNAPI int $getScreenHeight() const;
1185
1186 MCNAPI int $getDisplayWidth();
1187
1188 MCNAPI int $getDisplayHeight();
1189
1190#ifdef LL_PLAT_S
1191 MCNAPI void $setScreenSize(int, int);
1192#else // LL_PLAT_C
1193 MCNAPI void $setScreenSize(int width, int height);
1194#endif
1195
1196 MCNAPI void $setWindowSize(int width, int height);
1197
1198#ifdef LL_PLAT_S
1199 MCNAPI void $setWindowText(::std::string const& title);
1200#else // LL_PLAT_C
1201 MCNAPI void $setWindowText(::std::string const&);
1202#endif
1203
1204 MCNAPI ::std::optional<::OperationMode> $getOperationMode() const;
1205
1207
1208 MCNAPI uint $getMaxClubsRequests() const;
1209
1211
1213
1214 MCNAPI bool $canManageLegacyData() const;
1215
1216 MCNAPI bool $supportsDayOneExperience() const;
1217
1218 MCNAPI bool $canMigrateWorldData() const;
1219
1220 MCNAPI bool $isContentAutoUpdateAllowed() const;
1221
1223
1225
1226 MCNAPI bool $isDownloadAndImportBlocking() const;
1227
1228 MCNAPI bool $isDownloadBuffered() const;
1229
1231
1233
1234 MCNAPI bool $supportsVibration() const;
1235
1236 MCNAPI void $vibrate(int);
1237
1238 MCNAPI ::Core::PathBuffer<::std::string> $getAssetFileFullPath(::Core::Path const& filename);
1239
1240 MCNAPI ::Bedrock::Result<::std::string> $_readAssetFileInternal(::Core::PathView filename, ::std::string& buffer);
1241
1242 MCNAPI bool $hasAssetFile(::Core::Path const& filename);
1243
1244 MCNAPI bool $copyAssetFile(::Core::Path const& filename, ::Core::Path const& destination);
1245
1246 MCNAPI ::std::set<::Core::PathBuffer<::std::string>>
1247 $listAssetFilesIn(::Core::Path const& path, ::std::string const& extension) const;
1248
1249 MCNAPI bool $supportsClientUpdate() const;
1250
1251 MCNAPI ::std::string $getClientUpdateUrl() const;
1252
1253 MCNAPI int $checkLicense();
1254
1256
1257 MCNAPI bool $isNetworkAvailable() const;
1258
1259 MCNAPI bool $isLANAvailable() const;
1260
1261 MCNAPI bool $isNetworkEnabled(bool) const;
1262
1263 MCNAPI void $setNetworkAllowed(bool);
1264
1265 MCNAPI bool $isNetworkAllowed() const;
1266
1267 MCNAPI bool $isInternetAvailable() const;
1268
1269 MCNAPI ::std::optional<bool> $isOnWifiConnectionTelemetryValue();
1270
1271 MCNAPI ::NetworkConnectionType $getNetworkConnectionType();
1272
1273 MCNAPI void $setNetworkConnectionType(::NetworkConnectionType connectionType);
1274
1276
1278
1280
1282
1283 MCNAPI bool $isTelemetryAllowed();
1284
1285 MCNAPI void $buyGame();
1286
1287 MCNAPI void $finish();
1288
1289 MCNAPI bool $canLaunchUri(::std::string const& uri);
1290
1291 MCNAPI void $launchUri(::std::string const& uri);
1292
1293 MCNAPI void $launchSettings();
1294
1295 MCNAPI bool $useXboxControlHelpers() const;
1296
1297 MCNAPI ::PlatformType $getPlatformType() const;
1298
1299 MCNAPI bool $isCentennial() const;
1300
1301 MCNAPI ::std::string $getPackageFamilyName() const;
1302
1303 MCNAPI ::BuildPlatform $getBuildPlatform() const;
1304
1306
1307 MCNAPI int $getDpi() const;
1308
1309 MCNAPI void $setDpi(int dpi);
1310
1311 MCNAPI ::UIScalingRules $getUIScalingRules() const;
1312
1313 MCNAPI void $setUIScalingRules(::UIScalingRules UIScalingRules);
1314
1315 MCNAPI bool $hasIDEProfiler();
1316
1317 MCNAPI ::std::string $getPlatformStringVar(int);
1318
1319 MCNAPI uint64 $getMaximumUsedMemory();
1320
1321 MCNAPI uint64 $getLowMemoryEventThreshold(::LowMemorySeverity) const;
1322
1323 MCNAPI uint64 $getLowMemoryEventRecoveryThreshold(::LowMemorySeverity severity) const;
1324
1325 MCNAPI uint64 $getLowPhysicalMemoryThreshold() const;
1326
1328
1329 MCNAPI bool $isLowMemoryDevice() const;
1330
1331 MCNAPI bool $isLowPhysicalMemoryDevice() const;
1332
1333 MCNAPI uint64 $getTextureMemoryBudget() const;
1334
1336
1337 MCNAPI void $readyForApplicationExitInfo() const;
1338
1339 MCNAPI ::DeviceSunsetTier $getDeviceSunsetTier() const;
1340
1341 MCNAPI int $getMaxSimRadiusInChunks() const;
1342
1343 MCNAPI ::std::vector<::std::string> $getBroadcastAddresses();
1344
1345 MCNAPI ::std::vector<::std::string> $getIPAddresses();
1346
1348
1349 MCNAPI ::std::string $getModelName();
1350
1351 MCNAPI ::std::string $getModelNameForUI();
1352
1354
1355 MCNAPI void $setFullscreenMode(::FullscreenMode const fullscreenMode);
1356
1357 MCNAPI bool $isNetworkThrottled() const;
1358
1359 MCNAPI bool $isLANAllowed() const;
1360
1362
1364
1365 MCNAPI ::std::string $getEdition() const;
1366
1367 MCNAPI ::OsVersion $getOSVersion() const;
1368
1369 MCNAPI void $setThreadsFrozen(bool frozen);
1370
1371 MCNAPI bool $areThreadsFrozen() const;
1372
1373 MCNAPI float $getDefaultSafeZoneScaleX() const;
1374
1375 MCNAPI float $getDefaultSafeZoneScaleY() const;
1376
1377 MCNAPI float $getDefaultSafeZoneScaleAll() const;
1378
1379 MCNAPI float $getDefaultScreenPositionX() const;
1380
1381 MCNAPI float $getDefaultScreenPositionY() const;
1382
1383 MCNAPI bool $isQuitCapable() const;
1384
1385 MCNAPI bool $requireControllerAtStartup() const;
1386
1388
1390
1391 MCNAPI ::InputMode $getDefaultInputMode() const;
1392
1393 MCAPI ::AppFocusState $getFocusState();
1394
1395 MCNAPI ::AppLifecycleContext& $getAppLifecycleContext();
1396
1397 MCNAPI bool $supportsFliteTTS() const;
1398
1399 MCNAPI ::std::unique_ptr<::SecureStorage> $getSecureStorage();
1400
1401 MCNAPI ::std::unique_ptr<::SecureStorage> $getSharedSecureStorage();
1402
1403 MCNAPI ::SecureStorageKey $getSecureStorageKey(::std::string const&);
1404
1405 MCNAPI void $setSecureStorageKey(::std::string const&, ::SecureStorageKey const&);
1406
1407 MCNAPI bool $devHotReloadRenderResources() const;
1408
1410
1411 MCNAPI bool $compareAppReceiptToLocalReceipt(::std::string const&);
1412
1413 MCNAPI ::mce::UUID const& $getThirdPartyPackUUID() const;
1414
1415 MCNAPI ::mce::UUID const& $getPlatformBetaPackUUID() const;
1416
1417 MCNAPI bool $saveTreatmentPacksAsZips() const;
1418
1419 MCNAPI bool $saveEncryptedPacksAsZips() const;
1420
1422
1424
1426
1428
1429 MCNAPI bool $supportsWorldShare() const;
1430
1431 MCNAPI bool $hasJournalingFilesystem() const;
1432
1433 MCNAPI bool $isAutoCompactionEnabled() const;
1434
1435 MCNAPI ::std::chrono::nanoseconds $getLevelSaveInterval() const;
1436
1437 MCNAPI ::std::chrono::nanoseconds $getOptionsSaveInterval() const;
1438
1439 MCNAPI bool $hasPlatformSpecificInvites() const;
1440
1442
1443 MCNAPI bool $allowBetaXblSignIn() const;
1444
1446
1448
1450
1451 MCNAPI bool $minimizeBackgroundDownloads() const;
1452
1454
1456
1458
1460
1461 MCNAPI ::std::shared_ptr<::Core::FileStorageArea>
1462 $createLoggingStorageArea(::Core::FileAccessType fileAccessType, ::Core::PathView loggingPath);
1463
1465
1466 MCNAPI void $handlePlatformSpecificCommerceError(uint, ::std::string const&);
1467
1468 MCNAPI bool $isEduMode() const;
1469
1470 MCNAPI bool $importAsFlatFile() const;
1471
1472 MCNAPI bool $isWebviewSupported() const;
1473
1474#ifdef LL_PLAT_S
1475 MCNAPI ::std::shared_ptr<::WebviewInterface> $createWebview(::Webview::PlatformArguments&& args) const;
1476#else // LL_PLAT_C
1477 MCNAPI ::std::shared_ptr<::WebviewInterface> $createWebview(::Webview::PlatformArguments&&) const;
1478#endif
1479
1480 MCNAPI bool $getPlatformTTSExists() const;
1481
1482 MCNAPI bool $getPlatformTTSEnabled() const;
1483
1484 MCNAPI ::dragon::platform::SurfaceParameters $getRenderSurfaceParameters() const;
1485
1487
1489
1491
1492 MCNAPI bool $isDisplayInitialized() const;
1493
1494 MCNAPI bool $usesAsyncOptionSaving() const;
1495
1496 MCNAPI void $showPlatformStoreIcon(bool);
1497
1498 MCNAPI void $showPlatformEmptyStoreDialog(::std::function<void(bool)>&& callback);
1499
1501
1503
1504 MCNAPI void $setKeepScreenOnFlag(bool);
1505
1506 MCNAPI void $initializeMulticast() const;
1507
1509
1511
1513
1515
1516 MCNAPI void $onFullGameUnlock();
1517
1518 MCNAPI bool $is24HourTimeFormat() const;
1519
1520 MCNAPI ::Bedrock::Threading::Async<bool> $showOSUserDialog(::std::string, ::std::string, ::std::string);
1521
1522 MCNAPI ::std::optional<::RefreshRate> $getRefreshRate() const;
1523
1524 MCNAPI ::std::chrono::milliseconds $getWatchdogTimerDurationForAppSuspend() const;
1525
1526 MCNAPI bool $_tryEnableCPUBoost();
1527
1528 MCNAPI void $_disableCPUBoost();
1529
1530 MCNAPI ::Bedrock::CommonPlatform* $getPlatformShim() const;
1531
1533
1535
1536 MCNAPI int $getPlatformDpi() const;
1537
1538 MCNAPI ::UIScalingRules $getPlatformUIScalingRules() const;
1539
1540 MCNAPI void $_onInitialize();
1541
1542 MCNAPI void $_onTeardown();
1543
1544#ifdef LL_PLAT_C
1545 MCNAPI void $loadPNG(::mce::Image& out, ::Core::Path const& filename);
1546
1547 MCNAPI void $loadTGA(::mce::Image& out, ::Core::Path const& filename);
1548
1549 MCNAPI void $loadJPEG(::mce::Image& out, ::Core::Path const& filename);
1550
1551 MCNAPI int $getKeyFromKeyCode(int, int, int);
1552
1553 MCNAPI void $textEditComponentGainedFocus(
1554 ::std::string const& currentText,
1555 int maxLength,
1556 bool limitInput,
1557 bool numbersOnly,
1558 bool isMultiline
1559 );
1560
1561 MCNAPI void $textEditComponentLostFocus();
1562
1563 MCNAPI void $showKeyboard(
1564 ::std::string const& currentText,
1565 int maxLength,
1566 bool limitInput,
1567 bool numbersOnly,
1568 bool isMultiline,
1569 int const controllerId,
1570 ::glm::vec2 const& position,
1571 float controlHeight,
1572 ::InputMode inputMode
1573 );
1574
1575 MCNAPI void $hideKeyboard();
1576
1577 MCNAPI bool $blankLineDismissesChat() const;
1578
1579 MCNAPI bool $signWrapsTextEntry() const;
1580
1581 MCNAPI bool $isFullScreenKeyboard() const;
1582
1583 MCNAPI bool $actionSuspendsApp(::AppAction) const;
1584
1585 MCNAPI float $getKeyboardHeight() const;
1586
1587 MCNAPI bool $refocusMouse(bool lostMouse, bool oldMouseGrabbed);
1588
1589 MCNAPI void $setMousePointerType(::Bedrock::Input::PointerType pointerType);
1590
1591 MCNAPI void $hideMousePointer();
1592
1593 MCNAPI void $showMousePointer();
1594
1595 MCNAPI void $postInteractiveSignIn();
1596
1597 MCNAPI bool $useHardwareMouse();
1598
1599 MCNAPI void $provideHardwareMouseImageData(::mce::Image const&);
1600
1601 MCNAPI bool $hasCustomSoftwareCursor() const;
1602
1603 MCNAPI ::Core::PathBuffer<::std::string> $getCustomSoftwareCursorAsset() const;
1604
1605 MCNAPI bool $getPointerFocus();
1606
1607 MCNAPI void $setPointerFocus(bool lostFocus);
1608
1609 MCNAPI bool $isInvertScrollEnabled() const;
1610
1611 MCNAPI void $toggleSimulateTouchWithMouse();
1612
1613 MCNAPI void $_fireAppSuspended();
1614
1615 MCNAPI void $_fireAppResumed();
1616
1617 MCNAPI void $_fireAppFocusLost();
1618
1619 MCNAPI void $_fireAppFocusGained();
1620
1621 MCNAPI void $_fireResizeBegin();
1622
1623 MCNAPI void $_fireResizeEnd();
1624
1625 MCNAPI void $_fireDeviceLost();
1626
1627 MCNAPI void $_fireSurfaceCreated();
1628
1629 MCNAPI void $_fireSurfaceDestroyed();
1630
1631 MCNAPI void $_fireAppConfigurationChanged();
1632
1633 MCNAPI void $_fireAppPaused();
1634
1635 MCNAPI void $_fireAppUnpaused();
1636
1637 MCNAPI void $discardBackbuffer();
1638
1639 MCNAPI ::std::string $getTermsOfUseHyperlink() const;
1640
1641 MCNAPI void $pickFile(::std::shared_ptr<::FilePickerSettings> settings);
1642
1643 MCNAPI bool $supportsAlbumExport() const;
1644
1645 MCNAPI bool $supportsPDFExport() const;
1646
1647 MCNAPI ::std::shared_ptr<::PDFWriter> $createPlatformPDFWriter();
1648
1649 MCNAPI void $shareFile(::Core::Path const&, ::std::function<void(bool)>);
1650
1651 MCNAPI bool $hasHardwareBackButton();
1652
1653 MCNAPI bool $supportsMSAA() const;
1654
1655 MCNAPI bool $supports3rdPartyServers() const;
1656
1657 MCNAPI bool $supportsManualAddedServers() const;
1658
1659 MCNAPI bool $supportsFilePicking() const;
1660
1661 MCNAPI ::Core::FileStorageArea::StorageAreaSpaceInfo $getPrimaryUserStorageAreaSpaceInfo();
1662
1663 MCNAPI bool $supportsTouch() const;
1664
1665 MCNAPI bool $supportsKeyboardMouse() const;
1666
1667 MCNAPI bool $supportsGamepad() const;
1668
1669 MCNAPI ::ClipboardFeatureFlags $getClipboardFeatures() const;
1670
1671 MCNAPI bool $supportsClipboardSet() const;
1672
1673 MCNAPI bool $supportsClipboardGet() const;
1674
1675 MCNAPI bool $supportsClipboardAsyncGet() const;
1676
1677 MCNAPI void $setClipboard(::std::string const& value) const;
1678
1679 MCNAPI ::std::wstring $getClipboardText() const;
1680
1681 MCNAPI void $getClipboardTextAsync(::std::function<void(::std::string const&)>) const;
1682
1683 MCNAPI bool $supportsShare() const;
1684
1685 MCNAPI void $share() const;
1686
1687 MCNAPI bool $allowSplitScreen();
1688
1689 MCNAPI float $splitScreenRenderDistScalar(uint numPlayers);
1690
1691 MCNAPI float $uiOpenRenderDistScalar();
1692
1693 MCNAPI void $pushNotificationReceived(::PushNotificationMessage const& msg);
1694
1695 MCNAPI void $openStoragePermissionRequest(
1696 ::PermissionRequestReason,
1697 ::std::function<void(::StoragePermissionResult)> resultCallback
1698 );
1699
1700 MCNAPI void $setStorageDirectory(
1701 ::FileStorageDirectory dir,
1702 bool isCallback,
1703 ::PropertyBag const& extraData,
1704 ::std::function<void(bool)> onComplete
1705 );
1706
1707 MCNAPI ::FileStorageDirectory $setInitialStorageDirectory(::FileStorageDirectory);
1708
1709 MCNAPI ::FileStorageDirectory $getStorageDirectory() const;
1710
1711 MCNAPI void $setStorageDirectoryChangeDenied(::std::function<void(::FileStorageDirectory)>);
1712
1713 MCNAPI ::Bedrock::PubSub::Subscription
1714 $addStorageDirectoryChangedSubscriber(::std::function<void(::Core::Path const&)> callback);
1715
1716 MCNAPI void $runStoragePermissionResultCallback(::StoragePermissionResult result);
1717
1718 MCNAPI bool $hasExternalStoragePermission();
1719
1720 MCNAPI bool $delayOptionSaveUntilCloudSync() const;
1721
1722 MCNAPI void $updateTextEditBoxPosition(::RectangleArea const&, ::RectangleArea const&, float const);
1723
1724 MCNAPI ::BatteryMonitorInterface const& $getBatteryMonitorInterface() const;
1725
1726 MCNAPI ::ThermalMonitorInterface const& $getThermalMonitorInterface() const;
1727
1728 MCNAPI void $trialCorrelationStart();
1729
1730 MCNAPI void $setAllowLostFocusToasts(bool allowLostFocusToasts);
1731
1732 MCNAPI void $setShowLostFocusToasts(bool showLostFocusToasts);
1733
1734 MCNAPI bool $getShowLostFocusToasts();
1735
1736 MCNAPI ::Bedrock::Threading::Async<::IntegrityTokenResult> $requestIntegrityToken(::std::string const& nonceToken);
1737
1738 MCNAPI ::std::string $getDeviceId() const;
1739
1740 MCNAPI void $registerUriListener(::UriListener& listener);
1741
1742 MCNAPI void $registerUriListener(::std::string const& verb, ::UriListener& listener);
1743
1744 MCNAPI void $unregisterUriListener(::UriListener const& listener);
1745
1746 MCNAPI void $notifyUriListeners(::ActivationUri const& uri);
1747
1748 MCNAPI void $notifyUriListenerRegistrationDone();
1749
1750 MCNAPI ::IPlatformScreenshots& $getPlatformScreenshots();
1751
1752 MCNAPI bool $isRealmsEnabled() const;
1753
1754 MCNAPI void $showXboxLiveUserSettings();
1755
1756 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ThrottledFileWriteManager> $getThrottledFileWriteManager() const;
1757
1758 MCNAPI void $_notifyUriListeners(::ActivationUri const& uri, bool ignoreVerb);
1759#endif
1760
1761
1762 // NOLINTEND
1763
1764public:
1765 // vftables
1766 // NOLINTBEGIN
1767 MCNAPI static void** $vftableForIAppPlatform();
1768
1770 // NOLINTEND
1771};
Definition ActivationUri.h:5
Definition AppLifecycleContext.h:5
Definition AppPlatformListener.h:16
MCAPI::PlatformType $getPlatformType() const
MCAPI void $onMinecraftGameInitComplete()
MCAPI ::std::optional<::OperationMode > $getOperationMode() const
MCAPI bool $restartRequested()
MCAPI void $initialize()
MCAPI ::std::shared_ptr<::Core::FileStorageArea > $getOrCreateStorageAreaForUser(::Social::UserCreationData const &)
MCAPI bool $compareAppReceiptToLocalReceipt(::std::string 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 $calculateIfLowMemoryDevice()
MCAPI void $showPlatformStoreIcon(bool)
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 ::Core::PathBuffer<::std::string > $getAssetFileFullPath(::Core::Path const &filename)
MCAPI void $createUserInput(int dialogId)
MCAPI::ProcessExecutionState $getProcessExecutionState() const
MCAPI bool $isDownloadBuffered() const
MCAPI ::std::optional<::std::locale > getLocaleForDateTimeFormatting() const
MCAPI int $getDefaultNetworkMaxPlayers() const
MCAPI::std::string $getModelName()
MCAPI bool $doesLANRequireMultiplayerRestrictions() const
MCAPI bool const $areTreatmentPacksThrottled() const
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 ::Core::PathBuffer<::std::string > $getUserdataPathForLevels() const
MCAPI ::std::unique_ptr<::SecureStorage > $getSharedSecureStorage()
MCAPI void $restartApp(bool restart)
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const & HOME_PATH()
MCAPI ::std::optional< bool > $isOnWifiConnectionTelemetryValue()
MCAPI ::Core::PathBuffer<::std::string > $getSharedSettingsPath()
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 void $vibrate(int)
MCAPI float $getStoreNetworkFailureTimeout() const
MCAPI ::Core::PathBuffer<::std::string > $copyImportFileToTempFolder(::Core::Path const &filePath)
MCAPI::std::string getGraphicsDeviceTier() const
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 > $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 $isNetworkEnabled(bool) const
MCAPI bool $hasJournalingFilesystem() const
MCAPI::dragon::platform::SurfaceParameters $getRenderSurfaceParameters() const
MCAPI bool $multiplayerRequiresPremiumAccess() const
MCAPI void $updateBootstrapSettingsFromTreatmentsAsync()
MCAPI bool $isEduMode() const
MCAPI float $getDefaultScreenPositionX() const
MCAPI bool $notifyControllerConnectionStateChange() const
MCAPI ::Bedrock::Result<::std::string > $_readAssetFileInternal(::Core::PathView filename, ::std::string &buffer)
MCAPI ::std::vector<::std::string > $getUserInput()
MCAPI void $initializeGameStreaming()
MCAPI::NetworkConnectionType $getNetworkConnectionType()
MCAPI void $setNetworkAllowed(bool)
MCAPI uint $maxFileDataRequestConcurrency() const
MCAPI void $initializeMulticast() const
MCAPI bool $_tryEnableCPUBoost()
MCAPI AppPlatform(::std::unique_ptr<::IAppPlatformImpl > impl, bool registerService)
MCAPI int $getDpi() const
MCAPI ::Bedrock::Result<::std::string > readAssetFile(::Core::PathView filename, ::AppPlatform::ReadMode const &readMode, ::std::string &&buffer)
MCAPI void $dtor()
MCAPI void $buyGame()
MCAPI::std::string $getFeedbackBugsLink() 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 int $getNumberOfParticleFramesToInterpolate() const
MCAPI void $setTextBoxSelection(::TextBoxSelection selection)
MCAPI bool $supportsLegacySinglePremiumCacheDirectory() const
MCAPI ::Core::PathBuffer<::std::string > $getInternalPackStoragePath() const
MCAPI ::Core::PathBuffer<::std::string > $getLoggingPath() const
MCAPI::SecureStorageKey $getSecureStorageKey(::std::string 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::chrono::milliseconds $getWatchdogTimerDurationForAppSuspend() const
MCAPI bool $supportsVibration() const
MCAPI void $requestMulticastReceivePermission()
MCAPI bool $supportsLaunchingLegacyVersion() const
MCAPI ::std::optional<::RefreshRate > $getRefreshRate() const
MCAPI bool $canLaunchUri(::std::string const &uri)
MCAPI int const $numberOfThrottledTreatmentPacksToImportPerMinute() const
MCAPI uint $getPlatformErrorCodeForStoreError(::MarketplaceErrorUtils::StoreErrorResult const &)
MCAPI void $onFullGameUnlock()
MCAPI bool $saveEncryptedPersonaPacksAsZips() const
MCAPI uint64 $getTextureMemoryBudget() const
MCAPI ::Core::PathBuffer<::std::string > $getShaderCachePath()
MCAPI float $getDefaultSafeZoneScaleX() const
MCAPI void $setSleepEnabled(bool)
MCAPI bool $supportsFliteTTS() const
MCAPI void $setIntegrityTokenErrorMessage(::std::string const &)
MCAPI int $getUserInputStatus()
MCAPI void $updateLocalization(::std::string const &)
MCAPI bool $shouldRemoveGraphicsDeviceOnAppTermination() const
MCAPI ::std::unique_ptr<::SecureStorage > $getSecureStorage()
MCAPI ::Core::PathBuffer<::std::string > $getTextureCacheStoragePath()
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 $isLowMemoryDevice() const
MCAPI::Bedrock::CommonPlatform * $getPlatformShim() 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::std::string $getFeedbackHelpLink() const
MCAPI void $initializeGraphicsDeviceTier()
MCAPI bool $hasIDEProfiler()
MCAPI::mce::UUID const & $getPlatformBetaPackUUID() const
MCAPI ::std::vector<::std::string > $getBroadcastAddresses()
MCAPI bool $supportsXboxLiveAchievements() const
MCAPI void $setSecureStorageKey(::std::string const &, ::SecureStorageKey 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 $setWindowText(::std::string const &)
MCAPI int $getDisplayWidth()
MCAPI auto $getModalErrorMessageProc() -> ::AssertDialogResponse(*)(::std::string const &, ::std::string const &)
MCAPI void _setDeviceTier(::std::string tier)
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 void $releaseMulticastReceivePermission() const
MCAPI::std::string $getPlatformStringVar(int)
MCAPI bool $supportsDayOneExperience() const
MCAPI uint64 $getLowPhysicalMemoryThreshold() const
MCAPI bool $importAsFlatFile() const
MCAPI bool $isNetworkAllowed() const
MCAPI::std::string $getClientUpdateUrl() const
MCAPI void $notifyNetworkConfigurationChanged()
MCAPI void $showDialog(int)
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::std::string $getModelNameForUI()
MCAPI ::std::shared_ptr<::Core::FileHandlePool > getArchiveHandlePool() const
MCAPI void $readyForApplicationExitInfo() const
MCAPI bool $isContentAutoUpdateAllowed() const
MCAPI int $getDisplayHeight()
MCAPI bool $minimizeBackgroundDownloads() const
MCAPI bool $usesAsyncOptionSaving() const
MCAPI void * $ctor(::std::unique_ptr<::IAppPlatformImpl > impl, bool registerService)
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 float $getDefaultSafeZoneScaleY() const
MCAPI void $onPrimaryUserNetworkReady()
MCAPI bool $shouldPauseDownloadsWhenEnterGame() const
MCAPI::std::string $getPackageFamilyName() const
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 void $setIntegrityToken(::std::string const &)
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 bool $isLowPhysicalMemoryDevice() const
MCAPI void $collectGraphicsHardwareDetails()
MCAPI void $handlePlatformSpecificCommerceError(uint, ::std::string const &)
MCAPI bool $hasMulticastReceivePermission() const
MCAPI void $createUserInput()
MCAPI int $getMaxLDBFilesOpen() const
MCAPI bool $isLANAvailable() const
MCAPI void $registerFileForCollectionWithCrashDump(::Core::Path const &)
MCAPI bool $devHotReloadRenderResources() const
MCAPI void $showPlatformEmptyStoreDialog(::std::function< void(bool)> &&callback)
MCAPI::DeviceSunsetTier $getDeviceSunsetTier() const
MCAPI bool $saveEncryptedPacksAsZips() const
MCAPI uint64 $getMaximumUsedMemory()
MCAPI void $_teardownFileStorageAreas()
MCAPI bool $supportsClientUpdate() const
MCAPI bool $isWebviewSupported() const
MCAPI void $setNetworkConnectionType(::NetworkConnectionType connectionType)
Definition ClipboardCopy.h:7
Definition ClipboardPasteRequest.h:7
Definition ClipboardPaste.h:7
Definition BatteryMonitorInterface.h:9
Definition CommonPlatform.h:7
Definition Subscription.h:10
Definition FileHandlePool.h:14
Definition FileStorageArea.h:30
Definition PathView.h:19
Definition Path.h:10
Definition FilePickerSettings.h:5
Definition HardwareMemoryTierUtil.h:16
Definition IAppPlatformImpl.h:13
Definition IAppPlatform.h:15
Definition IFileAccess.h:15
Definition IPlatformScreenshots.h:5
Definition ISecureStorageKeySystem.h:10
Definition ImagePickingCallback.h:5
Definition PDFWriter.h:11
Definition Path.h:16
Definition PropertyBag.h:8
Definition PushNotificationMessage.h:5
Definition RectangleArea.h:5
Definition SecureStorageKey.h:5
Definition SecureStorage.h:10
Definition ThermalMonitorInterface.h:8
Definition ThrottledFileWriteManager.h:5
Definition UriListener.h:10
Definition WebviewInterface.h:5
Definition PlatformArguments.h:7
Definition UUID.h:8
STL namespace.
Definition AppPlatform.h:88
MCAPI void $dtor()
Definition AppPlatform.h:184
Definition IntegrityTokenResult.h:5
Definition StoreErrorResult.h:7
Definition UserCreationData.h:7
Definition TextBoxSelection.h:5
Definition buffer.h:5
Definition SurfaceParameters.h:7
Definition Alias.h:14
Definition Image.h:13