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
ItemStack
;
12
class
Player
;
13
struct
ItemOnUseResult
;
14
namespace
Bedrock::PubSub::ThreadModel {
struct
SingleThreaded
; }
15
// clang-format on
16
17
namespace
PublisherItemComponent {
18
19
struct
OnUse
20
:
public
::ItemComponent
,
21
public
::Bedrock::PubSub::
22
Publisher<void(::ItemOnUseResult&, ::ItemStack&, ::Player&), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0> {
23
};
24
25
}
// namespace PublisherItemComponent
ItemComponent
Definition
ItemComponent.h:16
ItemStack
Definition
ItemStack.h:26
Player
Definition
Player.h:129
Bedrock::PubSub::ThreadModel::SingleThreaded
Definition
SingleThreaded.h:7
ItemOnUseResult
Definition
ItemOnUseResult.h:5
PublisherItemComponent::OnUse
Definition
OnUse.h:22
src
mc
world
item
components
publisher_item_component
OnUse.h
Generated on
for LeviLamina by
1.16.1