diff --git a/client/pb/data.pb.go b/client/pb/data.pb.go index f3bc5051..c395f6b9 100644 --- a/client/pb/data.pb.go +++ b/client/pb/data.pb.go @@ -3,6 +3,25 @@ package pb +type SSOReserveField struct { + Flag int32 `protobuf:"varint,9,opt"` + Qimei string `protobuf:"bytes,12,opt"` + NewconnFlag int32 `protobuf:"varint,14,opt"` + Uid string `protobuf:"bytes,16,opt"` + Imsi int32 `protobuf:"varint,18,opt"` + NetworkType int32 `protobuf:"varint,19,opt"` + IpStackType int32 `protobuf:"varint,20,opt"` + MessageType int32 `protobuf:"varint,21,opt"` + SecInfo *SsoSecureInfo `protobuf:"bytes,24,opt"` + SsoIpOrigin int32 `protobuf:"varint,28,opt"` +} + +type SsoSecureInfo struct { + SecSig []byte `protobuf:"bytes,1,opt"` + SecDeviceToken []byte `protobuf:"bytes,2,opt"` + SecExtra []byte `protobuf:"bytes,3,opt"` +} + type DeviceInfo struct { Bootloader string `protobuf:"bytes,1,opt"` ProcVersion string `protobuf:"bytes,2,opt"` diff --git a/client/pb/data.proto b/client/pb/data.proto index 3e956270..dc3ed308 100644 --- a/client/pb/data.proto +++ b/client/pb/data.proto @@ -2,6 +2,25 @@ syntax = "proto3"; option go_package = "github.com/Mrs4s/MiraiGo/client/pb"; +message SSOReserveField { + int32 flag = 9; + string qimei = 12; + int32 newconn_flag = 14; + string uid = 16; + int32 imsi = 18; + int32 network_type = 19; + int32 ip_stack_type = 20; + int32 message_type = 21; + SsoSecureInfo sec_info = 24; + int32 sso_ip_origin = 28; +} + +message SsoSecureInfo { + bytes sec_sig = 1; + bytes sec_device_token = 2; + bytes sec_extra = 3; +} + message DeviceInfo { string bootloader = 1; string procVersion = 2;