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;
12class Player;
13class Vec3;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 168, ::RideableComponentData> mData;
22 // NOLINTEND
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI void _setCanPlayerRide(::Player& player, bool canRide) const;
28
29 MCAPI bool areSeatsFull(::Actor const& owner) const;
30
31 MCAPI bool canAddPassenger(::Actor const& vehicle, ::Actor& passenger) const;
32
33 MCAPI bool getFirstAvailableSeatPosition(::Actor const& owner, ::Actor& potentialPassenger, ::Vec3& result) const;
34
35 MCAPI bool getInteraction(::Actor& owner, ::Player& player, ::ActorInteraction& interaction) const;
36
37 MCAPI bool pullInEntity(::Actor& vehicle, ::Actor& passenger) const;
38 // NOLINTEND
39};
Definition ActorInteraction.h:5
Definition Actor.h:103
Definition Player.h:119
Definition RideableComponent.h:17
Definition Vec3.h:10
Definition RideableComponentData.h:5