From 32cf8ca6ab6f68966c1369b654062b717791a67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=80=9D=E6=80=9D?= Date: Mon, 4 Nov 2024 16:44:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E6=B3=A8=E9=87=8A=E4=B8=80=E9=83=A8?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/System/FetchUserInfoService.cs | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/Lagrange.Core/Internal/Service/System/FetchUserInfoService.cs b/Lagrange.Core/Internal/Service/System/FetchUserInfoService.cs index 96e082b40..55587c6d9 100644 --- a/Lagrange.Core/Internal/Service/System/FetchUserInfoService.cs +++ b/Lagrange.Core/Internal/Service/System/FetchUserInfoService.cs @@ -19,13 +19,13 @@ internal class FetchUserInfoService : BaseService { private static readonly List _keys = new() { - new() { Key = 20002 }, - new() { Key = 27394 }, - new() { Key = 20009 }, - new() { Key = 20031 }, - new() { Key = 101 }, + new() { Key = 20002 }, //昵称 + new() { Key = 27394 }, //QID + new() { Key = 20009 }, //性别 + new() { Key = 20031 }, //生日 + new() { Key = 101 }, //头像 new() { Key = 103 }, - new() { Key = 102 }, + new() { Key = 102 }, //简介/签名 new() { Key = 20022 }, new() { Key = 20023 }, new() { Key = 20024 }, @@ -34,36 +34,34 @@ internal class FetchUserInfoService : BaseService new() { Key = 27049 }, new() { Key = 20011 }, new() { Key = 20016 }, - new() { Key = 20021 }, - new() { Key = 20003 }, + new() { Key = 20021 }, //学校 + new() { Key = 20003 }, //国家 new() { Key = 20004 }, new() { Key = 20005 }, new() { Key = 20006 }, - new() { Key = 20020 }, - new() { Key = 20026 }, + new() { Key = 20020 }, //城市 + new() { Key = 20026 }, //注册时间 new() { Key = 24007 }, new() { Key = 104 }, - new() { Key = 105 }, + new() { Key = 105 }, //等级 new() { Key = 42432 }, new() { Key = 42362 }, new() { Key = 41756 }, new() { Key = 41757 }, new() { Key = 42257 }, - new() { Key = 27372 }, + new() { Key = 27372 }, //状态 new() { Key = 42315 }, - new() { Key = 107 }, + new() { Key = 107 }, //业务列表 new() { Key = 45160 }, new() { Key = 45161 }, - new() { Key = 27406 }, + new() { Key = 27406 }, //自定义状态文本 new() { Key = 62026 }, - new() { Key = 20037 } + new() { Key = 20037 } //年龄 }; protected override bool Build(FetchUserInfoEvent input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, out Span output, out List>? extraPackets) { - // 27406 自定义状态文本 - // 27372 状态 output = input.Uid == null ? new OidbSvcTrpcTcpBase(new OidbSvcTrpcTcp0xFE1_2Uin