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
virtual
~IScriptItemCustomComponentReader
() =
default
;
23
24
virtual ::std::vector<::std::string_view> getValidComponentsForItem(
25
::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
26
)
const
= 0;
27
28
virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomComponentParameters>
const
&
29
tryGetCustomComponentParametersForItem(
30
::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>
,
31
::std::string_view,
32
::Scripting::WeakLifetimeScope
const
&
33
)
const
= 0;
34
// NOLINTEND
35
36
public
:
37
// virtual function thunks
38
// NOLINTBEGIN
39
40
// NOLINTEND
41
42
public
:
43
// vftables
44
// NOLINTBEGIN
45
MCNAPI
static
void
**
$vftable
();
46
// NOLINTEND
47
};
48
49
}
// namespace ScriptModuleMinecraft
ScriptModuleMinecraft::IScriptItemCustomComponentReader
Definition
IScriptItemCustomComponentReader.h:18
ScriptModuleMinecraft::IScriptItemCustomComponentReader::$vftable
static MCAPI void ** $vftable()
ScriptModuleMinecraft::ScriptItemStack
Definition
ScriptItemStack.h:33
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:7
Scripting::WeakTypedObjectHandle
Definition
WeakTypedObjectHandle.h:8
ScriptModuleMinecraft::ScriptCustomComponentParameters
Definition
ScriptCustomComponentParameters.h:12
src
mc
scripting
modules
minecraft
items
IScriptItemCustomComponentReader.h
Generated on
for LeviLamina by
1.16.1