LeviLamina
Loading...
Searching...
No Matches
SingleRoute.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/routing/IEntryPoint.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
11class AbstractScene;
12class ISceneStack;
13class SceneFactory;
14namespace OreUI { class RouteMatcher; }
15// clang-format on
16
17namespace OreUI::EntryPoints {
18
19class SingleRoute : public ::OreUI::IEntryPoint {
20public:
21 // SingleRoute inner types define
22 using SceneCreationCallback =
23 ::std::function<::std::shared_ptr<::AbstractScene>(::SceneFactory&, ::std::string const&)>;
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 32, ::std::string> mRoute;
29 ::ll::TypedStorage<8, 32, ::std::string> mScreenId;
30 ::ll::
31 TypedStorage<8, 64, ::std::function<::std::shared_ptr<::AbstractScene>(::SceneFactory&, ::std::string const&)>>
32 mSceneCreationCallback;
33 // NOLINTEND
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual bool shouldAddToConfiguration() const /*override*/;
39
40 virtual void addToMatcher(
41 ::OreUI::RouteMatcher& routeMatcher,
42 ::SceneFactory& sceneFactory,
43 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
44 ) const /*override*/;
45
46 virtual ~SingleRoute() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCFOLD bool $shouldAddToConfiguration() const;
53
54 MCAPI void $addToMatcher(
55 ::OreUI::RouteMatcher& routeMatcher,
56 ::SceneFactory& sceneFactory,
57 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
58 ) const;
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
67
68} // namespace OreUI::EntryPoints
Definition AbstractScene.h:5
Definition ISceneStack.h:5
Definition SingleRoute.h:7
static MCAPI void ** $vftable()
Definition RouteMatcher.h:7
Definition SceneFactory.h:5