LeviLamina
Loading...
Searching...
No Matches
ScriptRideableComponent.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
14class WeakEntityRef;
15struct SeatDescription;
16namespace ScriptModuleMinecraft { class ScriptActor; }
17namespace Scripting { class WeakLifetimeScope; }
18namespace Scripting { struct ClassBinding; }
19// clang-format on
20
21namespace ScriptModuleMinecraft {
22
23class ScriptRideableComponent
24: public ::ScriptModuleMinecraft::ECSScriptActorComponent<::RideableComponent, ::RideableDefinition> {
25public:
26 // prevent constructor by default
27 ScriptRideableComponent();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ScriptRideableComponent(
33 ::WeakEntityRef const& entity,
35 ::std::string const& id
36 );
37
38 MCAPI ::Scripting::Result_deprecated<bool>
39 addPassenger(::ScriptModuleMinecraft::ScriptActor& scriptPassenger) const;
40
41 MCAPI ::Scripting::Result_deprecated<void>
42 ejectPassenger(::ScriptModuleMinecraft::ScriptActor& scriptPassenger) const;
43
44 MCAPI ::Scripting::Result_deprecated<void> ejectPassengers() const;
45
46 MCAPI ::Scripting::Result_deprecated<bool> getCrouchingSkipInteract() const;
47
48 MCAPI ::Scripting::Result_deprecated<::std::vector<::std::string>> getFamilyTypes() const;
49
50 MCAPI ::Scripting::Result_deprecated<bool> getPassengerCanInteract() const;
51
52 MCAPI ::Scripting::Result_deprecated<float> getPassengerMaxWidth() const;
53
54 MCAPI ::Scripting::Result_deprecated<
55 ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>>>
56 getRiders() const;
57
58 MCAPI ::Scripting::Result_deprecated<::std::vector<::SeatDescription>> getSeats() const;
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64 MCAPI static ::Scripting::ClassBinding bind();
65 // NOLINTEND
66
67public:
68 // static variables
69 // NOLINTBEGIN
70 MCAPI static char const*& ComponentId();
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCAPI void*
77 $ctor(::WeakEntityRef const& entity, ::Scripting::WeakLifetimeScope const& scope, ::std::string const& id);
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
86
87} // namespace ScriptModuleMinecraft
Definition RideableComponent.h:20
Definition RideableDefinition.h:18
Definition ECSScriptActorComponent.h:8
Definition ScriptActor.h:69
Definition WeakLifetimeScope.h:14
Definition WeakEntityRef.h:14
Definition ClassBinding.h:19
Definition SeatDescription.h:9