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