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/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
13// auto generated forward declare list
14// clang-format off
15class Actor;
16class Mob;
17namespace ScriptModuleMinecraft { class ScriptActor; }
18namespace ScriptModuleMinecraft { class ScriptItemStack; }
19namespace Scripting { class WeakLifetimeScope; }
20namespace Scripting { struct ClassBinding; }
21// clang-format on
22
23namespace ScriptModuleMinecraft {
24
25struct ScriptItemCustomComponentHitEntityEvent : public ::ScriptModuleMinecraft::ScriptItemCustomComponentAfterEvent {
26public:
27 // ScriptItemCustomComponentHitEntityEvent inner types declare
28 // clang-format off
30 // clang-format on
31
32 // ScriptItemCustomComponentHitEntityEvent inner types define
34 public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
38 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mHitEntity;
39 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mAttackingEntity;
40 ::ll::TypedStorage<1, 1, bool const> mHadEffect;
41 // NOLINTEND
42
43 public:
44 // prevent constructor by default
45 IntermediateStorage();
46
47 public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI IntermediateStorage(::ItemStack& item, ::Actor& hitEntity, ::Mob& attackingEntity, bool hadEffect);
51
52 MCAPI ~IntermediateStorage();
53 // NOLINTEND
54
55 public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(::ItemStack& item, ::Actor& hitEntity, ::Mob& attackingEntity, bool hadEffect);
59 // NOLINTEND
60
61 public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66 };
67
68 using EventConnectorsType =
70
71public:
72 // member variables
73 // NOLINTBEGIN
74 ::ll::TypedStorage<
75 8,
76 40,
77 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
78 mScriptItem;
79 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>> mHitEntity;
80 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>>
81 mAttackingEntity;
82 ::ll::TypedStorage<1, 1, bool> mHadEffect;
83 // NOLINTEND
84
85public:
86 // prevent constructor by default
87 ScriptItemCustomComponentHitEntityEvent();
88
89public:
90 // member functions
91 // NOLINTBEGIN
92 MCAPI ScriptItemCustomComponentHitEntityEvent(
95 );
96 // NOLINTEND
97
98public:
99 // static functions
100 // NOLINTBEGIN
101 MCAPI static ::Scripting::ClassBinding bind();
102 // NOLINTEND
103
104public:
105 // constructor thunks
106 // NOLINTBEGIN
107 MCAPI void* $ctor(
110 );
111 // NOLINTEND
112
113public:
114 // vftables
115 // NOLINTBEGIN
116 MCNAPI static void** $vftable();
117 // NOLINTEND
118};
119
120} // namespace ScriptModuleMinecraft
Definition Actor.h:125
Definition ItemStack.h:35
Definition Mob.h:57
Definition ScriptActor.h:69
Definition ScriptItemStack.h:32
Definition WeakLifetimeScope.h:14
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ClassBinding.h:19