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
26public:
27 // ScriptItemCustomComponentHitEntityEvent inner types declare
28 // clang-format off
30 // clang-format on
31
32 // ScriptItemCustomComponentHitEntityEvent inner types define
35
37 public:
38 // member variables
39 // NOLINTBEGIN
40 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
41 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mHitEntity;
42 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mAttackingEntity;
43 ::ll::TypedStorage<1, 1, bool const> mHadEffect;
44 // NOLINTEND
45
46 public:
47 // prevent constructor by default
49
50 public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI IntermediateStorage(::ItemStack& item, ::Actor& hitEntity, ::Mob& attackingEntity, bool hadEffect);
54
56 // NOLINTEND
57
58 public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::ItemStack& item, ::Actor& hitEntity, ::Mob& attackingEntity, bool hadEffect);
62 // NOLINTEND
63
64 public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCAPI void $dtor();
68 // NOLINTEND
69 };
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
89
90public:
91 // virtual functions
92 // NOLINTBEGIN
93 // vIndex: 0
94 virtual ~ScriptItemCustomComponentHitEntityEvent() /*override*/;
95 // NOLINTEND
96
97public:
98 // member functions
99 // NOLINTBEGIN
100 MCAPI
102
104
108 );
109 // NOLINTEND
110
111public:
112 // static functions
113 // NOLINTBEGIN
114 MCAPI static ::Scripting::ClassBinding bind();
115 // NOLINTEND
116
117public:
118 // constructor thunks
119 // NOLINTBEGIN
121
123
124 MCAPI void* $ctor(
127 );
128 // NOLINTEND
129
130public:
131 // destructor thunk
132 // NOLINTBEGIN
133 MCAPI void $dtor();
134 // NOLINTEND
135
136public:
137 // vftables
138 // NOLINTBEGIN
139 MCNAPI static void** $vftable();
140 // NOLINTEND
141};
142
143} // namespace ScriptModuleMinecraft
Definition Actor.h:102
Definition ItemStack.h:23
Definition Mob.h:47
Definition WeakLifetimeScope.h:7
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentHitEntityEvent.h:25
Definition ScriptItemCustomComponentIntermediateStorage.h:17