LeviLamina
Loading...
Searching...
No Matches
MobMovementFriction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/Optional.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
NavigationComponent
;
11
class
StrictEntityContext
;
12
struct
ActorDataFlagComponent
;
13
struct
CurrentLocalMoveVelocityComponent
;
14
struct
FrictionModifierComponent
;
15
struct
MobTravelComponent
;
16
struct
MovementAbilitiesComponent
;
17
struct
PlayerInputModeComponent
;
18
struct
StateVectorComponent
;
19
struct
TickingSystemWithInfo
;
20
struct
VexFlagComponent
;
21
// clang-format on
22
23
namespace
MobMovementFriction {
24
// functions
25
// NOLINTBEGIN
26
MCAPI
void
forSystems(::std::function<
void
(
::TickingSystemWithInfo
&&)>
const
& func);
27
28
MCAPI
void
tickLavaWalkFriction(
29
::StrictEntityContext
const
&,
30
::NavigationComponent
const
& navigationComponent,
31
::Optional<::MovementAbilitiesComponent const>
abilitiesComponent,
32
::Optional<::CurrentLocalMoveVelocityComponent const>
currentLocalMoveVelocityComponent,
33
::Optional<::PlayerInputModeComponent const>
playerInputModeComponent,
34
::Optional<::VexFlagComponent const>
vexFlagComponent,
35
::FrictionModifierComponent
const
& frictionModifierComponent,
36
::ActorDataFlagComponent
const
& synchedActorDataComponent,
37
::StateVectorComponent
& stateVectorComponent
38
);
39
40
MCAPI
void
tickNormalFriction(
41
::StrictEntityContext
const
&,
42
::MobTravelComponent
const
& mobTravelComponent,
43
::Optional<::MovementAbilitiesComponent const>
abilitiesComponent,
44
::Optional<::CurrentLocalMoveVelocityComponent const>
currentLocalMoveVelocityComponent,
45
::Optional<::PlayerInputModeComponent const>
playerInputModeComponent,
46
::Optional<::VexFlagComponent const>
vexFlagComponent,
47
::FrictionModifierComponent
const
& frictionModifierComponent,
48
::ActorDataFlagComponent
const
& synchedActorDataComponent,
49
::StateVectorComponent
& stateVectorComponent
50
);
51
// NOLINTEND
52
53
}
// namespace MobMovementFriction
NavigationComponent
Definition
NavigationComponent.h:22
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:10
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:8
CurrentLocalMoveVelocityComponent
Definition
CurrentLocalMoveVelocityComponent.h:8
FrictionModifierComponent
Definition
FrictionModifierComponent.h:8
MobTravelComponent
Definition
MobTravelComponent.h:10
MovementAbilitiesComponent
Definition
MovementAbilitiesComponent.h:8
PlayerInputModeComponent
Definition
PlayerInputModeComponent.h:9
StateVectorComponent
Definition
StateVectorComponent.h:10
TickingSystemWithInfo
Definition
TickingSystemWithInfo.h:11
VexFlagComponent
Definition
VexFlagComponent.h:5
src
mc
entity
systems
movement
mob
MobMovementFriction.h
Generated on Sat Apr 26 2025 05:55:37 for LeviLamina by
1.12.0