14.1 Beta 1 SDK
EmulatorControllerOption13.13
Obsolete since 14.1 Beta
public class Unbroken.LaunchBox.Plugins.EmulatorControllerOption
An option this emulator can have set
Constructors
EmulatorControllerOption 13.13
public EmulatorControllerOption(string identifier, Unbroken.LaunchBox.Plugins.EmulatorControllerOptionTypes type, string label, string? description = null, object? currentValue = null, object? defaultValue = null, System.Collections.Generic.IEnumerable<object>? possibleValues = null)Initializes a legacy emulator option descriptor.
identifier13.13- The non-null option identifier.
type13.13- The kind of value accepted by the option.
label13.13- The non-null display label.
description13.13- The optional descriptive text.
currentValue13.13- The current option value.
defaultValue13.13- The default option value.
possibleValues13.13- The allowed choices, copied into a list; null produces an empty list.
Properties
public object? CurrentValue { get; }public object? DefaultValue { get; }public string? Description { get; }public string Identifier { get; }public string Label { get; }public Unbroken.LaunchBox.Plugins.EmulatorControllerOptionTypes OptionType { get; }public System.Collections.Generic.IReadOnlyList<object> PossibleValues { get; }
CurrentValue 13.13
public object? CurrentValue { get; }
The current value of this option
DefaultValue 13.13
public object? DefaultValue { get; }
The default value of this option
Description 13.13
public string? Description { get; }
UI string describing this option
Identifier 13.13
public string Identifier { get; }
Unique identifier for this option
Label 13.13
public string Label { get; }
UI Label for this option
OptionType 13.13
public Unbroken.LaunchBox.Plugins.EmulatorControllerOptionTypes OptionType { get; }
Type of data this option utilizes
PossibleValues 13.13
public System.Collections.Generic.IReadOnlyList<object> PossibleValues { get; }
A collection of possible values for this option
Methods
ToString 13.13
public override string ToString()Returns the display label.