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 // member functions
100 // NOLINTBEGIN
101 MCAPI
102 ScriptItemCustomComponentMineBlockEvent(::ScriptModuleMinecraft::ScriptItemCustomComponentMineBlockEvent const&);
103
104 MCAPI ScriptItemCustomComponentMineBlockEvent(
107 );
108 // NOLINTEND
109
110public:
111 // static functions
112 // NOLINTBEGIN
113 MCAPI static ::Scripting::ClassBinding bind();
114 // NOLINTEND
115
116public:
117 // constructor thunks
118 // NOLINTBEGIN
120
121 MCAPI void* $ctor(
124 );
125 // NOLINTEND
126
127public:
128 // vftables
129 // NOLINTBEGIN
130 MCNAPI static void** $vftable();
131 // NOLINTEND
132};
133
134} // namespace ScriptModuleMinecraft
Definition Actor.h:125
Definition BlockSource.h:73
Definition Block.h:69
Definition ItemStack.h:35
Definition ScriptActor.h:69
Definition ScriptBlockPermutation.h:24
Definition ScriptBlock.h:35
Definition ScriptItemStack.h:32
Definition WeakLifetimeScope.h:14
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ScriptItemCustomComponentMineBlockEvent.h:29
Definition ClassBinding.h:19