LeviLamina
Loading...
Searching...
No Matches
RideableComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Actor
;
8
class
ActorInteraction
;
9
class
Player
;
10
class
Vec3
;
11
struct
RideableComponentData
;
12
// clang-format on
13
14
class
RideableComponent
{
15
public
:
16
// member variables
17
// NOLINTBEGIN
18
::ll::TypedStorage<8, 96, ::RideableComponentData> mData;
19
// NOLINTEND
20
21
public
:
22
// prevent constructor by default
23
RideableComponent
& operator=(
RideableComponent
const
&);
24
RideableComponent
(
RideableComponent
const
&);
25
26
public
:
27
// member functions
28
// NOLINTBEGIN
29
MCAPI
RideableComponent
(
::RideableComponent
&&);
30
31
MCAPI
void
_setCanPlayerRide(
::Player
& player,
bool
canRide)
const
;
32
33
MCAPI
bool
areSeatsFull(
::Actor
const
& owner)
const
;
34
35
MCAPI
bool
canAddPassenger(
::Actor
const
& vehicle,
::Actor
& passenger)
const
;
36
37
MCAPI
bool
getFirstAvailableSeatPosition(
::Actor
const
& owner,
::Actor
& potentialPassenger,
::Vec3
& result)
const
;
38
39
MCAPI
bool
getInteraction(
::Actor
& owner,
::Player
& player,
::ActorInteraction
& interaction)
const
;
40
41
MCAPI ::RideableComponent& operator=(
::RideableComponent
&&);
42
43
MCAPI
bool
pullInEntity(
::Actor
& vehicle,
::Actor
& passenger)
const
;
44
// NOLINTEND
45
46
public
:
47
// constructor thunks
48
// NOLINTBEGIN
49
MCAPI
void
* $ctor(
::RideableComponent
&&);
50
// NOLINTEND
51
};
ActorInteraction
Definition
ActorInteraction.h:5
Actor
Definition
Actor.h:104
Player
Definition
Player.h:119
RideableComponent
Definition
RideableComponent.h:14
Vec3
Definition
Vec3.h:10
RideableComponentData
Definition
RideableComponentData.h:5
src
mc
entity
components_json_legacy
RideableComponent.h
Generated on Sat Apr 26 2025 05:55:36 for LeviLamina by
1.12.0