LeviLamina
Loading...
Searching...
No Matches
SprintTriggerSystem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/Optional.h"
7
#include "mc/deps/ecs/ViewT.h"
8
#include "mc/deps/ecs/strict/EntityModifier.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
StrictEntityContext
;
13
struct
ActorDataControllingSeatIndexComponent
;
14
struct
ActorDataDirtyFlagsComponent
;
15
struct
ActorDataFlagComponent
;
16
struct
ActorHeadInWaterFlagComponent
;
17
struct
AttributeRequestComponent
;
18
struct
CanVehicleSprintFlagComponent
;
19
struct
ItemUseSlowdownModifierComponent
;
20
struct
MobEffectsComponent
;
21
struct
MoveInputComponent
;
22
struct
MovementAbilitiesComponent
;
23
struct
MovementAttributesComponent
;
24
struct
OnGroundFlagComponent
;
25
struct
PassengerComponent
;
26
struct
PlayerActionComponent
;
27
struct
PlayerInputModeComponent
;
28
struct
PlayerInputRequestComponent
;
29
struct
PlayerLastPosComponent
;
30
struct
StateVectorComponent
;
31
struct
TickingSystemWithInfo
;
32
struct
VanillaClientGameplayComponent
;
33
struct
VehicleComponent
;
34
struct
WasInWaterFlagComponent
;
35
// clang-format on
36
37
namespace
SprintTriggerSystem {
38
// functions
39
// NOLINTBEGIN
40
MCNAPI ::TickingSystemWithInfo createActionSystem();
41
42
MCNAPI ::TickingSystemWithInfo createIntentSystem();
43
44
MCNAPI ::TickingSystemWithInfo createSetRequestSystem();
45
46
MCNAPI
void
doIntentTick(
47
::Optional<::ActorHeadInWaterFlagComponent const>
headInWater,
48
::Optional<::ItemUseSlowdownModifierComponent const>
itemInUse,
49
::Optional<::OnGroundFlagComponent const>
const
& onGround,
50
::Optional<::WasInWaterFlagComponent const>
const
& wasInWater,
51
::MovementAbilitiesComponent
const
& abilities,
52
::MobEffectsComponent
const
& mobEffects,
53
::MoveInputComponent
const
& moveInput,
54
::PlayerInputModeComponent
const
& playerInputMode,
55
::StateVectorComponent
const
& stateVector,
56
::PlayerLastPosComponent
const
& playerLastPos,
57
::ActorDataFlagComponent
const
& synchedActorData,
58
::PlayerInputRequestComponent
& playerInputRequest,
59
::VanillaClientGameplayComponent
& vanillaClientGameplay,
60
::PlayerActionComponent
& playerAction
61
);
62
63
MCNAPI
void
doSetRequestTick(
64
::StrictEntityContext
const
& entity,
65
::Optional<::PassengerComponent const>
const
& passenger,
66
::MovementAttributesComponent
const
& attributes,
67
::PlayerInputRequestComponent
& playerInputRequest,
68
::ViewT
<
69
::StrictEntityContext
,
70
::VehicleComponent
,
71
::ActorDataControllingSeatIndexComponent
const
,
72
::Optional<::CanVehicleSprintFlagComponent>
>
const
& vehicleView
73
);
74
75
MCNAPI
void
setSprinting(
76
::StrictEntityContext
const
& e,
77
::EntityModifier<::AttributeRequestComponent>
& modifier,
78
::ActorDataFlagComponent
& actorData,
79
::ActorDataDirtyFlagsComponent
& dirtyFlags,
80
bool
shouldSprint
81
);
82
// NOLINTEND
83
84
}
// namespace SprintTriggerSystem
EntityModifier
Definition
EntityModifier.h:6
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:8
ViewT
Definition
ViewT.h:6
ActorDataControllingSeatIndexComponent
Definition
ActorDataControllingSeatIndexComponent.h:8
ActorDataDirtyFlagsComponent
Definition
ActorDataDirtyFlagsComponent.h:5
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:9
ActorHeadInWaterFlagComponent
Definition
ActorHeadInWaterFlagComponent.h:5
AttributeRequestComponent
Definition
AttributeRequestComponent.h:5
CanVehicleSprintFlagComponent
Definition
CanVehicleSprintFlagComponent.h:5
ItemUseSlowdownModifierComponent
Definition
ItemUseSlowdownModifierComponent.h:5
MobEffectsComponent
Definition
MobEffectsComponent.h:10
MoveInputComponent
Definition
MoveInputComponent.h:10
MovementAbilitiesComponent
Definition
MovementAbilitiesComponent.h:8
MovementAttributesComponent
Definition
MovementAttributesComponent.h:5
OnGroundFlagComponent
Definition
OnGroundFlagComponent.h:5
PassengerComponent
Definition
PassengerComponent.h:8
PlayerActionComponent
Definition
PlayerActionComponent.h:15
PlayerInputModeComponent
Definition
PlayerInputModeComponent.h:9
PlayerInputRequestComponent
Definition
PlayerInputRequestComponent.h:10
PlayerLastPosComponent
Definition
PlayerLastPosComponent.h:8
StateVectorComponent
Definition
StateVectorComponent.h:8
TickingSystemWithInfo
Definition
TickingSystemWithInfo.h:13
VanillaClientGameplayComponent
Definition
VanillaClientGameplayComponent.h:8
VehicleComponent
Definition
VehicleComponent.h:10
WasInWaterFlagComponent
Definition
WasInWaterFlagComponent.h:5
src
mc
entity
systems
sprint_trigger_system
SprintTriggerSystem.h
Generated on Fri Jun 13 2025 05:04:34 for LeviLamina by
1.12.0