LeviLamina
Loading...
Searching...
No Matches
SonicBoomGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/json_utils/JsonSchemaObjectNode.h"
7#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
8#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
9#include "mc/world/actor/ai/goal/Goal.h"
10
11// auto generated forward declare list
12// clang-format off
13class ExpiringTick;
14class Mob;
15namespace JsonUtil { class EmptyClass; }
16// clang-format on
17
18class SonicBoomGoal : public ::Goal {
19public:
20 // SonicBoomGoal inner types declare
21 // clang-format off
22 class Definition;
23 // clang-format on
24
25 // SonicBoomGoal inner types define
27 public:
28 // member variables
29 // NOLINTBEGIN
42 // NOLINTEND
43
44 public:
45 // prevent constructor by default
46 Definition& operator=(Definition const&);
47 Definition(Definition const&);
48 Definition();
49
50 public:
51 // virtual functions
52 // NOLINTBEGIN
53 // vIndex: 0
54 virtual ~Definition() /*override*/ = default;
55 // NOLINTEND
56
57 public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static void buildSchema(
61 ::std::string const& name,
63 root
64 );
65 // NOLINTEND
66
67 public:
68 // destructor thunk
69 // NOLINTBEGIN
70
71 // NOLINTEND
72
73 public:
74 // vftables
75 // NOLINTBEGIN
76 MCAPI static void** $vftable();
77 // NOLINTEND
78 };
79
80public:
81 // member variables
82 // NOLINTBEGIN
83 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
84 ::ll::TypedStorage<4, 4, float> mSpeedMultiplier;
85 ::ll::TypedStorage<4, 4, float> mAttackDamage;
86 ::ll::TypedStorage<4, 4, float> mAttackRangeHorizontal;
87 ::ll::TypedStorage<4, 4, float> mAttackRangeVertical;
88 ::ll::TypedStorage<4, 4, float> mKnockbackHorizontalStrength;
89 ::ll::TypedStorage<4, 4, float> mKnockbackVerticalStrength;
90 ::ll::TypedStorage<4, 4, float> mKnockbackHeightCap;
91 ::ll::TypedStorage<2, 2, ushort> mAttackCooldownTicks;
92 ::ll::TypedStorage<2, 2, ushort> mDurationTicks;
93 ::ll::TypedStorage<2, 2, ushort> mDurationTicksUntilAttackSound;
94 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mAttackSound;
95 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mChargeSound;
96 ::ll::TypedStorage<8, 24, ::std::optional<::ExpiringTick>> mAnimationLength;
97 ::ll::TypedStorage<8, 24, ::std::optional<::ExpiringTick>> mSoundCooldown;
98 ::ll::TypedStorage<8, 24, ::std::optional<::ExpiringTick>> mSoundDelay;
99 ::ll::TypedStorage<8, 24, ::std::optional<::ExpiringTick>> mSonicBoomCooldown;
100 // NOLINTEND
101
102public:
103 // virtual functions
104 // NOLINTBEGIN
105 // vIndex: 1
106 virtual bool canUse() /*override*/;
107
108 // vIndex: 2
109 virtual bool canContinueToUse() /*override*/;
110
111 // vIndex: 4
112 virtual void start() /*override*/;
113
114 // vIndex: 5
115 virtual void stop() /*override*/;
116
117 // vIndex: 6
118 virtual void tick() /*override*/;
119
120 // vIndex: 7
121 virtual void appendDebugInfo(::std::string& str) const /*override*/;
122
123 // vIndex: 0
124 virtual ~SonicBoomGoal() /*override*/ = default;
125 // NOLINTEND
126
127public:
128 // destructor thunk
129 // NOLINTBEGIN
130
131 // NOLINTEND
132
133public:
134 // virtual function thunks
135 // NOLINTBEGIN
136 MCAPI bool $canUse();
137
138 MCAPI bool $canContinueToUse();
139
140 MCAPI void $start();
141
142 MCAPI void $stop();
143
144 MCAPI void $tick();
145
146 MCAPI void $appendDebugInfo(::std::string& str) const;
147 // NOLINTEND
148
149public:
150 // vftables
151 // NOLINTBEGIN
152 MCAPI static void** $vftable();
153 // NOLINTEND
154};
Definition BaseGoalDefinition.h:10
Definition ExpiringTick.h:5
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition SonicBoomGoal.h:26
Definition SonicBoomGoal.h:18
Definition Alias.h:14