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/BaseGoal.h"
8
9// auto generated forward declare list
10// clang-format off
11class Horse;
12class Skeleton;
13// clang-format on
14
15class SkeletonHorseTrapGoal : public ::BaseGoal {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::Horse&> mHorse;
20 ::ll::TypedStorage<4, 4, int> mTrapLifeTicks;
21 ::ll::TypedStorage<4, 4, float> mTriggerDistance;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 SkeletonHorseTrapGoal& operator=(SkeletonHorseTrapGoal const&);
27 SkeletonHorseTrapGoal(SkeletonHorseTrapGoal const&);
28 SkeletonHorseTrapGoal();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void tick() /*override*/;
34
35 virtual bool canUse() /*override*/;
36
37 virtual void start() /*override*/;
38
39 virtual void appendDebugInfo(::std::string& debugInfo) const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI SkeletonHorseTrapGoal(::Horse& mob, int trapLifeTicks, float triggerDistance);
46
47 MCAPI ::Horse* _createHorse(::SharedTypes::Legacy::Difficulty const&);
48
49 MCAPI ::Skeleton* _createSkeleton(::SharedTypes::Legacy::Difficulty const& otherHorse, ::Horse const&);
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::Horse& mob, int trapLifeTicks, float triggerDistance);
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI void $tick();
62
63 MCAPI bool $canUse();
64
65 MCFOLD void $start();
66
67 MCAPI void $appendDebugInfo(::std::string& debugInfo) const;
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition Horse.h:28
static MCAPI void ** $vftable()
Definition Skeleton.h:20