LeviLamina
Loading...
Searching...
No Matches
PageIndicatorGridComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/UIComponent.h"
7#include "mc/deps/core/utility/pub_sub/Subscription.h"
8
9// auto generated forward declare list
10// clang-format off
12class UIControl;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, uint64> mlastReportedSubpage;
20 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mPageIndicatorManagerSub;
21 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mGridCompletionSub;
22 ::ll::TypedStorage<8, 32, ::std::string> mTargetWhenIsCurrentPage;
23 ::ll::TypedStorage<8, 32, ::std::string> mTargetWhenNotCurrentPage;
24 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mTarget;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 PageIndicatorGridComponent();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~PageIndicatorGridComponent() /*override*/;
35
36 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
37
38 virtual void reset() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI explicit PageIndicatorGridComponent(::UIControl& owner);
45
46 MCAPI void _findCorrespondingDescendant(::std::shared_ptr<::UIControl> child, bool isSelected, uint64& countFound);
47
48 MCAPI void _registerWithManager();
49
50 MCAPI ::PageIndicatorManagerComponent* getPageIndicatorManager();
51
52 MCAPI void notifyGridCompletedConstruction(uint64);
53
54 MCAPI void notifySubPageChanged(uint64 newPage);
55
56 MCAPI void setTarget(::std::shared_ptr<::UIControl> target);
57
58 MCFOLD void setTargetWhenIsCurrentPage(::std::string const& targetName);
59
60 MCFOLD void setTargetWhenNotCurrentPage(::std::string const& targetName);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void* $ctor(::UIControl& owner);
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCAPI void $dtor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
79
80 MCFOLD void $reset();
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
Definition PageIndicatorGridComponent.h:5
static MCAPI void ** $vftable()
Definition PageIndicatorManagerComponent.h:5
Definition UIComponent.h:5
Definition UIControl.h:5