diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/Value.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/Value.kt index 09b860e0c..14d29c8e8 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/Value.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/setting/Value.kt @@ -48,16 +48,55 @@ typealias ValueSerializer = KSerializer> interface PrimitiveValue : Value -//// region PrimitiveValue CODEGEN START //// +//// region PrimitiveValues CODEGEN START //// -// TODO: 2020/6/19 CODEGEN +/** + * Represents a non-null [Byte] value. + */ +interface ByteValue : PrimitiveValue + +/** + * Represents a non-null [Short] value. + */ +interface ShortValue : PrimitiveValue /** * Represents a non-null [Int] value. */ interface IntValue : PrimitiveValue -//// endregion PrimitiveValue CODEGEN END //// +/** + * Represents a non-null [Long] value. + */ +interface LongValue : PrimitiveValue + +/** + * Represents a non-null [Float] value. + */ +interface FloatValue : PrimitiveValue + +/** + * Represents a non-null [Double] value. + */ +interface DoubleValue : PrimitiveValue + +/** + * Represents a non-null [Char] value. + */ +interface CharValue : PrimitiveValue + +/** + * Represents a non-null [Boolean] value. + */ +interface BooleanValue : PrimitiveValue + +/** + * Represents a non-null [String] value. + */ +interface StringValue : PrimitiveValue + + +//// endregion PrimitiveValues CODEGEN END //// @MiraiExperimentalAPI