LeviLamina
Loading...
Searching...
No Matches
ScriptExhaustionComponentFactory.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 virtual ~ScriptExhaustionComponentFactory() /*override*/ = default;
23
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 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36 MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorComponent>
37 $createComponent(::WeakEntityRef entity, ::Scripting::WeakLifetimeScope const& scope, ::std::string const& id);
38
39 MCAPI bool $hasComponent(::WeakEntityRef entity) const;
40
41
42 // NOLINTEND
43
44public:
45 // vftables
46 // NOLINTBEGIN
47 MCNAPI static void** $vftable();
48 // NOLINTEND
49};
50
51} // namespace ScriptModuleMinecraft
Definition IComponentFactory.h:17
Definition ScriptActorComponent.h:22
Definition ScriptExhaustionComponentFactory.h:18
Definition WeakLifetimeScope.h:7
Definition WeakEntityRef.h:14