3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/ecs/Optional.h"
7#include "mc/deps/ecs/ViewT.h"
8#include "mc/deps/ecs/strict/EntityModifier.h"
36namespace SprintTriggerSystem {
39MCNAPI ::TickingSystemWithInfo createActionSystem();
41MCNAPI ::TickingSystemWithInfo createIntentSystem();
43MCNAPI ::TickingSystemWithInfo createSetRequestSystem();
45MCNAPI
void doIntentTick(
46 ::Optional<::ItemUseSlowdownModifierComponent const> slowedByItemInUse,
47 ::Optional<::MobIsJumpingFlagComponent const> isJumping,
48 ::Optional<::OnGroundFlagComponent const>
const& onGround,
49 ::Optional<::WasInWaterFlagComponent const>
const& wasInWater,
50 ::MovementAbilitiesComponent
const& abilities,
51 ::MobEffectsComponent
const& mobEffects,
52 ::MoveInputComponent
const& moveInput,
53 ::PlayerInputModeComponent
const& playerInputMode,
54 ::StateVectorComponent
const& stateVector,
55 ::ActorDataFlagComponent
const& synchedActorData,
56 ::PlayerInputRequestComponent& playerInputRequest,
57 ::VanillaClientGameplayComponent& vanillaClientGameplay,
58 ::PlayerActionComponent& playerAction
61MCNAPI
void doSetRequestTick(
62 ::StrictEntityContext
const& entity,
63 ::Optional<::PassengerComponent const>
const& passenger,
64 ::MovementAttributesComponent
const& attributes,
65 ::PlayerInputRequestComponent& playerInputRequest,
67 ::StrictEntityContext,
69 ::ActorDataControllingSeatIndexComponent
const,
70 ::Optional<::CanVehicleSprintFlagComponent>>
const& vehicleView
73MCNAPI
void setSprinting(
74 ::StrictEntityContext
const& entityContext,
75 ::EntityModifier<::AttributeRequestComponent>& modifier,
76 ::ActorDataFlagComponent& actorData,
77 ::ActorDataDirtyFlagsComponent& dirtyFlags,
Definition StrictEntityContext.h:8
Definition ActorDataControllingSeatIndexComponent.h:8
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:9
Definition AttributeRequestComponent.h:5
Definition CanVehicleSprintFlagComponent.h:5
Definition ItemUseSlowdownModifierComponent.h:5
Definition MobEffectsComponent.h:10
Definition MobIsJumpingFlagComponent.h:5
Definition MovementAbilitiesComponent.h:5
Definition MovementAttributesComponent.h:5
Definition OnGroundFlagComponent.h:5
Definition PassengerComponent.h:8
Definition PlayerActionComponent.h:15
Definition StateVectorComponent.h:8
Definition TickingSystemWithInfo.h:13
Definition VanillaClientGameplayComponent.h:8
Definition VehicleComponent.h:10
Definition WasInWaterFlagComponent.h:5