LeviLamina
Loading...
Searching...
No Matches
OnUseOn.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/utility/pub_sub/Publisher.h"
7
#include "mc/world/item/components/ItemComponent.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
BlockPos
;
13
class
CompoundTag
;
14
class
HashedString
;
15
class
ItemStack
;
16
class
Vec3
;
17
namespace
Bedrock::PubSub::ThreadModel {
struct
SingleThreaded; }
18
namespace
cereal {
struct
ReflectionCtx; }
19
// clang-format on
20
21
namespace
PublisherItemComponent {
22
23
class
OnUseOn
:
public
::ItemComponent
,
24
public
::Bedrock::PubSub::Publisher
<
25
void(bool&, ::ItemStack const&, ::ItemStack&, ::Actor&, ::BlockPos, uchar, ::Vec3 const&),
26
::Bedrock::PubSub::ThreadModel::SingleThreaded,
27
0> {
28
public
:
29
// member variables
30
// NOLINTBEGIN
31
::ll::UntypedStorage<1, 1>
mUnk5f099d;
32
// NOLINTEND
33
34
public
:
35
// prevent constructor by default
36
OnUseOn
& operator=(
OnUseOn
const
&);
37
OnUseOn
(
OnUseOn
const
&);
38
OnUseOn
();
39
40
public
:
41
// virtual functions
42
// NOLINTBEGIN
43
// vIndex: 3
44
virtual
bool
isNetworkComponent()
const
/*override*/
;
45
46
// vIndex: 4
47
virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
/*override*/
;
48
49
// vIndex: 5
50
virtual
bool
initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
)
/*override*/
;
51
52
// vIndex: 0
53
virtual
~OnUseOn
()
/*override*/
=
default
;
54
// NOLINTEND
55
56
public
:
57
// static functions
58
// NOLINTBEGIN
59
MCAPI static ::HashedString
const
& getIdentifier();
60
// NOLINTEND
61
62
public
:
63
// virtual function thunks
64
// NOLINTBEGIN
65
MCFOLD
bool
$isNetworkComponent()
const
;
66
67
MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
;
68
69
MCAPI
bool
$initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
);
70
// NOLINTEND
71
72
public
:
73
// vftables
74
// NOLINTBEGIN
75
MCNAPI
static
void
**
$vftable
();
76
77
MCNAPI
static
void
**
$vftableForDispatchingPublisherBase
();
78
79
MCNAPI
static
void
**
$vftableForConnector
();
80
// NOLINTEND
81
};
82
83
}
// namespace PublisherItemComponent
Actor
Definition
Actor.h:103
Bedrock::PubSub::Publisher
Definition
Publisher.h:8
BlockPos
Definition
BlockPos.h:18
CompoundTag
Definition
CompoundTag.h:13
HashedString
Definition
HashedString.h:5
ItemComponent
Definition
ItemComponent.h:16
ItemStack
Definition
ItemStack.h:25
PublisherItemComponent::OnUseOn
Definition
OnUseOn.h:27
PublisherItemComponent::OnUseOn::$vftable
static MCAPI void ** $vftable()
PublisherItemComponent::OnUseOn::$vftableForConnector
static MCAPI void ** $vftableForConnector()
PublisherItemComponent::OnUseOn::$vftableForDispatchingPublisherBase
static MCAPI void ** $vftableForDispatchingPublisherBase()
Vec3
Definition
Vec3.h:10
cereal::ReflectionCtx
Definition
ReflectionCtx.h:11
ctx
Definition
ctx.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
item
components
publisher_item_component
OnUseOn.h
Generated on Fri Jun 13 2025 05:05:09 for LeviLamina by
1.12.0