Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RouterConfiguration.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/routing/RouteDataParser.h"
7#include "mc/client/gui/oreui/routing/RouteFlags.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9
10// auto generated forward declare list
11// clang-format off
12class ISceneStack;
13class SceneFactory;
14namespace OreUI { class IEntryPoint; }
15namespace OreUI { class IRouteMatcher; }
16namespace OreUI { struct Route; }
17namespace OreUI { struct RouteData; }
18namespace OreUI { struct RouteJsonMetadata; }
19// clang-format on
20
21namespace OreUI {
22
24public:
25 // RouterConfiguration inner types declare
26 // clang-format off
27 struct EntryPoint;
28 // clang-format on
29
30 // RouterConfiguration inner types define
31 struct EntryPoint {
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<8, 32, ::std::string const> route;
36 ::ll::TypedStorage<4, 4, ::OreUI::EntryPoints::RouteFlags const> flags;
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::OreUI::IEntryPoint>> definition;
38 // NOLINTEND
39
40 public:
41 // prevent constructor by default
42 EntryPoint();
43
44 public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI EntryPoint(
48 ::std::string const& route,
49 ::OreUI::EntryPoints::RouteFlags const flags,
50 ::std::unique_ptr<::OreUI::IEntryPoint> definition
51 );
52 // NOLINTEND
53
54 public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCNAPI void* $ctor(
58 ::std::string const& route,
59 ::OreUI::EntryPoints::RouteFlags const flags,
60 ::std::unique_ptr<::OreUI::IEntryPoint> definition
61 );
62 // NOLINTEND
63 };
64
65public:
66 // member variables
67 // NOLINTBEGIN
68 ::ll::TypedStorage<8, 88, ::OreUI::RouteDataParser> mRouteDataParser;
69 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mIsUsingWebComponentsGameplayScreens;
70 ::ll::TypedStorage<8, 24, ::std::vector<::OreUI::RouteJsonMetadata>> mCurrentRouteJsonMetadata;
71 ::ll::TypedStorage<8, 24, ::std::vector<::OreUI::Route>> mDefaultRoutes;
72 ::ll::TypedStorage<8, 24, ::std::vector<::OreUI::Route>> mInGameRoutes;
73 ::ll::TypedStorage<8, 24, ::std::vector<::OreUI::Route>> mOutOfGameRoutes;
74 ::ll::TypedStorage<8, 24, ::std::vector<::OreUI::RouterConfiguration::EntryPoint>> mEntryPoints;
75 // NOLINTEND
76
77public:
78 // prevent constructor by default
79 RouterConfiguration& operator=(RouterConfiguration const&);
80 RouterConfiguration(RouterConfiguration const&);
81 RouterConfiguration();
82
83public:
84 // member functions
85 // NOLINTBEGIN
87
89 ::OreUI::RouteDataParser&& routeDataParser,
90 ::std::function<bool()> isUsingWebComponentsGameplayScreens
91 );
92
93 MCNAPI void _fillRoutes(::std::vector<::OreUI::RouteData> const& routeData);
94
95 MCNAPI ::std::unique_ptr<::OreUI::IRouteMatcher> createRouteMatcher(
96 ::SceneFactory& sceneFactory,
97 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack,
98 ::OreUI::EntryPoints::RouteFlags scope
99 ) const;
100
101 MCNAPI ::std::tuple<::std::vector<::OreUI::RouteData>, ::std::vector<::OreUI::RouteJsonMetadata>>
103
104 MCNAPI bool reload();
105
107 // NOLINTEND
108
109public:
110 // constructor thunks
111 // NOLINTBEGIN
113
114 MCNAPI void*
115 $ctor(::OreUI::RouteDataParser&& routeDataParser, ::std::function<bool()> isUsingWebComponentsGameplayScreens);
116 // NOLINTEND
117
118public:
119 // destructor thunk
120 // NOLINTBEGIN
121 MCNAPI void $dtor();
122 // NOLINTEND
123};
124
125} // namespace OreUI
Definition ISceneStack.h:5
Definition IEntryPoint.h:7
Definition IRouteMatcher.h:7
Definition RouteDataParser.h:7
Definition RouterConfiguration.h:7
MCAPI void * $ctor(::OreUI::RouterConfiguration &&)
MCAPI void * $ctor(::OreUI::RouteDataParser &&routeDataParser, ::std::function< bool()> isUsingWebComponentsGameplayScreens)
MCAPI ::std::tuple<::std::vector<::OreUI::RouteData >, ::std::vector<::OreUI::RouteJsonMetadata > > getRouteData() const
MCAPI ::std::unique_ptr<::OreUI::IRouteMatcher > createRouteMatcher(::SceneFactory &sceneFactory, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack > const &sceneStack, ::OreUI::EntryPoints::RouteFlags scope) const
MCAPI RouterConfiguration(::OreUI::RouterConfiguration &&)
MCAPI RouterConfiguration(::OreUI::RouteDataParser &&routeDataParser, ::std::function< bool()> isUsingWebComponentsGameplayScreens)
MCAPI void _fillRoutes(::std::vector<::OreUI::RouteData > const &routeData)
Definition SceneFactory.h:5
Definition RouteData.h:7
Definition RouteJsonMetadata.h:7
Definition Route.h:7
Definition RouterConfiguration.h:15
MCAPI void * $ctor(::std::string const &route, ::OreUI::EntryPoints::RouteFlags const flags, ::std::unique_ptr<::OreUI::IEntryPoint > definition)
MCAPI EntryPoint(::std::string const &route, ::OreUI::EntryPoints::RouteFlags const flags, ::std::unique_ptr<::OreUI::IEntryPoint > definition)