LeviLamina
Loading...
Searching...
No Matches
ScriptItemStartUseAfterEvent.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
ItemStartUseEvent
;
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
ScriptItemStartUseAfterEvent
{
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
::ll::TypedStorage<4, 4, int> mUseDuration;
28
// NOLINTEND
29
30
public
:
31
// prevent constructor by default
32
ScriptItemStartUseAfterEvent
& operator=(
ScriptItemStartUseAfterEvent
const
&);
33
ScriptItemStartUseAfterEvent
();
34
35
public
:
36
// member functions
37
// NOLINTBEGIN
38
MCAPI
ScriptItemStartUseAfterEvent
(
::ScriptModuleMinecraft::ScriptItemStartUseAfterEvent
const
&);
39
40
MCAPI
ScriptItemStartUseAfterEvent
(
41
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
item,
42
::Player
const
& player,
43
::ItemStartUseEvent
const
& itemEvent,
44
::Scripting::WeakLifetimeScope
const
& scope
45
);
46
47
MCAPI
~ScriptItemStartUseAfterEvent
();
48
// NOLINTEND
49
50
public
:
51
// static functions
52
// NOLINTBEGIN
53
MCAPI static ::Scripting::ClassBinding bind();
54
55
MCAPI static ::Scripting::ClassBinding bindV010();
56
// NOLINTEND
57
58
public
:
59
// constructor thunks
60
// NOLINTBEGIN
61
MCAPI
void
* $ctor(
::ScriptModuleMinecraft::ScriptItemStartUseAfterEvent
const
&);
62
63
MCAPI
void
* $ctor(
64
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
item,
65
::Player
const
& player,
66
::ItemStartUseEvent
const
& itemEvent,
67
::Scripting::WeakLifetimeScope
const
& scope
68
);
69
// NOLINTEND
70
71
public
:
72
// destructor thunk
73
// NOLINTBEGIN
74
MCFOLD
void
$dtor();
75
// NOLINTEND
76
};
77
78
}
// namespace ScriptModuleMinecraft
Player
Definition
Player.h:123
Scripting::StrongTypedObjectHandle
Definition
StrongTypedObjectHandle.h:8
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:7
ItemStartUseEvent
Definition
ItemStartUseEvent.h:8
ScriptModuleMinecraft::ScriptItemStartUseAfterEvent
Definition
ScriptItemStartUseAfterEvent.h:20
src-server
mc
scripting
modules
minecraft
events
ScriptItemStartUseAfterEvent.h
Generated on Sun Oct 12 2025 06:32:03 for LeviLamina by
1.12.0