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/DismountMode.h"
7#include "mc/entity/components_json_legacy/RideableComponentData.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Actor;
15class Player;
16class Vec3;
17struct SeatDescription;
18// clang-format on
19
20class RideableComponent {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 168, ::RideableComponentData> mData;
25 // NOLINTEND
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI RideableComponent();
31
32 MCAPI bool allowInteraction(::Actor& owner, ::Player& player) const;
33
34 MCAPI bool areSeatsFull(::Actor const& owner) const;
35
36 MCAPI bool canAddPassenger(::Actor const& vehicle, ::Actor& passenger) const;
37
38 MCAPI bool fitsInVehicle(::AABB const& passengerAABB) const;
39
40 MCFOLD ::DismountMode getDismountMode() const;
41
42 MCAPI bool getFirstAvailableSeatPosition(::Actor const& owner, ::Actor& potentialPassenger, ::Vec3& result) const;
43
44 MCAPI ::InteractionResult getInteraction(::Actor& owner, ::Player& player, ::ActorInteraction& interaction) const;
45
46 MCFOLD ::std::string const& getOnRiderEnterEvent() const;
47
48 MCFOLD ::std::string const& getOnRiderExitEvent() const;
49
50 MCFOLD int getSeatCount() const;
51
52 MCFOLD ::std::vector<::SeatDescription> const& getSeats() const;
53
54 MCAPI bool pullInEntity(::Actor& vehicle, ::Actor& passenger) const;
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor();
61 // NOLINTEND
62};
Definition AABB.h:18
Definition ActorInteraction.h:8
Definition Actor.h:123
Definition InteractionResult.h:5
Definition Player.h:136
Definition Vec3.h:10
Definition SeatDescription.h:9