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