LeviLamina
Loading...
Searching...
No Matches
WitherTargetHighestDamage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/goal/target/TargetGoal.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Mob;
12class Player;
13class WitherBoss;
14struct MobDescriptor;
15// clang-format on
16
17class WitherTargetHighestDamage : public ::TargetGoal {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::WitherBoss&> mWitherBoss;
22 ::ll::TypedStorage<8, 8, ::Mob*> mTarget;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 WitherTargetHighestDamage& operator=(WitherTargetHighestDamage const&);
28 WitherTargetHighestDamage(WitherTargetHighestDamage const&);
29 WitherTargetHighestDamage();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual bool canUse() /*override*/;
35
36 virtual bool canContinueToUse() /*override*/;
37
38 virtual void appendDebugInfo(::std::string& str) const /*override*/;
39
40 virtual void start() /*override*/;
41
42 virtual bool _canAttack(
43 ::Mob* testMob,
44 ::Actor* target,
45 bool allowInvulnerable,
46 bool mustSee,
47 ::MobDescriptor const** outDescriptorMatch
48 ) /*override*/;
49
50 virtual ~WitherTargetHighestDamage() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI ::Player* getHighestDamageTarget();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI bool $canUse();
63
64 MCAPI bool $canContinueToUse();
65
66 MCAPI void $appendDebugInfo(::std::string& str) const;
67
68 MCAPI void $start();
69
70 MCAPI bool $_canAttack(
71 ::Mob* testMob,
72 ::Actor* target,
73 bool allowInvulnerable,
74 bool mustSee,
75 ::MobDescriptor const** outDescriptorMatch
76 );
77
78
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
Definition Actor.h:105
Definition Mob.h:50
Definition Player.h:125
Definition WitherBoss.h:31
static MCAPI void ** $vftable()
Definition MobDescriptor.h:8