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