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
11class HashedString;
12class ItemStack;
13class Player;
14namespace Bedrock::PubSub::ThreadModel { struct MultiThreaded; }
15// clang-format on
16
17namespace PublisherItemComponent {
18
19class OnUse : public ::ItemComponent,
20 public ::Bedrock::PubSub::
21 Publisher<void(bool&, ::ItemStack&, ::Player&), ::Bedrock::PubSub::ThreadModel::MultiThreaded> {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 0
26 virtual ~OnUse() /*override*/ = default;
27 // NOLINTEND
28
29public:
30 // static functions
31 // NOLINTBEGIN
32 MCAPI static ::HashedString const& getIdentifier();
33 // NOLINTEND
34
35public:
36 // destructor thunk
37 // NOLINTBEGIN
38
39 // NOLINTEND
40
41public:
42 // vftables
43 // NOLINTBEGIN
44 MCAPI static void** $vftable();
45
46 MCAPI static void** $vftableForDispatchingPublisherBase();
47
48 MCAPI static void** $vftableForConnector();
49 // NOLINTEND
50};
51
52} // namespace PublisherItemComponent
Definition HashedString.h:5
Definition ItemComponent.h:16
Definition ItemStack.h:25
Definition Player.h:119
Definition OnUse.h:21