LeviLamina
Loading...
Searching...
No Matches
LegacyEventItemComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/components/ItemComponent.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
DefinitionEvent
;
11
class
ILegacyItemTriggerHandler
;
12
struct
LegacyEventItemComponentData
;
13
namespace
Bedrock::PubSub {
class
Subscription; }
14
// clang-format on
15
16
class
LegacyEventItemComponent
:
public
::ItemComponent
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<8, 24, ::std::vector<::Bedrock::PubSub::Subscription>> mTriggerSubscriptions;
21
::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::DefinitionEvent>> mEventHandlers;
22
::ll::TypedStorage<8, 8, ::ILegacyItemTriggerHandler*> mTriggerHandler;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
LegacyEventItemComponent
();
28
29
public
:
30
// virtual functions
31
// NOLINTBEGIN
32
// vIndex: 7
33
virtual
void
_initializeComponent()
/*override*/
;
34
35
// vIndex: 0
36
virtual
~LegacyEventItemComponent
()
/*override*/
=
default
;
37
// NOLINTEND
38
39
public
:
40
// member functions
41
// NOLINTBEGIN
42
MCAPI
explicit
LegacyEventItemComponent
(
::LegacyEventItemComponentData
&& componentData);
43
// NOLINTEND
44
45
public
:
46
// constructor thunks
47
// NOLINTBEGIN
48
MCAPI
void
* $ctor(
::LegacyEventItemComponentData
&& componentData);
49
// NOLINTEND
50
51
public
:
52
// virtual function thunks
53
// NOLINTBEGIN
54
MCAPI
void
$_initializeComponent();
55
// NOLINTEND
56
57
public
:
58
// vftables
59
// NOLINTBEGIN
60
MCNAPI
static
void
**
$vftable
();
61
// NOLINTEND
62
};
DefinitionEvent
Definition
DefinitionEvent.h:17
ILegacyItemTriggerHandler
Definition
ILegacyItemTriggerHandler.h:13
ItemComponent
Definition
ItemComponent.h:16
LegacyEventItemComponent
Definition
LegacyEventItemComponent.h:16
LegacyEventItemComponent::$vftable
static MCAPI void ** $vftable()
LegacyEventItemComponentData
Definition
LegacyEventItemComponentData.h:10
src
mc
world
item
components
LegacyEventItemComponent.h
Generated on Fri Jun 13 2025 05:05:08 for LeviLamina by
1.12.0