LeviLamina
Loading...
Searching...
No Matches
MoveInputComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec2.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/input/MoveInputState.h"
9#include "mc/platform/brstd/bitset.h"
10
12public:
13 // MoveInputComponent inner types define
14 enum class Flag : int {
15 Sneaking = 0,
16 Sprinting = 1,
17 WantUp = 2,
18 WantDown = 3,
19 Jumping = 4,
20 AutoJumpingInWater = 5,
21 MoveInputStateLocked = 6,
22 PersistSneak = 7,
23 AutoJumpEnabled = 8,
24 IsCameraRelativeMovementEnabled = 9,
25 IsRotControlledByMoveDirection = 10,
26 Count = 11,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<4, 16, ::MoveInputState> mInputState;
33 ::ll::TypedStorage<4, 16, ::MoveInputState> mRawInputState;
34 ::ll::TypedStorage<1, 1, uchar> mHoldAutoJumpInWaterTicks;
35 ::ll::TypedStorage<4, 8, ::Vec2> mMove;
36 ::ll::TypedStorage<4, 8, ::Vec2> mLookDelta;
37 ::ll::TypedStorage<4, 8, ::Vec2> mInteractDir;
38 ::ll::TypedStorage<4, 12, ::Vec3> mDisplacement;
39 ::ll::TypedStorage<4, 12, ::Vec3> mDisplacementDelta;
40 ::ll::TypedStorage<4, 12, ::Vec3> mCameraOrientation;
41 ::ll::TypedStorage<2, 2, ::brstd::bitset<11, ushort>> mFlagValues;
42 ::ll::TypedStorage<1, 2, ::std::array<bool, 2>> mIsPaddling;
43 // NOLINTEND
44};
Definition MoveInputComponent.h:11