Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerStartBreakingBlockAfterEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
7#include "mc/scripting/modules/minecraft/ScriptFacing.h"
8#include "mc/scripting/modules/minecraft/events/ScriptBlockEvent.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
13namespace ScriptModuleMinecraft { class ScriptItemStack; }
14namespace ScriptModuleMinecraft { class ScriptPlayer; }
15namespace ScriptModuleMinecraft { struct ScriptPlayerBreakingBlockAfterEventIntermediateData; }
16namespace Scripting { class WeakLifetimeScope; }
17namespace Scripting { struct ClassBinding; }
18// clang-format on
19
20namespace ScriptModuleMinecraft {
21
22struct ScriptPlayerStartBreakingBlockAfterEvent : public ::ScriptModuleMinecraft::ScriptBlockEvent {
23public:
24 // ScriptPlayerStartBreakingBlockAfterEvent inner types define
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mPlayer;
31 ::ll::TypedStorage<
32 8,
33 40,
34 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
35 mHeldItemStack;
36 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>
37 mBlockPermutation;
38 ::ll::TypedStorage<4, 4, ::ScriptModuleMinecraft::ScriptFacing> mFace;
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 ScriptPlayerStartBreakingBlockAfterEvent& operator=(ScriptPlayerStartBreakingBlockAfterEvent const&);
44 ScriptPlayerStartBreakingBlockAfterEvent();
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCNAPI
51
53 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerBreakingBlockAfterEventIntermediateData> const&
54 eventData,
56 );
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCNAPI static ::Scripting::ClassBinding bind();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
69
70 MCNAPI void* $ctor(
71 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerBreakingBlockAfterEventIntermediateData> const&
72 eventData,
74 );
75 // NOLINTEND
76};
77
78} // namespace ScriptModuleMinecraft
Definition ScriptBlockPermutation.h:22
Definition ScriptItemStack.h:30
Definition ScriptPlayer.h:42
Definition WeakLifetimeScope.h:12
Definition ScriptBlockEvent.h:20
Definition ScriptPlayerBreakingBlockAfterEventIntermediateData.h:18
Definition ScriptPlayerStartBreakingBlockAfterEvent.h:22
MCAPI void * $ctor(::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerBreakingBlockAfterEventIntermediateData > const &eventData, ::Scripting::WeakLifetimeScope const &scope)
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptPlayerStartBreakingBlockAfterEvent const &)
MCAPI ScriptPlayerStartBreakingBlockAfterEvent(::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerBreakingBlockAfterEventIntermediateData > const &eventData, ::Scripting::WeakLifetimeScope const &scope)
MCAPI ScriptPlayerStartBreakingBlockAfterEvent(::ScriptModuleMinecraft::ScriptPlayerStartBreakingBlockAfterEvent const &)
Definition ClassBinding.h:10