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
12
class
Actor
;
13
class
BlockPos
;
14
class
DefinitionTrigger
;
15
class
HashedString
;
16
class
ItemStack
;
17
class
OnUseOnItemComponentLegacyFactoryData
;
18
class
Vec3
;
19
namespace
Bedrock::PubSub {
class
Subscription; }
20
// clang-format on
21
22
class
LegacyOnUseOnTriggerItemComponent
:
public
::LegacyTriggerItemComponent
{
23
public
:
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
30
public
:
31
// prevent constructor by default
32
LegacyOnUseOnTriggerItemComponent
();
33
34
public
:
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
44
public
:
45
// member functions
46
// NOLINTBEGIN
47
MCAPI
explicit
LegacyOnUseOnTriggerItemComponent
(
::OnUseOnItemComponentLegacyFactoryData
&& data);
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
60
public
:
61
// static functions
62
// NOLINTBEGIN
63
MCAPI static ::HashedString
const
& getIdentifier();
64
// NOLINTEND
65
66
public
:
67
// constructor thunks
68
// NOLINTBEGIN
69
MCAPI
void
* $ctor(
::OnUseOnItemComponentLegacyFactoryData
&& data);
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
MCNAPI
static
void
**
$vftable
();
82
// NOLINTEND
83
};
Actor
Definition
Actor.h:103
BlockPos
Definition
BlockPos.h:18
DefinitionTrigger
Definition
DefinitionTrigger.h:11
HashedString
Definition
HashedString.h:5
ItemStack
Definition
ItemStack.h:25
LegacyOnUseOnTriggerItemComponent
Definition
LegacyOnUseOnTriggerItemComponent.h:22
LegacyOnUseOnTriggerItemComponent::$vftable
static MCAPI void ** $vftable()
LegacyTriggerItemComponent
Definition
LegacyTriggerItemComponent.h:17
OnUseOnItemComponentLegacyFactoryData
Definition
OnUseOnItemComponentLegacyFactoryData.h:17
Vec3
Definition
Vec3.h:10
src
mc
world
item
components
LegacyOnUseOnTriggerItemComponent.h
Generated on Fri Jun 13 2025 05:05:09 for LeviLamina by
1.12.0