LeviLamina
Loading...
Searching...
No Matches
ScriptActorComponent.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/deps/scripting/runtime/Result.h"
8#include "mc/scripting/modules/minecraft/components/ScriptComponent.h"
9
10// auto generated forward declare list
11// clang-format off
12class WeakEntityRef;
13namespace ScriptModuleMinecraft { class ScriptActor; }
14namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
15namespace Scripting { class WeakLifetimeScope; }
16namespace Scripting { struct ClassBinding; }
17// clang-format on
18
19namespace ScriptModuleMinecraft {
20
22public:
23 // member variables
24 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~ScriptActorComponent() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
45
47 ::WeakEntityRef const& entity,
49 ::std::string const& id
50 );
51
52 MCNAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor> getEntityV1() const;
53
54 MCNAPI ::Scripting::Result<
57 getEntityV2() const;
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCNAPI static ::Scripting::ClassBinding bind();
64
65 MCNAPI static ::Scripting::ClassBinding bindV010();
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
72
73 MCNAPI void*
74 $ctor(::WeakEntityRef const& entity, ::Scripting::WeakLifetimeScope const& context, ::std::string const& id);
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCNAPI void $dtor();
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
89
90} // namespace ScriptModuleMinecraft
Definition ScriptActorComponent.h:21
MCAPI void * $ctor(::WeakEntityRef const &entity, ::Scripting::WeakLifetimeScope const &context, ::std::string const &id)
MCAPI ScriptActorComponent(::WeakEntityRef const &entity, ::Scripting::WeakLifetimeScope const &context, ::std::string const &id)
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::ScriptModuleMinecraft::ScriptInvalidActorError > getEntityV2() const
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptActorComponent const &)
MCAPI ScriptActorComponent(::ScriptModuleMinecraft::ScriptActorComponent const &)
MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor > getEntityV1() const
static MCAPI ::Scripting::ClassBinding bind()
static MCAPI ::Scripting::ClassBinding bindV010()
Definition ScriptComponent.h:13
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition WeakEntityRef.h:14
Definition ScriptInvalidActorError.h:18
Definition context.h:5
Definition Alias.h:14