LeviLamina
Loading...
Searching...
No Matches
ScriptWidgetComponentEntity.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/deps/scripting/runtime/Result.h"
10#include "mc/editor/script/ScriptWidgetComponentBase.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace Editor { class ServiceProviderCollection; }
15namespace Editor::ScriptModule { class ScriptWidget; }
16namespace Editor::ScriptModule { class ScriptWidgetComponentEntityOptions; }
17namespace Editor::ScriptModule { class ScriptWidgetComponentErrorInvalidComponent; }
18namespace Editor::ScriptModule { class ScriptWidgetService; }
19namespace mce { class UUID; }
20// clang-format on
21
22namespace Editor::ScriptModule {
23
25public:
26 // member variables
27 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 1
41 virtual ~ScriptWidgetComponentEntity() /*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& actorNameId,
57 ::std::optional<::Editor::ScriptModule::ScriptWidgetComponentEntityOptions> options
58 );
59
60 MCFOLD ::Scripting::Result<bool, ::Editor::ScriptModule::ScriptWidgetComponentErrorInvalidComponent>
61 _getClickable() const;
62
63 MCAPI ::Scripting::Result<void, ::Editor::ScriptModule::ScriptWidgetComponentErrorInvalidComponent>
64 _playAnimation(::std::string const& animationName);
65
66 MCAPI ::Scripting::Result<void, ::Editor::ScriptModule::ScriptWidgetComponentErrorInvalidComponent>
67 _setClickable(bool clickable);
68 // NOLINTEND
69
70public:
71 // static functions
72 // NOLINTBEGIN
73 MCAPI static ::Scripting::ClassBindingBuilder<::Editor::ScriptModule::ScriptWidgetComponentEntity> bindScript();
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void* $ctor(
81 ::mce::UUID const& componentId,
82 ::std::string const& componentName,
85 ::std::string const& actorNameId,
86 ::std::optional<::Editor::ScriptModule::ScriptWidgetComponentEntityOptions> options
87 );
88 // NOLINTEND
89
90public:
91 // destructor thunk
92 // NOLINTBEGIN
93
94 // NOLINTEND
95
96public:
97 // virtual function thunks
98 // NOLINTBEGIN
99 MCFOLD ::Editor::Widgets::WidgetComponentType const $getComponentType() const;
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
105 MCAPI static void** $vftable();
106 // NOLINTEND
107};
108
109} // namespace Editor::ScriptModule
Definition ScriptWidgetComponentBase.h:32
Definition ScriptWidgetComponentEntity.h:24
Definition ScriptWidgetService.h:31
Definition ServiceProviderCollection.h:7
Definition WeakTypedObjectHandle.h:8
Definition UUID.h:7
Definition Alias.h:14