LeviLamina
Loading...
Searching...
No Matches
TooltipTriggerComponent.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
9// auto generated forward declare list
10// clang-format off
13class UIControl;
14class VisualTree;
15struct ScreenEvent;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mHover;
23 ::ll::TypedStorage<4, 4, uint> mTooltipTriggerNameId;
24 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mTopContentControl;
25 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mBottomContentControl;
26 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mAreaControl;
27 ::ll::TypedStorage<8, 32, ::std::string> mTextTTSBindingNameOrValue;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~TooltipTriggerComponent() /*override*/ = default;
34
35 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
36
37 virtual void reset() /*override*/;
38
39 virtual ::ComponentReceiveActionType receive(
40 ::VisualTree& visualTree,
41 ::ScreenInputContext& context,
42 ::UIAnimationController& animationController,
43 ::ScreenEvent const& screenEvent
44 ) /*override*/;
45
46 virtual ::std::string const& getTextToSpeechComponentValue() const /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCFOLD void _setVisible(::std::weak_ptr<::UIControl> const& control, bool visible);
53
54 MCAPI void _setVisiblePopup();
55
56 MCAPI void _updateControlVisibility();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
63
64 MCAPI void $reset();
65
66 MCAPI ::ComponentReceiveActionType $receive(
67 ::VisualTree& visualTree,
68 ::ScreenInputContext& context,
69 ::UIAnimationController& animationController,
70 ::ScreenEvent const& screenEvent
71 );
72
73 MCFOLD ::std::string const& $getTextToSpeechComponentValue() const;
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
Definition ScreenInputContext.h:5
Definition TooltipTriggerComponent.h:5
static MCAPI void ** $vftable()
Definition UIAnimationController.h:5
Definition UIComponent.h:5
Definition UIControl.h:5
Definition VisualTree.h:5
Definition ScreenEvent.h:5