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
10class Block;
11namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
12namespace ScriptModuleMinecraft { struct ScriptCustomComponentParameters; }
13namespace Scripting { class WeakLifetimeScope; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ~IScriptBlockCustomComponentReader() = default;
23
24 virtual ::std::vector<::std::string_view> getValidComponentsForBlock(
26 ) const = 0;
27
28 virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomComponentParameters> const&
29 tryGetCustomComponentParametersForBlock(
30 ::Block const& block,
31 ::std::string_view componentName,
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 Block.h:43
Definition IScriptBlockCustomComponentReader.h:18
Definition ScriptBlockPermutation.h:24
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition ScriptCustomComponentParameters.h:15