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
7
class
EntityContext
;
8
class
Vec2
;
9
struct
ActorDataDirtyFlagsComponent
;
10
struct
ActorDataFlagComponent
;
11
struct
ClientInputLockComponent
;
12
struct
MoveInputState
;
13
struct
Tick
;
14
struct
VanillaClientGameplayComponent
;
15
// clang-format on
16
17
namespace
PlayerMovement {
18
// functions
19
// NOLINTBEGIN
20
MCAPI
void
applyInputLocks(
::ClientInputLockComponent
const
& lockComponent,
::MoveInputState
& inputState);
21
22
MCAPI ::Vec2 calculateButtonMoveVector(
::MoveInputState
const
& inputState);
23
24
MCAPI
void
initializePlayer(
::EntityContext
& provider);
25
26
MCAPI
void
setElytraFlightTimeTicks(
::EntityContext
& provider,
::Tick
const
& value);
27
28
MCAPI
bool
shouldStopEmoting(
29
::Vec2
rawMove,
30
::ActorDataFlagComponent
& actorDataFlag,
31
::ActorDataDirtyFlagsComponent
& actorDataDirtyFlags,
32
::ClientInputLockComponent
& lockComponent,
33
::VanillaClientGameplayComponent
& vanillaClientGameplayComponent
34
);
35
// NOLINTEND
36
37
}
// namespace PlayerMovement
EntityContext
Definition
EntityContext.h:16
Vec2
Definition
Vec2.h:5
ActorDataDirtyFlagsComponent
Definition
ActorDataDirtyFlagsComponent.h:5
ActorDataFlagComponent
Definition
ActorDataFlagComponent.h:8
ClientInputLockComponent
Definition
ClientInputLockComponent.h:10
MoveInputState
Definition
MoveInputState.h:10
Tick
Definition
Tick.h:5
VanillaClientGameplayComponent
Definition
VanillaClientGameplayComponent.h:10
src
mc
world
actor
provider
PlayerMovement.h
Generated on Sat Apr 26 2025 05:56:07 for LeviLamina by
1.12.0