LeviLamina
Loading...
Searching...
No Matches
SwimWithEntityGoal.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;
13struct MobDescriptor;
14// clang-format on
15
16class SwimWithEntityGoal : public ::Goal {
17public:
18 // SwimWithEntityGoal inner types define
19 enum class EntityGoals : int {
20 CatchUpToEntity = 0,
21 MatchEntityDirection = 1,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
28 ::ll::TypedStorage<8, 40, ::TempEPtr<::Actor>> mFollowing;
29 ::ll::TypedStorage<4, 4, int> mIntervalRefreshTicks;
30 ::ll::TypedStorage<4, 4, int> mIntervalTicks;
31 ::ll::TypedStorage<4, 4, float> mChanceToStop;
32 ::ll::TypedStorage<4, 4, float> mSuccessRate;
33 ::ll::TypedStorage<4, 4, float> mCatchUpThreshold;
34 ::ll::TypedStorage<4, 4, float> mMatchDirectionThreshold;
35 ::ll::TypedStorage<4, 4, float> mCatchUpMultiplier;
36 ::ll::TypedStorage<4, 4, float> mSpeedMultiplier;
37 ::ll::TypedStorage<4, 4, float> mSearchRange;
38 ::ll::TypedStorage<4, 4, float> mStopDistance;
39 ::ll::TypedStorage<4, 4, ::SwimWithEntityGoal::EntityGoals> mCurrentGoal;
40 ::ll::TypedStorage<8, 24, ::std::vector<::MobDescriptor>> mTargetTypes;
41 // NOLINTEND
42
43public:
44 // prevent constructor by default
45 SwimWithEntityGoal& operator=(SwimWithEntityGoal const&);
48
49public:
50 // virtual functions
51 // NOLINTBEGIN
52 // vIndex: 1
53 virtual bool canUse() /*override*/;
54
55 // vIndex: 2
56 virtual bool canContinueToUse() /*override*/;
57
58 // vIndex: 3
59 virtual bool canBeInterrupted() /*override*/;
60
61 // vIndex: 4
62 virtual void start() /*override*/;
63
64 // vIndex: 5
65 virtual void stop() /*override*/;
66
67 // vIndex: 6
68 virtual void tick() /*override*/;
69
70 // vIndex: 7
71 virtual void appendDebugInfo(::std::string& str) const /*override*/;
72
73 // vIndex: 0
74 virtual ~SwimWithEntityGoal() /*override*/ = default;
75 // NOLINTEND
76
77public:
78 // member functions
79 // NOLINTBEGIN
80 MCNAPI bool _setWantedMob();
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCNAPI bool $canUse();
87
88 MCNAPI bool $canContinueToUse();
89
90 MCNAPI bool $canBeInterrupted();
91
92 MCNAPI void $start();
93
94 MCNAPI void $stop();
95
96 MCNAPI void $tick();
97
98 MCNAPI void $appendDebugInfo(::std::string& str) const;
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCNAPI static void** $vftable();
105 // NOLINTEND
106};
Definition Actor.h:103
Definition Goal.h:14
Definition Mob.h:47
Definition SwimWithEntityGoal.h:16
MCAPI void $start()
MCAPI void $stop()
MCAPI void $tick()
MCAPI bool $canBeInterrupted()
MCAPI bool $canContinueToUse()
MCAPI bool _setWantedMob()
static MCAPI void ** $vftable()
MCAPI bool $canUse()
MCAPI void $appendDebugInfo(::std::string &str) const
Definition MobDescriptor.h:5