Skip to content
LeviMC
English
AutoLightDark
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
10class ComponentItem;
11class DefinitionEvent;
14namespace Bedrock::PubSub { class Subscription; }
15// clang-format on
16
17class LegacyEventItemComponent : public ::ItemComponent {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::Bedrock::PubSub::Subscription>> mTriggerSubscriptions;
22 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::DefinitionEvent>> mEventHandlers;
23 ::ll::TypedStorage<8, 8, ::ILegacyItemTriggerHandler*> mTriggerHandler;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 LegacyEventItemComponent();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45 MCNAPI void* $ctor(::LegacyEventItemComponentData&& componentData);
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
52
53
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
Definition Subscription.h:10
Definition ComponentItem.h:52
Definition DefinitionEvent.h:18
Definition ILegacyItemTriggerHandler.h:13
Definition ItemComponent.h:16
MCAPI void $_initializeComponent(::ComponentItem &owner)
static MCAPI void ** $vftable()
MCAPI LegacyEventItemComponent(::LegacyEventItemComponentData &&componentData)
MCAPI void * $ctor(::LegacyEventItemComponentData &&componentData)
Definition LegacyEventItemComponentData.h:10