LeviLamina
Loading...
Searching...
No Matches
RideableComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/entity/components_json_legacy/RideableComponentData.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
13class Player;
14class Vec3;
15// clang-format on
16
17class RideableComponent {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 168, ::RideableComponentData> mData;
22 // NOLINTEND
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI RideableComponent();
28
29 MCAPI bool canAddPassenger(::Actor const& vehicle, ::Actor& passenger) const;
30
31 MCAPI bool getFirstAvailableSeatPosition(::Actor const& owner, ::Actor& potentialPassenger, ::Vec3& result) const;
32
33 MCAPI ::InteractionResult getInteraction(::Actor& owner, ::Player& player, ::ActorInteraction& interaction) const;
34
35 MCAPI bool pullInEntity(::Actor& vehicle, ::Actor& passenger) const;
36 // NOLINTEND
37
38public:
39 // constructor thunks
40 // NOLINTBEGIN
41 MCAPI void* $ctor();
42 // NOLINTEND
43};
Definition ActorInteraction.h:8
Definition Actor.h:114
Definition InteractionResult.h:5
Definition Player.h:129
Definition Vec3.h:10