LeviLamina
Loading...
Searching...
No Matches
ScriptItemStopUseAfterEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7
8// auto generated forward declare list
9// clang-format off
10class Player;
11struct ItemStopUseEvent;
12namespace ScriptModuleMinecraft { class ScriptItemStack; }
13namespace ScriptModuleMinecraft { class ScriptPlayer; }
14namespace Scripting { class WeakLifetimeScope; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
20struct ScriptItemStopUseAfterEvent {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<
25 8,
26 40,
27 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
28 mScriptItem;
29 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mSource;
30 ::ll::TypedStorage<4, 4, int> mUseDuration;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 ScriptItemStopUseAfterEvent();
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI ScriptItemStopUseAfterEvent(
42 ::Player const& player,
43 ::ItemStopUseEvent const& itemEvent,
45 );
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static ::Scripting::ClassBinding bind();
52
53 MCAPI static ::Scripting::ClassBinding bindV010();
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCFOLD void* $ctor(
61 ::Player const& player,
62 ::ItemStopUseEvent const& itemEvent,
64 );
65 // NOLINTEND
66};
67
68} // namespace ScriptModuleMinecraft
Definition Player.h:137
Definition ScriptItemStack.h:32
Definition ScriptPlayer.h:56
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:14
Definition ItemStopUseEvent.h:8
Definition ClassBinding.h:19