LeviLamina
Loading...
Searching...
No Matches
ScriptTameableComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/binding_type/ClassBindingBuilder.h"
7#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/scripting/modules/minecraft/components/ECSScriptActorComponent.h"
10
11// auto generated forward declare list
12// clang-format off
15namespace ScriptModuleMinecraft { class ScriptComponentTypeEnumBuilder; }
16namespace ScriptModuleMinecraft { class ScriptItemStack; }
17namespace ScriptModuleMinecraft { class ScriptPlayer; }
18// clang-format on
19
20namespace ScriptModuleMinecraft {
21
23: public ::ScriptModuleMinecraft::ECSScriptActorComponent<::TameableComponent, ::TameableDefinition> {
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 0
28 virtual ~ScriptTameableComponent() /*override*/ = default;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI ::Scripting::Result_deprecated<float> getProbability() const;
35
36 MCAPI ::Scripting::Result_deprecated<
37 ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
38 getTameItems() const;
39
40 MCAPI ::Scripting::Result_deprecated<::std::vector<::std::string>> getTameItems_010() const;
41
42 MCAPI ::Scripting::Result_deprecated<bool> isTamed() const;
43
44 MCAPI ::Scripting::Result_deprecated<bool> tame(::ScriptModuleMinecraft::ScriptPlayer& scriptPlayer) const;
45
46 MCAPI ::Scripting::Result_deprecated<bool> tame_010() const;
47
48 MCAPI ::Scripting::Result_deprecated<
49 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>>>
50 tamedToPlayer() const;
51
52 MCAPI ::Scripting::Result_deprecated<::std::optional<::std::string>> tamedToPlayerId() const;
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCAPI static ::Scripting::ClassBindingBuilder<::ScriptModuleMinecraft::ScriptTameableComponent>
59 bind(::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder& componentTypeEnumBuilder);
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static char const*& ComponentId();
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCAPI static void** $vftable();
78 // NOLINTEND
79};
80
81} // namespace ScriptModuleMinecraft
Definition ECSScriptActorComponent.h:8
Definition ScriptComponentTypeEnumBuilder.h:16
Definition ScriptPlayer.h:44
Definition ScriptTameableComponent.h:23
Definition TameableComponent.h:12
Definition TameableDefinition.h:13