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