mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-27 00:20:19 +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
|
package net.mamoe.mirai.console.data
|
||||||
|
|
||||||
|
import kotlinx.serialization.SerialInfo
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 序列化之后的注释.
|
* 序列化之后的注释.
|
||||||
*
|
*
|
||||||
@ -30,6 +32,7 @@ package net.mamoe.mirai.console.data
|
|||||||
* a: b
|
* a: b
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
|
@SerialInfo
|
||||||
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
public annotation class ValueDescription(val value: String)
|
public annotation class ValueDescription(val value: String)
|
Loading…
Reference in New Issue
Block a user