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:
parent
42de881e9d
commit
b0fbbf548a
mirai-core-api
compatibility-validation
src/commonMain/kotlin/message/source
@ -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
|
||||
|
@ -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
|
||||
|
@ -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]"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user