Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI void _updateToggleGroupState(::VisualTree& visualTree, bool toggleState);
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCNAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
54
55 MCNAPI void $reset();
56
57 MCNAPI ::ComponentReceiveActionType $receive(
58 ::VisualTree& visualTree,
60 ::UIAnimationController& animationController,
61 ::ScreenEvent const& screenEvent
62 );
63 // NOLINTEND
64};
Definition ScreenInputContext.h:5
Definition ToggleManagerComponent.h:5
MCAPI::ComponentReceiveActionType $receive(::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCAPI void _updateToggleGroupState(::VisualTree &visualTree, bool toggleState)
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
Definition ScreenEvent.h:5
Definition context.h:5