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
InteractionResult
;
13
class
Player
;
14
class
Vec3
;
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 RideableComponent();
28
29
MCAPI
bool
canAddPassenger(
::Actor
const
& vehicle,
::Actor
& passenger)
const
;
30
31
MCAPI
bool
getFirstAvailableSeatPosition(
::Actor
const
& owner,
::Actor
& potentialPassenger,
::Vec3
& result)
const
;
32
33
MCAPI ::InteractionResult getInteraction(
::Actor
& owner,
::Player
& player,
::ActorInteraction
& interaction)
const
;
34
35
MCAPI
bool
pullInEntity(
::Actor
& vehicle,
::Actor
& passenger)
const
;
36
// NOLINTEND
37
38
public
:
39
// constructor thunks
40
// NOLINTBEGIN
41
MCAPI
void
* $ctor();
42
// NOLINTEND
43
};
ActorInteraction
Definition
ActorInteraction.h:8
Actor
Definition
Actor.h:114
InteractionResult
Definition
InteractionResult.h:5
Player
Definition
Player.h:129
Vec3
Definition
Vec3.h:10
src
mc
entity
components_json_legacy
RideableComponent.h
Generated on
for LeviLamina by
1.16.1