Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
SDK_API::registerDCodeFunction
Registers a native DCode function together with its editor-facing argument documentation.
Declaration
virtual std::string registerDCodeFunction(
std::string local_id,
std::string name,
DCodeFunctionHandler handler,
std::string doc = {},
std::vector<DCodeFunctionArgument> input_arguments = {},
std::vector<DCodeFunctionArgument> output_arguments = {}
) = 0;Parameters
| Name | Description |
|---|---|
local_id | Identifier unique within the plugin. |
name | Operator-facing function name. |
handler | JSON function callback. |
doc | Function documentation shown by DCode tooling. |
input_arguments | Structured input documentation. |
output_arguments | Structured output documentation. |
Returns
The plugin-qualified DCode function identifier.