LeviLamina
Loading...
Searching...
No Matches
LegacyOnUseOnTriggerItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/components/LegacyTriggerItemComponent.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockPos;
13class HashedString;
14class ItemStack;
16class Vec3;
17namespace Bedrock::PubSub { class Subscription; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseOnSubscription;
25 ::ll::TypedStorage<8, 264, ::std::optional<::DefinitionTrigger>> mOnUseOnTrigger;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 7
32 virtual void _initializeComponent() /*override*/;
33
34 // vIndex: 0
35 virtual ~LegacyOnUseOnTriggerItemComponent() /*override*/ = default;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
42
43 MCAPI void _useOn(
44 bool& result,
45 ::ItemStack const& currentItemStack,
46 ::ItemStack& entity,
47 ::Actor& pos,
48 ::BlockPos const& face,
49 uchar clickPos,
50 ::Vec3 const& initialItemStack
51 );
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCAPI static ::HashedString const& getIdentifier();
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::OnUseOnItemComponentLegacyFactoryData&& data);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI void $_initializeComponent();
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCAPI static void** $vftable();
82 // NOLINTEND
83};
Definition Actor.h:104
Definition BlockPos.h:18
Definition DefinitionTrigger.h:10
Definition HashedString.h:5
Definition ItemStack.h:25
Definition LegacyOnUseOnTriggerItemComponent.h:20
Definition LegacyTriggerItemComponent.h:17
Definition OnUseOnItemComponentLegacyFactoryData.h:16
Definition Vec3.h:10