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