@file:Suppress("SpellCheckingInspection")

package net.mamoe.mirai.qqandroid.network.protocol.data.proto

import kotlinx.serialization.Serializable
import kotlinx.serialization.protobuf.ProtoId
import net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
import kotlin.jvm.JvmField

@Serializable
internal class Vec0xd50 : ProtoBuf {
    @Serializable
    internal class ExtSnsFrdData(
        @ProtoId(1) @JvmField val frdUin: Long = 0L,
        @ProtoId(91001) @JvmField val musicSwitch: ByteArray = EMPTY_BYTE_ARRAY,
        @ProtoId(101001) @JvmField val mutualmarkAlienation: ByteArray = EMPTY_BYTE_ARRAY,
        @ProtoId(141001) @JvmField val mutualmarkScore: ByteArray = EMPTY_BYTE_ARRAY,
        @ProtoId(151001) @JvmField val ksingSwitch: ByteArray = EMPTY_BYTE_ARRAY,
        @ProtoId(181001) @JvmField val lbsShare: ByteArray = EMPTY_BYTE_ARRAY
    ) : ProtoBuf

    @Serializable
    internal class RspBody(
        @ProtoId(1) @JvmField val msgUpdateData: List<ExtSnsFrdData>? = null,
        @ProtoId(11) @JvmField val over: Int = 0,
        @ProtoId(12) @JvmField val nextStart: Int = 0,
        @ProtoId(13) @JvmField val uint64UnfinishedUins: List<Long>? = null
    ) : ProtoBuf

    @Serializable
    internal class ReqBody(
        @ProtoId(1) @JvmField val appid: Long = 0L,
        @ProtoId(2) @JvmField val maxPkgSize: Int = 0,
        @ProtoId(3) @JvmField val startTime: Int = 0,
        @ProtoId(4) @JvmField val startIndex: Int = 0,
        @ProtoId(5) @JvmField val reqNum: Int = 0,
        @ProtoId(6) @JvmField val uinList: List<Long>? = null,
        @ProtoId(91001) @JvmField val reqMusicSwitch: Int = 0,
        @ProtoId(101001) @JvmField val reqMutualmarkAlienation: Int = 0,
        @ProtoId(141001) @JvmField val reqMutualmarkScore: Int = 0,
        @ProtoId(151001) @JvmField val reqKsingSwitch: Int = 0,
        @ProtoId(181001) @JvmField val reqMutualmarkLbsshare: Int = 0
    ) : ProtoBuf

    @Serializable
    internal class KSingRelationInfo(
        @ProtoId(1) @JvmField val flag: Int = 0
    ) : ProtoBuf
}

@Serializable
internal class Vec0xd6b : ProtoBuf {
    @Serializable
    internal class ReqBody(
        @ProtoId(1) @JvmField val maxPkgSize: Int = 0,
        @ProtoId(2) @JvmField val startTime: Int = 0,
        @ProtoId(11) @JvmField val uinList: List<Long>? = null
    ) : ProtoBuf

    @Serializable
    internal class RspBody(
        @ProtoId(11) @JvmField val msgMutualmarkData: List<MutualMarkData>? = null,
        @ProtoId(12) @JvmField val uint64UnfinishedUins: List<Long>? = null
    ) : ProtoBuf

    @Serializable
    internal class MutualMarkData(
        @ProtoId(1) @JvmField val frdUin: Long = 0L,
        @ProtoId(2) @JvmField val result: Int = 0
        // @SerialId(11) @JvmField val mutualmarkInfo: List<net.mamoe.mirai.qqandroid.network.protocol.data.proto.Mutualmark.MutualMark>? = null
    ) : ProtoBuf
}