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
25class ScriptItemCustomComponentSignalCollection
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
43 ScriptItemCustomComponentSignalCollection();
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual void registerClosures(
49 ::HashedString const& componentName,
51 ) /*override*/;
52
53 virtual void subscribeToItemForComponent(
54 ::ComponentItem& item,
55 ::std::vector<::ItemCustomComponentData> const& components
56 ) /*override*/;
57
58 virtual void clear() /*override*/;
59
60 virtual void onPreFlushAfterEvents() /*override*/;
61
62 virtual void onFlushItemCustomComponentAfterEvents(::ScriptDeferredFlushTracker& deferredTracker) /*override*/;
63
64 virtual void onPostFlushAfterEvents() /*override*/;
65
66 virtual ~ScriptItemCustomComponentSignalCollection() /*override*/;
67 // NOLINTEND
68
69public:
70 // member functions
71 // NOLINTBEGIN
72 MCAPI explicit ScriptItemCustomComponentSignalCollection(
74 );
75 // NOLINTEND
76
77public:
78 // static functions
79 // NOLINTBEGIN
80 MCAPI static ::ScriptModuleMinecraft::ScriptCustomComponentEventMetadata<
82 _getEventMetadata();
83
84 MCAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCAPI void* $ctor(::ScriptModuleMinecraft::ScriptCustomComponentParameterCache& parameterCache);
91 // NOLINTEND
92
93public:
94 // destructor thunk
95 // NOLINTBEGIN
96 MCAPI void $dtor();
97 // NOLINTEND
98
99public:
100 // virtual function thunks
101 // NOLINTBEGIN
102 MCAPI void $registerClosures(
103 ::HashedString const& componentName,
105 );
106
107 MCAPI void
108 $subscribeToItemForComponent(::ComponentItem& item, ::std::vector<::ItemCustomComponentData> const& components);
109
110 MCAPI void $clear();
111
112 MCAPI void $onPreFlushAfterEvents();
113
114 MCAPI void $onFlushItemCustomComponentAfterEvents(::ScriptDeferredFlushTracker& deferredTracker);
115
116 MCAPI void $onPostFlushAfterEvents();
117
118
119 // NOLINTEND
120
121public:
122 // vftables
123 // NOLINTBEGIN
124 MCNAPI static void** $vftable();
125 // NOLINTEND
126};
127
128} // namespace ScriptModuleMinecraft
Definition ComponentItem.h:55
Definition HashedString.h:5
Definition ScriptDeferredFlushTracker.h:13
Definition IScriptItemCustomComponentSignalCollection.h:18
Definition ScriptCustomComponentParameterCache.h:21
Definition ScriptCustomComponentPubSubAdapter.h:8
Definition ScriptItemCustomComponentInterface.h:15
Definition ModuleBindingBuilder.h:27
Definition ItemCustomComponentData.h:10
Definition BeforeEventExecutor.h:7