Skip to content

Commit

Permalink
先注释一部分
Browse files Browse the repository at this point in the history
  • Loading branch information
sisi0318 committed Nov 4, 2024
1 parent b334820 commit 32cf8ca
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions Lagrange.Core/Internal/Service/System/FetchUserInfoService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ internal class FetchUserInfoService : BaseService<FetchUserInfoEvent>
{
private static readonly List<OidbSvcTrpcTcp0xFE1_2Key> _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 },
Expand All @@ -34,36 +34,34 @@ internal class FetchUserInfoService : BaseService<FetchUserInfoEvent>
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<byte> output, out List<Memory<byte>>? extraPackets)
{
// 27406 自定义状态文本
// 27372 状态

output = input.Uid == null
? new OidbSvcTrpcTcpBase<OidbSvcTrpcTcp0xFE1_2Uin>(new OidbSvcTrpcTcp0xFE1_2Uin
Expand Down

0 comments on commit 32cf8ca

Please sign in to comment.