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
29struct ScriptItemCustomComponentUseOnEvent : public ::ScriptModuleMinecraft::ScriptItemCustomComponentAfterEvent,
31public:
32 // ScriptItemCustomComponentUseOnEvent inner types declare
33 // clang-format off
35 // clang-format on
36
37 // ScriptItemCustomComponentUseOnEvent inner types define
39 public:
40 // member variables
41 // NOLINTBEGIN
42 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
43 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mEntity;
44 ::ll::TypedStorage<8, 8, ::Block const&> mBlock;
45 ::ll::TypedStorage<8, 8, ::BlockSource&> mRegion;
46 ::ll::TypedStorage<4, 12, ::BlockPos const> mBlockPos;
47 ::ll::TypedStorage<1, 1, uchar const> mFace;
48 ::ll::TypedStorage<4, 12, ::Vec3 const> mFaceLocation;
49 // NOLINTEND
50
51 public:
52 // prevent constructor by default
53 IntermediateStorage& operator=(IntermediateStorage const&);
54 IntermediateStorage(IntermediateStorage const&);
55 IntermediateStorage();
56
57 public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI IntermediateStorage(
61 bool& result,
62 ::ItemStack const& initialItemStack,
63 ::ItemStack& actor,
64 ::Actor& location,
65 ::BlockPos face,
66 uchar clickPos,
67 ::Vec3
68 );
69
70 MCAPI ~IntermediateStorage();
71 // NOLINTEND
72
73 public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCAPI void* $ctor(
77 bool& result,
78 ::ItemStack const& initialItemStack,
79 ::ItemStack& actor,
80 ::Actor& location,
81 ::BlockPos face,
82 uchar clickPos,
83 ::Vec3
84 );
85 // NOLINTEND
86
87 public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCFOLD void $dtor();
91 // NOLINTEND
92 };
93
95 void(bool&, ::ItemStack const&, ::ItemStack&, ::Actor&, ::BlockPos, uchar, ::Vec3 const&)>;
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
107 ScriptItemCustomComponentUseOnEvent();
108
109public:
110 // member functions
111 // NOLINTBEGIN
112 MCAPI ScriptItemCustomComponentUseOnEvent(
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
127 MCAPI void* $ctor(
130 );
131 // NOLINTEND
132
133public:
134 // vftables
135 // NOLINTBEGIN
136 MCNAPI static void** $vftable();
137 // NOLINTEND
138};
139
140} // namespace ScriptModuleMinecraft
Definition Actor.h:125
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition ItemStack.h:35
Definition ScriptActor.h:69
Definition ScriptBlockPermutation.h:24
Definition WeakLifetimeScope.h:14
Definition Vec3.h:10
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ScriptItemUseOnEvent.h:22
Definition ClassBinding.h:19