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
126 bool mUnk11feb1 : 1;
127 bool mUnkce2979 : 1;
128 bool mUnk452182 : 1;
129 bool mUnk1cf37b : 1;
130 bool mUnk9a7b82 : 1;
131 bool mUnkf6f4ce : 1;
132 bool mUnkb9037f : 1;
133 bool mUnk2c709d : 1;
134 bool mUnkb93e77 : 1;
230 // NOLINTEND
231
232public:
233 // member functions
234 // NOLINTBEGIN
235 MCAPI LegacyGoalDefinition();
236
238
240
241 MCAPI ::LegacyGoalDefinition& operator=(::LegacyGoalDefinition&&);
242
243 MCAPI ::LegacyGoalDefinition& operator=(::LegacyGoalDefinition const&);
244
245 MCAPI bool parse(::ConstDeserializeDataParams const& deserializeDataParams, int priority);
246
247 MCAPI ~LegacyGoalDefinition();
248 // NOLINTEND
249
250public:
251 // static functions
252 // NOLINTBEGIN
253 MCAPI static int _controlFlagsFromArr(::Json::Value const& flags);
254
255 MCAPI static ::POIType _getPOITypeFromString(::std::string poiStr);
256
257 MCAPI static ::std::vector<::SharedTypes::Legacy::ActorDamageCause>
258 _getPanicGoalDamageSources(::ConstDeserializeDataParams const& deserializeDataParams);
259
260 MCAPI static ::TargetSelectionMethod _getTargetSelectionMethodFromString(::std::string const& methodStr);
261
262 MCAPI static bool goalExists(::std::string const& name);
263 // NOLINTEND
264
265public:
266 // static variables
267 // NOLINTBEGIN
268 MCAPI static ::std::
269 unordered_map<::std::string, ::std::function<::std::unique_ptr<::Goal>(::Mob&, ::LegacyGoalDefinition const&)>>&
270 mGoalMap();
271 // NOLINTEND
272
273public:
274 // constructor thunks
275 // NOLINTBEGIN
276 MCAPI void* $ctor();
277
278 MCAPI void* $ctor(::LegacyGoalDefinition const&);
279
280 MCAPI void* $ctor(::LegacyGoalDefinition&&);
281 // NOLINTEND
282
283public:
284 // destructor thunk
285 // NOLINTBEGIN
286 MCAPI void $dtor();
287 // NOLINTEND
288};
Definition Goal.h:14
Definition Value.h:16
Definition Mob.h:47
Definition ConstDeserializeDataParams.h:5
Definition LegacyGoalDefinition.h:18
Definition Alias.h:14