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/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 Actor;
13class BlockPos;
15class HashedString;
16class ItemStack;
18class Vec3;
19namespace Bedrock::PubSub { class Subscription; }
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseOnSubscription;
27 ::ll::TypedStorage<8, 64, ::std::optional<::DefinitionTrigger>> mOnUseOnTrigger;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 7
38 virtual void _initializeComponent() /*override*/;
39
40 // vIndex: 0
41 virtual ~LegacyOnUseOnTriggerItemComponent() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
48
49 MCAPI void _useOn(
50 bool& result,
51 ::ItemStack const& initialItemStack,
52 ::ItemStack& currentItemStack,
53 ::Actor& entity,
54 ::BlockPos const& pos,
55 uchar face,
56 ::Vec3 const& clickPos
57 );
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCAPI static ::HashedString const& getIdentifier();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void* $ctor(::OnUseOnItemComponentLegacyFactoryData&& data);
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI void $_initializeComponent();
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition Actor.h:103
Definition BlockPos.h:18
Definition DefinitionTrigger.h:11
Definition HashedString.h:5
Definition ItemStack.h:25
Definition LegacyOnUseOnTriggerItemComponent.h:22
static MCAPI void ** $vftable()
Definition LegacyTriggerItemComponent.h:17
Definition OnUseOnItemComponentLegacyFactoryData.h:17
Definition Vec3.h:10