LeviLamina
Loading...
Searching...
No Matches
ScriptItemUseOnBeforeEvent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/scripting/modules/minecraft/events/ScriptItemUseOnAfterEvent.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Player
;
11
struct
ItemUseOnEvent
;
12
namespace
Scripting {
class
WeakLifetimeScope
; }
13
namespace
Scripting {
struct
ClassBinding
; }
14
// clang-format on
15
16
namespace
ScriptModuleMinecraft {
17
18
struct
ScriptItemUseOnBeforeEvent :
public
::ScriptModuleMinecraft::ScriptItemUseOnAfterEvent
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<1, 1, bool> mCancel;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
ScriptItemUseOnBeforeEvent();
28
29
public
:
30
// member functions
31
// NOLINTBEGIN
32
MCAPI ScriptItemUseOnBeforeEvent(
33
::ItemUseOnEvent
const
& itemEvent,
34
::Player
const
& player,
35
::Scripting::WeakLifetimeScope
const
& scope
36
);
37
// NOLINTEND
38
39
public
:
40
// static functions
41
// NOLINTBEGIN
42
MCAPI static ::Scripting::ClassBinding bind();
43
44
MCAPI static ::Scripting::ClassBinding bindV010();
45
// NOLINTEND
46
47
public
:
48
// constructor thunks
49
// NOLINTBEGIN
50
MCAPI
void
*
51
$ctor(
::ItemUseOnEvent
const
& itemEvent,
::Player
const
& player,
::Scripting::WeakLifetimeScope
const
& scope);
52
// NOLINTEND
53
};
54
55
}
// namespace ScriptModuleMinecraft
Player
Definition
Player.h:137
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:14
ItemUseOnEvent
Definition
ItemUseOnEvent.h:11
ScriptModuleMinecraft::ScriptItemUseOnAfterEvent
Definition
ScriptItemUseOnAfterEvent.h:22
Scripting::ClassBinding
Definition
ClassBinding.h:19
src
mc
scripting
modules
minecraft
events
ScriptItemUseOnBeforeEvent.h
Generated on
for LeviLamina by
1.16.1