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/ecs/WeakEntityRef.h"
7#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8#include "mc/deps/scripting/runtime/Result.h"
9#include "mc/scripting/modules/minecraft/components/ScriptComponent.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace ScriptModuleMinecraft { class ScriptActor; }
14namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
15namespace Scripting { class WeakLifetimeScope; }
16namespace Scripting { struct ClassBinding; }
17namespace Scripting { struct Error; }
18// clang-format on
19
20namespace ScriptModuleMinecraft {
21
22class ScriptActorComponent : public ::ScriptModuleMinecraft::ScriptComponent {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mEntityRef;
27 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>> mHandle;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 ScriptActorComponent& operator=(ScriptActorComponent const&);
33 ScriptActorComponent();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~ScriptActorComponent() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI ScriptActorComponent(::ScriptModuleMinecraft::ScriptActorComponent const&);
45
46 MCAPI ScriptActorComponent(
47 ::WeakEntityRef const& entity,
49 ::std::string const& id
50 );
51
52 MCAPI ::Scripting::Error _functionError(::std::string_view functionName) const;
53
54 MCAPI ::Scripting::Error _getPropertyError(::std::string_view propertyName) const;
55
56 MCAPI ::Scripting::Error _setPropertyError(::std::string_view propertyName) const;
57
58 MCFOLD ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor> getEntityV1() const;
59
60 MCAPI ::Scripting::Result<
63 getEntityV2() const;
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCAPI static ::Scripting::ClassBinding bind();
70
71 MCAPI static ::Scripting::ClassBinding bindV010();
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(::ScriptModuleMinecraft::ScriptActorComponent const&);
78
79 MCAPI void*
80 $ctor(::WeakEntityRef const& entity, ::Scripting::WeakLifetimeScope const& context, ::std::string const& id);
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftable();
93 // NOLINTEND
94};
95
96} // namespace ScriptModuleMinecraft
Definition ScriptActorComponent.h:22
Definition ScriptActor.h:65
Definition ScriptComponent.h:15
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition WeakEntityRef.h:14
Definition ScriptInvalidActorError.h:17
Definition ClassBinding.h:19
Definition Error.h:10
Definition context.h:5