From 5be5bd6a4aca82b928731d01d088e0257c12b7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bryan=E4=B8=8D=E5=8F=AF=E6=80=9D=E8=AE=AE?= Date: Mon, 5 Jun 2023 15:06:35 +0800 Subject: [PATCH] =?UTF-8?q?[gRpc]=20=E6=B7=BB=E5=8A=A0=E5=A4=A7=E4=BC=9A?= =?UTF-8?q?=E5=91=98=E4=B8=93=E5=B1=9E=E9=A2=9C=E8=89=B2=20(#695)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- grpc_api/bilibili/community/service/dm/v1/dm.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/grpc_api/bilibili/community/service/dm/v1/dm.proto b/grpc_api/bilibili/community/service/dm/v1/dm.proto index 9673a01..f5d6e9d 100644 --- a/grpc_api/bilibili/community/service/dm/v1/dm.proto +++ b/grpc_api/bilibili/community/service/dm/v1/dm.proto @@ -221,6 +221,8 @@ message DanmakuElem { int32 attr = 13; // string animation = 22; + // 大会员专属颜色 + DmColorfulType colorful = 24; } // 弹幕ai云屏蔽条目 @@ -348,6 +350,16 @@ enum DMAttrBit { DMAttrHighLike = 2; // 高赞弹幕 } +message DmColorful { + DmColorfulType type = 1; // 颜色类型 + string src = 2; // +} + +enum DmColorfulType { + NoneType = 0; // 无 + VipGradualColor = 60001; // 渐变色 +} + // message DmExpoReportReq { // @@ -402,6 +414,7 @@ message DmSegMobileReply { int32 state = 2; // 弹幕云屏蔽ai评分值 DanmakuAIFlag ai_flag = 3; + repeated DmColorful colorfulSrc = 5; } // 获取弹幕-请求