Commit b08b5bcc authored by ryoii's avatar ryoii

Internal struct class

parent 0463140b
...@@ -6,16 +6,16 @@ import kotlinx.serialization.Serializable ...@@ -6,16 +6,16 @@ import kotlinx.serialization.Serializable
import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
@Serializable @Serializable
class QPayReminderMsg : ProtoBuf { internal class QPayReminderMsg : ProtoBuf {
@Serializable @Serializable
class GetInfoReq( internal class GetInfoReq(
@ProtoId(1) val scene: String = "", @ProtoId(1) val scene: String = "",
@ProtoId(2) val subCmd: String = "", @ProtoId(2) val subCmd: String = "",
@ProtoId(3) val infoDate: String = "" @ProtoId(3) val infoDate: String = ""
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class GetInfoRsp( internal class GetInfoRsp(
@ProtoId(1) val resultCode: Int = 0, @ProtoId(1) val resultCode: Int = 0,
@ProtoId(2) val resultInfo: String = "", @ProtoId(2) val resultInfo: String = "",
@ProtoId(3) val urgency: Int = 0, @ProtoId(3) val urgency: Int = 0,
...@@ -26,15 +26,15 @@ class QPayReminderMsg : ProtoBuf { ...@@ -26,15 +26,15 @@ class QPayReminderMsg : ProtoBuf {
} }
@Serializable @Serializable
class Structmsg : ProtoBuf { internal class Structmsg : ProtoBuf {
@Serializable @Serializable
class AddFrdSNInfo( internal class AddFrdSNInfo(
@ProtoId(1) val notSeeDynamic: Int = 0, @ProtoId(1) val notSeeDynamic: Int = 0,
@ProtoId(2) val setSn: Int = 0 @ProtoId(2) val setSn: Int = 0
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class FlagInfo( internal class FlagInfo(
@ProtoId(1) val grpMsgKickAdmin: Int = 0, @ProtoId(1) val grpMsgKickAdmin: Int = 0,
@ProtoId(2) val grpMsgHiddenGrp: Int = 0, @ProtoId(2) val grpMsgHiddenGrp: Int = 0,
@ProtoId(3) val grpMsgWordingDown: Int = 0, @ProtoId(3) val grpMsgWordingDown: Int = 0,
...@@ -55,13 +55,13 @@ class Structmsg : ProtoBuf { ...@@ -55,13 +55,13 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class FriendInfo( internal class FriendInfo(
@ProtoId(1) val msgJointFriend: String = "", @ProtoId(1) val msgJointFriend: String = "",
@ProtoId(2) val msgBlacklist: String = "" @ProtoId(2) val msgBlacklist: String = ""
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class GroupInfo( internal class GroupInfo(
@ProtoId(1) val groupAuthType: Int = 0, @ProtoId(1) val groupAuthType: Int = 0,
@ProtoId(2) val displayAction: Int = 0, @ProtoId(2) val displayAction: Int = 0,
@ProtoId(3) val msgAlert: String = "", @ProtoId(3) val msgAlert: String = "",
...@@ -71,20 +71,20 @@ class Structmsg : ProtoBuf { ...@@ -71,20 +71,20 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class MsgInviteExt( internal class MsgInviteExt(
@ProtoId(1) val srcType: Int = 0, @ProtoId(1) val srcType: Int = 0,
@ProtoId(2) val srcCode: Long = 0L, @ProtoId(2) val srcCode: Long = 0L,
@ProtoId(3) val waitState: Int = 0 @ProtoId(3) val waitState: Int = 0
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class MsgPayGroupExt( internal class MsgPayGroupExt(
@ProtoId(1) val joinGrpTime: Long = 0L, @ProtoId(1) val joinGrpTime: Long = 0L,
@ProtoId(2) val quitGrpTime: Long = 0L @ProtoId(2) val quitGrpTime: Long = 0L
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ReqNextSystemMsg( internal class ReqNextSystemMsg(
@ProtoId(1) val msgNum: Int = 0, @ProtoId(1) val msgNum: Int = 0,
@ProtoId(2) val followingFriendSeq: Long = 0L, @ProtoId(2) val followingFriendSeq: Long = 0L,
@ProtoId(3) val followingGroupSeq: Long = 0L, @ProtoId(3) val followingGroupSeq: Long = 0L,
...@@ -96,7 +96,7 @@ class Structmsg : ProtoBuf { ...@@ -96,7 +96,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ReqSystemMsg( internal class ReqSystemMsg(
@ProtoId(1) val msgNum: Int = 0, @ProtoId(1) val msgNum: Int = 0,
@ProtoId(2) val latestFriendSeq: Long = 0L, @ProtoId(2) val latestFriendSeq: Long = 0L,
@ProtoId(3) val latestGroupSeq: Long = 0L, @ProtoId(3) val latestGroupSeq: Long = 0L,
...@@ -105,7 +105,7 @@ class Structmsg : ProtoBuf { ...@@ -105,7 +105,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ReqSystemMsgAction( internal class ReqSystemMsgAction(
@ProtoId(1) val msgType: Int /* enum */ = 1, @ProtoId(1) val msgType: Int /* enum */ = 1,
@ProtoId(2) val msgSeq: Long = 0L, @ProtoId(2) val msgSeq: Long = 0L,
@ProtoId(3) val reqUin: Long = 0L, @ProtoId(3) val reqUin: Long = 0L,
...@@ -118,7 +118,7 @@ class Structmsg : ProtoBuf { ...@@ -118,7 +118,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ReqSystemMsgNew( internal class ReqSystemMsgNew(
@ProtoId(1) val msgNum: Int = 0, @ProtoId(1) val msgNum: Int = 0,
@ProtoId(2) val latestFriendSeq: Long = 0L, @ProtoId(2) val latestFriendSeq: Long = 0L,
@ProtoId(3) val latestGroupSeq: Long = 0L, @ProtoId(3) val latestGroupSeq: Long = 0L,
...@@ -132,7 +132,7 @@ class Structmsg : ProtoBuf { ...@@ -132,7 +132,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ReqSystemMsgRead( internal class ReqSystemMsgRead(
@ProtoId(1) val latestFriendSeq: Long = 0L, @ProtoId(1) val latestFriendSeq: Long = 0L,
@ProtoId(2) val latestGroupSeq: Long = 0L, @ProtoId(2) val latestGroupSeq: Long = 0L,
@ProtoId(3) val type: Int = 0, @ProtoId(3) val type: Int = 0,
...@@ -140,13 +140,13 @@ class Structmsg : ProtoBuf { ...@@ -140,13 +140,13 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class RspHead( internal class RspHead(
@ProtoId(1) val result: Int = 0, @ProtoId(1) val result: Int = 0,
@ProtoId(2) val msgFail: String = "" @ProtoId(2) val msgFail: String = ""
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class RspNextSystemMsg( internal class RspNextSystemMsg(
@ProtoId(1) val head: Structmsg.RspHead? = null, @ProtoId(1) val head: Structmsg.RspHead? = null,
@ProtoId(2) val msgs: List<Structmsg.StructMsg>? = null, @ProtoId(2) val msgs: List<Structmsg.StructMsg>? = null,
@ProtoId(3) val followingFriendSeq: Long = 0L, @ProtoId(3) val followingFriendSeq: Long = 0L,
...@@ -158,7 +158,7 @@ class Structmsg : ProtoBuf { ...@@ -158,7 +158,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class RspSystemMsg( internal class RspSystemMsg(
@ProtoId(1) val head: Structmsg.RspHead? = null, @ProtoId(1) val head: Structmsg.RspHead? = null,
@ProtoId(2) val msgs: List<Structmsg.StructMsg>? = null, @ProtoId(2) val msgs: List<Structmsg.StructMsg>? = null,
@ProtoId(3) val unreadCount: Int = 0, @ProtoId(3) val unreadCount: Int = 0,
...@@ -170,7 +170,7 @@ class Structmsg : ProtoBuf { ...@@ -170,7 +170,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class RspSystemMsgAction( internal class RspSystemMsgAction(
@ProtoId(1) val head: Structmsg.RspHead? = null, @ProtoId(1) val head: Structmsg.RspHead? = null,
@ProtoId(2) val msgDetail: String = "", @ProtoId(2) val msgDetail: String = "",
@ProtoId(3) val type: Int = 0, @ProtoId(3) val type: Int = 0,
...@@ -179,7 +179,7 @@ class Structmsg : ProtoBuf { ...@@ -179,7 +179,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class RspSystemMsgNew( internal class RspSystemMsgNew(
@ProtoId(1) val head: Structmsg.RspHead? = null, @ProtoId(1) val head: Structmsg.RspHead? = null,
@ProtoId(2) val unreadFriendCount: Int = 0, @ProtoId(2) val unreadFriendCount: Int = 0,
@ProtoId(3) val unreadGroupCount: Int = 0, @ProtoId(3) val unreadGroupCount: Int = 0,
...@@ -201,14 +201,14 @@ class Structmsg : ProtoBuf { ...@@ -201,14 +201,14 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class RspSystemMsgRead( internal class RspSystemMsgRead(
@ProtoId(1) val head: Structmsg.RspHead? = null, @ProtoId(1) val head: Structmsg.RspHead? = null,
@ProtoId(2) val type: Int = 0, @ProtoId(2) val type: Int = 0,
@ProtoId(3) val checktype: Int /* enum */ = 1 @ProtoId(3) val checktype: Int /* enum */ = 1
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class StructMsg( internal class StructMsg(
@ProtoId(1) val version: Int = 0, @ProtoId(1) val version: Int = 0,
@ProtoId(2) val msgType: Int /* enum */ = 1, @ProtoId(2) val msgType: Int /* enum */ = 1,
@ProtoId(3) val msgSeq: Long = 0L, @ProtoId(3) val msgSeq: Long = 0L,
...@@ -219,7 +219,7 @@ class Structmsg : ProtoBuf { ...@@ -219,7 +219,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class SystemMsg( internal class SystemMsg(
@ProtoId(1) val subType: Int = 0, @ProtoId(1) val subType: Int = 0,
@ProtoId(2) val msgTitle: String = "", @ProtoId(2) val msgTitle: String = "",
@ProtoId(3) val msgDescribe: String = "", @ProtoId(3) val msgDescribe: String = "",
...@@ -275,7 +275,7 @@ class Structmsg : ProtoBuf { ...@@ -275,7 +275,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class SystemMsgAction( internal class SystemMsgAction(
@ProtoId(1) val name: String = "", @ProtoId(1) val name: String = "",
@ProtoId(2) val result: String = "", @ProtoId(2) val result: String = "",
@ProtoId(3) val action: Int = 0, @ProtoId(3) val action: Int = 0,
...@@ -284,7 +284,7 @@ class Structmsg : ProtoBuf { ...@@ -284,7 +284,7 @@ class Structmsg : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class SystemMsgActionInfo( internal class SystemMsgActionInfo(
@ProtoId(1) val type: Int /* enum */ = 1, @ProtoId(1) val type: Int /* enum */ = 1,
@ProtoId(2) val groupCode: Long = 0L, @ProtoId(2) val groupCode: Long = 0L,
@ProtoId(3) val sig: ByteArray = EMPTY_BYTE_ARRAY, @ProtoId(3) val sig: ByteArray = EMPTY_BYTE_ARRAY,
...@@ -297,9 +297,9 @@ class Structmsg : ProtoBuf { ...@@ -297,9 +297,9 @@ class Structmsg : ProtoBuf {
} }
@Serializable @Serializable
class Youtu : ProtoBuf { internal class Youtu : ProtoBuf {
@Serializable @Serializable
class NameCardOcrRsp( internal class NameCardOcrRsp(
@ProtoId(1) val errorcode: Int = 0, @ProtoId(1) val errorcode: Int = 0,
@ProtoId(2) val errormsg: String = "", @ProtoId(2) val errormsg: String = "",
@ProtoId(3) val uin: String = "", @ProtoId(3) val uin: String = "",
......
...@@ -6,16 +6,16 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf ...@@ -6,16 +6,16 @@ import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
import net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY import net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY
@Serializable @Serializable
class SubMsgType0x27 : ProtoBuf { internal class SubMsgType0x27 : ProtoBuf {
@Serializable @Serializable
class AddGroup( internal class AddGroup(
@ProtoId(1) val groupid: Int = 0, @ProtoId(1) val groupid: Int = 0,
@ProtoId(2) val sortid: Int = 0, @ProtoId(2) val sortid: Int = 0,
@ProtoId(3) val groupname: ByteArray = EMPTY_BYTE_ARRAY @ProtoId(3) val groupname: ByteArray = EMPTY_BYTE_ARRAY
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class AppointmentNotify( internal class AppointmentNotify(
@ProtoId(1) val fromUin: Long = 0L, @ProtoId(1) val fromUin: Long = 0L,
@ProtoId(2) val appointId: String = "", @ProtoId(2) val appointId: String = "",
@ProtoId(3) val notifytype: Int = 0, @ProtoId(3) val notifytype: Int = 0,
...@@ -30,13 +30,13 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -30,13 +30,13 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class BinaryMsg( internal class BinaryMsg(
@ProtoId(1) val opType: Int = 0, @ProtoId(1) val opType: Int = 0,
@ProtoId(2) val opValue: ByteArray = EMPTY_BYTE_ARRAY @ProtoId(2) val opValue: ByteArray = EMPTY_BYTE_ARRAY
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ChatMatchInfo( internal class ChatMatchInfo(
@ProtoId(1) val sig: ByteArray = EMPTY_BYTE_ARRAY, @ProtoId(1) val sig: ByteArray = EMPTY_BYTE_ARRAY,
@ProtoId(2) val uin: Long = 0L, @ProtoId(2) val uin: Long = 0L,
@ProtoId(3) val matchUin: Long = 0L, @ProtoId(3) val matchUin: Long = 0L,
...@@ -50,14 +50,14 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -50,14 +50,14 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ConfMsgRoamFlag( internal class ConfMsgRoamFlag(
@ProtoId(1) val confid: Long = 0L, @ProtoId(1) val confid: Long = 0L,
@ProtoId(2) val flag: Int = 0, @ProtoId(2) val flag: Int = 0,
@ProtoId(3) val timestamp: Long = 0L @ProtoId(3) val timestamp: Long = 0L
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class DaRenNotify( internal class DaRenNotify(
@ProtoId(1) val uin: Long = 0L, @ProtoId(1) val uin: Long = 0L,
@ProtoId(2) val loginDays: Int = 0, @ProtoId(2) val loginDays: Int = 0,
@ProtoId(3) val days: Int = 0, @ProtoId(3) val days: Int = 0,
...@@ -66,17 +66,17 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -66,17 +66,17 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class DelFriend( internal class DelFriend(
@ProtoId(1) val uint64Uins: List<Long>? = null @ProtoId(1) val uint64Uins: List<Long>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class DelGroup( internal class DelGroup(
@ProtoId(1) val groupid: Int = 0 @ProtoId(1) val groupid: Int = 0
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class FanpaiziNotify( internal class FanpaiziNotify(
@ProtoId(1) val fromUin: Long = 0L, @ProtoId(1) val fromUin: Long = 0L,
@ProtoId(2) val fromNick: String = "", @ProtoId(2) val fromNick: String = "",
@ProtoId(3) val tipsContent: ByteArray = EMPTY_BYTE_ARRAY, @ProtoId(3) val tipsContent: ByteArray = EMPTY_BYTE_ARRAY,
...@@ -84,7 +84,7 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -84,7 +84,7 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ForwardBody( internal class ForwardBody(
@ProtoId(1) val notifyType: Int = 0, @ProtoId(1) val notifyType: Int = 0,
@ProtoId(2) val opType: Int = 0, @ProtoId(2) val opType: Int = 0,
@ProtoId(3) val msgAddGroup: AddGroup? = null, @ProtoId(3) val msgAddGroup: AddGroup? = null,
...@@ -124,19 +124,19 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -124,19 +124,19 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class FrdCustomOnlineStatusChange( internal class FrdCustomOnlineStatusChange(
@ProtoId(1) val uin: Long = 0L @ProtoId(1) val uin: Long = 0L
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class FriendGroup( internal class FriendGroup(
@ProtoId(1) val fuin: Long = 0L, @ProtoId(1) val fuin: Long = 0L,
@ProtoId(2) val uint32OldGroupId: List<Int>? = null, @ProtoId(2) val uint32OldGroupId: List<Int>? = null,
@ProtoId(3) val uint32NewGroupId: List<Int>? = null @ProtoId(3) val uint32NewGroupId: List<Int>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class FriendRemark( internal class FriendRemark(
@ProtoId(1) val type: Int = 0, @ProtoId(1) val type: Int = 0,
@ProtoId(2) val fuin: Long = 0L, @ProtoId(2) val fuin: Long = 0L,
@ProtoId(3) val rmkName: ByteArray = EMPTY_BYTE_ARRAY, @ProtoId(3) val rmkName: ByteArray = EMPTY_BYTE_ARRAY,
...@@ -144,7 +144,7 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -144,7 +144,7 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class GPS( internal class GPS(
@ProtoId(1) val int32Lat: Int = 900000000, @ProtoId(1) val int32Lat: Int = 900000000,
@ProtoId(2) val int32Lon: Int = 900000000, @ProtoId(2) val int32Lon: Int = 900000000,
@ProtoId(3) val int32Alt: Int = -10000000, @ProtoId(3) val int32Alt: Int = -10000000,
...@@ -152,32 +152,32 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -152,32 +152,32 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class GroupMemberProfileInfo( internal class GroupMemberProfileInfo(
@ProtoId(1) val field: Int = 0, @ProtoId(1) val field: Int = 0,
@ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY @ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class GroupProfileInfo( internal class GroupProfileInfo(
@ProtoId(1) val field: Int = 0, @ProtoId(1) val field: Int = 0,
@ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY @ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class GroupSort( internal class GroupSort(
@ProtoId(1) val groupid: Int = 0, @ProtoId(1) val groupid: Int = 0,
@ProtoId(2) val sortid: Int = 0 @ProtoId(2) val sortid: Int = 0
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class GrpMsgRoamFlag( internal class GrpMsgRoamFlag(
@ProtoId(1) val groupcode: Long = 0L, @ProtoId(1) val groupcode: Long = 0L,
@ProtoId(2) val flag: Int = 0, @ProtoId(2) val flag: Int = 0,
@ProtoId(3) val timestamp: Long = 0L @ProtoId(3) val timestamp: Long = 0L
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class HotFriendNotify( internal class HotFriendNotify(
@ProtoId(1) val dstUin: Long = 0L, @ProtoId(1) val dstUin: Long = 0L,
@ProtoId(2) val praiseHotLevel: Int = 0, @ProtoId(2) val praiseHotLevel: Int = 0,
@ProtoId(3) val chatHotLevel: Int = 0, @ProtoId(3) val chatHotLevel: Int = 0,
...@@ -198,14 +198,14 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -198,14 +198,14 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModConfProfile( internal class ModConfProfile(
@ProtoId(1) val uin: Long = 0L, @ProtoId(1) val uin: Long = 0L,
@ProtoId(2) val confUin: Int = 0, @ProtoId(2) val confUin: Int = 0,
@ProtoId(3) val msgProfileInfos: List<ProfileInfo>? = null @ProtoId(3) val msgProfileInfos: List<ProfileInfo>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModCustomFace( internal class ModCustomFace(
@ProtoId(1) val type: Int = 0, @ProtoId(1) val type: Int = 0,
@ProtoId(2) val uin: Long = 0L, @ProtoId(2) val uin: Long = 0L,
@ProtoId(3) val groupCode: Long = 0L, @ProtoId(3) val groupCode: Long = 0L,
...@@ -213,22 +213,22 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -213,22 +213,22 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModFrdRoamPriv( internal class ModFrdRoamPriv(
@ProtoId(1) val msgRoamPriv: List<OneRoamPriv>? = null @ProtoId(1) val msgRoamPriv: List<OneRoamPriv>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModFriendGroup( internal class ModFriendGroup(
@ProtoId(1) val msgFrdGroup: List<FriendGroup>? = null @ProtoId(1) val msgFrdGroup: List<FriendGroup>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModFriendRemark( internal class ModFriendRemark(
@ProtoId(1) val msgFrdRmk: List<FriendRemark>? = null @ProtoId(1) val msgFrdRmk: List<FriendRemark>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModGroupMemberProfile( internal class ModGroupMemberProfile(
@ProtoId(1) val groupUin: Long = 0L, @ProtoId(1) val groupUin: Long = 0L,
@ProtoId(2) val uin: Long = 0L, @ProtoId(2) val uin: Long = 0L,
@ProtoId(3) val msgGroupMemberProfileInfos: List<GroupMemberProfileInfo>? = null, @ProtoId(3) val msgGroupMemberProfileInfos: List<GroupMemberProfileInfo>? = null,
...@@ -236,13 +236,13 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -236,13 +236,13 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModGroupName( internal class ModGroupName(
@ProtoId(1) val groupid: Int = 0, @ProtoId(1) val groupid: Int = 0,
@ProtoId(2) val groupname: ByteArray = EMPTY_BYTE_ARRAY @ProtoId(2) val groupname: ByteArray = EMPTY_BYTE_ARRAY
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModGroupProfile( internal class ModGroupProfile(
@ProtoId(1) val groupUin: Long = 0L, @ProtoId(1) val groupUin: Long = 0L,
@ProtoId(2) val msgGroupProfileInfos: List<GroupProfileInfo>? = null, @ProtoId(2) val msgGroupProfileInfos: List<GroupProfileInfo>? = null,
@ProtoId(3) val groupCode: Long = 0L, @ProtoId(3) val groupCode: Long = 0L,
...@@ -250,29 +250,29 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -250,29 +250,29 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModGroupSort( internal class ModGroupSort(
@ProtoId(1) val msgGroupsort: List<GroupSort>? = null @ProtoId(1) val msgGroupsort: List<GroupSort>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModLongNick( internal class ModLongNick(
@ProtoId(1) val uin: Long = 0L, @ProtoId(1) val uin: Long = 0L,
@ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY @ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModProfile( internal class ModProfile(
@ProtoId(1) val uin: Long = 0L, @ProtoId(1) val uin: Long = 0L,
@ProtoId(2) val msgProfileInfos: List<ProfileInfo>? = null @ProtoId(2) val msgProfileInfos: List<ProfileInfo>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ModSnsGeneralInfo( internal class ModSnsGeneralInfo(
@ProtoId(1) val msgSnsGeneralInfos: List<SnsUpateBuffer>? = null @ProtoId(1) val msgSnsGeneralInfos: List<SnsUpateBuffer>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class MQQCampusNotify( internal class MQQCampusNotify(
@ProtoId(1) val fromUin: Long = 0L, @ProtoId(1) val fromUin: Long = 0L,
@ProtoId(2) val wording: String = "", @ProtoId(2) val wording: String = "",
@ProtoId(3) val target: String = "", @ProtoId(3) val target: String = "",
...@@ -281,12 +281,12 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -281,12 +281,12 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class MsgBody( internal class MsgBody(
@ProtoId(1) val msgModInfos: List<ForwardBody>? = null @ProtoId(1) val msgModInfos: List<ForwardBody>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class NewComeinUser( internal class NewComeinUser(
@ProtoId(1) val uin: Long = 0L, @ProtoId(1) val uin: Long = 0L,
@ProtoId(2) val isFrd: Int = 0, @ProtoId(2) val isFrd: Int = 0,
@ProtoId(3) val remark: ByteArray = EMPTY_BYTE_ARRAY, @ProtoId(3) val remark: ByteArray = EMPTY_BYTE_ARRAY,
...@@ -294,7 +294,7 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -294,7 +294,7 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class NewComeinUserNotify( internal class NewComeinUserNotify(
@ProtoId(1) val msgType: Int = 0, @ProtoId(1) val msgType: Int = 0,
@ProtoId(2) val boolStrongNotify: Boolean = false, @ProtoId(2) val boolStrongNotify: Boolean = false,
@ProtoId(3) val pushTime: Int = 0, @ProtoId(3) val pushTime: Int = 0,
...@@ -304,7 +304,7 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -304,7 +304,7 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class NewGroup( internal class NewGroup(
@ProtoId(1) val groupCode: Long = 0L, @ProtoId(1) val groupCode: Long = 0L,
@ProtoId(2) val groupName: ByteArray = EMPTY_BYTE_ARRAY, @ProtoId(2) val groupName: ByteArray = EMPTY_BYTE_ARRAY,
@ProtoId(3) val ownerUin: Long = 0L, @ProtoId(3) val ownerUin: Long = 0L,
...@@ -313,7 +313,7 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -313,7 +313,7 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class NewGroupUser( internal class NewGroupUser(
@ProtoId(1) val uin: Long = 0L, @ProtoId(1) val uin: Long = 0L,
@ProtoId(2) val int32Sex: Int = 0, @ProtoId(2) val int32Sex: Int = 0,
@ProtoId(3) val int32Age: Int = 0, @ProtoId(3) val int32Age: Int = 0,
...@@ -322,27 +322,27 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -322,27 +322,27 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class OneRoamPriv( internal class OneRoamPriv(
@ProtoId(1) val fuin: Long = 0L, @ProtoId(1) val fuin: Long = 0L,
@ProtoId(2) val privTag: Int = 0, @ProtoId(2) val privTag: Int = 0,
@ProtoId(3) val privValue: Int = 0 @ProtoId(3) val privValue: Int = 0
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class PraiseRankNotify( internal class PraiseRankNotify(
@ProtoId(11) val isChampion: Int = 0, @ProtoId(11) val isChampion: Int = 0,
@ProtoId(12) val rankNum: Int = 0, @ProtoId(12) val rankNum: Int = 0,
@ProtoId(13) val msg: String = "" @ProtoId(13) val msg: String = ""
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class ProfileInfo( internal class ProfileInfo(
@ProtoId(1) val field: Int = 0, @ProtoId(1) val field: Int = 0,
@ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY @ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class PushReportDev( internal class PushReportDev(
@ProtoId(1) val msgType: Int = 0, @ProtoId(1) val msgType: Int = 0,
@ProtoId(4) val cookie: ByteArray = EMPTY_BYTE_ARRAY, @ProtoId(4) val cookie: ByteArray = EMPTY_BYTE_ARRAY,
@ProtoId(5) val reportMaxNum: Int = 200, @ProtoId(5) val reportMaxNum: Int = 200,
...@@ -350,7 +350,7 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -350,7 +350,7 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class PushSearchDev( internal class PushSearchDev(
@ProtoId(1) val msgType: Int = 0, @ProtoId(1) val msgType: Int = 0,
@ProtoId(2) val msgGpsInfo: GPS? = null, @ProtoId(2) val msgGpsInfo: GPS? = null,
@ProtoId(3) val devTime: Int = 0, @ProtoId(3) val devTime: Int = 0,
...@@ -360,13 +360,13 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -360,13 +360,13 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class QQPayPush( internal class QQPayPush(
@ProtoId(1) val uin: Long = 0L, @ProtoId(1) val uin: Long = 0L,
@ProtoId(2) val boolPayOk: Boolean = false @ProtoId(2) val boolPayOk: Boolean = false
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class SnsUpateBuffer( internal class SnsUpateBuffer(
@ProtoId(1) val uin: Long = 0L, @ProtoId(1) val uin: Long = 0L,
@ProtoId(2) val code: Long = 0L, @ProtoId(2) val code: Long = 0L,
@ProtoId(3) val result: Int = 0, @ProtoId(3) val result: Int = 0,
...@@ -375,18 +375,18 @@ class SubMsgType0x27 : ProtoBuf { ...@@ -375,18 +375,18 @@ class SubMsgType0x27 : ProtoBuf {
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class SnsUpdateFlag( internal class SnsUpdateFlag(
@ProtoId(1) val msgUpdateSnsFlag: List<SnsUpdateOneFlag>? = null @ProtoId(1) val msgUpdateSnsFlag: List<SnsUpdateOneFlag>? = null
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class SnsUpdateItem( internal class SnsUpdateItem(
@ProtoId(1) val updateSnsType: Int = 0, @ProtoId(1) val updateSnsType: Int = 0,
@ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY @ProtoId(2) val value: ByteArray = EMPTY_BYTE_ARRAY
) : ProtoBuf ) : ProtoBuf
@Serializable @Serializable
class SnsUpdateOneFlag( internal class SnsUpdateOneFlag(
@ProtoId(1) val uin: Long = 0L, @ProtoId(1) val uin: Long = 0L,
@ProtoId(2) val id: Long = 0L, @ProtoId(2) val id: Long = 0L,
@ProtoId(3) val flag: Int = 0 @ProtoId(3) val flag: Int = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment