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
10
class
Actor
;
11
class
BlockPos
;
12
class
DefinitionTrigger
;
13
class
HashedString
;
14
class
ItemStack
;
15
class
OnUseOnItemComponentLegacyFactoryData
;
16
class
Vec3
;
17
namespace
Bedrock::PubSub {
class
Subscription; }
18
// clang-format on
19
20
class
LegacyOnUseOnTriggerItemComponent
:
public
::LegacyTriggerItemComponent
{
21
public
:
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
28
public
:
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
38
public
:
39
// member functions
40
// NOLINTBEGIN
41
MCAPI
explicit
LegacyOnUseOnTriggerItemComponent
(
::OnUseOnItemComponentLegacyFactoryData
&& data);
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
54
public
:
55
// static functions
56
// NOLINTBEGIN
57
MCAPI static ::HashedString
const
& getIdentifier();
58
// NOLINTEND
59
60
public
:
61
// constructor thunks
62
// NOLINTBEGIN
63
MCAPI
void
* $ctor(
::OnUseOnItemComponentLegacyFactoryData
&& data);
64
// NOLINTEND
65
66
public
:
67
// destructor thunk
68
// NOLINTBEGIN
69
70
// NOLINTEND
71
72
public
:
73
// virtual function thunks
74
// NOLINTBEGIN
75
MCAPI
void
$_initializeComponent();
76
// NOLINTEND
77
78
public
:
79
// vftables
80
// NOLINTBEGIN
81
MCAPI
static
void
** $vftable();
82
// NOLINTEND
83
};
Actor
Definition
Actor.h:104
BlockPos
Definition
BlockPos.h:18
DefinitionTrigger
Definition
DefinitionTrigger.h:10
HashedString
Definition
HashedString.h:5
ItemStack
Definition
ItemStack.h:25
LegacyOnUseOnTriggerItemComponent
Definition
LegacyOnUseOnTriggerItemComponent.h:20
LegacyTriggerItemComponent
Definition
LegacyTriggerItemComponent.h:17
OnUseOnItemComponentLegacyFactoryData
Definition
OnUseOnItemComponentLegacyFactoryData.h:16
Vec3
Definition
Vec3.h:10
src
mc
world
item
components
LegacyOnUseOnTriggerItemComponent.h
Generated on Sat Apr 26 2025 05:56:13 for LeviLamina by
1.12.0