LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentConsumeEvent.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/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8
#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentPubSubConnectors.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
13
// auto generated forward declare list
14
// clang-format off
15
class
Actor
;
16
namespace
ScriptModuleMinecraft {
class
ScriptActor; }
17
namespace
ScriptModuleMinecraft {
class
ScriptItemStack; }
18
namespace
Scripting {
class
WeakLifetimeScope; }
19
namespace
Scripting {
struct
ClassBinding; }
20
// clang-format on
21
22
namespace
ScriptModuleMinecraft {
23
24
struct
ScriptItemCustomComponentConsumeEvent
:
public
::ScriptModuleMinecraft::ScriptItemCustomComponentAfterEvent
{
25
public
:
26
// ScriptItemCustomComponentConsumeEvent inner types declare
27
// clang-format off
28
struct
IntermediateStorage
;
29
// clang-format on
30
31
// ScriptItemCustomComponentConsumeEvent inner types define
32
using
EventConnectorsType
=
::ScriptModuleMinecraft::ScriptCustomComponentPubSubConnectors
<
33
void(
::ItemStack
const
&,
::ItemStack
&,
::Actor
&)>;
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> mEntity;
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
// member variables
58
// NOLINTBEGIN
59
::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>
60
mScriptItem;
61
::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>> mEntity;
62
// NOLINTEND
63
64
public
:
65
// prevent constructor by default
66
ScriptItemCustomComponentConsumeEvent
& operator=(
ScriptItemCustomComponentConsumeEvent
const
&);
67
ScriptItemCustomComponentConsumeEvent
();
68
69
public
:
70
// virtual functions
71
// NOLINTBEGIN
72
// vIndex: 0
73
virtual
~ScriptItemCustomComponentConsumeEvent
()
/*override*/
;
74
// NOLINTEND
75
76
public
:
77
// member functions
78
// NOLINTBEGIN
79
MCAPI
ScriptItemCustomComponentConsumeEvent
(
::ScriptModuleMinecraft::ScriptItemCustomComponentConsumeEvent
const
&);
80
81
MCAPI
ScriptItemCustomComponentConsumeEvent
(
82
::ScriptModuleMinecraft::ScriptItemCustomComponentConsumeEvent::IntermediateStorage
const
& eventData,
83
::Scripting::WeakLifetimeScope
const
& scope
84
);
85
// NOLINTEND
86
87
public
:
88
// static functions
89
// NOLINTBEGIN
90
MCAPI static ::Scripting::ClassBinding bind();
91
// NOLINTEND
92
93
public
:
94
// constructor thunks
95
// NOLINTBEGIN
96
MCAPI
void
* $ctor(
::ScriptModuleMinecraft::ScriptItemCustomComponentConsumeEvent
const
&);
97
98
MCAPI
void
* $ctor(
99
::ScriptModuleMinecraft::ScriptItemCustomComponentConsumeEvent::IntermediateStorage
const
& eventData,
100
::Scripting::WeakLifetimeScope
const
& scope
101
);
102
// NOLINTEND
103
104
public
:
105
// destructor thunk
106
// NOLINTBEGIN
107
MCAPI
void
$dtor();
108
// NOLINTEND
109
110
public
:
111
// vftables
112
// NOLINTBEGIN
113
MCNAPI
static
void
**
$vftable
();
114
// NOLINTEND
115
};
116
117
}
// namespace ScriptModuleMinecraft
Actor
Definition
Actor.h:102
ItemStack
Definition
ItemStack.h:23
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:7
ScriptModuleMinecraft::ScriptCustomComponentPubSubConnectors
Definition
ScriptCustomComponentPubSubConnectors.h:8
ScriptModuleMinecraft::ScriptItemCustomComponentAfterEvent
Definition
ScriptItemCustomComponentAfterEvent.h:17
ScriptModuleMinecraft::ScriptItemCustomComponentConsumeEvent::IntermediateStorage
Definition
ScriptItemCustomComponentConsumeEvent.h:35
ScriptModuleMinecraft::ScriptItemCustomComponentConsumeEvent
Definition
ScriptItemCustomComponentConsumeEvent.h:24
ScriptModuleMinecraft::ScriptItemCustomComponentConsumeEvent::$vftable
static MCAPI void ** $vftable()
ScriptModuleMinecraft::ScriptItemCustomComponentIntermediateStorage
Definition
ScriptItemCustomComponentIntermediateStorage.h:17
src-server
mc
scripting
modules
minecraft
events
ScriptItemCustomComponentConsumeEvent.h
Generated on Sun Oct 12 2025 06:32:03 for LeviLamina by
1.12.0