LeviLamina
Loading...
Searching...
No Matches
LegacyOnCompleteTriggerItemComponent.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/ItemUseMethod.h"
9#include "mc/world/item/components/LegacyTriggerItemComponent.h"
10
11// auto generated forward declare list
12// clang-format off
13class ComponentItem;
14class HashedString;
15class ItemStack;
16class Level;
17class Player;
19namespace Bedrock::PubSub { class Subscription; }
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseTimeDepletedSubscription;
27 ::ll::TypedStorage<8, 64, ::std::optional<::DefinitionTrigger>> mOnComplete;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 7
38 virtual void _initializeComponent(::ComponentItem& owner) /*override*/;
39
40 // vIndex: 0
41 virtual ~LegacyOnCompleteTriggerItemComponent() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
48
49 MCAPI void _onUseTimeDepleted(
50 ::ItemUseMethod& itemUseMethod,
51 ::ItemStack const&,
52 ::ItemStack& item,
53 ::Player& player,
54 ::Level& level
55 );
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static ::HashedString const& getIdentifier();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::LegacyOnCompleteTriggerItemComponentData&& componentData);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI void $_initializeComponent(::ComponentItem& owner);
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
Definition ComponentItem.h:53
Definition HashedString.h:5
Definition ItemStack.h:23
Definition LegacyOnCompleteTriggerItemComponent.h:22
static MCAPI void ** $vftable()
Definition LegacyTriggerItemComponent.h:17
Definition Level.h:243
Definition Player.h:123
Definition LegacyOnCompleteTriggerItemComponentData.h:8