LeviLamina
Loading...
Searching...
No Matches
IScriptItemCustomComponentReader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/lifetime_registry/WeakTypedObjectHandle.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace ScriptModuleMinecraft { class ScriptItemStack; }
12namespace ScriptModuleMinecraft { struct ScriptCustomComponentParameters; }
13namespace Scripting { class WeakLifetimeScope; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ~IScriptItemCustomComponentReader() = default;
23
24 virtual ::std::vector<::std::string_view> getValidComponentsForItem(
26 ) const = 0;
27
28 virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomComponentParameters> const&
29 tryGetCustomComponentParametersForItem(
31 ::std::string_view,
33 ) const = 0;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39
40 // NOLINTEND
41
42public:
43 // vftables
44 // NOLINTBEGIN
45 MCNAPI static void** $vftable();
46 // NOLINTEND
47};
48
49} // namespace ScriptModuleMinecraft
Definition IScriptItemCustomComponentReader.h:18
Definition ScriptItemStack.h:33
Definition WeakLifetimeScope.h:7
Definition WeakTypedObjectHandle.h:8
Definition ScriptCustomComponentParameters.h:12