LeviLamina
Loading...
Searching...
No Matches
MovementAttributesComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
6public:
7 // MovementAttributesComponent inner types define
8 using MemberPtr = ::std::optional<float> MovementAttributesComponent::*;
9
10public:
11 // member variables
12 // NOLINTBEGIN
13 ::ll::TypedStorage<4, 8, ::std::optional<float>> mMovementSpeed;
14 ::ll::TypedStorage<4, 8, ::std::optional<float>> mUnderwaterMovementSpeed;
15 ::ll::TypedStorage<4, 8, ::std::optional<float>> mLavaMovementSpeed;
16 ::ll::TypedStorage<4, 8, ::std::optional<float>> mJumpStrength;
17 ::ll::TypedStorage<4, 8, ::std::optional<float>> mHealth;
18 ::ll::TypedStorage<4, 8, ::std::optional<float>> mHunger;
19 ::ll::TypedStorage<4, 8, ::std::optional<float>> mFrictionModifier;
20 ::ll::TypedStorage<4, 8, ::std::optional<float>> mBounciness;
21 ::ll::TypedStorage<4, 8, ::std::optional<float>> mAirDragModifier;
22 // NOLINTEND
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI float getAirDragModifier() const;
28
29 MCAPI float getBounciness() const;
30
31 MCAPI float getFrictionModifier() const;
32
33 MCAPI float getHealth() const;
34
35 MCAPI float getHunger() const;
36
37 MCAPI float getJumpStrength() const;
38
39 MCAPI float getLavaMovementSpeed() const;
40
41 MCAPI float getMovementSpeed() const;
42
43 MCFOLD float getUnderwaterMovementSpeed() const;
44
45 MCAPI bool operator==(::MovementAttributesComponent const& other) const;
46 // NOLINTEND
47};
Definition MovementAttributesComponent.h:5