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/Goal.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class Mob;
14// clang-format on
15
16class FollowMobGoal : public ::Goal {
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 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 FollowMobGoal& operator=(FollowMobGoal const&);
34 FollowMobGoal(FollowMobGoal const&);
35 FollowMobGoal();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual bool canUse() /*override*/;
41
42 virtual bool canContinueToUse() /*override*/;
43
44 virtual void start() /*override*/;
45
46 virtual void stop() /*override*/;
47
48 virtual void tick() /*override*/;
49
50 virtual void appendDebugInfo(::std::string& str) const /*override*/;
51
52 virtual ~FollowMobGoal() /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI ::gsl::span<::gsl::not_null<::Actor*>> _findCandidateMobs();
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI bool $canUse();
71
72 MCAPI bool $canContinueToUse();
73
74 MCAPI void $start();
75
76 MCAPI void $stop();
77
78 MCAPI void $tick();
79
80 MCAPI void $appendDebugInfo(::std::string& str) const;
81
82
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
Definition Actor.h:105
static MCAPI void ** $vftable()
Definition Goal.h:14
Definition Mob.h:50