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
17class RideableComponent {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 168, ::RideableComponentData> mData;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 RideableComponent& operator=(RideableComponent const&);
27 RideableComponent();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI RideableComponent(::RideableComponent&&);
33
34 MCAPI RideableComponent(::RideableComponent const&);
35
36 MCAPI void _setCanPlayerRide(::Player& player, bool canRide) const;
37
38 MCAPI bool areSeatsFull(::Actor const& owner) const;
39
40 MCAPI bool canAddPassenger(::Actor const& vehicle, ::Actor& passenger) const;
41
42 MCAPI bool getFirstAvailableSeatPosition(::Actor const& owner, ::Actor& potentialPassenger, ::Vec3& result) const;
43
44 MCAPI bool getInteraction(::Actor& owner, ::Player& player, ::ActorInteraction& interaction) const;
45
46 MCAPI bool pullInEntity(::Actor& vehicle, ::Actor& passenger) const;
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(::RideableComponent&&);
53
54 MCAPI void* $ctor(::RideableComponent const&);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI_C void $dtor();
61 // NOLINTEND
62};
Definition ActorInteraction.h:5
Definition Actor.h:105
Definition Player.h:125
Definition Vec3.h:10
Definition RideableComponentData.h:8