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& operator=(ScriptItemCustomComponentHitEntityEvent const&);
88 ScriptItemCustomComponentHitEntityEvent();
89
90public:
91 // virtual functions
92 // NOLINTBEGIN
93 virtual ~ScriptItemCustomComponentHitEntityEvent() /*override*/;
94 // NOLINTEND
95
96public:
97 // member functions
98 // NOLINTBEGIN
99 MCAPI ScriptItemCustomComponentHitEntityEvent(::ScriptModuleMinecraft::ScriptItemCustomComponentHitEntityEvent&&);
100
101 MCAPI
102 ScriptItemCustomComponentHitEntityEvent(::ScriptModuleMinecraft::ScriptItemCustomComponentHitEntityEvent const&);
103
104 MCAPI ScriptItemCustomComponentHitEntityEvent(
107 );
108 // NOLINTEND
109
110public:
111 // static functions
112 // NOLINTBEGIN
113 MCAPI static ::Scripting::ClassBinding bind();
114 // NOLINTEND
115
116public:
117 // constructor thunks
118 // NOLINTBEGIN
120
122
123 MCAPI void* $ctor(
126 );
127 // NOLINTEND
128
129public:
130 // destructor thunk
131 // NOLINTBEGIN
132 MCAPI void $dtor();
133 // NOLINTEND
134
135public:
136 // vftables
137 // NOLINTBEGIN
138 MCNAPI static void** $vftable();
139 // NOLINTEND
140};
141
142} // namespace ScriptModuleMinecraft
Definition Actor.h:105
Definition ItemStack.h:26
Definition Mob.h:50
Definition ScriptActor.h:65
Definition ScriptItemStack.h:35
Definition WeakLifetimeScope.h:7
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentHitEntityEvent.h:25
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ClassBinding.h:19