ProcedurePrototypeBuilder

class ProcedurePrototypeBuilder(name: String, val warp: Boolean)

Constructors

Link copied to clipboard
constructor(name: String, warp: Boolean)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun boolean(name: String, default: String = "false"): ProcedureArgumentBoolean

Adds a boolean input to the custom block definition.

Link copied to clipboard

Adds a number input to the custom block definition.

Link copied to clipboard
fun setProccode(text: String)

Manually sets the proccode for the custom block definition.

Link copied to clipboard

Adds a string or number input to the custom block definition.

Link copied to clipboard
fun text(text: String)

Adds a label to the custom block definition.