LeviLamina
Loading...
Searching...
No Matches
FollowMobGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorFilterGroup.h"
7#include "mc/world/actor/TempEPtr.h"
8#include "mc/world/actor/ai/goal/BaseGoal.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class Mob;
14// clang-format on
15
16class FollowMobGoal : public ::BaseGoal {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
21 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilters;
22 ::ll::TypedStorage<8, 40, ::TempEPtr<::Mob>> mFollowingMob;
23 ::ll::TypedStorage<8, 32, ::std::string> mPreferredActorType;
24 ::ll::TypedStorage<4, 4, float> mSpeedMultiplier;
25 ::ll::TypedStorage<4, 4, float> mStopDistance;
26 ::ll::TypedStorage<4, 4, int> mTimeToRecalcPath;
27 ::ll::TypedStorage<4, 4, int> mSearchRange;
28 ::ll::TypedStorage<1, 1, bool> mUseHomePositionRestriction;
29 ::ll::TypedStorage<1, 1, bool> mAbortNavigationOnStop;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 FollowMobGoal& operator=(FollowMobGoal const&);
35 FollowMobGoal(FollowMobGoal const&);
36 FollowMobGoal();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual bool canUse() /*override*/;
42
43 virtual bool canContinueToUse() /*override*/;
44
45 virtual void start() /*override*/;
46
47 virtual void stop() /*override*/;
48
49 virtual void tick() /*override*/;
50
51 virtual void appendDebugInfo(::std::string& str) const /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI ::gsl::span<::gsl::not_null<::Actor*>> _findCandidateMobs();
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCAPI bool $canUse();
64
65 MCAPI bool $canContinueToUse();
66
67 MCAPI void $start();
68
69 MCAPI void $stop();
70
71 MCAPI void $tick();
72
73 MCAPI void $appendDebugInfo(::std::string& str) const;
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition Actor.h:113
Definition BaseGoal.h:12
static MCAPI void ** $vftable()
Definition Mob.h:56