3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/oreui/routing/RouterAction.h"
7#include "mc/client/gui/oreui/routing/RouterLocation.h"
12namespace OreUI {
class Router; }
21 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::OreUI::Router>> mRouter;
22 ::ll::TypedStorage<8, 152, ::OreUI::RouterLocation> mCurrentLocationCache;
23 ::ll::TypedStorage<8, 152, ::OreUI::RouterLocation> mFallbackLocation;
28 RouterHistoryAdapter();
33 MCAPI
explicit RouterHistoryAdapter(::OreUI::Router& router);
35 MCAPI ::Bedrock::PubSub::Subscription addObserver(
37 ::std::optional<::OreUI::RouterLocation>
const&,
38 ::std::optional<::OreUI::RouterLocation>
const&,
43 MCAPI ::std::string
const& getAction()
const;
45 MCFOLD ::std::vector<::OreUI::RouterLocation>
const& getFullRouterLocationHistory()
const;
47 MCAPI uint getLength()
const;
49 MCAPI ::OreUI::RouterLocation
const& getLocation()
const;
55 MCFOLD
void goForward();
57 MCAPI
void push(::std::string
const& route);
59 MCAPI
void replace(::std::string
const& route);
65 MCAPI
void* $ctor(::OreUI::Router& router);
Definition Subscription.h:10
Definition RouterHistoryAdapter.h:7