Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerCancelBreakingBlockAfterEvent.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 ScriptPlayerCancelBreakingBlockAfterEvent : public ::ScriptModuleMinecraft::ScriptBlockEvent {
23public:
24 // ScriptPlayerCancelBreakingBlockAfterEvent 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 ::ll::TypedStorage<4, 4, float> mBreakProgress;
40 // NOLINTEND
41
42public:
43 // prevent constructor by default
44 ScriptPlayerCancelBreakingBlockAfterEvent& operator=(ScriptPlayerCancelBreakingBlockAfterEvent const&);
45 ScriptPlayerCancelBreakingBlockAfterEvent();
46
47public:
48 // member functions
49 // NOLINTBEGIN
52 );
53
55 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerBreakingBlockAfterEventIntermediateData> const&
56 eventData,
58 );
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64 MCNAPI static ::Scripting::ClassBinding bind();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
71
72 MCNAPI void* $ctor(
73 ::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerBreakingBlockAfterEventIntermediateData> const&
74 eventData,
76 );
77 // NOLINTEND
78};
79
80} // 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 ScriptPlayerCancelBreakingBlockAfterEvent.h:22
MCAPI ScriptPlayerCancelBreakingBlockAfterEvent(::ScriptModuleMinecraft::ScriptPlayerCancelBreakingBlockAfterEvent const &)
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptPlayerCancelBreakingBlockAfterEvent const &)
MCAPI void * $ctor(::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerBreakingBlockAfterEventIntermediateData > const &eventData, ::Scripting::WeakLifetimeScope const &scope)
MCAPI ScriptPlayerCancelBreakingBlockAfterEvent(::std::shared_ptr<::ScriptModuleMinecraft::ScriptPlayerBreakingBlockAfterEventIntermediateData > const &eventData, ::Scripting::WeakLifetimeScope const &scope)
Definition ClassBinding.h:10