LeviLamina
Loading...
Searching...
No Matches
SkeletonHorseTrapGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/Difficulty.h"
7#include "mc/world/actor/ai/goal/Goal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Horse;
12class Player;
13class Skeleton;
14// clang-format on
15
16class SkeletonHorseTrapGoal : public ::Goal {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Horse&> mHorse;
21 ::ll::TypedStorage<4, 4, int> mTrapLifeTicks;
22 ::ll::TypedStorage<4, 4, float> mTriggerDistance;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 SkeletonHorseTrapGoal& operator=(SkeletonHorseTrapGoal const&);
28 SkeletonHorseTrapGoal(SkeletonHorseTrapGoal const&);
29 SkeletonHorseTrapGoal();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual void tick() /*override*/;
35
36 virtual bool canUse() /*override*/;
37
38 virtual void start() /*override*/;
39
40 virtual void appendDebugInfo(::std::string& debugInfo) const /*override*/;
41
42 virtual ~SkeletonHorseTrapGoal() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI ::Horse* _createHorse(::SharedTypes::Legacy::Difficulty const& difficulty);
49
50 MCAPI ::Skeleton* _createSkeleton(::SharedTypes::Legacy::Difficulty const& difficulty, ::Horse const& otherHorse);
51
52 MCAPI ::Player* _getClosestPlayer() const;
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI void $tick();
59
60 MCAPI bool $canUse();
61
62 MCFOLD void $start();
63
64 MCAPI void $appendDebugInfo(::std::string& debugInfo) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition Goal.h:14
Definition Horse.h:24
Definition Player.h:125
static MCAPI void ** $vftable()
Definition Skeleton.h:19