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 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI WitherTargetHighestDamage(::WitherBoss& witherBoss, ::std::vector<::MobDescriptor> const& targetTypes);
55
56 MCAPI ::Player* getHighestDamageTarget();
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::WitherBoss& witherBoss, ::std::vector<::MobDescriptor> const& targetTypes);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI bool $canUse();
69
70 MCAPI bool $canContinueToUse();
71
72 MCAPI void $appendDebugInfo(::std::string& str) const;
73
74 MCAPI void $start();
75
76 MCAPI bool $_canAttack(
77 ::Mob* testMob,
78 ::Actor* target,
79 bool allowInvulnerable,
80 bool mustSee,
81 ::MobDescriptor const** outDescriptorMatch
82 );
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition Actor.h:125
Definition Mob.h:57
Definition Player.h:137
Definition WitherBoss.h:34
static MCAPI void ** $vftable()
Definition MobDescriptor.h:13