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