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
10
class
Actor
;
11
class
DefinitionTrigger
;
12
class
HashedString
;
13
class
ItemStack
;
14
class
Mob
;
15
struct
LegacyOnHurtActorTriggerItemComponentData
;
16
namespace
Bedrock::PubSub {
class
Subscription; }
17
// clang-format on
18
19
class
LegacyOnHurtActorTriggerItemComponent
:
public
::LegacyTriggerItemComponent
{
20
public
:
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
27
public
:
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
37
public
:
38
// member functions
39
// NOLINTBEGIN
40
MCAPI
explicit
LegacyOnHurtActorTriggerItemComponent
(
::LegacyOnHurtActorTriggerItemComponentData
&& componentData);
41
42
MCAPI
void
_onHurtActor(
int
& durabilityDamage,
::ItemStack
& item,
::Actor
& actor,
::Mob
& attacker);
43
// NOLINTEND
44
45
public
:
46
// static functions
47
// NOLINTBEGIN
48
MCAPI static ::HashedString
const
& getIdentifier();
49
// NOLINTEND
50
51
public
:
52
// constructor thunks
53
// NOLINTBEGIN
54
MCAPI
void
* $ctor(
::LegacyOnHurtActorTriggerItemComponentData
&& componentData);
55
// NOLINTEND
56
57
public
:
58
// destructor thunk
59
// NOLINTBEGIN
60
61
// NOLINTEND
62
63
public
:
64
// virtual function thunks
65
// NOLINTBEGIN
66
MCAPI
void
$_initializeComponent();
67
// NOLINTEND
68
69
public
:
70
// vftables
71
// NOLINTBEGIN
72
MCAPI
static
void
** $vftable();
73
// NOLINTEND
74
};
Actor
Definition
Actor.h:104
DefinitionTrigger
Definition
DefinitionTrigger.h:10
HashedString
Definition
HashedString.h:5
ItemStack
Definition
ItemStack.h:25
LegacyOnHurtActorTriggerItemComponent
Definition
LegacyOnHurtActorTriggerItemComponent.h:19
LegacyTriggerItemComponent
Definition
LegacyTriggerItemComponent.h:17
Mob
Definition
Mob.h:47
LegacyOnHurtActorTriggerItemComponentData
Definition
LegacyOnHurtActorTriggerItemComponentData.h:5
src
mc
world
item
components
LegacyOnHurtActorTriggerItemComponent.h
Generated on Sat Apr 26 2025 05:56:13 for LeviLamina by
1.12.0