LeviLamina
Loading...
Searching...
No Matches
PlayerMovement.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class EntityContext;
8class Vec2;
12struct MoveInputState;
13struct Tick;
15// clang-format on
16
17namespace PlayerMovement {
18// functions
19// NOLINTBEGIN
20MCAPI void applyInputLocks(::ClientInputLockComponent const& lockComponent, ::MoveInputState& inputState);
21
22MCAPI ::Vec2 calculateButtonMoveVector(::MoveInputState const& inputState);
23
24MCAPI void initializePlayer(::EntityContext& provider);
25
26MCAPI void setElytraFlightTimeTicks(::EntityContext& provider, ::Tick const& value);
27
28MCAPI bool shouldStopEmoting(
29 ::Vec2 rawMove,
30 ::ActorDataFlagComponent& actorDataFlag,
31 ::ActorDataDirtyFlagsComponent& actorDataDirtyFlags,
32 ::ClientInputLockComponent& lockComponent,
33 ::VanillaClientGameplayComponent& vanillaClientGameplayComponent
34);
35// NOLINTEND
36
37} // namespace PlayerMovement
Definition EntityContext.h:16
Definition Vec2.h:5
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:8
Definition ClientInputLockComponent.h:10
Definition MoveInputState.h:10
Definition Tick.h:5
Definition VanillaClientGameplayComponent.h:10