LeviLamina
Loading...
Searching...
No Matches
LegacyOnUseTriggerItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/Subscription.h"
7#include "mc/world/actor/DefinitionTrigger.h"
8#include "mc/world/item/components/LegacyTriggerItemComponent.h"
9
10// auto generated forward declare list
11// clang-format off
12class ComponentItem;
13class HashedString;
14class ItemStack;
15class Player;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
24 ::ll::TypedStorage<8, 64, ::std::optional<::DefinitionTrigger>> mOnUseTrigger;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 7
35 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
36
37 // vIndex: 0
38 virtual ~LegacyOnUseTriggerItemComponent() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
45
46 MCAPI void _use(bool& result, ::ItemStack& item, ::Player& player);
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static ::HashedString const& getIdentifier();
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(::LegacyOnUseTriggerItemComponentData&& data);
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI void $_initializeComponent(::ComponentItem& owner);
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition ComponentItem.h:53
Definition HashedString.h:5
Definition ItemStack.h:23
Definition LegacyOnUseTriggerItemComponent.h:19
static MCAPI void ** $vftable()
Definition LegacyTriggerItemComponent.h:17
Definition Player.h:123
Definition LegacyOnUseTriggerItemComponentData.h:8