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
18struct ScriptItemUseOnBeforeEvent : public ::ScriptModuleMinecraft::ScriptItemUseOnAfterEvent {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mCancel;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 ScriptItemUseOnBeforeEvent();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI ScriptItemUseOnBeforeEvent(
33 ::ItemUseOnEvent const& itemEvent,
34 ::Player const& player,
36 );
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static ::Scripting::ClassBinding bind();
43
44 MCAPI static ::Scripting::ClassBinding bindV010();
45 // NOLINTEND
46
47public:
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
Definition Player.h:137
Definition WeakLifetimeScope.h:14
Definition ItemUseOnEvent.h:11
Definition ScriptItemUseOnAfterEvent.h:22
Definition ClassBinding.h:19