LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerBreakBlockAfterEvent.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 Block;
12class BlockPos;
13class ItemStackBase;
14class Player;
15namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
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>> mPlayer;
29 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>
30 mBrokenBlockPermutation;
31 ::ll::TypedStorage<
32 8,
33 40,
34 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
35 mAfterBreakItemStack;
36 ::ll::TypedStorage<
37 8,
38 40,
39 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
40 mBeforeBreakItemStack;
41 // NOLINTEND
42
43public:
44 // prevent constructor by default
47
48public:
49 // member functions
50 // NOLINTBEGIN
52
54
56 ::Player& player,
57 ::BlockPos const& pos,
58 ::Block const& destroyedBlock,
59 ::ItemStackBase const& afterBreakItem,
60 ::ItemStackBase const& beforeBreakItem,
62 );
63
65 // NOLINTEND
66
67public:
68 // static functions
69 // NOLINTBEGIN
70 MCAPI static ::Scripting::ClassBinding bind();
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
77
79
80 MCAPI void* $ctor(
81 ::Player& player,
82 ::BlockPos const& pos,
83 ::Block const& destroyedBlock,
84 ::ItemStackBase const& afterBreakItem,
85 ::ItemStackBase const& beforeBreakItem,
87 );
88 // NOLINTEND
89
90public:
91 // destructor thunk
92 // NOLINTBEGIN
93 MCAPI void $dtor();
94 // NOLINTEND
95};
96
97} // namespace ScriptModuleMinecraft
Definition BlockPos.h:17
Definition Block.h:37
Definition ItemStackBase.h:34
Definition Player.h:123
Definition WeakLifetimeScope.h:7
Definition ScriptBlockEvent.h:17
Definition ScriptPlayerBreakBlockAfterEvent.h:24