LeviLamina
Loading...
Searching...
No Matches
ToggleManagerComponent.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/ToggleManagerBehavior.h"
8#include "mc/client/gui/controls/UIComponent.h"
9
10// auto generated forward declare list
11// clang-format off
14class UIControl;
15class VisualTree;
16struct ScreenEvent;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, ::ToggleManagerBehavior> mBehavior;
24 ::ll::TypedStorage<8, 24, ::std::vector<uint>> mToggleGroupNames;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~ToggleManagerComponent() /*override*/ = default;
31
32 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
33
34 virtual void reset() /*override*/;
35
36 virtual ::ComponentReceiveActionType receive(
37 ::VisualTree& visualTree,
38 ::ScreenInputContext& context,
39 ::UIAnimationController& animationController,
40 ::ScreenEvent const& screenEvent
41 ) /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI void _defaultToggleGroupState(::VisualTree& visualTree);
48
49 MCAPI void _gatherToggleGroupState(::VisualTree& visualTree);
50
51 MCAPI void _updateToggleGroupState(::VisualTree& visualTree, bool toggleState);
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
58
59 MCFOLD void $reset();
60
61 MCAPI ::ComponentReceiveActionType $receive(
62 ::VisualTree& visualTree,
63 ::ScreenInputContext& context,
64 ::UIAnimationController& animationController,
65 ::ScreenEvent const& screenEvent
66 );
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition ScreenInputContext.h:5
Definition ToggleManagerComponent.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