Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RiverFollowingGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/world/actor/ai/goal/BaseGoal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Mob;
12struct GoalId;
13// clang-format on
14
15class RiverFollowingGoal : public ::BaseGoal {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
20 ::ll::TypedStorage<4, 12, ::Vec3> mHeading;
21 ::ll::TypedStorage<4, 4, float> mLookAhead;
22 ::ll::TypedStorage<4, 4, float> mSpeed;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 RiverFollowingGoal& operator=(RiverFollowingGoal const&);
28 RiverFollowingGoal(RiverFollowingGoal const&);
29 RiverFollowingGoal();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual bool canUse() /*override*/;
35
36 virtual void start() /*override*/;
37
38 virtual void stop() /*override*/;
39
40 virtual void tick() /*override*/;
41
42 virtual bool canContinueToUse() /*override*/;
43
44 virtual void appendDebugInfo(::std::string& str) const /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCNAPI RiverFollowingGoal(::Mob& mob, ::std::string name, ::GoalId const& goalId, float lookAhead, float speed);
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCNAPI void* $ctor(::Mob& mob, ::std::string name, ::GoalId const& goalId, float lookAhead, float speed);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI bool $canUse();
63
64 MCNAPI void $start();
65
66 MCNAPI void $stop();
67
68 MCNAPI void $tick();
69
70 MCNAPI bool $canContinueToUse();
71
72 MCNAPI void $appendDebugInfo(::std::string& str) const;
73
74
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition BaseGoal.h:12
Definition Mob.h:58
MCAPI void $tick()
MCAPI void $start()
MCAPI void $stop()
MCAPI bool $canUse()
MCAPI void * $ctor(::Mob &mob, ::std::string name, ::GoalId const &goalId, float lookAhead, float speed)
MCAPI RiverFollowingGoal(::Mob &mob, ::std::string name, ::GoalId const &goalId, float lookAhead, float speed)
static MCAPI void ** $vftable()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $canContinueToUse()
Definition GoalId.h:5