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