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
25public:
26 // ScriptItemCustomComponentUseEvent inner types declare
27 // clang-format off
29 // clang-format on
30
31 // ScriptItemCustomComponentUseEvent inner types define
34
36 public:
37 // member variables
38 // NOLINTBEGIN
39 ::ll::TypedStorage<8, 152, ::ItemStack const> mItemStack;
40 ::ll::TypedStorage<8, 24, ::WeakEntityRef const> mPlayer;
41 // NOLINTEND
42
43 public:
44 // member functions
45 // NOLINTBEGIN
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCFOLD void $dtor();
53 // NOLINTEND
54 };
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
71
72public:
73 // virtual functions
74 // NOLINTBEGIN
75 // vIndex: 0
76 virtual ~ScriptItemCustomComponentUseEvent() /*override*/;
77 // NOLINTEND
78
79public:
80 // member functions
81 // NOLINTBEGIN
83
87 );
88 // NOLINTEND
89
90public:
91 // static functions
92 // NOLINTBEGIN
93 MCAPI static ::Scripting::ClassBinding bind();
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
100
101 MCAPI void* $ctor(
104 );
105 // NOLINTEND
106
107public:
108 // destructor thunk
109 // NOLINTBEGIN
110 MCAPI void $dtor();
111 // NOLINTEND
112
113public:
114 // vftables
115 // NOLINTBEGIN
116 MCNAPI static void** $vftable();
117 // NOLINTEND
118};
119
120} // namespace ScriptModuleMinecraft
Definition ItemStack.h:23
Definition Player.h:123
Definition WeakLifetimeScope.h:7
Definition ScriptCustomComponentPubSubConnectors.h:8
Definition ScriptItemCustomComponentAfterEvent.h:17
Definition ScriptItemCustomComponentIntermediateStorage.h:17
Definition ScriptItemCustomComponentUseEvent.h:24