LeviLamina
Loading...
Searching...
No Matches
ScriptItemUseAfterEvent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Player
;
11
struct
ItemUseEvent
;
12
namespace
ScriptModuleMinecraft {
class
ScriptItemStack; }
13
namespace
ScriptModuleMinecraft {
class
ScriptPlayer; }
14
namespace
Scripting {
class
WeakLifetimeScope; }
15
namespace
Scripting {
struct
ClassBinding; }
16
// clang-format on
17
18
namespace
ScriptModuleMinecraft {
19
20
struct
ScriptItemUseAfterEvent
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>
25
mScriptItem;
26
::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mSource;
27
// NOLINTEND
28
29
public
:
30
// prevent constructor by default
31
ScriptItemUseAfterEvent
& operator=(
ScriptItemUseAfterEvent
const
&);
32
ScriptItemUseAfterEvent
();
33
34
public
:
35
// member functions
36
// NOLINTBEGIN
37
MCAPI
ScriptItemUseAfterEvent
(
::ScriptModuleMinecraft::ScriptItemUseAfterEvent
const
&);
38
39
MCAPI
ScriptItemUseAfterEvent
(
40
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
item,
41
::Player
const
& player,
42
::ItemUseEvent
const
&,
43
::Scripting::WeakLifetimeScope
const
& scope
44
);
45
46
MCAPI
~ScriptItemUseAfterEvent
();
47
// NOLINTEND
48
49
public
:
50
// static functions
51
// NOLINTBEGIN
52
MCAPI static ::Scripting::ClassBinding bind();
53
54
MCAPI static ::Scripting::ClassBinding bindV010();
55
// NOLINTEND
56
57
public
:
58
// constructor thunks
59
// NOLINTBEGIN
60
MCFOLD
void
* $ctor(
::ScriptModuleMinecraft::ScriptItemUseAfterEvent
const
&);
61
62
MCAPI
void
* $ctor(
63
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
item,
64
::Player
const
& player,
65
::ItemUseEvent
const
&,
66
::Scripting::WeakLifetimeScope
const
& scope
67
);
68
// NOLINTEND
69
70
public
:
71
// destructor thunk
72
// NOLINTBEGIN
73
MCFOLD
void
$dtor();
74
// NOLINTEND
75
};
76
77
}
// namespace ScriptModuleMinecraft
Player
Definition
Player.h:123
Scripting::StrongTypedObjectHandle
Definition
StrongTypedObjectHandle.h:8
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:7
ItemUseEvent
Definition
ItemUseEvent.h:9
ScriptModuleMinecraft::ScriptItemUseAfterEvent
Definition
ScriptItemUseAfterEvent.h:20
src-server
mc
scripting
modules
minecraft
events
ScriptItemUseAfterEvent.h
Generated on Sun Oct 12 2025 06:32:03 for LeviLamina by
1.12.0