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 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~FindMountGoal() /*override*/ = default;
39
40 // vIndex: 1
41 virtual bool canUse() /*override*/;
42
43 // vIndex: 2
44 virtual bool canContinueToUse() /*override*/;
45
46 // vIndex: 4
47 virtual void start() /*override*/;
48
49 // vIndex: 5
50 virtual void stop() /*override*/;
51
52 // vIndex: 6
53 virtual void tick() /*override*/;
54
55 // vIndex: 7
56 virtual void appendDebugInfo(::std::string& str) const /*override*/;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
62 MCAPI bool isInMountRange();
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI bool $canUse();
75
76 MCAPI bool $canContinueToUse();
77
78 MCAPI void $start();
79
80 MCAPI void $stop();
81
82 MCAPI void $tick();
83
84 MCAPI void $appendDebugInfo(::std::string& str) const;
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition Actor.h:104
Definition FindMountGoal.h:16
Definition Goal.h:14
Definition Mob.h:47
Definition Path.h:16