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