LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerBreakBlockBeforeEvent.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/ScriptBlockEvent.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12class Dimension;
13class ItemStackBase;
14class Player;
15namespace ScriptModuleMinecraft { class ScriptItemStack; }
16namespace ScriptModuleMinecraft { class ScriptPlayer; }
17namespace Scripting { class WeakLifetimeScope; }
18namespace Scripting { struct ClassBinding; }
19// clang-format on
20
21namespace ScriptModuleMinecraft {
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mPlayer;
28 ::ll::TypedStorage<
29 8,
30 40,
31 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
32 mItem;
33 ::ll::TypedStorage<1, 1, bool> mCancel;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
40
41public:
42 // member functions
43 // NOLINTBEGIN
45
47
49 ::Player const& player,
50 ::Dimension& dimension,
51 ::BlockPos const& pos,
52 ::ItemStackBase const& item,
54 );
55
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCAPI static ::Scripting::ClassBinding bind();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
69
71
72 MCAPI void* $ctor(
73 ::Player const& player,
74 ::Dimension& dimension,
75 ::BlockPos const& pos,
76 ::ItemStackBase const& item,
78 );
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCAPI void $dtor();
85 // NOLINTEND
86};
87
88} // namespace ScriptModuleMinecraft
Definition BlockPos.h:17
Definition Dimension.h:83
Definition ItemStackBase.h:34
Definition Player.h:123
Definition WeakLifetimeScope.h:7
Definition ScriptBlockEvent.h:17
Definition ScriptPlayerBreakBlockBeforeEvent.h:23