new Modifier()
- Source:
Methods
(static) Modifier#getAlternateName() → {String}
Get the field value
Alternate name of the modifier
- Source:
Returns:
- Type
- String
(static) Modifier#getId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) Modifier#getModifierGroup() → {base.Reference}
Get the field value
- Source:
Returns:
- Type
- base.Reference
(static) Modifier#getName() → {String}
Get the field value
Name of the modifier
- Source:
Returns:
- Type
- String
(static) Modifier#getPrice() → {Number}
Get the field value
Additional cost when used
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Modifier#setAlternateName(alternateName)
Set the field value
Alternate name of the modifier
Parameters:
Name | Type | Description |
---|---|---|
alternateName |
String |
- Source:
(static) Modifier#setId(id)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) Modifier#setModifierGroup(modifierGroup)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
modifierGroup |
base.Reference |
- Source:
(static) Modifier#setName(name)
Set the field value
Name of the modifier
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
- Source:
(static) Modifier#setPrice(price)
Set the field value
Additional cost when used
Parameters:
Name | Type | Description |
---|---|---|
price |
Number | must be a long integer |
- Source: