Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
OreUI::RouterHistory Class Reference

Public Types

using OnChangeCallback

Public Member Functions

MCAPI::std::string const & getAction () const
MCAPI void goBack ()
MCAPI void push (::std::weak_ptr<::AbstractScene > const &scene, ::std::string const &url, ::OreUI::RouteMode mode, ::OreUI::RouteType routeType)
MCAPI void replace (::std::weak_ptr<::AbstractScene > const &scene, ::std::string const &url, ::OreUI::RouteMode mode, ::OreUI::RouteType routeType)

Static Public Member Functions

static MCAPI ::std::add_lvalue_reference_t< char const[]> ACTION_POP ()
static MCAPI ::std::add_lvalue_reference_t< char const[]> ACTION_PUSH ()
static MCAPI ::std::add_lvalue_reference_t< char const[]> ACTION_REPLACE ()
static MCAPI ::std::add_lvalue_reference_t< char const[]> ACTION_UNKNOWN ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::OreUI::RouterLocation > > mEntries
::ll::TypedStorage< 4, 4, ::OreUI::RouterAction > mLastAction
::ll::TypedStorage< 8, 64, ::std::function< void(::std::optional<::OreUI::RouterLocation > const &, ::std::optional<::OreUI::RouterLocation > const &)> > mOnChangeCallback
::ll::TypedStorage< 8, 32, ::std::string > mGetActionHelper

Member Typedef Documentation

◆ OnChangeCallback

using OreUI::RouterHistory::OnChangeCallback
Initial value:
::std::function<
void(::std::optional<::OreUI::RouterLocation> const&, ::std::optional<::OreUI::RouterLocation> const&)>

Member Function Documentation

◆ getAction()

MCAPI::std::string const & OreUI::RouterHistory::getAction ( ) 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.

◆ goBack()

MCAPI void OreUI::RouterHistory::goBack ( )
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.

◆ push()

MCAPI void OreUI::RouterHistory::push ( ::std::weak_ptr<::AbstractScene > const & scene,
::std::string const & url,
::OreUI::RouteMode mode,
::OreUI::RouteType routeType )
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.

◆ replace()

MCAPI void OreUI::RouterHistory::replace ( ::std::weak_ptr<::AbstractScene > const & scene,
::std::string const & url,
::OreUI::RouteMode mode,
::OreUI::RouteType routeType )
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.

◆ ACTION_POP()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::RouterHistory::ACTION_POP ( )
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.

◆ ACTION_PUSH()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::RouterHistory::ACTION_PUSH ( )
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.

◆ ACTION_REPLACE()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::RouterHistory::ACTION_REPLACE ( )
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.

◆ ACTION_UNKNOWN()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::RouterHistory::ACTION_UNKNOWN ( )
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.

The documentation for this class was generated from the following files: