LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentCompleteUseEvent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/WeakEntityRef.h"
7
#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentPubSubConnectors.h"
8
#include "mc/scripting/modules/minecraft/events/ScriptItemCompleteUseEvent.h"
9
#include "mc/scripting/modules/minecraft/events/ScriptItemCustomComponentAfterEvent.h"
10
#include "mc/scripting/modules/minecraft/events/ScriptItemCustomComponentIntermediateStorage.h"
11
#include "mc/world/item/ItemStack.h"
12
#include "mc/world/item/ItemUseMethod.h"
13
14
// auto generated forward declare list
15
// clang-format off
16
class
Level
;
17
class
Player
;
18
namespace
Scripting {
struct
ClassBinding; }
19
// clang-format on
20
21
namespace
ScriptModuleMinecraft {
22
23
struct
ScriptItemCustomComponentCompleteUseEvent
:
public
::ScriptModuleMinecraft::ScriptItemCustomComponentAfterEvent
,
24
public
::ScriptModuleMinecraft::ScriptItemCompleteUseEvent
{
25
public
:
26
// ScriptItemCustomComponentCompleteUseEvent inner types declare
27
// clang-format off
28
struct
IntermediateStorage
;
29
// clang-format on
30
31
// ScriptItemCustomComponentCompleteUseEvent inner types define
32
using
EventConnectorsType
=
::ScriptModuleMinecraft::ScriptCustomComponentPubSubConnectors
<
33
void(::ItemUseMethod&,
::ItemStack
const
&,
::ItemStack
&,
::Player
&,
::Level
&)>;
34
35
struct
IntermediateStorage
:
public
::ScriptModuleMinecraft::ScriptItemCustomComponentIntermediateStorage
{
36
public
:
37
// member variables
38
// NOLINTBEGIN
39
::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
40
::ll::TypedStorage<8, 24, ::WeakEntityRef const> mPlayer;
41
// NOLINTEND
42
43
public
:
44
// member functions
45
// NOLINTBEGIN
46
MCAPI
~IntermediateStorage
();
47
// NOLINTEND
48
49
public
:
50
// destructor thunk
51
// NOLINTBEGIN
52
MCFOLD
void
$dtor();
53
// NOLINTEND
54
};
55
56
public
:
57
// virtual functions
58
// NOLINTBEGIN
59
// vIndex: 0
60
virtual
~ScriptItemCustomComponentCompleteUseEvent
()
/*override*/
=
default
;
61
// NOLINTEND
62
63
public
:
64
// static functions
65
// NOLINTBEGIN
66
MCAPI static ::Scripting::ClassBinding bind();
67
// NOLINTEND
68
69
public
:
70
// vftables
71
// NOLINTBEGIN
72
MCNAPI
static
void
**
$vftable
();
73
// NOLINTEND
74
};
75
76
}
// namespace ScriptModuleMinecraft
ItemStack
Definition
ItemStack.h:23
Level
Definition
Level.h:243
Player
Definition
Player.h:123
ScriptModuleMinecraft::ScriptCustomComponentPubSubConnectors
Definition
ScriptCustomComponentPubSubConnectors.h:8
ScriptModuleMinecraft::ScriptItemCompleteUseEvent
Definition
ScriptItemCompleteUseEvent.h:17
ScriptModuleMinecraft::ScriptItemCustomComponentAfterEvent
Definition
ScriptItemCustomComponentAfterEvent.h:17
ScriptModuleMinecraft::ScriptItemCustomComponentCompleteUseEvent::IntermediateStorage
Definition
ScriptItemCustomComponentCompleteUseEvent.h:35
ScriptModuleMinecraft::ScriptItemCustomComponentCompleteUseEvent
Definition
ScriptItemCustomComponentCompleteUseEvent.h:24
ScriptModuleMinecraft::ScriptItemCustomComponentCompleteUseEvent::$vftable
static MCAPI void ** $vftable()
ScriptModuleMinecraft::ScriptItemCustomComponentIntermediateStorage
Definition
ScriptItemCustomComponentIntermediateStorage.h:17
src-server
mc
scripting
modules
minecraft
events
ScriptItemCustomComponentCompleteUseEvent.h
Generated on Tue Oct 28 2025 05:32:13 for LeviLamina by
1.12.0