ScriptConfigurationOption

abstract class ScriptConfigurationOption<T>(data: FieldData<T>)

Types

Companion
Link copied to clipboard
object Companion

Functions

configured
Link copied to clipboard
fun configured(): Boolean
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getNullValue
Link copied to clipboard
abstract fun getNullValue(): T
hashCode
Link copied to clipboard
open override fun hashCode(): Int
notifyScriptListener
Link copied to clipboard
fun notifyScriptListener(value: T?)
setToDefaultValue
Link copied to clipboard
fun setToDefaultValue()
setupScriptListener
Link copied to clipboard
fun setupScriptListener(scriptListener: Method, script: AbstractScript)
updateFieldData
Link copied to clipboard
fun updateFieldData(newData: FieldData<*>)

Properties

allowedValues
Link copied to clipboard
var allowedValues: Array<String>
configured
Link copied to clipboard
var configured: Boolean
defaultValue
Link copied to clipboard
val defaultValue: T?
description
Link copied to clipboard
val description: String
enabled
Link copied to clipboard
var enabled: Boolean
fieldListener
Link copied to clipboard
var fieldListener: FieldListener? = null
name
Link copied to clipboard
val name: String
notifyScriptListener
Link copied to clipboard
var notifyScriptListener: Method? = null
optionType
Link copied to clipboard
val optionType: OptionType
script
Link copied to clipboard
var script: AbstractScript? = null
value
Link copied to clipboard
var value: T?
visible
Link copied to clipboard
var visible: Boolean

Inheritors

BooleanConfigurationOption
Link copied to clipboard
DoubleConfigurationOption
Link copied to clipboard
GameActionConfigurationOption
Link copied to clipboard
IntConfigurationOption
Link copied to clipboard
IntMapConfigurationOption
Link copied to clipboard
StringConfigurationOption
Link copied to clipboard
TileConfigurationOption
Link copied to clipboard