increase dm proto extra field number

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-16 12:30:37 +08:00
parent e566a358dd
commit 62880a3769
3 changed files with 33 additions and 31 deletions

View File

@@ -1223,7 +1223,7 @@ class DanmakuElem extends $pb.GeneratedMessage {
$core.int? pool,
$core.String? idStr,
$core.int? attr,
$fixnum.Int64? like,
$fixnum.Int64? likeCount,
$core.String? animation,
$core.String? extra,
DmColorfulType? colorful,
@@ -1247,7 +1247,7 @@ class DanmakuElem extends $pb.GeneratedMessage {
if (pool != null) result.pool = pool;
if (idStr != null) result.idStr = idStr;
if (attr != null) result.attr = attr;
if (like != null) result.like = like;
if (likeCount != null) result.likeCount = likeCount;
if (animation != null) result.animation = animation;
if (extra != null) result.extra = extra;
if (colorful != null) result.colorful = colorful;
@@ -1286,7 +1286,7 @@ class DanmakuElem extends $pb.GeneratedMessage {
..aI(11, _omitFieldNames ? '' : 'pool')
..aOS(12, _omitFieldNames ? '' : 'idStr')
..aI(13, _omitFieldNames ? '' : 'attr')
..aInt64(15, _omitFieldNames ? '' : 'like')
..aInt64(15, _omitFieldNames ? '' : 'likeCount')
..aOS(22, _omitFieldNames ? '' : 'animation')
..aOS(23, _omitFieldNames ? '' : 'extra')
..aE<DmColorfulType>(24, _omitFieldNames ? '' : 'colorful',
@@ -1295,8 +1295,8 @@ class DanmakuElem extends $pb.GeneratedMessage {
..aInt64(26, _omitFieldNames ? '' : 'oid')
..aE<DmFromType>(27, _omitFieldNames ? '' : 'dmFrom',
enumValues: DmFromType.values)
..aI(28, _omitFieldNames ? '' : 'count')
..aOB(29, _omitFieldNames ? '' : 'isSelf')
..aI(100, _omitFieldNames ? '' : 'count')
..aOB(101, _omitFieldNames ? '' : 'isSelf')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@@ -1436,13 +1436,13 @@ class DanmakuElem extends $pb.GeneratedMessage {
void clearAttr() => $_clearField(13);
@$pb.TagNumber(15)
$fixnum.Int64 get like => $_getI64(13);
$fixnum.Int64 get likeCount => $_getI64(13);
@$pb.TagNumber(15)
set like($fixnum.Int64 value) => $_setInt64(13, value);
set likeCount($fixnum.Int64 value) => $_setInt64(13, value);
@$pb.TagNumber(15)
$core.bool hasLike() => $_has(13);
$core.bool hasLikeCount() => $_has(13);
@$pb.TagNumber(15)
void clearLike() => $_clearField(15);
void clearLikeCount() => $_clearField(15);
@$pb.TagNumber(22)
$core.String get animation => $_getSZ(14);
@@ -1498,23 +1498,25 @@ class DanmakuElem extends $pb.GeneratedMessage {
@$pb.TagNumber(27)
void clearDmFrom() => $_clearField(27);
@$pb.TagNumber(28)
/// extra field
@$pb.TagNumber(100)
$core.int get count => $_getIZ(20);
@$pb.TagNumber(28)
@$pb.TagNumber(100)
set count($core.int value) => $_setSignedInt32(20, value);
@$pb.TagNumber(28)
@$pb.TagNumber(100)
$core.bool hasCount() => $_has(20);
@$pb.TagNumber(28)
void clearCount() => $_clearField(28);
@$pb.TagNumber(100)
void clearCount() => $_clearField(100);
@$pb.TagNumber(29)
/// extra field
@$pb.TagNumber(101)
$core.bool get isSelf => $_getBF(21);
@$pb.TagNumber(29)
@$pb.TagNumber(101)
set isSelf($core.bool value) => $_setBool(21, value);
@$pb.TagNumber(29)
@$pb.TagNumber(101)
$core.bool hasIsSelf() => $_has(21);
@$pb.TagNumber(29)
void clearIsSelf() => $_clearField(29);
@$pb.TagNumber(101)
void clearIsSelf() => $_clearField(101);
}
class DanmakuFlag extends $pb.GeneratedMessage {

View File

@@ -624,7 +624,7 @@ const DanmakuElem$json = {
{'1': 'pool', '3': 11, '4': 1, '5': 5, '10': 'pool'},
{'1': 'id_str', '3': 12, '4': 1, '5': 9, '10': 'idStr'},
{'1': 'attr', '3': 13, '4': 1, '5': 5, '10': 'attr'},
{'1': 'like', '3': 15, '4': 1, '5': 3, '10': 'like'},
{'1': 'like_count', '3': 15, '4': 1, '5': 3, '10': 'likeCount'},
{'1': 'animation', '3': 22, '4': 1, '5': 9, '10': 'animation'},
{'1': 'extra', '3': 23, '4': 1, '5': 9, '10': 'extra'},
{
@@ -645,8 +645,8 @@ const DanmakuElem$json = {
'6': '.bilibili.community.service.dm.v1.DmFromType',
'10': 'dmFrom'
},
{'1': 'count', '3': 28, '4': 1, '5': 5, '10': 'count'},
{'1': 'is_self', '3': 29, '4': 1, '5': 8, '10': 'isSelf'},
{'1': 'count', '3': 100, '4': 1, '5': 5, '10': 'count'},
{'1': 'is_self', '3': 101, '4': 1, '5': 8, '10': 'isSelf'},
],
};
@@ -657,13 +657,13 @@ final $typed_data.Uint8List danmakuElemDescriptor = $convert.base64Decode(
'bG9yGAUgASgNUgVjb2xvchIZCghtaWRfaGFzaBgGIAEoCVIHbWlkSGFzaBIYCgdjb250ZW50GA'
'cgASgJUgdjb250ZW50EhQKBWN0aW1lGAggASgDUgVjdGltZRIWCgZ3ZWlnaHQYCSABKAVSBndl'
'aWdodBIWCgZhY3Rpb24YCiABKAlSBmFjdGlvbhISCgRwb29sGAsgASgFUgRwb29sEhUKBmlkX3'
'N0chgMIAEoCVIFaWRTdHISEgoEYXR0chgNIAEoBVIEYXR0chISCgRsaWtlGA8gASgDUgRsaWtl'
'EhwKCWFuaW1hdGlvbhgWIAEoCVIJYW5pbWF0aW9uEhQKBWV4dHJhGBcgASgJUgVleHRyYRJMCg'
'hjb2xvcmZ1bBgYIAEoDjIwLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtQ29s'
'b3JmdWxUeXBlUghjb2xvcmZ1bBISCgR0eXBlGBkgASgFUgR0eXBlEhAKA29pZBgaIAEoA1IDb2'
'lkEkUKB2RtX2Zyb20YGyABKA4yLC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5E'
'bUZyb21UeXBlUgZkbUZyb20SFAoFY291bnQYHCABKAVSBWNvdW50EhcKB2lzX3NlbGYYHSABKA'
'hSBmlzU2VsZg==');
'N0chgMIAEoCVIFaWRTdHISEgoEYXR0chg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