IntKey

data class IntKey(val key: String, val defaultValue: Int = 0) : Keystone.Observable

An observable Int key.

Constructors

Link copied to clipboard
constructor(key: String, defaultValue: Int = 0)

Properties

Link copied to clipboard

The fallback value if the key is missing. Defaults to 0.

Link copied to clipboard
val key: String

The storage key name.