LeviLamina
Loading...
Searching...
No Matches
OnUseAsAttack.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
OnUseAsAttack
:
public
::ItemComponent
,
20
public
::Bedrock::PubSub::
21
Publisher<void(::ItemStack&, ::Player&), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0> {
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
// vIndex: 0
26
virtual
~OnUseAsAttack
()
/*override*/
=
default
;
27
// NOLINTEND
28
29
public
:
30
// static functions
31
// NOLINTBEGIN
32
MCAPI static ::HashedString
const
& getIdentifier();
33
// NOLINTEND
34
};
35
36
}
// namespace PublisherItemComponent
HashedString
Definition
HashedString.h:5
ItemComponent
Definition
ItemComponent.h:16
ItemStack
Definition
ItemStack.h:23
Player
Definition
Player.h:123
PublisherItemComponent::OnUseAsAttack
Definition
OnUseAsAttack.h:21
src-server
mc
world
item
components
publisher_item_component
OnUseAsAttack.h
Generated on Sun Oct 12 2025 06:32:24 for LeviLamina by
1.12.0