LeviLamina
Loading...
Searching...
No Matches
ScriptWidgetComponentText.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/WidgetComponentType.h"
7#include "mc/deps/scripting/binding_type/ClassBindingBuilder.h"
8#include "mc/deps/scripting/lifetime_registry/WeakTypedObjectHandle.h"
9#include "mc/editor/script/ScriptWidgetComponentBase.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace Editor { class ServiceProviderCollection; }
14namespace Editor::ScriptModule { class ScriptWidget; }
15namespace Editor::ScriptModule { class ScriptWidgetComponentTextOptions; }
16namespace Editor::ScriptModule { class ScriptWidgetService; }
17namespace ScriptModuleMinecraft { class ScriptRGBA; }
18namespace mce { class UUID; }
19// clang-format on
20
21namespace Editor::ScriptModule {
22
24public:
25 // member variables
26 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 1
41 virtual ~ScriptWidgetComponentText() /*override*/ = default;
42
43 // vIndex: 2
44 virtual ::Editor::Widgets::WidgetComponentType const getComponentType() const /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
52 ::mce::UUID const& componentId,
53 ::std::string const& componentName,
56 ::std::string const& textString,
57 ::std::optional<::Editor::ScriptModule::ScriptWidgetComponentTextOptions> options
58 );
59
60 MCAPI void _setColor(::ScriptModuleMinecraft::ScriptRGBA const& color);
61
62 MCAPI void _setTextString(::std::string const& textString);
63 // NOLINTEND
64
65public:
66 // static functions
67 // NOLINTBEGIN
68 MCAPI static ::Scripting::ClassBindingBuilder<::Editor::ScriptModule::ScriptWidgetComponentText> bindScript();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(
76 ::mce::UUID const& componentId,
77 ::std::string const& componentName,
80 ::std::string const& textString,
81 ::std::optional<::Editor::ScriptModule::ScriptWidgetComponentTextOptions> options
82 );
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88
89 // NOLINTEND
90
91public:
92 // virtual function thunks
93 // NOLINTBEGIN
94 MCFOLD ::Editor::Widgets::WidgetComponentType const $getComponentType() const;
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCAPI static void** $vftable();
101 // NOLINTEND
102};
103
104} // namespace Editor::ScriptModule
Definition ScriptWidgetComponentBase.h:32
Definition ScriptWidgetComponentText.h:23
Definition ScriptWidgetService.h:31
Definition ServiceProviderCollection.h:7
Definition ScriptRGBA.h:11
Definition WeakTypedObjectHandle.h:8
Definition UUID.h:7
Definition Alias.h:14