mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Mark ValueDescription with SerialInfo
This commit is contained in:
parent
717c908ccf
commit
5c16e685b3
@ -9,6 +9,8 @@
|
||||
|
||||
package net.mamoe.mirai.console.data
|
||||
|
||||
import kotlinx.serialization.SerialInfo
|
||||
|
||||
/**
|
||||
* 序列化之后的注释.
|
||||
*
|
||||
@ -30,6 +32,7 @@ package net.mamoe.mirai.console.data
|
||||
* a: b
|
||||
* ```
|
||||
*/
|
||||
@SerialInfo
|
||||
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
public annotation class ValueDescription(val value: String)
|
Loading…
Reference in New Issue
Block a user