LeviLamina
Loading...
Searching...
No Matches
MoveInputState.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/platform/brstd/bitset.h"
8
10public:
11 // MoveInputState inner types define
12 enum class Flag : int {
13 SneakDown = 0,
14 SneakToggleDown = 1,
15 WantDownSlow = 2,
16 WantUpSlow = 3,
17 BlockSelectDown = 4,
18 AscendBlock = 5,
19 DescendBlock = 6,
20 JumpDown = 7,
21 SprintDown = 8,
22 UpLeft = 9,
23 UpRight = 10,
24 DownLeft = 11,
25 DownRight = 12,
26 Up = 13,
27 Down = 14,
28 Left = 15,
29 Right = 16,
30 Ascend = 17,
31 Descend = 18,
32 ChangeHeight = 19,
33 LookCenter = 20,
34 SneakInputCurrentlyDown = 21,
35 SneakInputWasReleased = 22,
36 SneakInputWasPressed = 23,
37 JumpInputWasReleased = 24,
38 JumpInputWasPressed = 25,
39 JumpInputCurrentlyDown = 26,
40 Count = 27,
41 };
42
43public:
44 // member variables
45 // NOLINTBEGIN
46 ::ll::TypedStorage<4, 4, ::brstd::bitset<27, uint>> mFlagValues;
47 ::ll::TypedStorage<4, 8, ::Vec2> mAnalogMoveVector;
48 ::ll::TypedStorage<1, 1, uchar> mLookSlightDirField;
49 ::ll::TypedStorage<1, 1, uchar> mLookNormalDirField;
50 ::ll::TypedStorage<1, 1, uchar> mLookSmoothDirField;
51 // NOLINTEND
52};
Definition MoveInputState.h:9