LeviLamina
Loading...
Searching...
No Matches
MoveAroundTargetGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/FloatRange.h"
7#include "mc/util/json_util/JsonSchemaObjectNode.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 Mob;
15namespace JsonUtil { class EmptyClass; }
16// clang-format on
17
19public:
20 // MoveAroundTargetGoal inner types declare
21 // clang-format off
22 class Definition;
23 // clang-format on
24
25 // MoveAroundTargetGoal inner types define
27 public:
28 // member variables
29 // NOLINTBEGIN
37 // NOLINTEND
38
39 public:
40 // prevent constructor by default
41 Definition& operator=(Definition const&);
42 Definition(Definition const&);
43 Definition();
44
45 public:
46 // virtual functions
47 // NOLINTBEGIN
48 // vIndex: 0
49 virtual ~Definition() /*override*/ = default;
50 // NOLINTEND
51
52 public:
53 // static functions
54 // NOLINTBEGIN
55 MCNAPI static void buildSchema(
56 ::std::string const& name,
57 ::std::shared_ptr<
59 );
60 // NOLINTEND
61
62 public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67 };
68
69public:
70 // member variables
71 // NOLINTBEGIN
72 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
73 ::ll::TypedStorage<1, 1, bool> mReachedTarget;
74 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
75 ::ll::TypedStorage<4, 4, float> mSpeed;
76 ::ll::TypedStorage<4, 4, float> mSpreadDegrees;
77 ::ll::TypedStorage<4, 8, ::FloatRange> mDestinationRange;
78 ::ll::TypedStorage<4, 4, float> mHeightDifferenceLimit;
79 ::ll::TypedStorage<4, 4, int> mHorizontalSearchDistance;
80 ::ll::TypedStorage<4, 4, int> mVerticalSearchDistance;
81 // NOLINTEND
82
83public:
84 // prevent constructor by default
88
89public:
90 // virtual functions
91 // NOLINTBEGIN
92 // vIndex: 1
93 virtual bool canUse() /*override*/;
94
95 // vIndex: 2
96 virtual bool canContinueToUse() /*override*/;
97
98 // vIndex: 4
99 virtual void start() /*override*/;
100
101 // vIndex: 5
102 virtual void stop() /*override*/;
103
104 // vIndex: 6
105 virtual void tick() /*override*/;
106
107 // vIndex: 7
108 virtual void appendDebugInfo(::std::string& str) const /*override*/;
109
110 // vIndex: 0
111 virtual ~MoveAroundTargetGoal() /*override*/ = default;
112 // NOLINTEND
113
114public:
115 // virtual function thunks
116 // NOLINTBEGIN
117 MCNAPI bool $canUse();
118
119 MCNAPI bool $canContinueToUse();
120
121 MCNAPI void $start();
122
123 MCNAPI void $stop();
124
125 MCNAPI void $tick();
126
127 MCNAPI void $appendDebugInfo(::std::string& str) const;
128 // NOLINTEND
129
130public:
131 // vftables
132 // NOLINTBEGIN
133 MCNAPI static void** $vftable();
134 // NOLINTEND
135};
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition MoveAroundTargetGoal.h:26
static MCAPI void ** $vftable()
static MCAPI void buildSchema(::std::string const &name, ::std::shared_ptr< ::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::MoveAroundTargetGoal::Definition > > &root)
Definition MoveAroundTargetGoal.h:18
MCAPI void $start()
static MCAPI void ** $vftable()
MCAPI void $tick()
MCAPI bool $canUse()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $canContinueToUse()
MCAPI void $stop()
Definition Alias.h:14