Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
OreUI::EntryPoints::Settings Class Reference
Inheritance diagram for OreUI::EntryPoints::Settings:

Public Member Functions

Settings & operator= (Settings const &)
 Settings (Settings const &)
virtual bool shouldAddToConfiguration () const
virtual void addToMatcher (::OreUI::RouteMatcher &routeMatcher, ::SceneFactory &sceneFactory, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack > const &sceneStack) const
MCAPI Settings (::std::function<::ILevelListCache &()> getLevelListCache, ::std::function<::ServerInstance *()> getServerInstance, ::std::function< bool()> isInGame, ::std::function< bool()> isInServer, ::std::function< bool()> isInRealms, ::std::weak_ptr<::RealmsAPI > realms, ::ui::ScreenTechStackSelector &screenTechStackSelector)
MCAPI void _navigateToScreen (::SettingsTabIndex tabIndex, ::std::string const &path, ::SceneFactory &sceneFactory, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack > const &sceneStack, ::OreUI::RouteAction const &routeAction, bool fullscreen, bool skipLegacyProgress, bool legacySyncOnly) const
MCAPI void * $ctor (::std::function<::ILevelListCache &()> getLevelListCache, ::std::function<::ServerInstance *()> getServerInstance, ::std::function< bool()> isInGame, ::std::function< bool()> isInServer, ::std::function< bool()> isInRealms, ::std::weak_ptr<::RealmsAPI > realms, ::ui::ScreenTechStackSelector &screenTechStackSelector)
MCAPI bool $shouldAddToConfiguration () const
MCAPI void $addToMatcher (::OreUI::RouteMatcher &routeMatcher, ::SceneFactory &sceneFactory, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack > const &sceneStack) const

Static Public Member Functions

static MCAPI ::std::optional<::std::string > composeRoute (::SettingsTabIndex tabIndex, ::OreUI::RouteType routeType)
static MCAPI ::std::string defaultRoute ()
static MCAPI ::std::optional<::std::string > getRouteFromTabAndModal (::SettingsTabIndex tabIndex, ::SettingsModalType modalType)
static MCAPI ::std::optional<::SettingsTabIndex > getTabFromPath (::std::string const &path)
static MCAPI ::std::add_lvalue_reference_t< char const[]> OREUI_ROUTE ()
static MCAPI ::std::add_lvalue_reference_t< char const[]> ROUTE ()
static MCAPI ::std::add_lvalue_reference_t< char const[]> STORAGE_LEGACY_ROUTE ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::function<::ILevelListCache &()> > mGetLevelListCache
::ll::TypedStorage< 8, 64, ::std::function<::ServerInstance *()> > mGetServerInstance
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mIsInGame
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mIsInServer
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mIsInRealms
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mAsyncTaskGroup
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::RealmsAPI > > mRealms
::ll::TypedStorage< 8, 8, ::ui::ScreenTechStackSelector & > mScreenTechStackSelector

Constructor & Destructor Documentation

◆ Settings()

MCAPI OreUI::EntryPoints::Settings::Settings ( ::std::function<::ILevelListCache &()> getLevelListCache,
::std::function<::ServerInstance *()> getServerInstance,
::std::function< bool()> isInGame,
::std::function< bool()> isInServer,
::std::function< bool()> isInRealms,
::std::weak_ptr<::RealmsAPI > realms,
::ui::ScreenTechStackSelector & screenTechStackSelector )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ shouldAddToConfiguration()

virtual bool OreUI::EntryPoints::Settings::shouldAddToConfiguration ( ) const
virtual

Implements OreUI::IEntryPoint.

◆ addToMatcher()

virtual void OreUI::EntryPoints::Settings::addToMatcher ( ::OreUI::RouteMatcher & routeMatcher,
::SceneFactory & sceneFactory,
::Bedrock::NotNullNonOwnerPtr<::ISceneStack > const & sceneStack ) const
virtual

Implements OreUI::IEntryPoint.

◆ _navigateToScreen()

MCAPI void OreUI::EntryPoints::Settings::_navigateToScreen ( ::SettingsTabIndex tabIndex,
::std::string const & path,
::SceneFactory & sceneFactory,
::Bedrock::NotNullNonOwnerPtr<::ISceneStack > const & sceneStack,
::OreUI::RouteAction const & routeAction,
bool fullscreen,
bool skipLegacyProgress,
bool legacySyncOnly ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ composeRoute()

MCAPI ::std::optional<::std::string > OreUI::EntryPoints::Settings::composeRoute ( ::SettingsTabIndex tabIndex,
::OreUI::RouteType routeType )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ defaultRoute()

MCAPI ::std::string OreUI::EntryPoints::Settings::defaultRoute ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getRouteFromTabAndModal()

MCAPI ::std::optional<::std::string > OreUI::EntryPoints::Settings::getRouteFromTabAndModal ( ::SettingsTabIndex tabIndex,
::SettingsModalType modalType )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getTabFromPath()

MCAPI ::std::optional<::SettingsTabIndex > OreUI::EntryPoints::Settings::getTabFromPath ( ::std::string const & path)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ OREUI_ROUTE()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::EntryPoints::Settings::OREUI_ROUTE ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ ROUTE()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::EntryPoints::Settings::ROUTE ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ STORAGE_LEGACY_ROUTE()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::EntryPoints::Settings::STORAGE_LEGACY_ROUTE ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * OreUI::EntryPoints::Settings::$ctor ( ::std::function<::ILevelListCache &()> getLevelListCache,
::std::function<::ServerInstance *()> getServerInstance,
::std::function< bool()> isInGame,
::std::function< bool()> isInServer,
::std::function< bool()> isInRealms,
::std::weak_ptr<::RealmsAPI > realms,
::ui::ScreenTechStackSelector & screenTechStackSelector )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $shouldAddToConfiguration()

MCAPI bool OreUI::EntryPoints::Settings::$shouldAddToConfiguration ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $addToMatcher()

MCAPI void OreUI::EntryPoints::Settings::$addToMatcher ( ::OreUI::RouteMatcher & routeMatcher,
::SceneFactory & sceneFactory,
::Bedrock::NotNullNonOwnerPtr<::ISceneStack > const & sceneStack ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files:
  • src-server/mc/client/gui/oreui/routing/routes/Settings.h
  • src-client/mc/client/gui/oreui/routing/routes/Settings.h