LeviLamina
Loading...
Searching...
No Matches
OnUse.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
HashedString
;
12
class
ItemStack
;
13
class
Player
;
14
namespace
Bedrock::PubSub::ThreadModel {
struct
SingleThreaded
; }
15
// clang-format on
16
17
namespace
PublisherItemComponent {
18
19
struct
OnUse
:
public
::ItemComponent
,
20
public
::Bedrock::PubSub::
21
Publisher<void(bool&, ::ItemStack&, ::Player&), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0> {
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual
~OnUse
()
/*override*/
=
default
;
26
// NOLINTEND
27
28
public
:
29
// static functions
30
// NOLINTBEGIN
31
MCAPI static ::HashedString
const
& getIdentifier();
32
// NOLINTEND
33
34
public
:
35
// vftables
36
// NOLINTBEGIN
37
MCNAPI
static
void
**
$vftable
();
38
39
MCNAPI
static
void
**
$vftableForDispatchingPublisherBase
();
40
41
MCNAPI
static
void
**
$vftableForConnector
();
42
// NOLINTEND
43
};
44
45
}
// namespace PublisherItemComponent
HashedString
Definition
HashedString.h:5
ItemComponent
Definition
ItemComponent.h:16
ItemStack
Definition
ItemStack.h:26
Player
Definition
Player.h:125
Bedrock::PubSub::ThreadModel::SingleThreaded
Definition
SingleThreaded.h:7
PublisherItemComponent::OnUse
Definition
OnUse.h:21
PublisherItemComponent::OnUse::$vftableForConnector
static MCAPI void ** $vftableForConnector()
PublisherItemComponent::OnUse::$vftableForDispatchingPublisherBase
static MCAPI void ** $vftableForDispatchingPublisherBase()
PublisherItemComponent::OnUse::$vftable
static MCAPI void ** $vftable()
src
mc
world
item
components
publisher_item_component
OnUse.h
Generated on
for LeviLamina by
1.16.1