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/world/item/components/LegacyTriggerItemComponent.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
12class HashedString;
13class ItemStack;
14class Mob;
16namespace Bedrock::PubSub { class Subscription; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnHurtActorSubscription;
24 ::ll::TypedStorage<8, 264, ::std::optional<::DefinitionTrigger>> mOnHurtActor;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 7
31 virtual void _initializeComponent() /*override*/;
32
33 // vIndex: 0
34 virtual ~LegacyOnHurtActorTriggerItemComponent() /*override*/ = default;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
41
42 MCAPI void _onHurtActor(int& durabilityDamage, ::ItemStack& item, ::Actor& actor, ::Mob& attacker);
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static ::HashedString const& getIdentifier();
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::LegacyOnHurtActorTriggerItemComponentData&& componentData);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI void $_initializeComponent();
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition Actor.h:104
Definition DefinitionTrigger.h:10
Definition HashedString.h:5
Definition ItemStack.h:25
Definition LegacyOnHurtActorTriggerItemComponent.h:19
Definition LegacyTriggerItemComponent.h:17
Definition Mob.h:47
Definition LegacyOnHurtActorTriggerItemComponentData.h:5