LeviLamina
Loading...
Searching...
No Matches
UIElement.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/script_engine/Closure.h"
7
8// auto generated forward declare list
9// clang-format off
10class Vec3;
11// clang-format on
12
13namespace Editor::Brush {
14
15class UIElement {
16public:
17 // member variables
18 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 UIElement& operator=(UIElement const&);
31 UIElement(UIElement const&);
32 UIElement();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI UIElement(
38 ::std::string const& name,
39 ::std::variant<float, bool, ::Vec3, ::std::string> initialValue,
40 ::Scripting::Closure<void(::std::variant<float, bool, ::Vec3, ::std::string>)> valueChanged,
41 ::std::optional<int> min,
42 ::std::optional<int> max,
43 ::std::optional<::std::vector<::std::string>> dropdownItems,
44 ::std::optional<bool> refreshOnChange
45 );
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCAPI void* $ctor(
52 ::std::string const& name,
53 ::std::variant<float, bool, ::Vec3, ::std::string> initialValue,
54 ::Scripting::Closure<void(::std::variant<float, bool, ::Vec3, ::std::string>)> valueChanged,
55 ::std::optional<int> min,
56 ::std::optional<int> max,
57 ::std::optional<::std::vector<::std::string>> dropdownItems,
58 ::std::optional<bool> refreshOnChange
59 );
60 // NOLINTEND
61};
62
63} // namespace Editor::Brush
Definition UIElement.h:15
Definition Closure.h:8
Definition Vec3.h:10
Definition Alias.h:14