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
MultiThreaded; }
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::MultiThreaded> {
27
public
:
28
// member variables
29
// NOLINTBEGIN
30
::ll::UntypedStorage<1, 1>
mUnk5f099d;
31
// NOLINTEND
32
33
public
:
34
// prevent constructor by default
35
OnUseOn
& operator=(
OnUseOn
const
&);
36
OnUseOn
(
OnUseOn
const
&);
37
38
public
:
39
// virtual functions
40
// NOLINTBEGIN
41
// vIndex: 3
42
virtual
bool
isNetworkComponent()
const
/*override*/
;
43
44
// vIndex: 4
45
virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
/*override*/
;
46
47
// vIndex: 5
48
virtual
bool
initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
)
/*override*/
;
49
50
// vIndex: 0
51
virtual
~OnUseOn
()
/*override*/
=
default
;
52
// NOLINTEND
53
54
public
:
55
// member functions
56
// NOLINTBEGIN
57
MCAPI
OnUseOn
();
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();
70
// NOLINTEND
71
72
public
:
73
// destructor thunk
74
// NOLINTBEGIN
75
76
// NOLINTEND
77
78
public
:
79
// virtual function thunks
80
// NOLINTBEGIN
81
MCFOLD
bool
$isNetworkComponent()
const
;
82
83
MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
;
84
85
MCAPI
bool
$initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
);
86
// NOLINTEND
87
88
public
:
89
// vftables
90
// NOLINTBEGIN
91
MCAPI
static
void
** $vftable();
92
93
MCAPI
static
void
** $vftableForDispatchingPublisherBase();
94
95
MCAPI
static
void
** $vftableForConnector();
96
// NOLINTEND
97
};
98
99
}
// namespace PublisherItemComponent
Actor
Definition
Actor.h:104
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:26
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 Sat Apr 26 2025 05:56:13 for LeviLamina by
1.12.0