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 // vIndex: 0
23 virtual ~IScriptItemCustomComponentReader() = default;
24
25 // vIndex: 1
26 virtual ::std::vector<::std::string_view> getValidComponentsForItem(
28 ) const = 0;
29
30 // vIndex: 2
31 virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomComponentParameters> const&
32 tryGetCustomComponentParametersForItem(
34 ::std::string_view,
36 ) const = 0;
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42
43 // NOLINTEND
44
45public:
46 // vftables
47 // NOLINTBEGIN
48 MCNAPI static void** $vftable();
49 // NOLINTEND
50};
51
52} // namespace ScriptModuleMinecraft
Definition IScriptItemCustomComponentReader.h:18
Definition WeakLifetimeScope.h:12
Definition WeakTypedObjectHandle.h:8