LeviLamina
Loading...
Searching...
No Matches
PreventMobEjectionFromLegacyVehicleSystem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/ViewT.h"
7
#include "mc/deps/ecs/strict/EntityModifier.h"
8
#include "mc/deps/ecs/strict/Include.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
RideableComponent
;
13
class
StrictEntityContext
;
14
struct
AABBShapeComponent
;
15
struct
EntityNeedsInitializeFlagComponent
;
16
struct
KeepRidingEvenIfTooLargeForVehicleFlagComponent
;
17
struct
PassengerComponent
;
18
// clang-format on
19
20
class
PreventMobEjectionFromLegacyVehicleSystem
{
21
public
:
22
// static functions
23
// NOLINTBEGIN
24
MCAPI
static
void
_preventEjectionIfNeeded(
25
::StrictEntityContext
& strictEntityContext,
26
::PassengerComponent
const
& passengerComponent,
27
::AABBShapeComponent
const
& aabbShapeComponent,
28
::ViewT<::StrictEntityContext, ::RideableComponent const>
const
& vehicleView,
29
::EntityModifier<::KeepRidingEvenIfTooLargeForVehicleFlagComponent>
& modifier
30
);
31
32
MCAPI
static
void
_tick(
33
::ViewT
<
34
::StrictEntityContext
,
35
::Include<::EntityNeedsInitializeFlagComponent>
,
36
::PassengerComponent
const
,
37
::AABBShapeComponent
const
> passengerView,
38
::ViewT<::StrictEntityContext, ::RideableComponent const>
vehicleView,
39
::EntityModifier<::KeepRidingEvenIfTooLargeForVehicleFlagComponent>
modifier
40
);
41
// NOLINTEND
42
};
EntityModifier
Definition
EntityModifier.h:6
PreventMobEjectionFromLegacyVehicleSystem
Definition
PreventMobEjectionFromLegacyVehicleSystem.h:20
RideableComponent
Definition
RideableComponent.h:14
StrictEntityContext
Definition
StrictEntityContext.h:10
ViewT
Definition
ViewT.h:6
AABBShapeComponent
Definition
AABBShapeComponent.h:11
EntityNeedsInitializeFlagComponent
Definition
EntityNeedsInitializeFlagComponent.h:5
Include
Definition
Include.h:6
KeepRidingEvenIfTooLargeForVehicleFlagComponent
Definition
KeepRidingEvenIfTooLargeForVehicleFlagComponent.h:5
PassengerComponent
Definition
PassengerComponent.h:10
src
mc
entity
systems
initialization
PreventMobEjectionFromLegacyVehicleSystem.h
Generated on Sat Apr 26 2025 05:55:37 for LeviLamina by
1.12.0