LeviLamina
Loading...
Searching...
No Matches
ScriptBlockComponentRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace ScriptModuleMinecraft { class ScriptBlockCustomComponentInterface; }
11namespace ScriptModuleMinecraft { struct ScriptBlockCustomComponentAlreadyRegisteredError; }
12namespace ScriptModuleMinecraft { struct ScriptBlockCustomComponentReloadNewComponentError; }
13namespace ScriptModuleMinecraft { struct ScriptBlockCustomComponentReloadNewEventError; }
14namespace ScriptModuleMinecraft { struct ScriptBlockCustomComponentReloadVersionError; }
15namespace ScriptModuleMinecraft { struct ScriptCustomComponentInvalidRegistryError; }
16namespace ScriptModuleMinecraft { struct ScriptCustomComponentNameError; }
17namespace ScriptModuleMinecraft { struct ScriptNamespaceNameError; }
18namespace Scripting { class WeakLifetimeScope; }
19namespace Scripting { struct ClassBinding; }
20namespace Scripting { struct EngineError; }
21// clang-format on
22
23namespace ScriptModuleMinecraft {
24
26public:
27 // member variables
28 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI ::Scripting::Result<
42 void,
50 registerCustomComponent(
52 ::std::string const& compName,
54 );
55
56 MCAPI ::Scripting::Result<
57 void,
65 registerCustomComponentV1(
67 ::std::string const& compName,
69 );
70 // NOLINTEND
71
72public:
73 // static functions
74 // NOLINTBEGIN
75 MCAPI static ::Scripting::ClassBinding bind();
76 // NOLINTEND
77};
78
79} // namespace ScriptModuleMinecraft
Definition ScriptBlockComponentRegistry.h:25
Definition ScriptBlockCustomComponentInterface.h:10
Definition WeakLifetimeScope.h:12
Definition ScriptBlockCustomComponentAlreadyRegisteredError.h:15
Definition ScriptBlockCustomComponentReloadNewComponentError.h:15
Definition ScriptBlockCustomComponentReloadNewEventError.h:15
Definition ScriptBlockCustomComponentReloadVersionError.h:15
Definition ScriptCustomComponentInvalidRegistryError.h:17
Definition ScriptCustomComponentNameError.h:19
Definition ScriptNamespaceNameError.h:18
Definition EngineError.h:10
Definition Alias.h:14