mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 23:50:15 +08:00
Make MemorySettingStorage.OnChangedCallback fun interface
This commit is contained in:
parent
081474931f
commit
97c564afdf
@ -67,7 +67,7 @@ public interface MemorySettingStorage : SettingStorage, Map<Class<out Setting>,
|
|||||||
/**
|
/**
|
||||||
* 当任一 [Setting] 实例拥有的 [Value] 的值被改变后调用的回调函数.
|
* 当任一 [Setting] 实例拥有的 [Value] 的值被改变后调用的回调函数.
|
||||||
*/
|
*/
|
||||||
public /* fun */ interface OnChangedCallback { // TODO: 2020/7/24 make `fun` in 1.4
|
public fun interface OnChangedCallback {
|
||||||
public fun onChanged(storage: MemorySettingStorage, value: Value<*>)
|
public fun onChanged(storage: MemorySettingStorage, value: Value<*>)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user