LeviLamina
Loading...
Searching...
No Matches
ScriptLeashableComponent.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_deprecated.h"
8#include "mc/scripting/modules/minecraft/components/ECSScriptActorComponent.h"
9
10// auto generated forward declare list
11// clang-format off
14namespace ScriptModuleMinecraft { class ScriptActor; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
21: public ::ScriptModuleMinecraft::ECSScriptActorComponent<::LeashableComponent, ::LeashableDefinition> {
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCAPI ::Scripting::Result_deprecated<float> getHardDistance() const;
26
27 MCAPI ::Scripting::Result_deprecated<bool> getIsLeashed() const;
28
29 MCAPI ::Scripting::Result_deprecated<
30 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>>>
31 getLeashHolder() const;
32
33 MCAPI ::Scripting::Result_deprecated<::std::optional<::std::string>> getLeashHolderActorId() const;
34
35 MCAPI ::Scripting::Result_deprecated<float> getMaxDistance() const;
36
37 MCAPI ::Scripting::Result_deprecated<float> getSoftDistance() const;
38
39 MCAPI ::Scripting::Result_deprecated<void> leashTo(::ScriptModuleMinecraft::ScriptActor& scriptLeashHolder) const;
40
41 MCAPI ::Scripting::Result_deprecated<void> unleash() const;
42 // NOLINTEND
43
44public:
45 // static functions
46 // NOLINTBEGIN
47 MCAPI static ::Scripting::ClassBinding bind();
48 // NOLINTEND
49
50public:
51 // static variables
52 // NOLINTBEGIN
53 MCAPI static char const*& ComponentId();
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
62
63} // namespace ScriptModuleMinecraft
Definition LeashableComponent.h:17
Definition LeashableDefinition.h:17
Definition ECSScriptActorComponent.h:8
Definition ScriptActor.h:69
Definition ScriptLeashableComponent.h:21
Definition ClassBinding.h:19