LeviLamina
Loading...
Searching...
No Matches
IScriptBlockCustomComponentReader.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
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
namespace
ScriptModuleMinecraft {
class
ScriptBlockPermutation
; }
12
namespace
ScriptModuleMinecraft {
struct
ScriptCustomComponentParameters
; }
13
namespace
Scripting {
class
WeakLifetimeScope
; }
14
// clang-format on
15
16
namespace
ScriptModuleMinecraft {
17
18
class
IScriptBlockCustomComponentReader
{
19
public
:
20
// virtual functions
21
// NOLINTBEGIN
22
virtual
~IScriptBlockCustomComponentReader
() =
default
;
23
24
virtual ::std::vector<::std::string_view> getValidComponentsForBlock(
25
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>
const
& permutation
26
)
const
= 0;
27
28
virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomComponentParameters>
const
&
29
tryGetCustomComponentParametersForBlock(
30
::Block
const
& block,
31
::std::string_view componentName,
32
::Scripting::WeakLifetimeScope
const
& scope
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
Block
Definition
Block.h:43
ScriptModuleMinecraft::IScriptBlockCustomComponentReader
Definition
IScriptBlockCustomComponentReader.h:18
ScriptModuleMinecraft::IScriptBlockCustomComponentReader::$vftable
static MCAPI void ** $vftable()
ScriptModuleMinecraft::ScriptBlockPermutation
Definition
ScriptBlockPermutation.h:24
Scripting::StrongTypedObjectHandle
Definition
StrongTypedObjectHandle.h:8
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:7
ScriptModuleMinecraft::ScriptCustomComponentParameters
Definition
ScriptCustomComponentParameters.h:15
src
mc
scripting
modules
minecraft
block
IScriptBlockCustomComponentReader.h
Generated on
for LeviLamina by
1.16.1