Install serializer for PermissionId

This commit is contained in:
Him188 2020-09-08 12:33:12 +08:00
parent 6af2094b8f
commit 9b3c7c1902

View File

@ -10,11 +10,13 @@
package net.mamoe.mirai.console.permission package net.mamoe.mirai.console.permission
import kotlinx.serialization.KSerializer import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.Serializer import kotlinx.serialization.Serializer
import kotlinx.serialization.builtins.serializer import kotlinx.serialization.builtins.serializer
import net.mamoe.mirai.console.internal.data.map import net.mamoe.mirai.console.internal.data.map
@Serializable
@ExperimentalPermission @ExperimentalPermission
public data class PermissionId( public data class PermissionId(
public val namespace: String, public val namespace: String,