LeviLamina
Loading...
Searching...
No Matches
GameDependencies.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8// auto generated forward declare list
9// clang-format off
10class AppPlatform;
11class FeatureToggles;
14class IContentManager;
16class IGameModuleApp;
17class IMinecraftGame;
19class MarketplaceServicesManager;
21namespace OreUI { class IResourceAllowList; }
22namespace Parties { class PartySystem; }
23namespace Realms { class RealmsSystem; }
24namespace Social { class MultiplayerServiceManager; }
25namespace Social { class SocialSystem; }
26namespace World { class WorldSystem; }
27namespace flighting { class TreatmentToggles; }
28// clang-format on
29
30namespace OreUI {
31
32class GameDependencies {
33public:
34 // GameDependencies inner types define
35 using GamePtr = ::Bedrock::NotNullNonOwnerPtr<::IMinecraftGame>;
36
37 using GraphicsPtr = ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>;
38
39 using PlatformPtr = ::Bedrock::NotNullNonOwnerPtr<::AppPlatform>;
40
41 using FeaturePtr = ::Bedrock::NotNullNonOwnerPtr<::FeatureToggles>;
42
43 using DataDrivenUIRepositoryPtr = ::Bedrock::NotNullNonOwnerPtr<::IDataDrivenUIRepository>;
44
45public:
46 // member variables
47 // NOLINTBEGIN
48 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IMinecraftGame>> mGame;
49 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>> mGraphicsOptions;
50 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform>> mPlatform;
51 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::flighting::TreatmentToggles>> mFlighting;
52 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::FeatureToggles>> mFeatureToggles;
53 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IDataDrivenUIRepository>> mDataDrivenUIRepository;
54 // NOLINTEND
55
56public:
57 // prevent constructor by default
58 GameDependencies& operator=(GameDependencies const&);
59 GameDependencies(GameDependencies const&);
60 GameDependencies();
61
62public:
63 // member functions
64 // NOLINTBEGIN
65 MCAPI GameDependencies(::OreUI::GameDependencies&&);
66
67 MCAPI GameDependencies(
68 ::Bedrock::NotNullNonOwnerPtr<::IMinecraftGame> const& game,
69 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions> const& graphicsOptions,
70 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> const& platform,
71 ::flighting::TreatmentToggles& flighting,
72 ::Bedrock::NotNullNonOwnerPtr<::FeatureToggles> const& features,
73 ::Bedrock::NotNullNonOwnerPtr<::IDataDrivenUIRepository> const& dataDrivenUIRepository
74 );
75
76 MCAPI ::IContentManager& getContentManager() const;
77
78 MCAPI ::IDataDrivenUIRepository& getDataDrivenUIRepository() const;
79
80 MCAPI ::FeatureToggles& getFeatureToggles() const;
81
82 MCAPI ::FlightingService& getFlightingService() const;
83
84 MCAPI ::IGameModuleApp& getGameModule() const;
85
86 MCAPI ::MarketplaceServicesManager& getMarketplaceServicesManager() const;
87
88 MCAPI ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager> getMultiplayerServiceManager() const;
89
90 MCAPI ::Bedrock::NotNullNonOwnerPtr<::OreUI::IResourceAllowList> getOreUIResourceAllowList() const;
91
92 MCAPI ::Bedrock::NonOwnerPointer<::Parties::PartySystem> getPartySystem() const;
93
94 MCAPI ::AppPlatform& getPlatform() const;
95
96 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext> getProfanityContext() const;
97
98 MCAPI ::Bedrock::NotNullNonOwnerPtr<::Realms::RealmsSystem> getRealmsSystem() const;
99
100 MCAPI ::Social::SocialSystem& getSocialSystem() const;
101
102 MCAPI ::ISplitScreenChangedPublisher& getSplitScreenPublisher() const;
103
104 MCAPI ::World::WorldSystem& getWorldSystem() const;
105
106 MCAPI ~GameDependencies();
107 // NOLINTEND
108
109public:
110 // constructor thunks
111 // NOLINTBEGIN
112 MCAPI void* $ctor(::OreUI::GameDependencies&&);
113
114 MCAPI void* $ctor(
115 ::Bedrock::NotNullNonOwnerPtr<::IMinecraftGame> const& game,
116 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions> const& graphicsOptions,
117 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> const& platform,
118 ::flighting::TreatmentToggles& flighting,
119 ::Bedrock::NotNullNonOwnerPtr<::FeatureToggles> const& features,
120 ::Bedrock::NotNullNonOwnerPtr<::IDataDrivenUIRepository> const& dataDrivenUIRepository
121 );
122 // NOLINTEND
123
124public:
125 // destructor thunk
126 // NOLINTBEGIN
127 MCAPI void $dtor();
128 // NOLINTEND
129};
130
131} // namespace OreUI
Definition AppPlatform.h:91
Definition FeatureToggles.h:18
Definition FlightingService.h:5
Definition IAdvancedGraphicsOptions.h:16
Definition IContentManager.h:5
Definition IDataDrivenUIRepository.h:32
Definition IGameModuleApp.h:5
Definition IMinecraftGame.h:5
Definition ISplitScreenChangedPublisher.h:5
Definition GameDependencies.h:7
Definition IResourceAllowList.h:7
Definition PartySystem.h:7
Definition ProfanityContext.h:5
Definition RealmsSystem.h:7
Definition MultiplayerServiceManager.h:7
Definition SocialSystem.h:7
Definition WorldSystem.h:7
Definition TreatmentToggles.h:7