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
10class Player;
11struct ItemUseOnEvent;
12namespace Scripting { class WeakLifetimeScope; }
13namespace Scripting { struct ClassBinding; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mCancel;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
29
30public:
31 // member functions
32 // NOLINTBEGIN
34
36
38 ::ItemUseOnEvent const& itemEvent,
39 ::Player const& player,
41 );
42
43 MCAPI ::ScriptModuleMinecraft::ScriptItemUseOnBeforeEvent&
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCAPI static ::Scripting::ClassBinding bind();
51
52 MCAPI static ::Scripting::ClassBinding bindV010();
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
59
61
62 MCAPI void*
63 $ctor(::ItemUseOnEvent const& itemEvent, ::Player const& player, ::Scripting::WeakLifetimeScope const& scope);
64 // NOLINTEND
65};
66
67} // namespace ScriptModuleMinecraft
Definition Player.h:123
Definition WeakLifetimeScope.h:7
Definition ItemUseOnEvent.h:11
Definition ScriptItemUseOnAfterEvent.h:24
Definition ScriptItemUseOnBeforeEvent.h:18