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