github.com/Mrs4s/MiraiGo@v0.0.0-20240226124653-54bdd873e3fe/client/pb/profilecard/gate.proto (about) 1 syntax = "proto2"; 2 option go_package = "github.com/Mrs4s/MiraiGo/client/pb/profilecard"; 3 4 message GateCommTaskInfo { 5 optional int32 appid = 1; 6 optional bytes taskData = 2; 7 } 8 message GateGetGiftListReq { 9 optional int32 uin = 1; 10 } 11 message GateGetGiftListRsp { 12 repeated string giftUrl = 1; 13 optional string customUrl = 2; 14 optional string desc = 3; 15 optional bool isOn = 4; 16 } 17 message GateGetVipCareReq { 18 optional int64 uin = 1; 19 } 20 message GateGetVipCareRsp { 21 optional int32 buss = 1; 22 optional int32 notice = 2; 23 } 24 message GateOidbFlagInfo { 25 optional int32 fieled = 1; 26 optional bytes byetsValue = 2; 27 } 28 message GatePrivilegeBaseInfoReq { 29 optional int64 uReqUin = 1; 30 } 31 message GatePrivilegeBaseInfoRsp { 32 optional bytes msg = 1; 33 optional bytes jumpUrl = 2; 34 repeated GatePrivilegeInfo vOpenPriv = 3; 35 repeated GatePrivilegeInfo vClosePriv = 4; 36 optional int32 uIsGrayUsr = 5; 37 } 38 message GatePrivilegeInfo { 39 optional int32 iType = 1; 40 optional int32 iSort = 2; 41 optional int32 iFeeType = 3; 42 optional int32 iLevel = 4; 43 optional int32 iFlag = 5; 44 optional bytes iconUrl = 6; 45 optional bytes deluxeIconUrl = 7; 46 optional bytes jumpUrl = 8; 47 optional int32 iIsBig = 9; 48 } 49 message GateVaProfileGateReq { 50 optional int32 uCmd = 1; 51 optional GatePrivilegeBaseInfoReq stPrivilegeReq = 2; 52 optional GateGetGiftListReq stGiftReq = 3; 53 // repeated GateCommTaskInfo taskItem = 4; 54 repeated GateOidbFlagInfo oidbFlag = 5; 55 optional GateGetVipCareReq stVipCare = 6; 56 } 57 58 message GateQidInfoItem { 59 optional string qid = 1; 60 optional string url = 2; 61 optional string color = 3; 62 optional string logoUrl = 4; 63 } 64 65 message GateVaProfileGateRsp { 66 optional int32 iRetCode = 1; 67 optional bytes sRetMsg = 2; 68 //optional GatePrivilegeBaseInfoRsp stPrivilegeRsp = 3; 69 //optional GateGetGiftListRsp stGiftRsp = 4; 70 //repeated GateCommTaskInfo taskItem = 5; 71 //repeated GateOidbFlagInfo oidbFlag = 6; 72 //optional GateGetVipCareRsp stVipCare = 7; 73 optional GateQidInfoItem qidInfo = 9; 74 }