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/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/scripting/modules/minecraft/ScriptFacing.h"
8#include "mc/scripting/modules/minecraft/events/ScriptBlockEvent.h"
9#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentBeforeEvent.h"
10#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentToExecute.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace BlockEvents { class BlockPlayerPlacingEvent; }
15namespace ScriptModuleMinecraft { class ScriptBlockCustomComponentInterface; }
16namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
17namespace ScriptModuleMinecraft { class ScriptPlayer; }
18namespace Scripting { class WeakLifetimeScope; }
19namespace Scripting { struct ClassBinding; }
20// clang-format on
21
22namespace ScriptModuleMinecraft {
23
25: public ::ScriptModuleMinecraft::ScriptCustomComponentBeforeEvent<::BlockEvents::BlockPlayerPlacingEvent&>,
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<1, 1, bool> mCancel;
31 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>
32 mPermutationToPlace;
33 ::ll::TypedStorage<4, 4, ::ScriptModuleMinecraft::ScriptFacing> mFace;
34 ::ll::TypedStorage<
35 8,
36 40,
37 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>>>
38 mPlayer;
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
46
47public:
48 // virtual functions
49 // NOLINTBEGIN
50 // vIndex: 1
51 virtual void updateEngineEvent(::BlockEvents::BlockPlayerPlacingEvent& engineEvent) const /*override*/;
52
53 // vIndex: 2
54 virtual bool shouldCancel() const /*override*/;
55
56 // vIndex: 0
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
65 );
66
69 );
70
74 );
75 // NOLINTEND
76
77public:
78 // static functions
79 // NOLINTBEGIN
80 MCAPI static ::Scripting::ClassBinding bind();
81
84 void>>
85 tryGetComponentsToExecute(::BlockEvents::BlockPlayerPlacingEvent const& eventData);
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
92
94
95 MCAPI void*
96 $ctor(::BlockEvents::BlockPlayerPlacingEvent const& engineEvent, ::Scripting::WeakLifetimeScope const& scope);
97 // NOLINTEND
98
99public:
100 // destructor thunk
101 // NOLINTBEGIN
102 MCAPI void $dtor();
103 // NOLINTEND
104
105public:
106 // virtual function thunks
107 // NOLINTBEGIN
108 MCAPI void $updateEngineEvent(::BlockEvents::BlockPlayerPlacingEvent& engineEvent) const;
109
110 MCFOLD bool $shouldCancel() const;
111 // NOLINTEND
112
113public:
114 // vftables
115 // NOLINTBEGIN
116 MCNAPI static void** $vftable();
117 // NOLINTEND
118};
119
120} // namespace ScriptModuleMinecraft
Definition BlockPlayerPlacingEvent.h:18
Definition ScriptBlockCustomComponentInterface.h:10
Definition ScriptCustomComponentBeforeEvent.h:8
Definition ScriptCustomComponentToExecute.h:8
Definition WeakLifetimeScope.h:7
Definition ScriptBlockCustomComponentPlayerPlaceBeforeEvent.h:26
Definition ScriptBlockEvent.h:17