CSJsonMutableListValuePresetProperty
class CSJsonMutableListValuePresetProperty<T : CSJsonObjectStore>(parent: CSHasDestruct, preset: CSPreset<*, *>, key: String, val type: KClass<T>, val default: MutableList<T> = mutableListOf(), onChange: ArgFun<MutableList<T>>?) : CSValuePresetProperty<MutableList<T>>
Constructors
Link copied to clipboard
constructor(parent: CSHasDestruct, preset: CSPreset<*, *>, key: String, type: KClass<T>, default: MutableList<T> = mutableListOf(), onChange: ArgFun<MutableList<T>>?)
Properties
Functions
Link copied to clipboard
fun <T> CSHasChangeValue<T>.actionPausedBy(preset: CSPreset<*, *>, function: (T) -> Unit): CSRegistration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Keeps the current value when a loaded preset does not store this property.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> CSHasChangeValue<T>.onChangePausedBy(preset: CSPreset<*, *>, function: (T) -> Unit): CSRegistration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun trackModifiedIf(condition: (comparedStore: CSStore) -> Boolean): CSPresetPropertyBase<MutableList<T>>
Counts this property in its preset's modified state when compared with a store condition accepts, which is the preset's item store or the data its parent stored for it.
Link copied to clipboard