LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerInteractWithEntityBeforeEvent.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#include "mc/scripting/modules/minecraft/events/ScriptPlayerInteractWithEntityEvent.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Player;
14namespace ScriptModuleMinecraft { class ScriptItemStack; }
15namespace Scripting { class WeakLifetimeScope; }
16namespace Scripting { struct ClassBinding; }
17// clang-format on
18
19namespace ScriptModuleMinecraft {
20
21struct ScriptPlayerInteractWithEntityBeforeEvent : public ::ScriptModuleMinecraft::ScriptPlayerInteractWithEntityEvent {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<
26 8,
27 40,
28 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
29 mItemStack;
30 ::ll::TypedStorage<1, 1, bool> mCancel;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 ScriptPlayerInteractWithEntityBeforeEvent();
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI ScriptPlayerInteractWithEntityBeforeEvent(
41 ::Player& player,
42 ::Actor& target,
45 );
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static ::Scripting::ClassBinding bind();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(
58 ::Player& player,
59 ::Actor& target,
62 );
63 // NOLINTEND
64};
65
66} // namespace ScriptModuleMinecraft
Definition Actor.h:125
Definition Player.h:137
Definition ScriptItemStack.h:32
Definition WeakLifetimeScope.h:14
Definition PlayerInteractWithEntityBeforeEvent.h:14
Definition ScriptPlayerInteractWithEntityEvent.h:16
Definition ClassBinding.h:19