github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/oidb/FriendLike.go (about) 1 package oidb 2 3 import ( 4 "github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb" 5 "github.com/LagrangeDev/LagrangeGo/internal/proto" 6 ) 7 8 func BuildFriendLikeReq(uid string, count uint32) (*OidbPacket, error) { 9 body := &oidb.OidbSvcTrpcTcp0X7E5_104{ 10 TargetUid: proto.Some(uid), 11 Field2: 71, 12 Field3: count, 13 } 14 return BuildOidbPacket(0x7E5, 104, body, false, false) 15 } 16 17 func ParseFriendLikeResp(data []byte) error { 18 return CheckError(data) 19 }