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
236
238
240
241 MCNAPI ::LegacyGoalDefinition& operator=(::LegacyGoalDefinition&&);
242
243 MCNAPI ::LegacyGoalDefinition& operator=(::LegacyGoalDefinition const&);
244
245 MCNAPI bool parse(::ConstDeserializeDataParams const& deserializeDataParams, int priority);
246
248 // NOLINTEND
249
250public:
251 // static functions
252 // NOLINTBEGIN
253 MCNAPI static int _controlFlagsFromArr(::Json::Value const& flags);
254
255 MCNAPI static ::POIType _getPOITypeFromString(::std::string poiStr);
256
257 MCNAPI static ::std::vector<::SharedTypes::Legacy::ActorDamageCause>
259
260 MCNAPI static ::TargetSelectionMethod _getTargetSelectionMethodFromString(::std::string const& methodStr);
261
262 MCNAPI static bool goalExists(::std::string const& name);
263 // NOLINTEND
264
265public:
266 // static variables
267 // NOLINTBEGIN
268 MCNAPI static ::std::
269 unordered_map<::std::string, ::std::function<::std::unique_ptr<::Goal>(::Mob&, ::LegacyGoalDefinition const&)>>&
271 // NOLINTEND
272
273public:
274 // constructor thunks
275 // NOLINTBEGIN
276 MCNAPI void* $ctor();
277
278 MCNAPI void* $ctor(::LegacyGoalDefinition const&);
279
281 // NOLINTEND
282
283public:
284 // destructor thunk
285 // NOLINTBEGIN
286 MCNAPI 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
MCAPI::LegacyGoalDefinition & operator=(::LegacyGoalDefinition &&)
MCAPI void * $ctor(::LegacyGoalDefinition &&)
MCAPI bool parse(::ConstDeserializeDataParams const &deserializeDataParams, int priority)
MCAPI::LegacyGoalDefinition & operator=(::LegacyGoalDefinition const &)
MCAPI void $dtor()
MCAPI void * $ctor(::LegacyGoalDefinition const &)
static MCAPI ::std::unordered_map<::std::string, ::std::function<::std::unique_ptr<::Goal >(::Mob &, ::LegacyGoalDefinition const &)> > & mGoalMap()
MCAPI LegacyGoalDefinition(::LegacyGoalDefinition const &)
static MCAPI ::POIType _getPOITypeFromString(::std::string poiStr)
static MCAPI ::TargetSelectionMethod _getTargetSelectionMethodFromString(::std::string const &methodStr)
static MCAPI ::std::vector<::SharedTypes::Legacy::ActorDamageCause > _getPanicGoalDamageSources(::ConstDeserializeDataParams const &deserializeDataParams)
MCAPI LegacyGoalDefinition()
static MCAPI int _controlFlagsFromArr(::Json::Value const &flags)
MCAPI ~LegacyGoalDefinition()
MCAPI LegacyGoalDefinition(::LegacyGoalDefinition &&)
MCAPI void * $ctor()
static MCAPI bool goalExists(::std::string const &name)
Definition Alias.h:14