LeviLamina
Loading...
Searching...
No Matches
ScriptItemCustomComponentSignalCollection.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/scripting/modules/minecraft/events/IScriptItemCustomComponentSignalCollection.h"
7#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentPubSubAdapter.h"
8#include "mc/scripting/modules/minecraft/events/metadata/ScriptCustomComponentAfterEventList.h"
9#include "mc/scripting/modules/minecraft/events/metadata/ScriptCustomComponentEventMetadata.h"
10
11// auto generated forward declare list
12// clang-format off
13class ComponentItem;
14class HashedString;
17namespace ScriptModuleMinecraft { class ScriptCustomComponentParameterCache; }
18namespace ScriptModuleMinecraft { class ScriptItemCustomComponentInterface; }
19namespace ScriptModuleMinecraft::Detail { struct BeforeEventExecutor; }
20namespace Scripting { class ModuleBindingBuilder; }
21// clang-format on
22
23namespace ScriptModuleMinecraft {
24
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 24, ::ScriptModuleMinecraft::ScriptCustomComponentAfterEventList> mAfterEventSignals;
31 ::ll::TypedStorage<
32 8,
33 96,
38 mAdapter;
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 // vIndex: 13
49 virtual void registerClosures(
50 ::HashedString const& componentName,
52 ) /*override*/;
53
54 // vIndex: 14
55 virtual void subscribeToItemForComponent(
56 ::ComponentItem& item,
57 ::std::vector<::ItemCustomComponentData> const& components
58 ) /*override*/;
59
60 // vIndex: 15
61 virtual void clear() /*override*/;
62
63 // vIndex: 9
64 virtual void onPreFlushAfterEvents() /*override*/;
65
66 // vIndex: 8
67 virtual void onFlushItemCustomComponentAfterEvents(::ScriptDeferredFlushTracker& deferredTracker) /*override*/;
68
69 // vIndex: 10
70 virtual void onPostFlushAfterEvents() /*override*/;
71
72 // vIndex: 0
73 virtual ~ScriptItemCustomComponentSignalCollection() /*override*/ = default;
74 // NOLINTEND
75
76public:
77 // member functions
78 // NOLINTBEGIN
81 );
82 // NOLINTEND
83
84public:
85 // static functions
86 // NOLINTBEGIN
87 MCAPI static ::ScriptModuleMinecraft::ScriptCustomComponentEventMetadata<
89 _getEventMetadata();
90
91 MCAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
92 // NOLINTEND
93
94public:
95 // constructor thunks
96 // NOLINTBEGIN
97 MCAPI void* $ctor(::ScriptModuleMinecraft::ScriptCustomComponentParameterCache& parameterCache);
98 // NOLINTEND
99
100public:
101 // virtual function thunks
102 // NOLINTBEGIN
103 MCAPI void $registerClosures(
104 ::HashedString const& componentName,
106 );
107
108 MCAPI void
109 $subscribeToItemForComponent(::ComponentItem& item, ::std::vector<::ItemCustomComponentData> const& components);
110
111 MCAPI void $clear();
112
113 MCAPI void $onPreFlushAfterEvents();
114
115 MCAPI void $onFlushItemCustomComponentAfterEvents(::ScriptDeferredFlushTracker& deferredTracker);
116
117 MCAPI void $onPostFlushAfterEvents();
118 // NOLINTEND
119
120public:
121 // vftables
122 // NOLINTBEGIN
123 MCNAPI static void** $vftable();
124 // NOLINTEND
125};
126
127} // namespace ScriptModuleMinecraft
Definition ComponentItem.h:53
Definition HashedString.h:5
Definition ScriptDeferredFlushTracker.h:13
Definition IScriptItemCustomComponentSignalCollection.h:18
Definition ScriptCustomComponentParameterCache.h:19
Definition ScriptCustomComponentPubSubAdapter.h:8
Definition ScriptItemCustomComponentInterface.h:15
Definition ScriptItemCustomComponentSignalCollection.h:26
Definition ModuleBindingBuilder.h:29
Definition ItemCustomComponentData.h:10
Definition BeforeEventExecutor.h:7