1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-05 07:10:11 +08:00

drop data modifier

This commit is contained in:
Karlatemp 2023-07-26 21:10:54 +08:00
parent 42de881e9d
commit b0fbbf548a
No known key found for this signature in database
GPG Key ID: BA173CA2B9956C59
3 changed files with 10 additions and 28 deletions
mirai-core-api
compatibility-validation
android/api
jvm/api
src/commonMain/kotlin/message/source

View File

@ -5447,15 +5447,7 @@ public final class net/mamoe/mirai/message/source/RawFullyMessageIdentity : net/
public static final field Companion Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity$Companion;
public synthetic fun <init> (I[I[IIJJLnet/mamoe/mirai/message/data/MessageSourceKind;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> ([I[IIJJLnet/mamoe/mirai/message/data/MessageSourceKind;)V
public final fun component1 ()[I
public final fun component2 ()[I
public final fun component3 ()I
public final fun component4 ()J
public final fun component5 ()J
public final fun component6 ()Lnet/mamoe/mirai/message/data/MessageSourceKind;
public fun convertToRawFullyMessageIdentity ()Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity;
public final fun copy ([I[IIJJLnet/mamoe/mirai/message/data/MessageSourceKind;)Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity;
public static synthetic fun copy$default (Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity;[I[IIJJLnet/mamoe/mirai/message/data/MessageSourceKind;ILjava/lang/Object;)Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity;
public fun equals (Ljava/lang/Object;)Z
public fun getFromId ()J
public fun getIds ()[I
@ -5487,12 +5479,7 @@ public final class net/mamoe/mirai/message/source/RawMessageIdentity : net/mamoe
public static final field Companion Lnet/mamoe/mirai/message/source/RawMessageIdentity$Companion;
public synthetic fun <init> (I[I[IILkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> ([I[II)V
public final fun component1 ()[I
public final fun component2 ()[I
public final fun component3 ()I
public fun convertToRawMessageIdentity ()Lnet/mamoe/mirai/message/source/RawMessageIdentity;
public final fun copy ([I[II)Lnet/mamoe/mirai/message/source/RawMessageIdentity;
public static synthetic fun copy$default (Lnet/mamoe/mirai/message/source/RawMessageIdentity;[I[IIILjava/lang/Object;)Lnet/mamoe/mirai/message/source/RawMessageIdentity;
public fun equals (Ljava/lang/Object;)Z
public fun getIds ()[I
public fun getInternalIds ()[I

View File

@ -5447,15 +5447,7 @@ public final class net/mamoe/mirai/message/source/RawFullyMessageIdentity : net/
public static final field Companion Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity$Companion;
public synthetic fun <init> (I[I[IIJJLnet/mamoe/mirai/message/data/MessageSourceKind;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> ([I[IIJJLnet/mamoe/mirai/message/data/MessageSourceKind;)V
public final fun component1 ()[I
public final fun component2 ()[I
public final fun component3 ()I
public final fun component4 ()J
public final fun component5 ()J
public final fun component6 ()Lnet/mamoe/mirai/message/data/MessageSourceKind;
public fun convertToRawFullyMessageIdentity ()Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity;
public final fun copy ([I[IIJJLnet/mamoe/mirai/message/data/MessageSourceKind;)Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity;
public static synthetic fun copy$default (Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity;[I[IIJJLnet/mamoe/mirai/message/data/MessageSourceKind;ILjava/lang/Object;)Lnet/mamoe/mirai/message/source/RawFullyMessageIdentity;
public fun equals (Ljava/lang/Object;)Z
public fun getFromId ()J
public fun getIds ()[I
@ -5487,12 +5479,7 @@ public final class net/mamoe/mirai/message/source/RawMessageIdentity : net/mamoe
public static final field Companion Lnet/mamoe/mirai/message/source/RawMessageIdentity$Companion;
public synthetic fun <init> (I[I[IILkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> ([I[II)V
public final fun component1 ()[I
public final fun component2 ()[I
public final fun component3 ()I
public fun convertToRawMessageIdentity ()Lnet/mamoe/mirai/message/source/RawMessageIdentity;
public final fun copy ([I[II)Lnet/mamoe/mirai/message/source/RawMessageIdentity;
public static synthetic fun copy$default (Lnet/mamoe/mirai/message/source/RawMessageIdentity;[I[IIILjava/lang/Object;)Lnet/mamoe/mirai/message/source/RawMessageIdentity;
public fun equals (Ljava/lang/Object;)Z
public fun getIds ()[I
public fun getInternalIds ()[I

View File

@ -15,7 +15,7 @@ import net.mamoe.mirai.message.data.MessageSourceKind
@Serializable
@SerialName("MessageIdentity")
public data class RawMessageIdentity(
public class RawMessageIdentity(
override val ids: IntArray,
override val internalIds: IntArray,
override val time: Int,
@ -39,11 +39,15 @@ public data class RawMessageIdentity(
override fun convertToRawMessageIdentity(): RawMessageIdentity {
return this
}
override fun toString(): String {
return "[mirai:message-identity:ids=${ids.contentToString()}, internalIds=${internalIds.contentToString()}, time=$time]"
}
}
@Serializable
@SerialName("FullyMessageIdentity")
public data class RawFullyMessageIdentity(
public class RawFullyMessageIdentity(
override val ids: IntArray,
override val internalIds: IntArray,
override val time: Int,
@ -76,6 +80,10 @@ public data class RawFullyMessageIdentity(
override fun convertToRawFullyMessageIdentity(): RawFullyMessageIdentity {
return this
}
override fun toString(): String {
return "[mirai:message-identity:$kind, ids=${ids.contentToString()}, internalIds=${internalIds.contentToString()}, time=$time, from $fromId to $targetId]"
}
}