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: 0
50 virtual ~DelayedAttackGoal() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI void _attemptAttack(::Actor* target, bool canReach, bool hasLineOfSight);
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCAPI static bool _isTargetInLineOfSightLegacy(::Mob const& mob, ::Actor const& target);
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCAPI static ::BaseGameVersion const& mMinLineOfSightFixVersion();
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCFOLD bool $canUse();
81
82 MCAPI bool $canContinueToUse();
83
84 MCFOLD void $start();
85
86 MCAPI void $stop();
87
88 MCAPI void $tick();
89
90 MCAPI void $appendDebugInfo(::std::string& str) const;
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCAPI static void** $vftable();
97 // NOLINTEND
98};
Definition Actor.h:104
Definition BaseGameVersion.h:13
Definition DelayedAttackGoal.h:17
Definition MeleeAttackGoal.h:16
Definition Mob.h:47