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