LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentBeforeDurabilityDamageEvent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentPubSubConnectors.h"
7
#include "mc/scripting/modules/minecraft/events/ScriptItemCustomComponentBeforeEvent.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
ItemStack
;
13
class
Mob
;
14
namespace
Scripting {
struct
ClassBinding; }
15
// clang-format on
16
17
namespace
ScriptModuleMinecraft {
18
19
struct
ScriptItemCustomComponentBeforeDurabilityDamageEvent
20
:
public
::ScriptModuleMinecraft::ScriptItemCustomComponentBeforeEvent
<int&, ::ItemStack&, ::Actor&, ::Mob&> {
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::UntypedStorage<4, 4>
mUnke129c5;
25
::ll::UntypedStorage<8, 40>
mUnk250afe;
26
::ll::UntypedStorage<8, 32>
mUnk2bc6c4;
27
::ll::UntypedStorage<8, 32>
mUnk38cd6b;
28
// NOLINTEND
29
30
public
:
31
// prevent constructor by default
32
ScriptItemCustomComponentBeforeDurabilityDamageEvent
&
33
operator=(
ScriptItemCustomComponentBeforeDurabilityDamageEvent
const
&);
34
ScriptItemCustomComponentBeforeDurabilityDamageEvent
();
35
36
public
:
37
// virtual functions
38
// NOLINTBEGIN
39
// vIndex: 1
40
virtual
void
updateEngineEvent(
int
& durabilityDamage,
::ItemStack
& item,
::Actor
&,
::Mob
&)
const
/*override*/
;
41
42
// vIndex: 2
43
virtual
bool
shouldCancel()
const
/*override*/
;
44
45
// vIndex: 0
46
virtual
~ScriptItemCustomComponentBeforeDurabilityDamageEvent
()
/*override*/
;
47
// NOLINTEND
48
49
public
:
50
// member functions
51
// NOLINTBEGIN
52
MCAPI
53
ScriptItemCustomComponentBeforeDurabilityDamageEvent
(::ScriptModuleMinecraft::
54
ScriptItemCustomComponentBeforeDurabilityDamageEvent
&&);
55
56
MCAPI
57
ScriptItemCustomComponentBeforeDurabilityDamageEvent
(::ScriptModuleMinecraft::
58
ScriptItemCustomComponentBeforeDurabilityDamageEvent
const
&);
59
// NOLINTEND
60
61
public
:
62
// static functions
63
// NOLINTBEGIN
64
MCAPI static ::Scripting::ClassBinding bind();
65
// NOLINTEND
66
67
public
:
68
// constructor thunks
69
// NOLINTBEGIN
70
MCAPI
void
* $ctor(
::ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent
&&);
71
72
MCAPI
void
* $ctor(
::ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent
const
&);
73
// NOLINTEND
74
75
public
:
76
// destructor thunk
77
// NOLINTBEGIN
78
MCAPI
void
$dtor();
79
// NOLINTEND
80
81
public
:
82
// virtual function thunks
83
// NOLINTBEGIN
84
MCAPI
void
$updateEngineEvent(
int
& durabilityDamage,
::ItemStack
& item,
::Actor
&,
::Mob
&)
const
;
85
86
MCFOLD
bool
$shouldCancel()
const
;
87
// NOLINTEND
88
89
public
:
90
// vftables
91
// NOLINTBEGIN
92
MCAPI
static
void
** $vftable();
93
// NOLINTEND
94
};
95
96
}
// namespace ScriptModuleMinecraft
Actor
Definition
Actor.h:104
ItemStack
Definition
ItemStack.h:25
Mob
Definition
Mob.h:47
ScriptModuleMinecraft::ScriptItemCustomComponentBeforeDurabilityDamageEvent
Definition
ScriptItemCustomComponentBeforeDurabilityDamageEvent.h:20
ScriptModuleMinecraft::ScriptItemCustomComponentBeforeEvent
Definition
ScriptItemCustomComponentBeforeEvent.h:8
ll::UntypedStorage
Definition
Alias.h:14
src
mc
scripting
modules
minecraft
events
ScriptItemCustomComponentBeforeDurabilityDamageEvent.h
Generated on Sat Apr 26 2025 05:55:52 for LeviLamina by
1.12.0