LeviLamina
Loading...
Searching...
No Matches
PlayerPermissions.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 ISceneStack;
12class LocalPlayer;
13class SceneFactory;
14struct ActorUniqueID;
15namespace OreUI { class RouteMatcher; }
16namespace ui { class ScreenTechStackSelector; }
17// clang-format on
18
19namespace OreUI::EntryPoints {
20
21class PlayerPermissions : public ::OreUI::IEntryPoint {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::ui::ScreenTechStackSelector const&> mScreenTechStackSelector;
26 ::ll::TypedStorage<8, 64, ::std::function<::LocalPlayer*()>> mGetPrimaryLocalPlayer;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 PlayerPermissions& operator=(PlayerPermissions const&);
32 PlayerPermissions(PlayerPermissions const&);
33 PlayerPermissions();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual void addToMatcher(
39 ::OreUI::RouteMatcher& routeMatcher,
40 ::SceneFactory& sceneFactory,
41 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
42 ) const /*override*/;
43
44 virtual bool shouldAddToConfiguration() const /*override*/;
45
46 virtual ~PlayerPermissions() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI bool _isOreUIPlayerPermissionScreenEnabled() const;
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCAPI static ::std::string composeRoute(::ActorUniqueID const& id);
59 // NOLINTEND
60
61public:
62 // static variables
63 // NOLINTBEGIN
64 MCAPI static ::std::add_lvalue_reference_t<char const[]> BASE_ID();
65
66 MCAPI static ::std::add_lvalue_reference_t<char const[]> LEGACY_ROUTE();
67
68 MCAPI static ::std::add_lvalue_reference_t<char const[]> ROUTE();
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI void $addToMatcher(
75 ::OreUI::RouteMatcher& routeMatcher,
76 ::SceneFactory& sceneFactory,
77 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
78 ) const;
79
80 MCAPI bool $shouldAddToConfiguration() const;
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
89
90} // namespace OreUI::EntryPoints
Definition ISceneStack.h:5
Definition LocalPlayer.h:5
Definition PlayerPermissions.h:7
Definition RouteMatcher.h:7
Definition SceneFactory.h:5
Definition ScreenTechStackSelector.h:7
Definition ActorUniqueID.h:5