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
13class HashedString;
14class ItemStack;
15class Player;
17namespace Bedrock::PubSub { class Subscription; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseSubscription;
25 ::ll::TypedStorage<8, 64, ::std::optional<::DefinitionTrigger>> mOnUseTrigger;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 7
36 virtual void _initializeComponent() /*override*/;
37
38 // vIndex: 0
39 virtual ~LegacyOnUseTriggerItemComponent() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
46
47 MCAPI void _use(bool& result, ::ItemStack& item, ::Player& player);
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static ::HashedString const& getIdentifier();
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::LegacyOnUseTriggerItemComponentData&& data);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI void $_initializeComponent();
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
Definition DefinitionTrigger.h:11
Definition HashedString.h:5
Definition ItemStack.h:25
Definition LegacyOnUseTriggerItemComponent.h:20
static MCAPI void ** $vftable()
Definition LegacyTriggerItemComponent.h:17
Definition Player.h:119
Definition LegacyOnUseTriggerItemComponentData.h:5