3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/oreui/interface/RouteMode.h"
7#include "mc/client/gui/oreui/interface/RouteType.h"
8#include "mc/client/gui/oreui/routing/RouterAction.h"
21 using OnChangeCallback = ::std::function<
22 void(::std::optional<::OreUI::RouterLocation>
const&, ::std::optional<::OreUI::RouterLocation>
const&)>;
27 ::ll::TypedStorage<8, 24, ::std::vector<::OreUI::RouterLocation>> mEntries;
28 ::ll::TypedStorage<4, 4, ::OreUI::RouterAction> mLastAction;
33 void(::std::optional<::OreUI::RouterLocation>
const&, ::std::optional<::OreUI::RouterLocation>
const&)>>
35 ::ll::TypedStorage<8, 32, ::std::string> mGetActionHelper;
41 MCAPI ::std::string
const& getAction()
const;
43 MCAPI ::std::optional<::OreUI::RouterLocation> getCurrentLocation()
const;
45 MCAPI ::std::optional<::OreUI::RouterLocation> getPreviousLocation()
const;
49 MCAPI
void goBackAndReplace(
50 ::std::weak_ptr<::AbstractScene>
const& scene,
51 ::std::string
const& url,
52 ::OreUI::RouteMode mode,
53 ::OreUI::RouteType routeType
57 ::std::weak_ptr<::AbstractScene>
const& scene,
58 ::std::string
const& url,
59 ::OreUI::RouteMode mode,
60 ::OreUI::RouteType routeType
64 ::std::weak_ptr<::AbstractScene>
const& scene,
65 ::std::string
const& url,
66 ::OreUI::RouteMode mode,
67 ::OreUI::RouteType routeType
70 MCAPI ~RouterHistory();
76 MCAPI static ::std::add_lvalue_reference_t<char const[]> ACTION_POP();
78 MCAPI static ::std::add_lvalue_reference_t<char const[]> ACTION_PUSH();
80 MCAPI static ::std::add_lvalue_reference_t<char const[]> ACTION_REPLACE();
82 MCAPI static ::std::add_lvalue_reference_t<char const[]> ACTION_UNKNOWN();
Definition AbstractScene.h:5
Definition RouterHistory.h:7
Definition RouterLocation.h:7