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& operator=(ScriptItemCustomComponentUseEvent const&);
70 ScriptItemCustomComponentUseEvent();
71
72public:
73 // virtual functions
74 // NOLINTBEGIN
75 virtual ~ScriptItemCustomComponentUseEvent() /*override*/;
76 // NOLINTEND
77
78public:
79 // member functions
80 // NOLINTBEGIN
81 MCAPI ScriptItemCustomComponentUseEvent(::ScriptModuleMinecraft::ScriptItemCustomComponentUseEvent const&);
82
83 MCAPI ScriptItemCustomComponentUseEvent(
86 );
87 // NOLINTEND
88
89public:
90 // static functions
91 // NOLINTBEGIN
92 MCAPI static ::Scripting::ClassBinding bind();
93 // NOLINTEND
94
95public:
96 // constructor thunks
97 // NOLINTBEGIN
99
100 MCAPI void* $ctor(
103 );
104 // NOLINTEND
105
106public:
107 // destructor thunk
108 // NOLINTBEGIN
109 MCAPI void $dtor();
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCNAPI static void** $vftable();
116 // NOLINTEND
117};
118
119} // namespace ScriptModuleMinecraft
Definition ItemStack.h:26
Definition Player.h:125
Definition ScriptItemStack.h:35
Definition ScriptPlayer.h:54
Definition WeakLifetimeScope.h:7
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ScriptItemCustomComponentUseEvent.h:24
Definition ClassBinding.h:19