NumericOptionBuilder
Builder for numeric options.
Inheritors
Properties
Link copied to clipboard
Setting this to true
allows you to dynamically respond with your choices, depending on the user input.
Link copied to clipboard
Link copied to clipboard
The default description.
Link copied to clipboard
A MutableMap containing localized versions of description.
Link copied to clipboard
A MutableMap containing localized versions of name.
Link copied to clipboard
Functions
Link copied to clipboard
abstract fun choice(name: String, value: T, nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing())
inline fun choice(name: String, value: T, localizationsBuilder: ChoiceLocalizationsBuilder.() -> Unit)
Registers a new choice with name representing value and applies localizationsBuilder to it
Link copied to clipboard
Registers a localization of description in locale.
Link copied to clipboard