Skip to content
LeviMC
English
AutoLightDark
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
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCNAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
59
60 MCNAPI void $reset();
61
62 MCNAPI ::ComponentReceiveActionType $receive(
63 ::VisualTree& visualTree,
65 ::UIAnimationController& animationController,
66 ::ScreenEvent const& screenEvent
67 );
68
69 MCNAPI ::std::string const& $getTextToSpeechComponentValue() const;
70 // NOLINTEND
71};
Definition ScreenInputContext.h:5
Definition TooltipTriggerComponent.h:5
MCAPI::ComponentReceiveActionType $receive(::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCAPI::std::string const & $getTextToSpeechComponentValue() const
MCAPI void _updateControlVisibility()
MCAPI ::std::unique_ptr<::UIComponent > $clone(::UIControl &cloneOwner) const
Definition UIAnimationController.h:5
Definition UIComponent.h:5
Definition UIControl.h:5
Definition VisualTree.h:5
STL namespace.
Definition ScreenEvent.h:5
Definition context.h:5