LeviLamina
Loading...
Searching...
No Matches
VariableRef.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/LayoutVariableType.h"
7
8// auto generated forward declare list
9// clang-format off
10class LayoutComponent;
11class LayoutVariable;
12class UIControl;
13// clang-format on
14
15class VariableRef {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, void*> mUnsafePointer;
20 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> mControl;
21 ::ll::TypedStorage<8, 8, ::LayoutComponent*> mLayoutComponent;
22 ::ll::TypedStorage<1, 1, ::LayoutVariableType> mType;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 VariableRef();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI VariableRef(::UIControl& control, ::LayoutVariableType type);
33
34 MCAPI VariableRef(::std::weak_ptr<::UIControl> control, ::LayoutVariableType type);
35
36 MCAPI ::std::shared_ptr<::UIControl> getControl() const;
37
38 MCFOLD ::LayoutVariableType getType() const;
39
40 MCFOLD ::LayoutVariable const* getVariable() const;
41
42 MCFOLD ::LayoutVariable* getVariable();
43
44 MCAPI bool isValid() const;
45
46 MCAPI bool operator==(::VariableRef const& rhs) const;
47
48 MCAPI ~VariableRef();
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::UIControl& control, ::LayoutVariableType type);
55
56 MCAPI void* $ctor(::std::weak_ptr<::UIControl> control, ::LayoutVariableType type);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCFOLD void $dtor();
63 // NOLINTEND
64};
Definition LayoutComponent.h:5
Definition LayoutVariable.h:5
Definition UIControl.h:5
Definition VariableRef.h:5