LeviLamina
Loading...
Searching...
No Matches
LegacyOnHurtActorTriggerItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/Subscription.h"
7#include "mc/world/actor/DefinitionTrigger.h"
8#include "mc/world/item/components/LegacyTriggerItemComponent.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class ComponentItem;
14class HashedString;
15class ItemStack;
16class Mob;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnHurtActorSubscription;
25 ::ll::TypedStorage<8, 64, ::std::optional<::DefinitionTrigger>> mOnHurtActor;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 7
36 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
37
38 // vIndex: 0
39 virtual ~LegacyOnHurtActorTriggerItemComponent() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
46
47 MCAPI void _onHurtActor(int& durabilityDamage, ::ItemStack& item, ::Actor& actor, ::Mob& attacker);
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static ::HashedString const& getIdentifier();
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::LegacyOnHurtActorTriggerItemComponentData&& componentData);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI void $_initializeComponent(::ComponentItem& owner);
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
Definition Actor.h:102
Definition ComponentItem.h:53
Definition HashedString.h:5
Definition ItemStack.h:23
Definition LegacyOnHurtActorTriggerItemComponent.h:20
Definition LegacyTriggerItemComponent.h:17
Definition Mob.h:47
Definition LegacyOnHurtActorTriggerItemComponentData.h:8