Skip to content
LeviMC
English
AutoLightDark
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/HandSlot.h"
8#include "mc/world/item/components/ItemComponent.h"
9
10// auto generated forward declare list
11// clang-format off
12class ItemStack;
13class Player;
14struct ItemOnUseResult;
15namespace Bedrock::PubSub::ThreadModel { struct SingleThreaded; }
16// clang-format on
17
18namespace PublisherItemComponent {
19
20struct OnUse : public ::ItemComponent,
22 void(::ItemOnUseResult&, ::ItemStack&, ::Player&, ::HandSlot),
23 ::Bedrock::PubSub::ThreadModel::SingleThreaded,
24 0> {};
25
26} // namespace PublisherItemComponent
Definition Publisher.h:25
Definition ItemComponent.h:16
Definition ItemStack.h:26
Definition Player.h:131
Definition ItemOnUseResult.h:5
Definition OnUse.h:24