LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentMineBlockEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/WeakEntityRef.h"
7#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentPubSubConnectors.h"
9#include "mc/scripting/modules/minecraft/events/ScriptItemCustomComponentAfterEvent.h"
10#include "mc/scripting/modules/minecraft/events/ScriptItemCustomComponentIntermediateStorage.h"
11#include "mc/world/item/ItemStack.h"
12#include "mc/world/level/BlockPos.h"
13
14// auto generated forward declare list
15// clang-format off
16class Actor;
17class Block;
18class BlockSource;
19namespace ScriptModuleMinecraft { class ScriptActor; }
20namespace ScriptModuleMinecraft { class ScriptBlock; }
21namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
22namespace ScriptModuleMinecraft { class ScriptItemStack; }
23namespace Scripting { class WeakLifetimeScope; }
24namespace Scripting { struct ClassBinding; }
25// clang-format on
26
27namespace ScriptModuleMinecraft {
28
29struct ScriptItemCustomComponentMineBlockEvent : public ::ScriptModuleMinecraft::ScriptItemCustomComponentAfterEvent {
30public:
31 // ScriptItemCustomComponentMineBlockEvent inner types declare
32 // clang-format off
34 // clang-format on
35
36 // ScriptItemCustomComponentMineBlockEvent inner types define
38 public:
39 // member variables
40 // NOLINTBEGIN
41 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
42 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mEntity;
43 ::ll::TypedStorage<8, 8, ::Block const&> mBlock;
44 ::ll::TypedStorage<8, 8, ::BlockSource&> mRegion;
45 ::ll::TypedStorage<4, 12, ::BlockPos const> mBlockPos;
46 // NOLINTEND
47
48 public:
49 // prevent constructor by default
50 IntermediateStorage& operator=(IntermediateStorage const&);
51 IntermediateStorage(IntermediateStorage const&);
52 IntermediateStorage();
53
54 public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI
58 IntermediateStorage(bool& result, ::ItemStack& item, ::Block const& block, int x, int y, int z, ::Actor& owner);
59
60 MCAPI ~IntermediateStorage();
61 // NOLINTEND
62
63 public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void* $ctor(bool& result, ::ItemStack& item, ::Block const& block, int x, int y, int z, ::Actor& owner);
67 // NOLINTEND
68
69 public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCFOLD void $dtor();
73 // NOLINTEND
74 };
75
77 void(bool&, ::ItemStack&, ::Block const&, int, int, int, ::Actor&)>;
78
79public:
80 // member variables
81 // NOLINTBEGIN
82 ::ll::TypedStorage<
83 8,
84 40,
85 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
86 mScriptItem;
87 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>> mActor;
88 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlock>> mBlock;
89 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>
90 mMinedBlock;
91 // NOLINTEND
92
93public:
94 // prevent constructor by default
95 ScriptItemCustomComponentMineBlockEvent& operator=(ScriptItemCustomComponentMineBlockEvent const&);
96 ScriptItemCustomComponentMineBlockEvent();
97
98public:
99 // virtual functions
100 // NOLINTBEGIN
101 virtual ~ScriptItemCustomComponentMineBlockEvent() /*override*/;
102 // NOLINTEND
103
104public:
105 // member functions
106 // NOLINTBEGIN
107 MCAPI ScriptItemCustomComponentMineBlockEvent(::ScriptModuleMinecraft::ScriptItemCustomComponentMineBlockEvent&&);
108
109 MCAPI
110 ScriptItemCustomComponentMineBlockEvent(::ScriptModuleMinecraft::ScriptItemCustomComponentMineBlockEvent const&);
111
112 MCAPI ScriptItemCustomComponentMineBlockEvent(
115 );
116 // NOLINTEND
117
118public:
119 // static functions
120 // NOLINTBEGIN
121 MCAPI static ::Scripting::ClassBinding bind();
122 // NOLINTEND
123
124public:
125 // constructor thunks
126 // NOLINTBEGIN
128
130
131 MCAPI void* $ctor(
134 );
135 // NOLINTEND
136
137public:
138 // destructor thunk
139 // NOLINTBEGIN
140 MCAPI void $dtor();
141 // NOLINTEND
142
143public:
144 // vftables
145 // NOLINTBEGIN
146 MCNAPI static void** $vftable();
147 // NOLINTEND
148};
149
150} // namespace ScriptModuleMinecraft
Definition Actor.h:105
Definition BlockSource.h:68
Definition Block.h:43
Definition ItemStack.h:26
Definition ScriptActor.h:65
Definition ScriptBlockPermutation.h:23
Definition ScriptBlock.h:36
Definition ScriptItemStack.h:35
Definition WeakLifetimeScope.h:7
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ScriptItemCustomComponentMineBlockEvent.h:29
Definition ClassBinding.h:19