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 // prevent constructor by default
37 SingleRoute();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual bool shouldAddToConfiguration() const /*override*/;
43
44 virtual void addToMatcher(
45 ::OreUI::RouteMatcher& routeMatcher,
46 ::SceneFactory& sceneFactory,
47 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
48 ) const /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI SingleRoute(
55 ::std::string const& route,
56 ::std::string const& screenId,
57 ::std::function<::std::shared_ptr<::AbstractScene>(::SceneFactory&, ::std::string const&)> sceneCreationCallback
58 );
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(
65 ::std::string const& route,
66 ::std::string const& screenId,
67 ::std::function<::std::shared_ptr<::AbstractScene>(::SceneFactory&, ::std::string const&)> sceneCreationCallback
68 );
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCFOLD bool $shouldAddToConfiguration() const;
75
76 MCAPI void $addToMatcher(
77 ::OreUI::RouteMatcher& routeMatcher,
78 ::SceneFactory& sceneFactory,
79 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
80 ) const;
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
89
90} // 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