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