LeviLamina
Loading...
Searching...
No Matches
LegacyGoalDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/actor/ActorDamageCause.h"
7#include "mc/util/TargetSelectionMethod.h"
8#include "mc/world/actor/ai/village/POIType.h"
9
10// auto generated forward declare list
11// clang-format off
12class Goal;
13class Mob;
15namespace Json { class Value; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
123 bool mUnk11feb1 : 1;
124 bool mUnkce2979 : 1;
125 bool mUnk452182 : 1;
126 bool mUnk1cf37b : 1;
127 bool mUnk9a7b82 : 1;
128 bool mUnkf6f4ce : 1;
129 bool mUnkb9037f : 1;
130 bool mUnk2c709d : 1;
131 bool mUnkb93e77 : 1;
218 // NOLINTEND
219
220public:
221 // member functions
222 // NOLINTBEGIN
223 MCAPI LegacyGoalDefinition();
224
226
228
229 MCAPI ::LegacyGoalDefinition& operator=(::LegacyGoalDefinition&&);
230
231 MCAPI ::LegacyGoalDefinition& operator=(::LegacyGoalDefinition const&);
232
233 MCAPI bool parse(::ConstDeserializeDataParams const& deserializeDataParams, int priority);
234
235 MCAPI ~LegacyGoalDefinition();
236 // NOLINTEND
237
238public:
239 // static functions
240 // NOLINTBEGIN
241 MCAPI static int _controlFlagsFromArr(::Json::Value const& flags);
242
243 MCAPI static ::POIType _getPOITypeFromString(::std::string poiStr);
244
245 MCAPI static ::std::vector<::SharedTypes::Legacy::ActorDamageCause>
246 _getPanicGoalDamageSources(::ConstDeserializeDataParams const& deserializeDataParams);
247
248 MCAPI static ::TargetSelectionMethod _getTargetSelectionMethodFromString(::std::string const& methodStr);
249
250 MCAPI static bool goalExists(::std::string const& name);
251 // NOLINTEND
252
253public:
254 // static variables
255 // NOLINTBEGIN
256 MCAPI static ::std::
257 unordered_map<::std::string, ::std::function<::std::unique_ptr<::Goal>(::Mob&, ::LegacyGoalDefinition const&)>>&
258 mGoalMap();
259 // NOLINTEND
260
261public:
262 // constructor thunks
263 // NOLINTBEGIN
264 MCAPI void* $ctor();
265
266 MCAPI void* $ctor(::LegacyGoalDefinition const&);
267
268 MCAPI void* $ctor(::LegacyGoalDefinition&&);
269 // NOLINTEND
270
271public:
272 // destructor thunk
273 // NOLINTBEGIN
274 MCAPI void $dtor();
275 // NOLINTEND
276};
Definition Goal.h:14
Definition Value.h:16
Definition Mob.h:47
Definition ConstDeserializeDataParams.h:5
Definition LegacyGoalDefinition.h:18
Definition Alias.h:14