Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RouterLocation.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/interface/RouteMode.h"
7#include "mc/client/gui/oreui/interface/RouteType.h"
8
9// auto generated forward declare list
10// clang-format off
11class AbstractScene;
12// clang-format on
13
14namespace OreUI {
15
16class RouterLocation {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::AbstractScene>> mScene;
21 ::ll::TypedStorage<8, 32, ::std::string> mUrl;
22 ::ll::TypedStorage<8, 32, ::std::string> mPath;
23 ::ll::TypedStorage<8, 32, ::std::string> mQuery;
24 ::ll::TypedStorage<8, 32, ::std::string> mFragment;
25 ::ll::TypedStorage<4, 4, ::OreUI::RouteMode> mMode;
26 ::ll::TypedStorage<4, 4, ::OreUI::RouteType> mType;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 RouterLocation(RouterLocation const&);
32 RouterLocation();
33
34public:
35 // member functions
36 // NOLINTBEGIN
38 ::std::weak_ptr<::AbstractScene> scene,
39 ::std::string const& url,
40 ::OreUI::RouteMode mode,
41 ::OreUI::RouteType routeType
42 );
43
44 MCAPI ::std::string getTelemetryId() const;
45
46 MCAPI bool isValid() const;
47
48 MCNAPI ::OreUI::RouterLocation& operator=(::OreUI::RouterLocation const&);
49
50 MCAPI ~RouterLocation();
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCNAPI static bool _isRealmsStoriesScreen(::std::string const& routeName);
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCNAPI void* $ctor(
63 ::std::weak_ptr<::AbstractScene> scene,
64 ::std::string const& url,
65 ::OreUI::RouteMode mode,
66 ::OreUI::RouteType routeType
67 );
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCAPI void $dtor();
74 // NOLINTEND
75};
76
77} // namespace OreUI
Definition AbstractScene.h:5
Definition RouterLocation.h:7
MCAPI RouterLocation(::std::weak_ptr<::AbstractScene > scene, ::std::string const &url, ::OreUI::RouteMode mode, ::OreUI::RouteType routeType)
static MCAPI bool _isRealmsStoriesScreen(::std::string const &routeName)
MCAPI void * $ctor(::std::weak_ptr<::AbstractScene > scene, ::std::string const &url, ::OreUI::RouteMode mode, ::OreUI::RouteType routeType)
MCAPI::OreUI::RouterLocation & operator=(::OreUI::RouterLocation const &)