LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentUseEvent.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 Player;
16namespace ScriptModuleMinecraft { class ScriptItemStack; }
17namespace ScriptModuleMinecraft { class ScriptPlayer; }
18namespace Scripting { class WeakLifetimeScope; }
19namespace Scripting { struct ClassBinding; }
20// clang-format on
21
22namespace ScriptModuleMinecraft {
23
24struct ScriptItemCustomComponentUseEvent : public ::ScriptModuleMinecraft::ScriptItemCustomComponentAfterEvent {
25public:
26 // ScriptItemCustomComponentUseEvent inner types declare
27 // clang-format off
29 // clang-format on
30
31 // ScriptItemCustomComponentUseEvent 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> mPlayer;
38 // NOLINTEND
39
40 public:
41 // member functions
42 // NOLINTBEGIN
44 // NOLINTEND
45
46 public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCFOLD void $dtor();
50 // NOLINTEND
51 };
52
53 using EventConnectorsType =
55
56public:
57 // member variables
58 // NOLINTBEGIN
59 ::ll::TypedStorage<
60 8,
61 40,
62 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>>
63 mScriptItem;
64 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mPlayer;
65 // NOLINTEND
66
67public:
68 // prevent constructor by default
69 ScriptItemCustomComponentUseEvent();
70
71public:
72 // member functions
73 // NOLINTBEGIN
74 MCAPI ScriptItemCustomComponentUseEvent(
77 );
78 // NOLINTEND
79
80public:
81 // static functions
82 // NOLINTBEGIN
83 MCAPI static ::Scripting::ClassBinding bind();
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCAPI void* $ctor(
92 );
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCNAPI static void** $vftable();
99 // NOLINTEND
100};
101
102} // namespace ScriptModuleMinecraft
Definition ItemStack.h:35
Definition Player.h:137
Definition ScriptItemStack.h:32
Definition ScriptPlayer.h:56
Definition WeakLifetimeScope.h:14
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ClassBinding.h:19