3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/oreui/LiveViewCollection.h"
7#include "mc/client/gui/oreui/resources/TemporaryTextureHolder.h"
8#include "mc/client/gui/oreui/routing/RouterConfiguration.h"
9#include "mc/deps/core/file/Path.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
11#include "mc/deps/core/utility/pub_sub/Subscription.h"
12#include "mc/platform/brstd/move_only_function.h"
26namespace OreUI {
class Library; }
28namespace OreUI {
class Router; }
57 using ResourceHandlerBrokerFactory = ::brstd::move_only_function<::std::unique_ptr<
58 ::Gameface::ResourceHandlerBroker>(::OreUI::RegisterResourceHandlersArguments
const&)
const>;
60 using LibraryFactory =
61 ::brstd::move_only_function<::std::unique_ptr<::OreUI::Library>(::OreUI::LibraryFactoryArguments&&) const>;
63 using SceneProviderFactory = ::brstd::move_only_function<::std::unique_ptr<::OreUI::SceneProvider>(
64 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const&,
65 ::std::unique_ptr<::OreUI::FacetRegistryFactory>,
66 ::std::unique_ptr<::OreUI::Detail::BindingRegistryFactory>,
76 ::brstd::move_only_function<::std::unique_ptr<
77 ::Gameface::ResourceHandlerBroker>(::OreUI::RegisterResourceHandlersArguments const&) const>>
78 mCreateResourceHandlerBroker;
82 ::brstd::move_only_function<::std::unique_ptr<::OreUI::Library>(::OreUI::LibraryFactoryArguments&&) const>>
87 ::brstd::move_only_function<::std::unique_ptr<::OreUI::SceneProvider>(
88 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const&,
89 ::std::unique_ptr<::OreUI::FacetRegistryFactory>,
90 ::std::unique_ptr<::OreUI::Detail::BindingRegistryFactory>,
93 mSceneProviderFactory;
94 ::ll::TypedStorage<8, 272, ::OreUI::RouterConfiguration> mRouterConfiguration;
95 ::ll::TypedStorage<8, 32, ::Core::Path> mPackagePath;
96 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::OreUI::ResourceAllowList>> mAllowList;
97 ::ll::TypedStorage<8, 24, ::OreUI::LiveViewCollection> mLiveViewCollection;
98 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::mce::ShaderGroup>> mShaderGroup;
99 ::ll::TypedStorage<8, 8, ::gsl::not_null<::mce::RenderContext*>> mRenderContext;
100 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::OreUI::DebugData>> mDebugData;
101 ::ll::TypedStorage<8, 64, ::std::function<
void(::std::string_view)>> mShowDebugToast;
102 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect>>
103 mDebugSplitscreenInputRedirect;
109 MCNAPI static ::brstd::move_only_function<
110 ::std::unique_ptr<::OreUI::Library>(::OreUI::LibraryFactoryArguments&&) const>
112 ::Bedrock::NotNullNonOwnerPtr<::Core::FileSystem> fileSystem,
113 ::Bedrock::NotNullNonOwnerPtr<::
IFileAccess> appPackageFileAccess
116 MCNAPI static ::brstd::move_only_function<::
std::unique_ptr<
129 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::OreUI::ResourceAllowList>>> mResourceAllowList;
134 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>
const&,
135 ::std::unique_ptr<::OreUI::FacetRegistryFactory>,
136 ::std::unique_ptr<::OreUI::Detail::BindingRegistryFactory>,
139 mCreateSceneProvider;
140 ::ll::TypedStorage<8, 272, ::OreUI::RouterConfiguration> mRouterConfiguration;
141 ::ll::TypedStorage<8, 104, ::Gameface::TemporaryTextureHolder> mTemporaryTextureHolder;
142 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::OreUI::DebugData>>> mDebugData;
143 ::ll::TypedStorage<8, 64, ::std::function<void(::std::string_view)>> mShowDebugToast;
151 ::ll::TypedStorage<8, 8, void*> token;
152 ::ll::TypedStorage<8, 64, ::std::function<void()>> callback;
159 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::OreUI::OreUISystem::Impl>>> mImpl;
160 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::OreUI::Library>> mLibrary;
161 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::OreUI::Debug::DevServerListener>> mDevServerListener;
162 ::ll::TypedStorage<1, 1, bool> mAppWillRestart;
163 ::ll::TypedStorage<8, 24, ::std::vector<::OreUI::OreUISystem::CallbackEntry>> mRouteConfigurationChangeCallbacks;
164 ::ll::TypedStorage<8, 24, ::std::vector<::Bedrock::PubSub::Subscription>> mOptionSubscriptions;
165 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mFlightingTogglesTrialMode;
166 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mFlightingTogglesFriendsDrawerOnMultipleScreens;
167 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mFlightingTogglesSettingsScreen;
168 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mFlightingTogglesPartySettingsScreen;
169 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mFlightingTogglesPreviewSettingsScreen;
170 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mFlightingTogglesStorageSettingsScreen;
171 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mFlightingTogglesNewSettingsInGame;
172 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mFlightingTogglesNewSettingsOnThirdPartyServers;
173 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mFlightingTogglesCloudStorageManager;
186 ::std::unique_ptr<::OreUI::IRoutePrerequisiteHandler> prerequisiteHandler,
187 ::std::unique_ptr<::OreUI::RouterEventing> routerEventing,
189 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack>
const& sceneStack
193 ::std::unique_ptr<::OreUI::IRoutePrerequisiteHandler> prerequisiteHandler,
194 ::std::unique_ptr<::OreUI::RouterEventing> routerEventing,
196 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack>
const& sceneStack
200 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>
const& clientInstance,
201 ::std::unique_ptr<::OreUI::FacetRegistryFactory> facetRegistryFactory,
202 ::std::unique_ptr<::OreUI::Detail::BindingRegistryFactory> bindingRegistryFactory
Definition FileSystem.h:28
Definition ResourceHandlerBroker.h:7
Definition IClientInstance.h:5
Definition IFileAccess.h:15
Definition IOptionRegistry.h:5
Definition ISceneStack.h:5
Definition DevServerListener.h:7
Definition BindingRegistryFactory.h:7
Definition FacetRegistryFactory.h:7
Definition IRoutePrerequisiteHandler.h:7
Definition OreUISystem.h:7
MCAPI void update(double time)
MCAPI void registerRouteConfigurationChangeCallback(void *token, ::std::function< void()> const &callback)
MCAPI void unregisterRouteConfigurationChangeCallback(void *token)
MCAPI ::std::unique_ptr<::OreUI::Router > createOutOfGameRouter(::std::unique_ptr<::OreUI::IRoutePrerequisiteHandler > prerequisiteHandler, ::std::unique_ptr<::OreUI::RouterEventing > routerEventing, ::SceneFactory &sceneFactory, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack > const &sceneStack) const
MCAPI OreUISystem(::OreUI::OreUISystem::OreUISystemDependencies &&deps)
MCAPI void * $ctor(::OreUI::OreUISystem::OreUISystemDependencies &&deps)
MCAPI ::std::unique_ptr<::OreUI::SceneProvider > createSceneProvider(::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &clientInstance, ::std::unique_ptr<::OreUI::FacetRegistryFactory > facetRegistryFactory, ::std::unique_ptr<::OreUI::Detail::BindingRegistryFactory > bindingRegistryFactory) const
MCAPI ::std::unique_ptr<::OreUI::Router > createInGameRouter(::std::unique_ptr<::OreUI::IRoutePrerequisiteHandler > prerequisiteHandler, ::std::unique_ptr<::OreUI::RouterEventing > routerEventing, ::SceneFactory &sceneFactory, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack > const &sceneStack) const
MCAPI void registerOptionObservers(::IOptionRegistry &options)
Definition ResourceAllowList.h:7
Definition RouterEventing.h:7
Definition SceneProvider.h:7
Definition SceneFactory.h:5
Definition move_only_function.h:9
Definition RenderContext.h:7
Definition ShaderGroup.h:7
Definition LibraryFactoryArguments.h:7
Definition OreUISystem.h:21
Definition OreUISystem.h:19
Definition OreUISystem.h:17
static MCAPI ::OreUI::ResourceHandlerFactory createResourceHandlerFactory(::OreUI::ResourceHandlerFactoryArguments const &args)
static MCAPI ::brstd::move_only_function<::std::unique_ptr< ::Gameface::ResourceHandlerBroker >(::OreUI::RegisterResourceHandlersArguments const &) const > createResourceHandlerBrokerFactory(::OreUI::ResourceHandlerFactoryArguments const &args)
static MCAPI ::brstd::move_only_function< ::std::unique_ptr<::OreUI::Library >(::OreUI::LibraryFactoryArguments &&) const > createLibraryFactory(::Bedrock::NotNullNonOwnerPtr<::Core::FileSystem > fileSystem, ::Bedrock::NotNullNonOwnerPtr<::IFileAccess > appPackageFileAccess)
Definition RegisterResourceHandlersArguments.h:7
Definition ResourceHandlerFactoryArguments.h:7
Definition ResourceHandlerFactory.h:7