From ffeda0a47262c1610dcae192461d6fa91156b7a0 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Sat, 6 Jul 2024 22:36:45 +0800 Subject: [PATCH] fix: msf core --- .../src/main/java/moe/fuqiuluo/qqinterface/servlet/LbsSvc.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xposed/src/main/java/moe/fuqiuluo/qqinterface/servlet/LbsSvc.kt b/xposed/src/main/java/moe/fuqiuluo/qqinterface/servlet/LbsSvc.kt index 84c50149..18ceb750 100644 --- a/xposed/src/main/java/moe/fuqiuluo/qqinterface/servlet/LbsSvc.kt +++ b/xposed/src/main/java/moe/fuqiuluo/qqinterface/servlet/LbsSvc.kt @@ -2,6 +2,7 @@ package moe.fuqiuluo.qqinterface.servlet import com.tencent.biz.map.trpcprotocol.LbsSendInfo import com.tencent.mobileqq.msf.core.MsfCore +import com.tencent.mobileqq.msf.service.MsfService import com.tencent.proto.lbsshare.LBSShare import com.tencent.qqnt.kernel.nativeinterface.MsgConstant import moe.fuqiuluo.shamrock.helper.IllegalParamsException @@ -23,7 +24,7 @@ internal object LbsSvc: BaseSvc() { }.getOrNull()) req.str_lat.set(lat.toString()) req.str_lng.set(lon.toString()) - sendPb("trpc.qq_lbs.qq_lbs_ark.LocationArk.SsoSendMessage", req.toByteArray(), MsfCore.getNextSeq()) + sendPb("trpc.qq_lbs.qq_lbs_ark.LocationArk.SsoSendMessage", req.toByteArray(), MsfService.getCore().nextSeq) return Result.success(Unit) }