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 explicit FindMountGoal(::Mob& mob);
62
63 MCAPI bool isInMountRange();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void* $ctor(::Mob& mob);
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI bool $canUse();
76
77 MCAPI bool $canContinueToUse();
78
79 MCAPI void $start();
80
81 MCAPI void $stop();
82
83 MCAPI void $tick();
84
85 MCAPI void $appendDebugInfo(::std::string& str) const;
86
87
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition Actor.h:125
static MCAPI void ** $vftable()
Definition Mob.h:57
Definition Path.h:16