LeviLamina
Loading...
Searching...
No Matches
OreUI::RouterHistory Class Reference

Public Types

using OnChangeCallback

Public Member Functions

MCAPI::std::string const & getAction () const
MCAPI ::std::optional<::OreUI::RouterLocationgetCurrentLocation () const
MCAPI ::std::optional<::OreUI::RouterLocationgetPreviousLocation () const
MCAPI void goBack ()
MCAPI void goBackAndReplace (::std::weak_ptr<::AbstractScene > const &scene, ::std::string const &url, ::OreUI::RouteMode mode, ::OreUI::RouteType routeType)
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)
MCAPI void $dtor ()

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&)>

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