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
10
class
Actor
;
11
class
ActorInteraction
;
12
class
Player
;
13
class
Vec3
;
14
struct
RideableComponentData
;
15
// clang-format on
16
17
class
RideableComponent
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 168, ::RideableComponentData> mData;
22
// NOLINTEND
23
24
public
:
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
};
ActorInteraction
Definition
ActorInteraction.h:5
Actor
Definition
Actor.h:103
Player
Definition
Player.h:119
RideableComponent
Definition
RideableComponent.h:17
Vec3
Definition
Vec3.h:10
RideableComponentData
Definition
RideableComponentData.h:5
src
mc
entity
components_json_legacy
RideableComponent.h
Generated on Fri Jun 13 2025 05:04:33 for LeviLamina by
1.12.0