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 Actor;
13class WeakEntityRef;
14namespace ScriptModuleMinecraft { class ScriptActor; }
15namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
16namespace Scripting { class WeakLifetimeScope; }
17namespace Scripting { struct ClassBinding; }
18namespace Scripting { struct Error; }
19// clang-format on
20
21namespace ScriptModuleMinecraft {
22
24public:
25 // member variables
26 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 0
40 virtual ~ScriptActorComponent() /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
47
49 ::WeakEntityRef const& entity,
51 ::std::string const& id
52 );
53
54 MCNAPI ::Scripting::Error _functionError(::std::string_view functionName) const;
55
56 MCNAPI ::Scripting::Error _getPropertyError(::std::string_view propertyName) const;
57
58 MCNAPI ::Scripting::Error _setPropertyError(::std::string_view propertyName) const;
59
60 MCNAPI ::Actor* _tryGetOwner() const;
61
62 MCNAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor> getEntityV1() const;
63
64 MCNAPI ::Scripting::Result<
67 getEntityV2() const;
68 // NOLINTEND
69
70public:
71 // static functions
72 // NOLINTBEGIN
73 MCNAPI static ::Scripting::ClassBinding bind();
74
75 MCNAPI static ::Scripting::ClassBinding bindV010();
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
82
83 MCNAPI void*
84 $ctor(::WeakEntityRef const& entity, ::Scripting::WeakLifetimeScope const& context, ::std::string const& id);
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCNAPI void $dtor();
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
99
100} // namespace ScriptModuleMinecraft
Definition Actor.h:102
Definition ScriptActorComponent.h:23
MCAPI void * $ctor(::WeakEntityRef const &entity, ::Scripting::WeakLifetimeScope const &context, ::std::string const &id)
MCAPI::Scripting::Error _getPropertyError(::std::string_view propertyName) const
MCAPI ScriptActorComponent(::WeakEntityRef const &entity, ::Scripting::WeakLifetimeScope const &context, ::std::string const &id)
MCAPI::Scripting::Error _setPropertyError(::std::string_view propertyName) const
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor >, ::ScriptModuleMinecraft::ScriptInvalidActorError > getEntityV2() const
MCAPI::Scripting::Error _functionError(::std::string_view functionName) 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:7
Definition WeakEntityRef.h:14
Definition ScriptInvalidActorError.h:17
Definition context.h:5
Definition Alias.h:14