Class: SelectOption

HungryGames~DefaultOptions~ SelectOption

One of multiple choices option.

new SelectOption(value [, comment] [, category], values)

Allows an option from a set of possible values.
Parameters:
Name Type Argument Default Description
value string Value of this option.
comment string <optional>
<nullable>
null Comment/description for the user about this option.
category string <optional>
<nullable>
null Category this option falls under for showing user.
values Array.<string> Possible values.
Source:

Extends

Members


<nullable> category :string

Get the category of this option.
Type:
  • string
Inherited From:
Overrides:
Source:

<nullable> comment :string

Get the description of this option.
Type:
  • string
Inherited From:
Overrides:
Source:

entries

Inherited From:
Overrides:
Source:

keys

Inherited From:
Overrides:
Source:

value :*

Get the value of this option.
Type:
  • *
Inherited From:
Overrides:
Source:

values

Get possible values for this option.
Source: