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