LeviLamina
Loading...
Searching...
No Matches
DefendTrustedTargetGoal.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/ActorDefinitionTrigger.h"
8#include "mc/world/actor/ai/goal/target/NearestAttackableTargetGoal.h"
9
10// auto generated forward declare list
11// clang-format off
12class Mob;
13struct ActorUniqueID;
14struct MobDescriptor;
15struct TrustComponent;
16// clang-format on
17
18class DefendTrustedTargetGoal : public ::NearestAttackableTargetGoal {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mAggroSound;
23 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger const> mOnStartEvent;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 DefendTrustedTargetGoal();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual bool canUse() /*override*/;
34
35 virtual void start() /*override*/;
36
37 virtual void appendDebugInfo(::std::string& str) const /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI DefendTrustedTargetGoal(
44 ::Mob& mob,
45 ::std::vector<::MobDescriptor> const& targetTypes,
46 float within,
47 int attackInterval,
48 bool mustSee,
49 int mustSeeForgetTicks,
50 ::SharedTypes::Legacy::LevelSoundEvent sound,
51 ::ActorDefinitionTrigger const& onStartEvent
52 );
53
54 MCAPI ::ActorUniqueID _findTrustedTarget(::TrustComponent const& trust);
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(
61 ::Mob& mob,
62 ::std::vector<::MobDescriptor> const& targetTypes,
63 float within,
64 int attackInterval,
65 bool mustSee,
66 int mustSeeForgetTicks,
67 ::SharedTypes::Legacy::LevelSoundEvent sound,
68 ::ActorDefinitionTrigger const& onStartEvent
69 );
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI bool $canUse();
76
77 MCAPI void $start();
78
79 MCAPI void $appendDebugInfo(::std::string& str) const;
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition ActorDefinitionTrigger.h:16
static MCAPI void ** $vftable()
Definition Mob.h:57
Definition ActorUniqueID.h:10
Definition MobDescriptor.h:13
Definition TrustComponent.h:16