LeviLamina
Loading...
Searching...
No Matches
PlayGoal.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/TempEPtr.h"
8#include "mc/world/actor/ai/goal/Goal.h"
9
10// auto generated forward declare list
11// clang-format off
12class Mob;
13struct MobDescriptor;
14// clang-format on
15
16class PlayGoal : public ::Goal {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, float> mSpeedModifier;
21 ::ll::TypedStorage<4, 4, int> mMaxPlayDurationTicks;
22 ::ll::TypedStorage<4, 4, float> mChanceToStart;
23 ::ll::TypedStorage<8, 24, ::std::vector<::MobDescriptor>> mFriendTypes;
24 ::ll::TypedStorage<4, 12, ::Vec3> mFriendSearchArea;
25 ::ll::TypedStorage<4, 4, int> mRandomPosSearchRange;
26 ::ll::TypedStorage<4, 4, int> mRandomPosSearchHeight;
27 ::ll::TypedStorage<4, 4, int> mFollowDistanceInBlocksSquared;
28 ::ll::TypedStorage<4, 4, int> mCurrentPlayDurationTicks;
29 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
30 ::ll::TypedStorage<8, 40, ::TempEPtr<::Mob>> mFollowFriend;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 PlayGoal& operator=(PlayGoal const&);
36 PlayGoal(PlayGoal const&);
37 PlayGoal();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual bool canUse() /*override*/;
43
44 virtual bool canContinueToUse() /*override*/;
45
46 virtual void start() /*override*/;
47
48 virtual void stop() /*override*/;
49
50 virtual void tick() /*override*/;
51
52 virtual void appendDebugInfo(::std::string& str) const /*override*/;
53
54 virtual ~PlayGoal() /*override*/ = default;
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI bool $canUse();
61
62 MCAPI bool $canContinueToUse();
63
64 MCAPI void $start();
65
66 MCAPI void $stop();
67
68 MCAPI void $tick();
69
70 MCAPI void $appendDebugInfo(::std::string& str) const;
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition Goal.h:14
Definition Mob.h:51
static MCAPI void ** $vftable()
Definition MobDescriptor.h:8