LeviLamina
Loading...
Searching...
No Matches
FindMountGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/TempEPtr.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Mob;
13class Path;
14// clang-format on
15
16class FindMountGoal : public ::Goal {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 40, ::TempEPtr<::Actor>> mTarget;
21 ::ll::TypedStorage<4, 4, float> mTargetDist;
22 ::ll::TypedStorage<4, 4, int> mTimeToRecalcPath;
23 ::ll::TypedStorage<4, 4, int> mStartCounter;
24 ::ll::TypedStorage<4, 4, int> mStartDelay;
25 ::ll::TypedStorage<1, 1, bool> mAvoidWater;
26 ::ll::TypedStorage<1, 1, bool> mTargetNeeded;
27 ::ll::TypedStorage<4, 4, float> mMountDistance;
28 ::ll::TypedStorage<4, 4, int> mFailedAttemptsCounter;
29 ::ll::TypedStorage<4, 4, int> mMaxFailedAttempts;
30 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
31 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Path>> mPath;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 FindMountGoal& operator=(FindMountGoal const&);
37 FindMountGoal(FindMountGoal const&);
38 FindMountGoal();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual ~FindMountGoal() /*override*/;
44
45 virtual bool canUse() /*override*/;
46
47 virtual bool canContinueToUse() /*override*/;
48
49 virtual void start() /*override*/;
50
51 virtual void stop() /*override*/;
52
53 virtual void tick() /*override*/;
54
55 virtual void appendDebugInfo(::std::string& str) const /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI bool isInMountRange();
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCAPI void $dtor();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI bool $canUse();
74
75 MCAPI bool $canContinueToUse();
76
77 MCAPI void $start();
78
79 MCAPI void $stop();
80
81 MCAPI void $tick();
82
83 MCAPI void $appendDebugInfo(::std::string& str) const;
84
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition Actor.h:105
static MCAPI void ** $vftable()
Definition Goal.h:14
Definition Mob.h:50
Definition Path.h:16