LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentUseOnEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/deps/ecs/WeakEntityRef.h"
8#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
9#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentPubSubConnectors.h"
10#include "mc/scripting/modules/minecraft/events/ScriptItemCustomComponentAfterEvent.h"
11#include "mc/scripting/modules/minecraft/events/ScriptItemCustomComponentIntermediateStorage.h"
12#include "mc/scripting/modules/minecraft/events/ScriptItemUseOnEvent.h"
13#include "mc/world/item/ItemStack.h"
14#include "mc/world/level/BlockPos.h"
15
16// auto generated forward declare list
17// clang-format off
18class Actor;
19class Block;
20class BlockSource;
21namespace ScriptModuleMinecraft { class ScriptActor; }
22namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
23namespace Scripting { class WeakLifetimeScope; }
24namespace Scripting { struct ClassBinding; }
25// clang-format on
26
27namespace ScriptModuleMinecraft {
28
31public:
32 // ScriptItemCustomComponentUseOnEvent inner types declare
33 // clang-format off
35 // clang-format on
36
37 // ScriptItemCustomComponentUseOnEvent inner types define
39 void(bool&, ::ItemStack const&, ::ItemStack&, ::Actor&, ::BlockPos, uchar, ::Vec3 const&)>;
40
42 public:
43 // member variables
44 // NOLINTBEGIN
45 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
46 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mEntity;
47 ::ll::TypedStorage<8, 8, ::Block const&> mBlock;
48 ::ll::TypedStorage<8, 8, ::BlockSource&> mRegion;
49 ::ll::TypedStorage<4, 12, ::BlockPos const> mBlockPos;
50 ::ll::TypedStorage<1, 1, uchar const> mFace;
51 ::ll::TypedStorage<4, 12, ::Vec3 const> mFaceLocation;
52 // NOLINTEND
53
54 public:
55 // prevent constructor by default
59
60 public:
61 // member functions
62 // NOLINTBEGIN
64 bool& result,
65 ::ItemStack const& initialItemStack,
67 ::Actor& actor,
68 ::BlockPos location,
69 uchar face,
70 ::Vec3 clickPos
71 );
72
74 // NOLINTEND
75
76 public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void* $ctor(
80 bool& result,
81 ::ItemStack const& initialItemStack,
83 ::Actor& actor,
84 ::BlockPos location,
85 uchar face,
86 ::Vec3 clickPos
87 );
88 // NOLINTEND
89
90 public:
91 // destructor thunk
92 // NOLINTBEGIN
93 MCFOLD void $dtor();
94 // NOLINTEND
95 };
96
97public:
98 // member variables
99 // NOLINTBEGIN
100 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>> mEntity;
101 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>
102 mUsedBlockPermutation;
103 // NOLINTEND
104
105public:
106 // prevent constructor by default
109
110public:
111 // virtual functions
112 // NOLINTBEGIN
113 // vIndex: 0
114 virtual ~ScriptItemCustomComponentUseOnEvent() /*override*/;
115 // NOLINTEND
116
117public:
118 // member functions
119 // NOLINTBEGIN
121
123
127 );
128
129 MCAPI ::ScriptModuleMinecraft::ScriptItemCustomComponentUseOnEvent&
131 // NOLINTEND
132
133public:
134 // static functions
135 // NOLINTBEGIN
136 MCAPI static ::Scripting::ClassBinding bind();
137 // NOLINTEND
138
139public:
140 // constructor thunks
141 // NOLINTBEGIN
143
145
146 MCAPI void* $ctor(
149 );
150 // NOLINTEND
151
152public:
153 // destructor thunk
154 // NOLINTBEGIN
155 MCAPI void $dtor();
156 // NOLINTEND
157
158public:
159 // vftables
160 // NOLINTBEGIN
161 MCNAPI static void** $vftable();
162 // NOLINTEND
163};
164
165} // namespace ScriptModuleMinecraft
Definition Actor.h:102
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition Block.h:37
Definition ItemStack.h:23
Definition WeakLifetimeScope.h:7
Definition Vec3.h:10
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ScriptItemCustomComponentUseOnEvent.h:30
Definition ScriptItemUseOnEvent.h:22