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
Interaction
;
12
class
Player
;
13
class
Vec3
;
14
// clang-format on
15
16
class
RideableComponent
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<8, 168, ::RideableComponentData> mData;
21
// NOLINTEND
22
23
public
:
24
// member functions
25
// NOLINTBEGIN
26
MCAPI
bool
allowInteraction(
::Actor
& owner,
::Player
& player)
const
;
27
28
MCAPI
bool
canAddPassenger(
::Actor
const
& vehicle,
::Actor
& passenger)
const
;
29
30
MCAPI
bool
getFirstAvailableSeatPosition(
::Actor
const
& owner,
::Actor
& potentialPassenger,
::Vec3
& result)
const
;
31
32
MCAPI ::Interaction getInteraction(
::Actor
& owner,
::Player
& player)
const
;
33
34
MCAPI
bool
pullInEntity(
::Actor
& vehicle,
::Actor
& passenger)
const
;
35
// NOLINTEND
36
};
Actor
Definition
Actor.h:113
Interaction
Definition
Interaction.h:9
Player
Definition
Player.h:129
RideableComponent
Definition
RideableComponent.h:16
Vec3
Definition
Vec3.h:10
src
mc
entity
components_json_legacy
RideableComponent.h
Generated on
for LeviLamina by
1.16.1