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/BaseGoal.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 ::BaseGoal {
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*/ = default;
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 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI bool $canUse();
68
69 MCAPI bool $canContinueToUse();
70
71 MCAPI void $start();
72
73 MCAPI void $stop();
74
75 MCAPI void $tick();
76
77 MCAPI void $appendDebugInfo(::std::string& str) const;
78
79
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition Actor.h:113
Definition BaseGoal.h:12
static MCAPI void ** $vftable()
Definition Mob.h:56
Definition Path.h:16