LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

This reference documents the current beta SDK. Beta APIs can change before stable.

PluginFormFieldOption14.1 Beta

C#
public sealed class Unbroken.LaunchBox.Plugins.Forms.PluginFormFieldOption
Defines one value and literal label available to a choice form field.

Constructors

PluginFormFieldOption 14.1 Beta

C#
public PluginFormFieldOption(string value, string label)
Initializes a new instance of the Unbroken.LaunchBox.Plugins.Forms.PluginFormFieldOption class.
value 14.1 Beta
The stable value submitted to the plugin when selected. Empty strings are allowed.
label 14.1 Beta
The literal label used when localization is unavailable.

PluginFormFieldOption 14.1 Beta

C#
public PluginFormFieldOption(string value, Unbroken.LaunchBox.Plugins.PluginText label)
Initializes a choice with a localizable, formattable label.
value 14.1 Beta
The stable value submitted to the plugin when selected. Empty strings are allowed.
label 14.1 Beta
The label, including its required fallback format.

Properties

Label 14.1 Beta

C#
public Unbroken.LaunchBox.Plugins.PluginText Label { get; }
Gets the localizable, formattable label and its fallback format.

Value 14.1 Beta

C#
public string Value { get; }
Gets the stable value submitted to the plugin when selected.