LeviLamina
Loading...
Searching...
No Matches
PageIndicatorManagerComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/ComponentReceiveActionType.h"
7#include "mc/client/gui/controls/UIComponent.h"
8#include "mc/deps/core/utility/pub_sub/Publisher.h"
9#include "mc/deps/input/InputMode.h"
10
11// auto generated forward declare list
12// clang-format off
15class UIControl;
16class VisualTree;
17struct ScreenEvent;
18namespace Bedrock::PubSub::ThreadModel { struct MultiThreaded; }
19// clang-format on
20
22public:
23 // PageIndicatorManagerComponent inner types define
24 enum class PageIndicatorDirection : uchar {
25 Left = 0,
26 Right = 1,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mControlWithManagerToCompare;
33 ::ll::TypedStorage<8, 8, uint64> mSubPage;
34 ::ll::TypedStorage<8, 8, uint64> mNumPages;
35 ::ll::TypedStorage<4, 4, uint> mNextSubPageBinding;
36 ::ll::TypedStorage<4, 4, uint> mPrevSubPageBinding;
37 ::ll::TypedStorage<4, 4, ::InputMode> mInputMode;
38 ::ll::TypedStorage<
39 8,
40 128,
41 ::Bedrock::PubSub::Publisher<void(uint64), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0>>
42 mPublisher;
43 ::ll::TypedStorage<1, 1, bool> mConsumeEvents;
44 // NOLINTEND
45
46public:
47 // virtual functions
48 // NOLINTBEGIN
49 virtual ~PageIndicatorManagerComponent() /*override*/ = default;
50
51 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
52
53 virtual void reload(::UIComponent const& rhs) /*override*/;
54
55 virtual void reset() /*override*/;
56
57 virtual ::ComponentReceiveActionType receive(
58 ::VisualTree& visualTree,
59 ::ScreenInputContext& context,
60 ::UIAnimationController& animationController,
61 ::ScreenEvent const& screenEvent
62 ) /*override*/;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI void _broadcastNewHoverSliceButtonEvent(
69 ::ScreenInputContext& context,
70 uint64 newSubPage,
71 bool isInteracted,
72 uint pressedButton
73 );
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
80
81 MCAPI void $reload(::UIComponent const& rhs);
82
83 MCAPI void $reset();
84
85 MCAPI ::ComponentReceiveActionType $receive(
86 ::VisualTree& visualTree,
87 ::ScreenInputContext& context,
88 ::UIAnimationController& animationController,
89 ::ScreenEvent const& screenEvent
90 );
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
Definition PageIndicatorManagerComponent.h:5
static MCAPI void ** $vftable()
Definition ScreenInputContext.h:5
Definition UIAnimationController.h:5
Definition UIComponent.h:5
Definition UIControl.h:5
Definition VisualTree.h:5
Definition MultiThreaded.h:12
Definition ScreenEvent.h:5