LeviLamina
Loading...
Searching...
No Matches
JumpData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class JumpData {
6public:
7 // member variables
8 // NOLINTBEGIN
9 ::ll::TypedStorage<4, 4, float> mDistanceScale;
10 ::ll::TypedStorage<4, 4, float> mHeight;
11 ::ll::TypedStorage<4, 4, int> mJumpDelay;
12 ::ll::TypedStorage<4, 4, int> mAnimDuration;
13 // NOLINTEND
14
15public:
16 // prevent constructor by default
17 JumpData();
18
19public:
20 // member functions
21 // NOLINTBEGIN
22 MCAPI JumpData(float distanceScale, float height, int jumpDelay, int animDuration);
23
24 MCFOLD int getAnimDuration() const;
25
26 MCFOLD float getDistanceScale() const;
27
28 MCFOLD float getHeight() const;
29
30 MCFOLD int getJumpDelay() const;
31
32 MCFOLD void setAnimDuration(int duration);
33
34 MCFOLD void setDistanceScale(float distanceScale);
35
36 MCFOLD void setHeight(float height);
37
38 MCFOLD void setJumpDelay(int delay);
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCAPI void* $ctor(float distanceScale, float height, int jumpDelay, int animDuration);
45 // NOLINTEND
46};