Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

SDK_API::callDCodeFunction

Calls a registered native DCode function with a JSON payload.

Declaration

virtual nlohmann::json callDCodeFunction(const std::string& function_name, const nlohmann::json& payload) = 0;

Parameters

NameDescription
function_nameQualified or built-in function name.
payloadFunction arguments encoded as JSON.

Returns

Function result encoded as JSON.