mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 19:16:44 +08:00
check selfdm
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1243,6 +1243,8 @@ class DanmakuElem extends $pb.GeneratedMessage {
|
||||
$core.int? type,
|
||||
$fixnum.Int64? oid,
|
||||
DmFromType? dmFrom,
|
||||
$core.int? count,
|
||||
$core.bool? isSelf,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (id != null) {
|
||||
@@ -1302,6 +1304,12 @@ class DanmakuElem extends $pb.GeneratedMessage {
|
||||
if (dmFrom != null) {
|
||||
$result.dmFrom = dmFrom;
|
||||
}
|
||||
if (count != null) {
|
||||
$result.count = count;
|
||||
}
|
||||
if (isSelf != null) {
|
||||
$result.isSelf = isSelf;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
DanmakuElem._() : super();
|
||||
@@ -1328,6 +1336,8 @@ class DanmakuElem extends $pb.GeneratedMessage {
|
||||
..a<$core.int>(25, _omitFieldNames ? '' : 'type', $pb.PbFieldType.O3)
|
||||
..aInt64(26, _omitFieldNames ? '' : 'oid')
|
||||
..e<DmFromType>(27, _omitFieldNames ? '' : 'dmFrom', $pb.PbFieldType.OE, defaultOrMaker: DmFromType.DmFromUnknown, valueOf: DmFromType.valueOf, enumValues: DmFromType.values)
|
||||
..a<$core.int>(28, _omitFieldNames ? '' : 'count', $pb.PbFieldType.O3)
|
||||
..aOB(29, _omitFieldNames ? '' : 'isSelf', protoName: 'isSelf')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1522,6 +1532,24 @@ class DanmakuElem extends $pb.GeneratedMessage {
|
||||
$core.bool hasDmFrom() => $_has(18);
|
||||
@$pb.TagNumber(27)
|
||||
void clearDmFrom() => $_clearField(27);
|
||||
|
||||
@$pb.TagNumber(28)
|
||||
$core.int get count => $_getIZ(19);
|
||||
@$pb.TagNumber(28)
|
||||
set count($core.int v) { $_setSignedInt32(19, v); }
|
||||
@$pb.TagNumber(28)
|
||||
$core.bool hasCount() => $_has(19);
|
||||
@$pb.TagNumber(28)
|
||||
void clearCount() => $_clearField(28);
|
||||
|
||||
@$pb.TagNumber(29)
|
||||
$core.bool get isSelf => $_getBF(20);
|
||||
@$pb.TagNumber(29)
|
||||
set isSelf($core.bool v) { $_setBool(20, v); }
|
||||
@$pb.TagNumber(29)
|
||||
$core.bool hasIsSelf() => $_has(20);
|
||||
@$pb.TagNumber(29)
|
||||
void clearIsSelf() => $_clearField(29);
|
||||
}
|
||||
|
||||
class DanmakuFlag extends $pb.GeneratedMessage {
|
||||
|
||||
@@ -513,6 +513,12 @@ const DanmakuElem$json = {
|
||||
{'1': 'type', '3': 25, '4': 1, '5': 5, '10': 'type'},
|
||||
{'1': 'oid', '3': 26, '4': 1, '5': 3, '10': 'oid'},
|
||||
{'1': 'dm_from', '3': 27, '4': 1, '5': 14, '6': '.bilibili.community.service.dm.v1.DmFromType', '10': 'dmFrom'},
|
||||
{'1': 'count', '3': 28, '4': 1, '5': 5, '9': 0, '10': 'count', '17': true},
|
||||
{'1': 'isSelf', '3': 29, '4': 1, '5': 8, '9': 1, '10': 'isSelf', '17': true},
|
||||
],
|
||||
'8': [
|
||||
{'1': '_count'},
|
||||
{'1': '_isSelf'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -527,7 +533,9 @@ final $typed_data.Uint8List danmakuElemDescriptor = $convert.base64Decode(
|
||||
'CWFuaW1hdGlvbhIUCgVleHRyYRgXIAEoCVIFZXh0cmESTAoIY29sb3JmdWwYGCABKA4yMC5iaW'
|
||||
'xpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EbUNvbG9yZnVsVHlwZVIIY29sb3JmdWwS'
|
||||
'EgoEdHlwZRgZIAEoBVIEdHlwZRIQCgNvaWQYGiABKANSA29pZBJFCgdkbV9mcm9tGBsgASgOMi'
|
||||
'wuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1Gcm9tVHlwZVIGZG1Gcm9t');
|
||||
'wuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1Gcm9tVHlwZVIGZG1Gcm9tEhkK'
|
||||
'BWNvdW50GBwgASgFSABSBWNvdW50iAEBEhsKBmlzU2VsZhgdIAEoCEgBUgZpc1NlbGaIAQFCCA'
|
||||
'oGX2NvdW50QgkKB19pc1NlbGY=');
|
||||
|
||||
@$core.Deprecated('Use danmakuFlagDescriptor instead')
|
||||
const DanmakuFlag$json = {
|
||||
|
||||
Reference in New Issue
Block a user