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