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
11
namespace
ScriptModuleMinecraft {
class
ScriptItemStack; }
12
namespace
ScriptModuleMinecraft {
struct
ScriptCustomComponentParameters; }
13
namespace
Scripting {
class
WeakLifetimeScope; }
14
// clang-format on
15
16
namespace
ScriptModuleMinecraft {
17
18
class
IScriptItemCustomComponentReader
{
19
public
:
20
// virtual functions
21
// NOLINTBEGIN
22
// vIndex: 0
23
virtual
~IScriptItemCustomComponentReader
() =
default
;
24
25
// vIndex: 1
26
virtual ::std::vector<::std::string_view> getValidComponentsForItem(
27
::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
28
)
const
= 0;
29
30
// vIndex: 2
31
virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomComponentParameters>
const
&
32
tryGetCustomComponentParametersForItem(
33
::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
,
34
::std::string_view,
35
::Scripting::WeakLifetimeScope
const
&
36
)
const
= 0;
37
// NOLINTEND
38
39
public
:
40
// virtual function thunks
41
// NOLINTBEGIN
42
43
// NOLINTEND
44
45
public
:
46
// vftables
47
// NOLINTBEGIN
48
MCNAPI
static
void
**
$vftable
();
49
// NOLINTEND
50
};
51
52
}
// namespace ScriptModuleMinecraft
ScriptModuleMinecraft::IScriptItemCustomComponentReader
Definition
IScriptItemCustomComponentReader.h:18
ScriptModuleMinecraft::IScriptItemCustomComponentReader::$vftable
static MCAPI void ** $vftable()
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:12
Scripting::WeakTypedObjectHandle
Definition
WeakTypedObjectHandle.h:8
src
mc
scripting
modules
minecraft
items
IScriptItemCustomComponentReader.h
Generated on Wed Jul 23 2025 08:34:21 for LeviLamina by
1.12.0