Skip to Main Content

BTD_Mod_Helper​.Api​.Commands​.ModCommand​.Output


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Commands.ModCommand

ModCommand.Output Class

Class that represents the output of a ModCommand execution. This gets passed by reference between Coroutines

public class ModCommand.Output

Inheritance System.Object  Output

Fields

ModCommand.Output.exception Field

Exception that caused the command to fail, if any

public Exception exception;

Field Value

System.Exception

ModCommand.Output.resultText Field

Custom result text to display to the user, if not null

public string resultText;

Field Value

System.String

ModCommand.Output.success Field

Whether the command has succeeded. True by default; users will need to actively specify a failure.

public bool success;

Field Value

System.Boolean