LeviLamina
Loading...
Searching...
No Matches
IMinecraftGame.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/game/DeferredTaskCategory.h"
7#include "mc/client/game/IClientInstances.h"
8#include "mc/client/game/IGameEventNotifier.h"
9#include "mc/client/game/IGameServerShutdown.h"
10#include "mc/client/game/IGameServerStartup.h"
11#include "mc/client/game/INetworkGameConnector.h"
12#include "mc/client/game/ISplitScreenChangedPublisher.h"
13#include "mc/client/game/IWorldTransfer.h"
14#include "mc/client/gui/GameEventNotification.h"
15#include "mc/client/gui/MousePointerType.h"
16#include "mc/client/social/UserPlatformConnectionResult.h"
17#include "mc/common/IMinecraftApp.h"
18#include "mc/common/SubClientId.h"
19#include "mc/deps/application/app_extensions/AppExtensionsOwner.h"
20#include "mc/deps/core/file/PathBuffer.h"
21#include "mc/deps/core/islands/AppIsland.h"
22#include "mc/deps/core/threading/Async.h"
23#include "mc/deps/core/threading/DeferredTasksManager.h"
24#include "mc/deps/core/utility/AutomaticID.h"
25#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
26#include "mc/deps/core/utility/NonOwnerPointer.h"
27#include "mc/deps/input/InputMode.h"
28#include "mc/deps/input/TextboxTextUpdateReason.h"
29#include "mc/events/NetworkType.h"
30#include "mc/platform/MultiplayerLockedContext.h"
31#include "mc/server/commands/test/TestAssetCommandType.h"
32#include "mc/server/commands/test/TestCommandType.h"
33#include "mc/sound/MusicRepeatMode.h"
34
35// auto generated forward declare list
36// clang-format off
41class ChunkSource;
43class ContentIdentity;
45class DateManager;
46class Dimension;
47class EDUSystems;
48class EntityContext;
49class FontHandle;
50class GameRenderer;
51class GuiData;
52class IApp;
53class IClientInstance;
57class ILevelListCache;
60class ISceneStack;
62class ItemRegistryRef;
63class LevelDbEnv;
64class LevelSettings;
68class Options;
71class Player;
76class ServerInstance;
78class TextureAtlas;
80class Vec3;
84struct ActorUniqueID;
86struct CDNService;
87struct ClubsService;
92struct DeferredLighting;
93struct DevConsoleLogger;
94struct EmoticonManager;
96struct FlightingService;
97struct GatheringManager;
98struct GeometryGroup;
100struct IContentManager;
101struct IDlcValidation;
102struct IEntitlementManager;
104struct IGameModuleApp;
105struct IOfferRepository;
106struct IThirdPartyServerRepository;
107struct IUIDefRepository;
108struct IUIRepository;
109struct LevelLoader;
110struct LibraryRepository;
111struct LocalPlayer;
112struct MarketplaceServicesManager;
113struct MusicManager;
114struct NewPlayerSystem;
117struct PersonaRepository;
118struct PersonaService;
119struct PixelCalc;
121struct ProfanityContext;
122struct RealmsAPI;
123struct SceneFactory;
124struct ScreenshotOptions;
125struct ScreenshotRecorder;
126struct SeasonsRenderer;
127struct ServiceDrivenImageRepository;
128struct ServicesManager;
129struct SkinRepository;
130struct SoundEngine;
131struct StoreCatalogRepository;
132struct SunsettingManager;
133struct TextToIconMapper;
135struct TrialManager;
136namespace Bedrock::PubSub { class Subscription; }
137namespace ClientBlobCache { struct Cache; }
138namespace ClientBlockPipeline { struct SchematicsRepository; }
139namespace Core { class FilePathManager; }
140namespace OreUI { struct DataProviderManager_DEPRECATED; }
141namespace OreUI { struct IResourceAllowList; }
142namespace OreUI { struct Router; }
143namespace Parties { struct PartySystem; }
144namespace Progress { struct ProgressTips; }
145namespace Realms { struct ContentService; }
146namespace Realms { struct GenericRequestServiceHandler; }
147namespace Realms { struct RealmsServices; }
148namespace Realms { struct RealmsSystem; }
149namespace Realms { struct SubscriptionService; }
150namespace Realms { struct World; }
151namespace Social { class GameConnectionInfo; }
152namespace Social { class IUserManager; }
153namespace Social { struct MultiplayerServiceManager; }
154namespace Social { struct PresenceManager; }
155namespace Social { struct SocialSystem; }
156namespace Social { struct User; }
157namespace World { struct WorldSystem; }
158namespace mce { class TextureGroup; }
159namespace mce { class UUID; }
160// clang-format on
161
164 public ::IMinecraftApp,
168 public ::IClientInstances,
169 public ::IWorldTransfer,
172 public ::IGameEventNotifier {
173public:
174 // virtual functions
175 // NOLINTBEGIN
176 virtual void initialize() = 0;
177
178 virtual ~IMinecraftGame() /*override*/;
179
180 virtual void update() = 0;
181
182 virtual ::AppSystemRegistry& getAppSystemRegistry() = 0;
183
184 virtual ::EntityContext& getEntity() const = 0;
185
186 virtual void logoffAllSubclients() = 0;
187
188 virtual void buildTreatmentPackStack(bool) const = 0;
189
190 virtual void queueSubclientRemoval(::SubClientId) = 0;
191
192 virtual ::std::shared_ptr<::mce::TextureGroup> getTextureGroup() const = 0;
193
194 virtual ::Bedrock::NotNullNonOwnerPtr<::ResourceLoadManager> getResourceLoadManager() = 0;
195
196 virtual void handleReloadUIDefinitions() = 0;
197
198 virtual ::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository> getUIDefRepo() const = 0;
199
200 virtual bool canActivateKeyboard() = 0;
201
202 virtual void releaseClientSubId(::SubClientId) = 0;
203
204 virtual ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const> getContentTierManager() const = 0;
205
206 virtual ::Bedrock::NotNullNonOwnerPtr<::DevConsoleLogger> getDevConsoleLogger() const = 0;
207
208 virtual void setDisableInputForAllOtherClients(int, bool) = 0;
209
210 virtual ::DeferredTasksManager<::DeferredTaskCategory>& getDeferredTasks() = 0;
211
212 virtual bool shouldShowRatingsPrompt() const = 0;
213
214 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerInstanceEventCoordinator> getServerInstanceEventCoordinator() = 0;
215
216 virtual bool isHostingLocalDedicatedServer() const = 0;
217
218 virtual bool isLeaveGameDone() const = 0;
219
220 virtual void destroyGame() = 0;
221
222 virtual bool isInGame() const = 0;
223
224 virtual void startLeaveGame() = 0;
225
226 virtual bool isAudioInitialized() const = 0;
227
228 virtual ::MusicManager const* getMusicManager() const = 0;
229
230 virtual ::MusicManager* getMusicManagerNonConst() const = 0;
231
232 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundEngine> getSoundEngine() const = 0;
233
234 virtual void setTextboxText(::std::string const&, int const, ::TextboxTextUpdateReason) = 0;
235
236 virtual void onKeyboardDismissed(int const) = 0;
237
238 virtual ::Bedrock::NotNullNonOwnerPtr<::ITextBoxController> getTextBoxController() = 0;
239
240 virtual void openPauseMenu() = 0;
241
242 virtual void setIsInGame(bool) = 0;
243
244 virtual void createClientItemRegistry() = 0;
245
246 virtual bool hasNetworkPrivileges(bool) = 0;
247
248 virtual ::Bedrock::NotNullNonOwnerPtr<::IThirdPartyServerRepository const>
249 getThirdPartyServerRepository() const = 0;
250
251 virtual ::Bedrock::NotNullNonOwnerPtr<::IThirdPartyServerRepository> getThirdPartyServerRepository() = 0;
252
253 virtual ::Bedrock::NotNullNonOwnerPtr<::ControllerIDtoClientMap> retrieveCIDToClientMap() = 0;
254
255 virtual ::std::map<::SubClientId, ::std::shared_ptr<::IClientInstance>> const& getClientInstanceMap() const = 0;
256
257 virtual void joinMultiplayerWithAddress(
258 ::Social::GameConnectionInfo,
259 bool,
260 ::std::string const&,
261 ::std::string const&,
262 ::NetworkType,
263 bool
264 ) = 0;
265
266 virtual ::Bedrock::NotNullNonOwnerPtr<::IOfferRepository> getOfferRepository() const = 0;
267
268 virtual ::Bedrock::NotNullNonOwnerPtr<::TrialManager> getTrialManager() const = 0;
269
270 virtual bool isTrialManagerInitialized() const = 0;
271
272 virtual ::InputMode getCurrentInputMode() const = 0;
273
274 virtual void handleInputPaneHidden() = 0;
275
276 virtual bool getSuspended() const = 0;
277
278 virtual bool isResuming() const = 0;
279
280 virtual void setTestExecuteCommandCallback(
281 ::std::function<void(::TestCommandType, ::std::vector<::std::string> const&, int)> const&
282 ) = 0;
283
284 virtual void setTestAssetCommandCallback(
285 ::std::function<void(::TestAssetCommandType, ::std::vector<::std::string> const&)> const&
286 ) = 0;
287
288 virtual void runTestExecuteCommandCallback(::TestCommandType, ::std::vector<::std::string> const&, int) const = 0;
289
290 virtual void runTestAssetCommandCallback(::TestAssetCommandType, ::std::vector<::std::string> const&) const = 0;
291
292 virtual uint64 getClientInstanceCount() const = 0;
293
294 virtual void setProfilerIsOn(bool) = 0;
295
296 virtual ::LocalPlayer* getPrimaryLocalPlayer() = 0;
297
298 virtual ::LocalPlayer const* getPrimaryLocalPlayer() const = 0;
299
300 virtual ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> getUserManager() const = 0;
301
302 virtual ::Bedrock::NotNullNonOwnerPtr<::IClientInstance> getPrimaryClientInstance() = 0;
303
304 virtual ::Bedrock::NotNullNonOwnerPtr<::IClientInstance const> getPrimaryClientInstance() const = 0;
305
306 virtual ::ItemRegistryRef getClientItemRegistry() const = 0;
307
308 virtual bool isPrimaryClientInstanceReady() const = 0;
309
310 virtual void ensureAllClientsAreLeaving() const = 0;
311
312 virtual ::Bedrock::NotNullNonOwnerPtr<::ClientNetworkSystem> getClientNetworkSystemPtr() = 0;
313
314 virtual ::ClientNetworkSystem& getClientNetworkSystem() = 0;
315
316 virtual ::ClientNetworkSystem const& getClientNetworkSystem() const = 0;
317
318 virtual bool hasAllValidCrossPlatformSkin() const = 0;
319
320 virtual ::Bedrock::NotNullNonOwnerPtr<::NewPlayerSystem> getNewPlayerSystem() = 0;
321
322 virtual ::Bedrock::NotNullNonOwnerPtr<::NewPlayerSystem const> getNewPlayerSystem() const = 0;
323
324 virtual void createAndUploadWorldToRealm(
325 ::std::string const&,
326 ::std::string const&,
327 ::ContentIdentity const&,
328 ::LevelSettings const&,
329 ::Realms::World,
330 ::std::function<void(::Realms::World)>
331 ) = 0;
332
333 virtual ::ILevelListCache& getLevelListCache() = 0;
334
335 virtual ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager> getFilePathManager() = 0;
336
337 virtual void setUseFontOverrides(bool useOverrides) = 0;
338
339 virtual ::Bedrock::NotNullNonOwnerPtr<::FontHandle const> getFontHandle() const = 0;
340
341 virtual ::Bedrock::NotNullNonOwnerPtr<::FontHandle const> getUIFontHandle() const = 0;
342
343 virtual ::Bedrock::NotNullNonOwnerPtr<::FontHandle const> getRuneFontHandle() const = 0;
344
345 virtual ::Bedrock::NotNullNonOwnerPtr<::FontHandle const> getUnicodeFontHandle() const = 0;
346
347 virtual ::Bedrock::NotNullNonOwnerPtr<::FontHandle const> getSmoothFontHandle() const = 0;
348
349 virtual void onClientLevelExit(::IClientInstance&, uint) = 0;
350
351 virtual bool isLocalPlayer(::ActorUniqueID const&) const = 0;
352
353 virtual ::IMinecraftEventing& getEventing() const = 0;
354
355 virtual void reloadAnimationAndGeometryData(bool) = 0;
356
357 virtual ::Bedrock::NotNullNonOwnerPtr<::GeometryGroup> getGeometryGroup() const = 0;
358
359 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockCullingGroup> getBlockCullingGroup() const = 0;
360
361 virtual ::Bedrock::NotNullNonOwnerPtr<::ClientBlockPipeline::SchematicsRepository>
362 getSchematicsRepository() const = 0;
363
364 virtual ::ParticleEffectGroup& getParticleEffectGroup() const = 0;
365
366 virtual ::DeferredLighting& getDeferredLighting() const = 0;
367
368 virtual ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager> getMultiplayerServiceManager() const = 0;
369
370 virtual ::IResourcePackRepository& getResourcePackRepository() const = 0;
371
372 virtual ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> getKeyProvider() const = 0;
373
374 virtual ::ResourcePackManager& getResourcePackManager() const = 0;
375
376 virtual ::ResourcePackManager& getServerResourcePackManager() = 0;
377
378 virtual ::PackManifestFactory& getPackManifestFactory() = 0;
379
380 virtual ::PlayerMessagingService& getPlayerMessagingService() = 0;
381
382 virtual ::std::shared_ptr<::SkinRepository> getSkinRepository() const = 0;
383
384 virtual ::PersonaRepository& getPersonaRepository() const = 0;
385
386 virtual ::MarketplaceServicesManager& getMarketplaceServicesManager() const = 0;
387
388 virtual ::Bedrock::NotNullNonOwnerPtr<::mce::TextureGroup> getStoreCacheTextures() const = 0;
389
390 virtual ::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics> getMinecraftGraphics() = 0;
391
392 virtual ::Bedrock::NotNullNonOwnerPtr<::IUIRepository> getUIRepository() const = 0;
393
394 virtual bool isPrimaryLevelCrossPlatformMultiplayer() const = 0;
395
396 virtual bool isPrimaryLevelMultiplayer() const = 0;
397
398 virtual ::std::string getMultiplayerDisabledTextTitle(::MultiplayerLockedContext) const = 0;
399
400 virtual ::std::string getMultiplayerDisabledTextBody(::MultiplayerLockedContext) const = 0;
401
402 virtual void setRenderingSize(int, int) = 0;
403
404 virtual void recalculateScene() = 0;
405
406 virtual void setUISizeAndScale(int, int, float) = 0;
407
408 virtual bool isReadyToRender() const = 0;
409
410 virtual void onDimensionChanged() = 0;
411
412 virtual void setLeaveGameInProgressAsReadyToContinue() = 0;
413
414 virtual void onClientCreatedLevel(::IClientInstance&) = 0;
415
416 virtual uint64 generateClientId(bool, bool&, uint64, ::std::shared_ptr<::Social::User>) = 0;
417
418 virtual ::std::weak_ptr<::RealmsAPI> getRealms() = 0;
419
420 virtual ::Realms::ContentService& getRealmsContentService() = 0;
421
422 virtual bool getMouseGrabbed() const = 0;
423
424 virtual void navigateToPlayScreenFriendsTab() = 0;
425
426 virtual bool isInRealm() const = 0;
427
428 virtual bool isShowingLoadingScreen() const = 0;
429
430 virtual bool isRenderingLoadingScreen() const = 0;
431
432 virtual ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository> getStoreCatalog() const = 0;
433
434 virtual ::ServiceDrivenImageRepository& getServiceImageRepository() const = 0;
435
436 virtual ::Bedrock::NotNullNonOwnerPtr<::LibraryRepository> getLibraryRepository() const = 0;
437
438 virtual ::GameRenderer& getGameRenderer() const = 0;
439
440 virtual ::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const> getTextureAtlas() const = 0;
441
442 virtual ::Bedrock::NotNullNonOwnerPtr<::TextureAtlas> getTextureAtlas() = 0;
443
444 virtual bool hasActorResourceDefinitionGroup() const = 0;
445
446 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup const>
447 getActorResourceDefinitionGroup() const = 0;
448
449 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup> getActorResourceDefinitionGroupMutable() = 0;
450
451 virtual ::Bedrock::NotNullNonOwnerPtr<::RenderControllerGroup const> getRenderControllerGroup() const = 0;
452
453 virtual ::Bedrock::NotNullNonOwnerPtr<::RenderControllerGroup> getRenderControllerGroup() = 0;
454
455 virtual int getMaxPlayerCount() const = 0;
456
457 virtual ::Bedrock::Threading::Async<::Core::PathBuffer<::std::string>> requestScreenshot(::ScreenshotOptions&) = 0;
458
459 virtual ::Bedrock::NotNullNonOwnerPtr<::OreUI::IResourceAllowList> getOreUIResourceAllowList() = 0;
460
461 virtual ::Bedrock::NotNullNonOwnerPtr<::DateManager> getDateManager() const = 0;
462
463 virtual ::PixelCalc const& getDpadScale() const = 0;
464
465 virtual void setKeyboardForcedHeight(float, bool) = 0;
466
467 virtual ::Bedrock::NotNullNonOwnerPtr<::ISceneStack const> getMainSceneStack() const = 0;
468
469 virtual ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> getMainSceneStack() = 0;
470
471 virtual ::OreUI::Router& getUIRouter() = 0;
472
473 virtual ::OreUI::DataProviderManager_DEPRECATED& getDataProviderManager() = 0;
474
475 virtual uint getUIRenderClientMask() const = 0;
476
477 virtual bool useMinecraftVersionOfXBLUI() const = 0;
478
479 virtual ::Bedrock::NotNullNonOwnerPtr<::PersonaService> getPersonaService() const = 0;
480
481 virtual ::Bedrock::NotNullNonOwnerPtr<::GatheringManager> getGatheringManager() const = 0;
482
483 virtual ::Bedrock::NotNullNonOwnerPtr<::CDNService> getCDNService() const = 0;
484
485 virtual ::Bedrock::NotNullNonOwnerPtr<::ContentCatalogService> getContentCatalogService() const = 0;
486
487 virtual ::Bedrock::NotNullNonOwnerPtr<::FlightingService> getFlightingService() const = 0;
488
489 virtual ::std::shared_ptr<::FlightingService> getFlightingServicePtr() const = 0;
490
491 virtual ::Bedrock::NotNullNonOwnerPtr<::TreatmentPackDownloadMonitor const>
492 getTreatmentPackDownloadMonitor() const = 0;
493
494 virtual ::SceneFactory& getPrimarySceneFactory() const = 0;
495
496 virtual ::Bedrock::NonOwnerPointer<::MinecraftInputHandler> getInput() const = 0;
497
498 virtual void grabMouse() = 0;
499
500 virtual void releaseMouse() = 0;
501
502 virtual void refocusMouse(bool) = 0;
503
504 virtual void setMouseType(::ui::MousePointerType) = 0;
505
506 virtual void play(::std::string const&, ::Vec3 const&, float, float) = 0;
507
508 virtual void playUI(::std::string const&, float, float) = 0;
509
510 virtual void fadeOutMusic() = 0;
511
512 virtual void onPlayerLoaded(::IClientInstance&, ::Player&) = 0;
513
514 virtual bool checkForPiracy() const = 0;
515
516 virtual ::Bedrock::NotNullNonOwnerPtr<::CubemapBackgroundResources> getCubemapBackgroundResources() = 0;
517
518 virtual void setAppWillTerminate(bool) = 0;
519
520 virtual ::ServerInstance* getServerInstance() = 0;
521
522 virtual ::Bedrock::NotNullNonOwnerPtr<::ServerInstance> getServerInstanceNonOwnPtr() = 0;
523
524 virtual void setLaunchedFromLegacyVersion(bool) = 0;
525
526 virtual ::UIMeasureStrategy& getUIMeasureStrategy() = 0;
527
528 virtual void registerUpsellScreen() = 0;
529
530 virtual ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager> getWorldTemplateManager() const = 0;
531
532 virtual ::World::WorldSystem& getWorldSystem() const = 0;
533
534 virtual bool isWorldSystemReady() const = 0;
535
536 virtual ::Social::SocialSystem& getSocialSystem() const = 0;
537
538 virtual ::std::optional<::Bedrock::NotNullNonOwnerPtr<::Parties::PartySystem>> getPartySystem() const = 0;
539
540 virtual ::Bedrock::NotNullNonOwnerPtr<::Progress::ProgressTips> getUIProgressTips() const = 0;
541
542 virtual ::Bedrock::NotNullNonOwnerPtr<::Realms::RealmsSystem> getRealmsSystem() const = 0;
543
544 virtual ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> getEntitlementManager() = 0;
545
546 virtual ::IDlcValidation& getDlcValidation() = 0;
547
548 virtual ::ServicesManager& getServicesManager() = 0;
549
550 virtual ::Bedrock::NotNullNonOwnerPtr<::SunsettingManager> getSunsettingManager() = 0;
551
552 virtual void pauseContentDownloads() = 0;
553
554 virtual void resumeContentDownloads() = 0;
555
556 virtual ::Bedrock::NotNullNonOwnerPtr<::IExternalServerFile> getExternalServer() const = 0;
557
558 virtual bool isStartingGame() const = 0;
559
560 virtual bool isSplitscreenJoinEnabled() const = 0;
561
562 virtual bool canAddSplitscreenSubClient(int) const = 0;
563
564 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelLoader> getLevelLoader() = 0;
565
566 virtual ::Bedrock::NotNullNonOwnerPtr<::ExternalContentManager> getContentManager() = 0;
567
568 virtual ::std::shared_ptr<::IClientInstance> tryGetClientInstanceFromPlayerUUID(::mce::UUID const&) const = 0;
569
570 virtual ::Bedrock::NotNullNonOwnerPtr<::IContentAccessibilityProvider const> getAccessibilityProvider() const = 0;
571
572 virtual ::Bedrock::NotNullNonOwnerPtr<::IContentAccessibilityProvider> getAccessibilityProvider() = 0;
573
574 virtual ::Bedrock::NotNullNonOwnerPtr<::ContentAcquisition> getContentAcquisition() const = 0;
575
576 virtual void onGameEventNotification(::ui::GameEventNotification) = 0;
577
578 virtual void setRealmsLoadingLink(bool) = 0;
579
580 virtual ::Bedrock::NotNullNonOwnerPtr<::IApp> getApp() = 0;
581
582 virtual void clearCache() = 0;
583
584 virtual ::IContentManager& getResourceContentManager() = 0;
585
586 virtual ::Bedrock::NotNullNonOwnerPtr<::EmoticonManager const> getEmoticonManager() const = 0;
587
588 virtual ::Bedrock::NotNullNonOwnerPtr<::TextToIconMapper const> getTextToIconMapper() const = 0;
589
590 virtual ::Bedrock::NotNullNonOwnerPtr<::TextToIconMapper> getTextToIconMapper() = 0;
591
592 virtual void onPrimaryUserReconnect(::Social::UserPlatformConnectionResult, bool) = 0;
593
594 virtual void setSmoothFontStyle() = 0;
595
596 virtual void setUIFontStyle() = 0;
597
598 virtual void copyInternalSettingsFolderToExternalLocation() const = 0;
599
600 virtual void joinRealmFromInvite(::Realms::World const&) = 0;
601
602 virtual void joinRealmFromConnectLink(::Realms::World const&) = 0;
603
604 virtual ::Bedrock::NotNullNonOwnerPtr<::Realms::RealmsServices> getRealmsServices() = 0;
605
606 virtual ::std::weak_ptr<::ClubsService> getClubsService() = 0;
607
608 virtual ::std::shared_ptr<::Realms::GenericRequestServiceHandler> getGenericRealmsService() = 0;
609
610 virtual ::Bedrock::NotNullNonOwnerPtr<::Realms::SubscriptionService> getRealmsSubscriptionService() = 0;
611
612 virtual ::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity> getActiveDirectoryIdentity() = 0;
613
614 virtual ::PackSourceFactory& getPackSourceFactory() const = 0;
615
616 virtual void displayActiveDirectoryLoginDialog() = 0;
617
618 virtual void resetInput() = 0;
619
620 virtual ::Bedrock::NotNullNonOwnerPtr<::Social::PresenceManager> getPresenceManager() = 0;
621
622 virtual ::Bedrock::NotNullNonOwnerPtr<::GuiData> getPrimaryGuiData() = 0;
623
624 virtual bool isPrimaryUserSigninInProgress() const = 0;
625
626 virtual void setupCommandParser(::IClientInstance&) = 0;
627
628 virtual void stopSound(::std::string const& name) = 0;
629
630 virtual void stopSounds() = 0;
631
632 virtual ::PackDownloadManager& getPackDownloadManager() = 0;
633
634 virtual ::Bedrock::NonOwnerPointer<::LinkedAssetValidator> getLinkedAssetValidator() const = 0;
635
636 virtual ::Bedrock::NonOwnerPointer<::LinkedAssetValidator> getLinkedAssetValidator() = 0;
637
638 virtual void addSubClientInstanceAndAssociateToUser(int) = 0;
639
640 virtual void forEachClientInstance(::std::function<void(::IClientInstance&)>) = 0;
641
642 virtual bool isInitialized() const = 0;
643
644 virtual ::Bedrock::NotNullNonOwnerPtr<::SeasonsRenderer> getSeasonsRenderer() = 0;
645
646 virtual ::std::shared_ptr<::ActorAnimationGroup> getActorAnimationGroup() const = 0;
647
648 virtual ::Bedrock::NotNullNonOwnerPtr<::ActorAnimationControllerGroup> getActorAnimationControllerGroup() const = 0;
649
650 virtual bool isMultiplayerServiceManagerReady() const = 0;
651
652 virtual ::Bedrock::NotNullNonOwnerPtr<::WebSocketCommManager> getWebSocketCommManager() = 0;
653
654 virtual void doPrimaryClientReadyWork(::std::function<void()>) = 0;
655
656 virtual void doUserManagerReadyWork(::std::function<void()>) = 0;
657
658 virtual ::Bedrock::NotNullNonOwnerPtr<::ScreenshotRecorder> getScreenshotRecorder() = 0;
659
660 virtual ::std::shared_ptr<::ClientBlobCache::Cache> getClientBlobCache() = 0;
661
662 virtual ::Bedrock::NonOwnerPointer<::ContentLogFileEndPoint> const getContentFileLogEndPoint() const = 0;
663
664 virtual ::Bedrock::NonOwnerPointer<::EDUSystems const> getEDUSystems() const = 0;
665
666 virtual ::Bedrock::NonOwnerPointer<::EDUSystems> getEDUSystems() = 0;
667
668 virtual ::std::shared_ptr<::Options> getPrimaryUserOptions() = 0;
669
670 virtual ::std::shared_ptr<::Options const> getPrimaryUserOptions() const = 0;
671
672 virtual void tryShowXblFirstLaunchScreen(bool) = 0;
673
674 virtual ::Bedrock::PubSub::Subscription registerSplitScreenChangedListener(::std::function<void(uchar)>) const = 0;
675
676 virtual uchar getSplitScreenCount() const = 0;
677
678 virtual ::IGameModuleApp& getGameModule() = 0;
679
680 virtual ::std::shared_ptr<void*> requestMusicDeferment() = 0;
681
682 virtual bool isMusicEnabled() const = 0;
683
684 virtual void queueCustomMusic(::std::string const&, float, float, ::MusicRepeatMode) = 0;
685
686 virtual void playCustomMusic(::std::string const&, float, float, ::MusicRepeatMode) = 0;
687
688 virtual void stopCustomMusic(float) = 0;
689
690 virtual void setMusicCommandVolumeMultiplier(float) = 0;
691
692 virtual float calculateScreenSizeToResolutionScalar(int const, int const) const = 0;
693
694 virtual ::Bedrock::NotNullNonOwnerPtr<::GlobalResourcesCrashRecovery const>
695 GetGlobalResourcesCrashRecovery() const = 0;
696
697 virtual ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv> getLevelDbEnv() = 0;
698
699 virtual ::Bedrock::NonOwnerPointer<::ChunkSource> getClientGenChunkSource(::DimensionType const&) = 0;
700
701 virtual bool isEditorModeEnabled() const = 0;
702
703 virtual void setResetCallbackObject(::ResetCallbackObject*) = 0;
704
705 virtual void resetThreadCallbacks() = 0;
706
707 virtual void shutdownServer() = 0;
708
709 virtual ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext> getProfanityContext() = 0;
710
711 virtual double getGameUpdateDurationInSeconds() const = 0;
712
713 virtual ::std::tuple<bool, int> GetEcoModeSettings() const = 0;
714 // NOLINTEND
715
716public:
717 // destructor thunk
718 // NOLINTBEGIN
719 MCNAPI void $dtor();
720 // NOLINTEND
721
722public:
723 // virtual function thunks
724 // NOLINTBEGIN
725
726 // NOLINTEND
727
728public:
729 // vftables
730 // NOLINTBEGIN
731 MCNAPI static void** $vftableForIMinecraftApp();
732
733 MCNAPI static void** $vftableForINetworkGameConnector();
734
735 MCNAPI static void** $vftableForIClientInstances();
736
737 MCNAPI static void** $vftableForAppIsland();
738
739 MCNAPI static void** $vftableForIGameServerStartup();
740
742
743 MCNAPI static void** $vftableForAppExtensionsOwner();
744
745 MCNAPI static void** $vftableForIGameEventNotifier();
746
748
749 MCNAPI static void** $vftableForIWorldTransfer();
750
751 MCNAPI static void** $vftableForIGameServerShutdown();
752 // NOLINTEND
753};
Definition ActiveDirectoryIdentity.h:33
Definition ActorAnimationControllerGroup.h:27
Definition ActorAnimationGroup.h:26
Definition AppExtensionsOwner.h:16
Definition AppSystemRegistry.h:11
Definition AppIsland.h:15
Definition EnableNonOwnerReferences.h:7
Definition Subscription.h:10
Definition ChunkSource.h:37
Definition ClientNetworkSystem.h:39
Definition ContentIdentity.h:8
Definition ContentLogFileEndPoint.h:15
Definition FilePathManager.h:18
Definition DateManager.h:14
Definition Dimension.h:85
Definition EDUSystems.h:25
Definition EntityContext.h:16
Definition FontHandle.h:5
Definition GameRenderer.h:5
Definition GuiData.h:5
Definition IApp.h:8
Definition IClientInstance.h:5
Definition IClientInstances.h:5
Definition IContentAccessibilityProvider.h:13
Definition IContentKeyProvider.h:13
Definition IContentTierManager.h:13
Definition IGameEventNotifier.h:5
Definition IGameServerStartup.h:5
Definition ILevelListCache.h:27
Definition IMinecraftApp.h:19
Definition IMinecraftEventing.h:137
Definition IMinecraftGame.h:5
static MCAPI void ** $vftableForIGameEventNotifier()
static MCAPI void ** $vftableForIClientInstances()
static MCAPI void ** $vftableForIWorldTransfer()
static MCAPI void ** $vftableForINetworkGameConnector()
static MCAPI void ** $vftableForIGameServerStartup()
static MCAPI void ** $vftableForAppExtensionsOwner()
MCAPI void $dtor()
static MCAPI void ** $vftableForAppIsland()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForISplitScreenChangedPublisher()
static MCAPI void ** $vftableForIGameServerShutdown()
static MCAPI void ** $vftableForIMinecraftApp()
Definition INetworkGameConnector.h:5
Definition IResourcePackRepository.h:34
Definition ISceneStack.h:5
Definition ISplitScreenChangedPublisher.h:5
Definition ITextBoxController.h:5
Definition ItemRegistryRef.h:36
Definition LevelDbEnv.h:8
Definition LevelSettings.h:39
Definition LinkedAssetValidator.h:8
Definition MinecraftGraphics.h:5
Definition MinecraftInputHandler.h:5
Definition Options.h:5
Definition PackManifestFactory.h:20
Definition PackSourceFactory.h:33
Definition Player.h:125
Definition RenderControllerGroup.h:5
Definition ResetCallbackObject.h:5
Definition ResourceLoadManager.h:18
Definition ResourcePackManager.h:29
Definition ServerInstanceEventCoordinator.h:18
Definition ServerInstance.h:57
Definition GameConnectionInfo.h:21
Definition IUserManager.h:34
Definition TextureAtlas.h:5
Definition UIMeasureStrategy.h:5
Definition Vec3.h:10
Definition WebSocketCommManager.h:14
Definition WorldTemplateManager.h:21
Definition TextureGroup.h:7
Definition UUID.h:7
Definition ActorResourceDefinitionGroup.h:5
Definition ActorUniqueID.h:5
Definition BlockCullingGroup.h:5
Definition CDNService.h:5
Definition Cache.h:7
Definition SchematicsRepository.h:7
Definition ClubsService.h:5
Definition ContentAcquisition.h:5
Definition ContentCatalogService.h:5
Definition ControllerIDtoClientMap.h:13
Definition CubemapBackgroundResources.h:5
Definition DeferredLighting.h:5
Definition DevConsoleLogger.h:5
Definition EmoticonManager.h:5
Definition ExternalContentManager.h:5
Definition FlightingService.h:5
Definition GatheringManager.h:5
Definition GeometryGroup.h:5
Definition GlobalResourcesCrashRecovery.h:5
Definition IContentManager.h:5
Definition IDlcValidation.h:5
Definition IExternalServerFile.h:5
Definition IGameModuleApp.h:5
Definition IGameServerShutdown.h:5
Definition IUIDefRepository.h:5
Definition IUIRepository.h:5
Definition IWorldTransfer.h:5
Definition LevelLoader.h:5
Definition LibraryRepository.h:5
Definition LocalPlayer.h:5
Definition MusicManager.h:5
Definition NewPlayerSystem.h:5
Definition DataProviderManager_DEPRECATED.h:7
Definition IResourceAllowList.h:7
Definition Router.h:7
Definition PackDownloadManager.h:5
Definition ParticleEffectGroup.h:5
Definition PartySystem.h:7
Definition PersonaRepository.h:5
Definition PersonaService.h:5
Definition PixelCalc.h:5
Definition PlayerMessagingService.h:5
Definition ProfanityContext.h:5
Definition ProgressTips.h:7
Definition RealmsAPI.h:5
Definition ContentService.h:7
Definition GenericRequestServiceHandler.h:7
Definition RealmsServices.h:7
Definition RealmsSystem.h:7
Definition SubscriptionService.h:7
Definition World.h:7
Definition SceneFactory.h:5
Definition ScreenshotOptions.h:5
Definition ScreenshotRecorder.h:5
Definition SeasonsRenderer.h:5
Definition SkinRepository.h:5
Definition MultiplayerServiceManager.h:7
Definition PresenceManager.h:7
Definition SocialSystem.h:7
Definition User.h:7
Definition SoundEngine.h:5
Definition SunsettingManager.h:5
Definition TextToIconMapper.h:5
Definition TreatmentPackDownloadMonitor.h:5
Definition TrialManager.h:5
Definition WorldSystem.h:7