LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

PluginFormDefinition14.1 Beta

C#
public sealed class Unbroken.LaunchBox.Plugins.Forms.PluginFormDefinition
Defines an ordered tree of plugin form elements with a flat set of input fields.

Constructors

PluginFormDefinition 14.1 Beta

C#
public PluginFormDefinition(System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormElement> elements)
Initializes a form containing fields, groups, or both.
elements 14.1 Beta
The elements in presentation order. Field IDs must be unique across the entire tree, ignoring case.

PluginFormDefinition 14.1 Beta

C#
public PluginFormDefinition(System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormField> fields)
Initializes a flat form using the existing field-only syntax.
fields 14.1 Beta
The fields in presentation order. Field IDs must be unique ignoring case.

Properties

Elements 14.1 Beta

C#
public System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormElement> Elements { get; }
Gets the root elements in presentation order.

Fields 14.1 Beta

C#
public System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Forms.PluginFormField> Fields { get; }
Gets all input fields in depth-first presentation order, including fields inside groups.

Remarks

This list is built once. Grouping does not change field IDs or introduce nested submission dictionaries.