LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentHitEntityEvent.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/script_core/lifetime_registry/scripting/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
13// auto generated forward declare list
14// clang-format off
15class Actor;
16class Mob;
17namespace ScriptModuleMinecraft { class ScriptActor; }
18namespace ScriptModuleMinecraft { class ScriptItemStack; }
19namespace Scripting { struct ClassBinding; }
20// clang-format on
21
22namespace ScriptModuleMinecraft {
23
25public:
26 // ScriptItemCustomComponentHitEntityEvent inner types declare
27 // clang-format off
29 // clang-format on
30
31 // ScriptItemCustomComponentHitEntityEvent inner types define
33 public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
37 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mHitEntity;
38 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mAttackingEntity;
39 ::ll::TypedStorage<1, 1, bool const> mHadEffect;
40 // NOLINTEND
41 };
42
43 using EventConnectorsType =
45
46public:
47 // member variables
48 // NOLINTBEGIN
49 ::ll::TypedStorage<
50 8,
51 40,
52 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
53 mScriptItem;
54 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>> mHitEntity;
55 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>>
56 mAttackingEntity;
57 ::ll::TypedStorage<1, 1, bool> mHadEffect;
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCAPI static ::Scripting::ClassBinding bind();
64 // NOLINTEND
65};
66
67} // namespace ScriptModuleMinecraft
Definition Actor.h:113
Definition ItemStack.h:26
Definition Mob.h:56
Definition ScriptActor.h:64
Definition ScriptItemStack.h:30
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentHitEntityEvent.h:24
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ClassBinding.h:10