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;
15struct GoalId;
16// clang-format on
17
18class DelayedAttackGoal : public ::MeleeAttackGoal {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mAttackDurationTicks;
23 ::ll::TypedStorage<4, 4, int> mPostPathingTicks;
24 ::ll::TypedStorage<4, 4, int> mHitDelayTicks;
25 ::ll::TypedStorage<4, 4, ::ActorFlags> mAttackFlag;
26 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSound;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 DelayedAttackGoal();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual bool canUse() /*override*/;
37
38 virtual bool canContinueToUse() /*override*/;
39
40 virtual void start() /*override*/;
41
42 virtual void stop() /*override*/;
43
44 virtual void tick() /*override*/;
45
46 virtual void appendDebugInfo(::std::string& str) const /*override*/;
47
48 virtual int getAttackTicksResetValue() const /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI DelayedAttackGoal(::Mob& mob, ::std::string name, ::GoalId const& goalId);
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static bool _isTargetInLineOfSightLegacy(::Mob const& mob, ::Actor const& target);
61 // NOLINTEND
62
63public:
64 // static variables
65 // NOLINTBEGIN
66 MCAPI static ::BaseGameVersion const& mMinLineOfSightFixVersion();
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor(::Mob& mob, ::std::string name, ::GoalId const& goalId);
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI bool $canUse();
79
80 MCAPI bool $canContinueToUse();
81
82 MCAPI void $start();
83
84 MCAPI void $stop();
85
86 MCAPI void $tick();
87
88 MCAPI void $appendDebugInfo(::std::string& str) const;
89
90 MCAPI int $getAttackTicksResetValue() const;
91
92
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCNAPI static void** $vftable();
99 // NOLINTEND
100};
Definition Actor.h:113
Definition BaseGameVersion.h:8
static MCAPI void ** $vftable()
Definition Mob.h:56
Definition GoalId.h:5