LeviLamina
Loading...
Searching...
No Matches
IScriptActorComponentFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7
8// auto generated forward declare list
9// clang-format off
10class WeakEntityRef;
11namespace ScriptModuleMinecraft { class ScriptActorComponent; }
12namespace Scripting { class WeakLifetimeScope; }
13namespace Scripting { struct ClassBinding; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ~IScriptActorComponentFactory() = default;
23
24 virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorComponent>
25 createComponent(::WeakEntityRef entity, ::Scripting::WeakLifetimeScope const& scope, ::std::string const& id) = 0;
26
27 virtual bool hasComponent(::WeakEntityRef entity) const = 0;
28
29 virtual ::std::vector<::Scripting::ClassBinding> bind() const = 0;
30 // NOLINTEND
31
32public:
33 // virtual function thunks
34 // NOLINTBEGIN
35
36 // NOLINTEND
37};
38
39} // namespace ScriptModuleMinecraft
Definition IScriptActorComponentFactory.h:18
Definition ScriptActorComponent.h:22
Definition WeakLifetimeScope.h:7
Definition WeakEntityRef.h:14
Definition ClassBinding.h:19