Game.Option
since: 2.4.0b122
Index
Methods
canModify
Can option be changed in game settings.
Returns boolean
getBoolean
Gets boolean value of option, suitable for boolean OptionType.
Returns boolean
getFloat
Gets boolean value of option, suitable for float and float slider OptionTypes.
Returns number
getFloatMax
Gets maximum value in slider range, suitable for float slider OptionType.
Returns number
getFloatMin
Gets minimum value in slider range, suitable for float slider OptionType.
Returns number
getInt
Gets boolean value of option, suitable for int and int slider OptionTypes.
Returns number
getIntMax
Gets maximum value in slider range, suitable for int slider OptionType.
Returns number
getIntMin
Gets minimum value in slider range, suitable for int slider OptionType.
Returns number
getPointer
- internal
Returns number
getString
Gets boolean value of option, suitable for string OptionType.
Returns string
getType
Gets numeric option type, which can be used to determine data type and retrieve proper value.
Returns number
Option instance, which can be obtained via Game.getOption.