LeviLamina
Loading...
Searching...
No Matches
DropdownComponent.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
11class UIControl;
12struct ScreenEvent;
13// clang-format on
14
15class DropdownComponent : public ::UIComponent {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, uint> mDropdownNameId;
20 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mContentControl;
21 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mAreaControl;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 DropdownComponent();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~DropdownComponent() /*override*/ = default;
32
33 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
34
35 virtual void reset() /*override*/;
36
37 virtual ::ComponentReceiveActionType receive(::ScreenEvent const& screenEvent) /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI explicit DropdownComponent(::UIControl& owner);
44
45 MCAPI void _positionContent();
46
47 MCAPI void setDropdownAreaControl(::std::weak_ptr<::UIControl> control);
48
49 MCAPI void setDropdownContentControl(::std::weak_ptr<::UIControl> control);
50
51 MCFOLD void setDropdownNameId(uint nameId);
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(::UIControl& owner);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
64
65 MCFOLD void $reset();
66
67 MCAPI ::ComponentReceiveActionType $receive(::ScreenEvent const& screenEvent);
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition DropdownComponent.h:5
static MCAPI void ** $vftable()
Definition UIComponent.h:5
Definition UIControl.h:5
Definition ScreenEvent.h:5