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
AttributeRequestComponent
;
17
struct
CanVehicleSprintFlagComponent
;
18
struct
ItemUseSlowdownModifierComponent
;
19
struct
MobEffectsComponent
;
20
struct
MoveInputComponent
;
21
struct
MovementAbilitiesComponent
;
22
struct
MovementAttributesComponent
;
23
struct
OnGroundFlagComponent
;
24
struct
PassengerComponent
;
25
struct
PlayerActionComponent
;
26
struct
PlayerInputModeComponent
;
27
struct
PlayerInputRequestComponent
;
28
struct
PlayerLastPosComponent
;
29
struct
StateVectorComponent
;
30
struct
TickingSystemWithInfo
;
31
struct
VanillaClientGameplayComponent
;
32
struct
VehicleComponent
;
33
struct
WasInWaterFlagComponent
;
34
// clang-format on
35
36
namespace
SprintTriggerSystem {
37
// functions
38
// NOLINTBEGIN
39
MCAPI ::TickingSystemWithInfo createIntentSystem();
40
41
MCAPI ::TickingSystemWithInfo createSetRequestSystem();
42
43
MCAPI
void
doIntentTick(
44
::Optional<::ItemUseSlowdownModifierComponent const>
itemInUse,
45
::Optional<::OnGroundFlagComponent const>
const
& onGround,
46
::Optional<::WasInWaterFlagComponent const>
const
& wasInWater,
47
::MovementAbilitiesComponent
const
& abilities,
48
::MobEffectsComponent
const
& mobEffects,
49
::MoveInputComponent
const
& moveInput,
50
::PlayerInputModeComponent
const
& playerInputMode,
51
::StateVectorComponent
const
& stateVector,
52
::PlayerLastPosComponent
const
& playerLastPos,
53
::ActorDataFlagComponent
const
& synchedActorData,
54
::PlayerInputRequestComponent
& playerInputRequest,
55
::VanillaClientGameplayComponent
& vanillaClientGameplay,
56
::PlayerActionComponent
& playerAction
57
);
58
59
MCAPI
void
doSetRequestTick(
60
::StrictEntityContext
const
& entity,
61
::Optional<::PassengerComponent const>
const
& passenger,
62
::MovementAttributesComponent
const
& attributes,
63
::PlayerInputRequestComponent
& playerInputRequest,
64
::ViewT
<
65
::StrictEntityContext
,
66
::VehicleComponent
,
67
::ActorDataControllingSeatIndexComponent
const
,
68
::Optional<::CanVehicleSprintFlagComponent>
>
const
& vehicleView
69
);
70
71
MCAPI
void
setSprinting(
72
::StrictEntityContext
const
& e,
73
::EntityModifier<::AttributeRequestComponent>
& modifier,
74
::ActorDataFlagComponent
& actorData,
75
::ActorDataDirtyFlagsComponent
& dirtyFlags,
76
bool
shouldSprint
77
);
78
// NOLINTEND
79
80
}
// namespace SprintTriggerSystem
EntityModifier
Definition
EntityModifier.h:6
Optional
Definition
Optional.h:8
StrictEntityContext
Definition
StrictEntityContext.h:10
ViewT
Definition
ViewT.h:6
ActorDataControllingSeatIndexComponent
Definition
ActorDataControllingSeatIndexComponent.h:8
ActorDataDirtyFlagsComponent
Definition
ActorDataDirtyFlagsComponent.h:5
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:8
AttributeRequestComponent
Definition
AttributeRequestComponent.h:5
CanVehicleSprintFlagComponent
Definition
CanVehicleSprintFlagComponent.h:5
ItemUseSlowdownModifierComponent
Definition
ItemUseSlowdownModifierComponent.h:5
MobEffectsComponent
Definition
MobEffectsComponent.h:10
MoveInputComponent
Definition
MoveInputComponent.h:12
MovementAbilitiesComponent
Definition
MovementAbilitiesComponent.h:8
MovementAttributesComponent
Definition
MovementAttributesComponent.h:5
OnGroundFlagComponent
Definition
OnGroundFlagComponent.h:5
PassengerComponent
Definition
PassengerComponent.h:10
PlayerActionComponent
Definition
PlayerActionComponent.h:13
PlayerInputModeComponent
Definition
PlayerInputModeComponent.h:9
PlayerInputRequestComponent
Definition
PlayerInputRequestComponent.h:12
PlayerLastPosComponent
Definition
PlayerLastPosComponent.h:10
StateVectorComponent
Definition
StateVectorComponent.h:10
TickingSystemWithInfo
Definition
TickingSystemWithInfo.h:11
VanillaClientGameplayComponent
Definition
VanillaClientGameplayComponent.h:10
VehicleComponent
Definition
VehicleComponent.h:10
WasInWaterFlagComponent
Definition
WasInWaterFlagComponent.h:5
src
mc
entity
systems
sprint_trigger_system
SprintTriggerSystem.h
Generated on Sat Apr 26 2025 05:55:37 for LeviLamina by
1.12.0