LeviLamina
Loading...
Searching...
No Matches
JumpControlComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/control/JumpData.h"
7#include "mc/world/actor/ai/control/JumpType.h"
8
9// auto generated forward declare list
10// clang-format off
12class JumpControl;
13class Mob;
15// clang-format on
16
17class JumpControlComponent {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mJumping;
22 ::ll::TypedStorage<1, 1, bool> mSwimming;
23 ::ll::TypedStorage<4, 4, float> mJumpPower;
24 ::ll::TypedStorage<4, 4, ::JumpType> mJumpType;
25 ::ll::TypedStorage<4, 64, ::JumpData[4]> mJumpData;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::JumpControl>> mJumpControl;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI JumpControlComponent();
33
34 MCAPI JumpControlComponent(::JumpControlComponent const& other);
35
36 MCAPI float _getDelayInternal() const;
37
38 MCAPI float _getHeightInternal() const;
39
40 MCAPI int getAnimationDuration() const;
41
42 MCAPI float getDistanceScale() const;
43
44 MCAPI int getJumpDelay() const;
45
46 MCAPI float getJumpPower() const;
47
48 MCFOLD bool getJumping() const;
49
50 MCFOLD bool getSwimming() const;
51
52 MCAPI void initMultiTypeJumpComponent(::Mob& entity, ::ActorDefinitionDescriptor& initDescription);
53
54 MCAPI void initializeFromDefinition(::Mob& owner, ::JumpControlDescription const* description);
55
56 MCAPI ::JumpControlComponent& operator=(::JumpControlComponent const& other);
57
58 MCAPI void resetSpeedModifier(::Mob& owner);
59
60 MCFOLD void setInternalType(::std::unique_ptr<::JumpControl> type);
61
62 MCAPI void setJumpType(::JumpType type);
63
64 MCFOLD void setJumping(bool jumping);
65
66 MCFOLD void setSwimming(bool swimming);
67
68 MCAPI void update(::Mob& owner);
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor();
75
76 MCAPI void* $ctor(::JumpControlComponent const& other);
77 // NOLINTEND
78};
Definition ActorDefinitionDescriptor.h:74
Definition JumpControl.h:16
Definition Mob.h:57
Definition JumpControlDescription.h:14