LeviLamina
Loading...
Searching...
No Matches
KnockbackRoarGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/json_util/JsonSchemaObjectNode.h"
7#include "mc/world/actor/ActorDefinitionTrigger.h"
8#include "mc/world/actor/ActorFilterGroup.h"
9#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
10#include "mc/world/actor/ai/goal/Goal.h"
11
12// auto generated forward declare list
13// clang-format off
14class EntityContext;
15class Mob;
16namespace JsonUtil { class EmptyClass; }
17// clang-format on
18
19class KnockbackRoarGoal : public ::Goal {
20public:
21 // KnockbackRoarGoal inner types declare
22 // clang-format off
24 // clang-format on
25
26 // KnockbackRoarGoal inner types define
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<4, 4, float> mMaxRoarDurationSeconds;
32 ::ll::TypedStorage<4, 4, float> mMaxSecondsUntilAttack;
33 ::ll::TypedStorage<4, 4, int> mKnockbackDamage;
34 ::ll::TypedStorage<4, 4, int> mKnockbackHorizontalStrength;
35 ::ll::TypedStorage<4, 4, int> mKnockbackVerticalStrength;
36 ::ll::TypedStorage<4, 4, float> mHeightCap;
37 ::ll::TypedStorage<4, 4, int> mKnockbackEffectRange;
38 ::ll::TypedStorage<4, 4, float> mMaxCooldownSeconds;
39 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mKnockbackFilterGroup;
40 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mDamageFilterGroup;
41 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnRoarEnd;
42 ::ll::TypedStorage<1, 1, bool> mFilterEvaluateFix;
43 // NOLINTEND
44
45 public:
46 // virtual functions
47 // NOLINTBEGIN
48 // vIndex: 0
49 virtual ~KnockbackRoarDefinition() /*override*/;
50 // NOLINTEND
51
52 public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI void initialize(::EntityContext& entity, ::KnockbackRoarGoal& goal) const;
56 // NOLINTEND
57
58 public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static void buildSchema(
62 ::std::string const& name,
63 ::std::shared_ptr<
65 root
66 );
67 // NOLINTEND
68
69 public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCAPI void $dtor();
73 // NOLINTEND
74
75 public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80 };
81
82public:
83 // member variables
84 // NOLINTBEGIN
85 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
86 ::ll::TypedStorage<4, 4, int> mMaxRoarDurationTicks;
87 ::ll::TypedStorage<4, 4, int> mMaxTicksUntilAttack;
88 ::ll::TypedStorage<4, 4, int> mKnockbackDamage;
89 ::ll::TypedStorage<4, 4, int> mKnockbackHorizontalStrength;
90 ::ll::TypedStorage<4, 4, int> mKnockbackVerticalStrength;
91 ::ll::TypedStorage<4, 4, float> mHeightCap;
92 ::ll::TypedStorage<4, 4, int> mKnockbackEffectRange;
93 ::ll::TypedStorage<4, 4, int> mMaxCooldownTicks;
94 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mKnockbackFilterGroup;
95 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mDamageFilterGroup;
96 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnRoarEnd;
97 ::ll::TypedStorage<1, 1, bool> mFilterEvaluateFix;
98 ::ll::TypedStorage<4, 4, int> mCurrentCooldownTicks;
99 ::ll::TypedStorage<4, 4, int> mCurrentRoarTicks;
100 // NOLINTEND
101
102public:
103 // prevent constructor by default
104 KnockbackRoarGoal& operator=(KnockbackRoarGoal const&);
107
108public:
109 // virtual functions
110 // NOLINTBEGIN
111 // vIndex: 1
112 virtual bool canUse() /*override*/;
113
114 // vIndex: 2
115 virtual bool canContinueToUse() /*override*/;
116
117 // vIndex: 4
118 virtual void start() /*override*/;
119
120 // vIndex: 5
121 virtual void stop() /*override*/;
122
123 // vIndex: 6
124 virtual void tick() /*override*/;
125
126 // vIndex: 7
127 virtual void appendDebugInfo(::std::string& str) const /*override*/;
128
129 // vIndex: 0
130 virtual ~KnockbackRoarGoal() /*override*/ = default;
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 MCNAPI static void** $vftable();
153 // NOLINTEND
154};
Definition BaseGoalDefinition.h:10
Definition EntityContext.h:16
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition KnockbackRoarGoal.h:27
Definition KnockbackRoarGoal.h:19
static MCAPI void ** $vftable()
Definition Mob.h:47