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
11class Actor;
12class ItemStack;
13class Mob;
14namespace Scripting { struct ClassBinding; }
15// clang-format on
16
17namespace ScriptModuleMinecraft {
18
20: public ::ScriptModuleMinecraft::ScriptItemCustomComponentBeforeEvent<int&, ::ItemStack&, ::Actor&, ::Mob&> {
21public:
22 // member variables
23 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
35
36public:
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
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI
55
56 MCAPI
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64 MCAPI static ::Scripting::ClassBinding bind();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
71
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCAPI void $dtor();
79 // NOLINTEND
80
81public:
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
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCAPI static void** $vftable();
93 // NOLINTEND
94};
95
96} // namespace ScriptModuleMinecraft
Definition Actor.h:104
Definition ItemStack.h:25
Definition Mob.h:47
Definition ScriptItemCustomComponentBeforeDurabilityDamageEvent.h:20
Definition ScriptItemCustomComponentBeforeEvent.h:8
Definition Alias.h:14