LeviLamina
Loading...
Searching...
No Matches
DelayedAttackGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ActorFlags.h"
8#include "mc/world/actor/ai/goal/MeleeAttackGoal.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class BaseGameVersion;
14class Mob;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, int> mAttackDurationTicks;
22 ::ll::TypedStorage<4, 4, int> mPostPathingTicks;
23 ::ll::TypedStorage<4, 4, int> mHitDelayTicks;
24 ::ll::TypedStorage<4, 4, ::ActorFlags> mAttackFlag;
25 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSound;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 1
32 virtual bool canUse() /*override*/;
33
34 // vIndex: 2
35 virtual bool canContinueToUse() /*override*/;
36
37 // vIndex: 4
38 virtual void start() /*override*/;
39
40 // vIndex: 5
41 virtual void stop() /*override*/;
42
43 // vIndex: 6
44 virtual void tick() /*override*/;
45
46 // vIndex: 7
47 virtual void appendDebugInfo(::std::string& str) const /*override*/;
48
49 // vIndex: 10
50 virtual int getAttackTicksResetValue() const /*override*/;
51
52 // vIndex: 0
53 virtual ~DelayedAttackGoal() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI void _attemptAttack(::Actor& target, bool canReach, bool hasLineOfSight);
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static bool _isTargetInLineOfSightLegacy(::Mob const& mob, ::Actor const& target);
66 // NOLINTEND
67
68public:
69 // static variables
70 // NOLINTBEGIN
71 MCAPI static ::BaseGameVersion const& mMinLineOfSightFixVersion();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCFOLD bool $canUse();
78
79 MCAPI bool $canContinueToUse();
80
81 MCFOLD void $start();
82
83 MCAPI void $stop();
84
85 MCAPI void $tick();
86
87 MCAPI void $appendDebugInfo(::std::string& str) const;
88
89 MCAPI int $getAttackTicksResetValue() const;
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition Actor.h:102
Definition BaseGameVersion.h:8
Definition DelayedAttackGoal.h:17
static MCAPI void ** $vftable()
Definition MeleeAttackGoal.h:16
Definition Mob.h:47