LeviLamina
Loading...
Searching...
No Matches
ScriptProjectileComponentFactory.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#include "mc/scripting/modules/minecraft/components/IComponentFactory.h"
8
9// auto generated forward declare list
10// clang-format off
11class WeakEntityRef;
12namespace ScriptModuleMinecraft { class ScriptActorComponent; }
13namespace Scripting { class WeakLifetimeScope; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~ScriptProjectileComponentFactory() /*override*/ = default;
24
25 // vIndex: 1
26 virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorComponent> createComponent(
27 ::WeakEntityRef entity,
29 ::std::string const& id
30 ) /*override*/;
31
32 // vIndex: 2
33 virtual bool hasComponent(::WeakEntityRef entity) const /*override*/;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39 MCNAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorComponent>
40 $createComponent(::WeakEntityRef entity, ::Scripting::WeakLifetimeScope const& scope, ::std::string const& id);
41
42 MCNAPI bool $hasComponent(::WeakEntityRef entity) const;
43 // NOLINTEND
44
45public:
46 // vftables
47 // NOLINTBEGIN
48 MCNAPI static void** $vftable();
49 // NOLINTEND
50};
51
52} // namespace ScriptModuleMinecraft
Definition IComponentFactory.h:17
Definition ScriptProjectileComponentFactory.h:18
MCAPI bool $hasComponent(::WeakEntityRef entity) const
MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorComponent > $createComponent(::WeakEntityRef entity, ::Scripting::WeakLifetimeScope const &scope, ::std::string const &id)
Definition WeakLifetimeScope.h:12
Definition WeakEntityRef.h:14