Crescendo SDK
Loading...
Searching...
No Matches
CrescendoDLL.SDKCore.FunctionResult Struct Reference

Represents the result of a function execution. More...

Public Attributes

string StringReturnValue
 The string result of the function execution. This field typically contains meaningful data only when the operation is successful.
 
bool Success
 Indicates whether the function execution was successful.
 

Detailed Description

Represents the result of a function execution.

This struct is used to encapsulate the result of a function execution, providing information about the success of the operation and any string return value. An instance of CrescendoDLL.SDKCore.FunctionResult is typically returned by functions that perform operations which may succeed or fail, and produce a string result.

This is an example of how to use the CrescendoDLL.SDKCore.FunctionResult struct:

public FunctionResult NewFunction()
{
return new FunctionResult { Success = true, StringReturnValue = "tempString" };
}
Represents the result of a function execution.
Definition Methods.cs:93