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/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/scripting/modules/minecraft/events/ScriptItemUseOnEvent.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
14class Player;
15struct ItemUseOnEvent;
16namespace ScriptModuleMinecraft { class ScriptItemStack; }
17namespace ScriptModuleMinecraft { class ScriptPlayer; }
18namespace Scripting { class WeakLifetimeScope; }
19namespace Scripting { struct ClassBinding; }
20// clang-format on
21
22namespace ScriptModuleMinecraft {
23
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mSource;
29 ::ll::TypedStorage<1, 1, bool> mIsFirstEvent;
30 ::ll::TypedStorage<4, 12, ::Vec3> mBlockPositionV010;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
37
38public:
39 // member functions
40 // NOLINTBEGIN
42 ::ItemUseOnEvent const& itemEvent,
44 ::Player const& player,
46 );
47
48 MCAPI ::Scripting::Result_deprecated<::BlockPos> getBlockLocation_V010() const;
49
50 MCAPI ::ScriptModuleMinecraft::ScriptItemUseOnAfterEvent&
52
53 MCAPI ::ScriptModuleMinecraft::ScriptItemUseOnAfterEvent&
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static ::Scripting::ClassBinding bind();
61
62 MCAPI static ::Scripting::ClassBinding bindV010();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(
69 ::ItemUseOnEvent const& itemEvent,
71 ::Player const& player,
73 );
74 // NOLINTEND
75};
76
77} // namespace ScriptModuleMinecraft
Definition BlockPos.h:17
Definition Player.h:123
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition ItemUseOnEvent.h:11
Definition ScriptItemUseOnAfterEvent.h:24
Definition ScriptItemUseOnEvent.h:22