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
35 virtual ~LegacyEventItemComponent() /*override*/ = default;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI explicit LegacyEventItemComponent(::LegacyEventItemComponentData&& componentData);
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(::LegacyEventItemComponentData&& componentData);
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI void $_initializeComponent(::ComponentItem& owner);
54
55
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition Subscription.h:10
Definition ComponentItem.h:55
Definition DefinitionEvent.h:17
Definition ILegacyItemTriggerHandler.h:13
Definition ItemComponent.h:16
static MCAPI void ** $vftable()
Definition LegacyEventItemComponentData.h:10