LeviLamina
Loading...
Searching...
No Matches
ScriptBlockCustomComponentPlayerPlaceBeforeEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/scripting/modules/minecraft/events/ScriptBlockEvent.h"
7#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentBeforeEvent.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace BlockEvents { class BlockPlayerPlacingEvent; }
12namespace Scripting { class WeakLifetimeScope; }
13namespace Scripting { struct ClassBinding; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
20 public ::ScriptModuleMinecraft::ScriptCustomComponentBeforeEvent<::BlockEvents::BlockPlayerPlacingEvent&> {
21public:
22 // member variables
23 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 1
40 virtual void updateEngineEvent(::BlockEvents::BlockPlayerPlacingEvent& engineEvent) const /*override*/;
41
42 // vIndex: 2
43 virtual bool shouldCancel() const /*override*/;
44
45 // vIndex: 0
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI ScriptBlockCustomComponentPlayerPlaceBeforeEvent(::ScriptModuleMinecraft::
54
55 MCAPI ScriptBlockCustomComponentPlayerPlaceBeforeEvent(::ScriptModuleMinecraft::
57
61 );
62 // NOLINTEND
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCAPI static ::Scripting::ClassBinding bind();
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
74
76
77 MCAPI void*
78 $ctor(::BlockEvents::BlockPlayerPlacingEvent const& engineEvent, ::Scripting::WeakLifetimeScope const& scope);
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCAPI void $dtor();
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90 MCAPI void $updateEngineEvent(::BlockEvents::BlockPlayerPlacingEvent& engineEvent) const;
91
92 MCFOLD bool $shouldCancel() const;
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCAPI static void** $vftable();
99 // NOLINTEND
100};
101
102} // namespace ScriptModuleMinecraft
Definition BlockPlayerPlacingEvent.h:15
Definition ScriptCustomComponentBeforeEvent.h:8
Definition WeakLifetimeScope.h:12
Definition ScriptBlockCustomComponentPlayerPlaceBeforeEvent.h:20
Definition ScriptBlockEvent.h:10
Definition Alias.h:14