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
30public:
31 // ScriptItemCustomComponentMineBlockEvent inner types declare
32 // clang-format off
34 // clang-format on
35
36 // ScriptItemCustomComponentMineBlockEvent inner types define
38 void(bool&, ::ItemStack&, ::Block const&, int, int, int, ::Actor&)>;
39
41 public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
45 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mEntity;
46 ::ll::TypedStorage<8, 8, ::Block const&> mBlock;
47 ::ll::TypedStorage<8, 8, ::BlockSource&> mRegion;
48 ::ll::TypedStorage<4, 12, ::BlockPos const> mBlockPos;
49 // NOLINTEND
50
51 public:
52 // prevent constructor by default
56
57 public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI
61 IntermediateStorage(bool& result, ::ItemStack& item, ::Block const& block, int x, int y, int z, ::Actor& owner);
62
64 // NOLINTEND
65
66 public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void* $ctor(bool& result, ::ItemStack& item, ::Block const& block, int x, int y, int z, ::Actor& owner);
70 // NOLINTEND
71
72 public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCFOLD void $dtor();
76 // NOLINTEND
77 };
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
97
98public:
99 // virtual functions
100 // NOLINTBEGIN
101 // vIndex: 0
102 virtual ~ScriptItemCustomComponentMineBlockEvent() /*override*/;
103 // NOLINTEND
104
105public:
106 // member functions
107 // NOLINTBEGIN
109
110 MCAPI
112
116 );
117 // NOLINTEND
118
119public:
120 // static functions
121 // NOLINTBEGIN
122 MCAPI static ::Scripting::ClassBinding bind();
123 // NOLINTEND
124
125public:
126 // constructor thunks
127 // NOLINTBEGIN
129
131
132 MCAPI void* $ctor(
135 );
136 // NOLINTEND
137
138public:
139 // destructor thunk
140 // NOLINTBEGIN
141 MCAPI void $dtor();
142 // NOLINTEND
143
144public:
145 // vftables
146 // NOLINTBEGIN
147 MCNAPI static void** $vftable();
148 // NOLINTEND
149};
150
151} // namespace ScriptModuleMinecraft
Definition Actor.h:102
Definition BlockSource.h:66
Definition Block.h:37
Definition ItemStack.h:23
Definition WeakLifetimeScope.h:7
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ScriptItemCustomComponentMineBlockEvent.h:29