LeviLamina
Loading...
Searching...
No Matches
GridItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/UIComponent.h"
7
8// auto generated forward declare list
9// clang-format off
10class UIControl;
11// clang-format on
12
13class GridItemComponent : public ::UIComponent {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<4, 4, int> mCollectionIndex;
18 ::ll::TypedStorage<4, 8, ::glm::ivec2> mGridPosition;
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 GridItemComponent();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::std::unique_ptr<::UIComponent> clone(::UIControl& cloneOwner) const /*override*/;
29
30 virtual void reset() /*override*/;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI explicit GridItemComponent(::UIControl& owner);
37
38 MCFOLD int getCollectionIndex() const;
39
40 MCFOLD ::glm::ivec2 const& getGridPosition() const;
41
42 MCAPI void setGridPosition(::glm::ivec2 const& position);
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor(::UIControl& owner);
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI ::std::unique_ptr<::UIComponent> $clone(::UIControl& cloneOwner) const;
55
56 MCAPI void $reset();
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition GridItemComponent.h:5
static MCAPI void ** $vftable()
Definition UIComponent.h:5
Definition UIControl.h:5