update proto

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-02 10:03:12 +08:00
parent eae075c380
commit 4dfeb284e7
92 changed files with 81401 additions and 61651 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,81 +1,120 @@
// This is a generated file - do not edit.
//
// Generated code. Do not modify.
// source: bilibili/dagw/component/avatar/common.proto
//
// Generated from bilibili/dagw/component/avatar/common.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class NativeDrawRes_FillMode extends $pb.ProtobufEnum {
static const NativeDrawRes_FillMode FILL_MODE_INVALID = NativeDrawRes_FillMode._(0, _omitEnumNames ? '' : 'FILL_MODE_INVALID');
static const NativeDrawRes_FillMode FILL_MODE_INTERNAL = NativeDrawRes_FillMode._(1, _omitEnumNames ? '' : 'FILL_MODE_INTERNAL');
static const NativeDrawRes_FillMode FILL_MODE_EDGE = NativeDrawRes_FillMode._(2, _omitEnumNames ? '' : 'FILL_MODE_EDGE');
static const NativeDrawRes_FillMode FILL_MODE_INVALID =
NativeDrawRes_FillMode._(0, _omitEnumNames ? '' : 'FILL_MODE_INVALID');
static const NativeDrawRes_FillMode FILL_MODE_INTERNAL =
NativeDrawRes_FillMode._(1, _omitEnumNames ? '' : 'FILL_MODE_INTERNAL');
static const NativeDrawRes_FillMode FILL_MODE_EDGE =
NativeDrawRes_FillMode._(2, _omitEnumNames ? '' : 'FILL_MODE_EDGE');
static const $core.List<NativeDrawRes_FillMode> values = <NativeDrawRes_FillMode> [
static const $core.List<NativeDrawRes_FillMode> values =
<NativeDrawRes_FillMode>[
FILL_MODE_INVALID,
FILL_MODE_INTERNAL,
FILL_MODE_EDGE,
];
static final $core.Map<$core.int, NativeDrawRes_FillMode> _byValue = $pb.ProtobufEnum.initByValue(values);
static NativeDrawRes_FillMode? valueOf($core.int value) => _byValue[value];
static final $core.List<NativeDrawRes_FillMode?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 2);
static NativeDrawRes_FillMode? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const NativeDrawRes_FillMode._(super.v, super.n);
const NativeDrawRes_FillMode._(super.value, super.name);
}
class NativeDrawRes_NativeDraw extends $pb.ProtobufEnum {
static const NativeDrawRes_NativeDraw DRAW_INVALID = NativeDrawRes_NativeDraw._(0, _omitEnumNames ? '' : 'DRAW_INVALID');
static const NativeDrawRes_NativeDraw DRAW_CIRCLE = NativeDrawRes_NativeDraw._(1, _omitEnumNames ? '' : 'DRAW_CIRCLE');
static const NativeDrawRes_NativeDraw DRAW_RECTANGLE = NativeDrawRes_NativeDraw._(2, _omitEnumNames ? '' : 'DRAW_RECTANGLE');
static const NativeDrawRes_NativeDraw DRAW_INVALID =
NativeDrawRes_NativeDraw._(0, _omitEnumNames ? '' : 'DRAW_INVALID');
static const NativeDrawRes_NativeDraw DRAW_CIRCLE =
NativeDrawRes_NativeDraw._(1, _omitEnumNames ? '' : 'DRAW_CIRCLE');
static const NativeDrawRes_NativeDraw DRAW_RECTANGLE =
NativeDrawRes_NativeDraw._(2, _omitEnumNames ? '' : 'DRAW_RECTANGLE');
static const $core.List<NativeDrawRes_NativeDraw> values = <NativeDrawRes_NativeDraw> [
static const $core.List<NativeDrawRes_NativeDraw> values =
<NativeDrawRes_NativeDraw>[
DRAW_INVALID,
DRAW_CIRCLE,
DRAW_RECTANGLE,
];
static final $core.Map<$core.int, NativeDrawRes_NativeDraw> _byValue = $pb.ProtobufEnum.initByValue(values);
static NativeDrawRes_NativeDraw? valueOf($core.int value) => _byValue[value];
static final $core.List<NativeDrawRes_NativeDraw?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 2);
static NativeDrawRes_NativeDraw? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const NativeDrawRes_NativeDraw._(super.v, super.n);
const NativeDrawRes_NativeDraw._(super.value, super.name);
}
class PositionSpec_CoordinatePos extends $pb.ProtobufEnum {
static const PositionSpec_CoordinatePos INVALID_COORDINATE = PositionSpec_CoordinatePos._(0, _omitEnumNames ? '' : 'INVALID_COORDINATE');
static const PositionSpec_CoordinatePos DEFAULT_COORDINATE = PositionSpec_CoordinatePos._(1, _omitEnumNames ? '' : 'DEFAULT_COORDINATE');
static const PositionSpec_CoordinatePos CENTRAL_COORDINATE = PositionSpec_CoordinatePos._(2, _omitEnumNames ? '' : 'CENTRAL_COORDINATE');
static const PositionSpec_CoordinatePos INVALID_COORDINATE =
PositionSpec_CoordinatePos._(
0, _omitEnumNames ? '' : 'INVALID_COORDINATE');
static const PositionSpec_CoordinatePos DEFAULT_COORDINATE =
PositionSpec_CoordinatePos._(
1, _omitEnumNames ? '' : 'DEFAULT_COORDINATE');
static const PositionSpec_CoordinatePos CENTRAL_COORDINATE =
PositionSpec_CoordinatePos._(
2, _omitEnumNames ? '' : 'CENTRAL_COORDINATE');
static const $core.List<PositionSpec_CoordinatePos> values = <PositionSpec_CoordinatePos> [
static const $core.List<PositionSpec_CoordinatePos> values =
<PositionSpec_CoordinatePos>[
INVALID_COORDINATE,
DEFAULT_COORDINATE,
CENTRAL_COORDINATE,
];
static final $core.Map<$core.int, PositionSpec_CoordinatePos> _byValue = $pb.ProtobufEnum.initByValue(values);
static PositionSpec_CoordinatePos? valueOf($core.int value) => _byValue[value];
static final $core.List<PositionSpec_CoordinatePos?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 2);
static PositionSpec_CoordinatePos? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const PositionSpec_CoordinatePos._(super.v, super.n);
const PositionSpec_CoordinatePos._(super.value, super.name);
}
class ResourceSource_LocalRes extends $pb.ProtobufEnum {
static const ResourceSource_LocalRes LOCAL_RES_INVALID = ResourceSource_LocalRes._(0, _omitEnumNames ? '' : 'LOCAL_RES_INVALID');
static const ResourceSource_LocalRes LOCAL_RES_ICON_VIP = ResourceSource_LocalRes._(1, _omitEnumNames ? '' : 'LOCAL_RES_ICON_VIP');
static const ResourceSource_LocalRes LOCAL_RES_ICON_SMALL_VIP = ResourceSource_LocalRes._(2, _omitEnumNames ? '' : 'LOCAL_RES_ICON_SMALL_VIP');
static const ResourceSource_LocalRes LOCAL_RES_ICON_PERSONAL_VERIFY = ResourceSource_LocalRes._(3, _omitEnumNames ? '' : 'LOCAL_RES_ICON_PERSONAL_VERIFY');
static const ResourceSource_LocalRes LOCAL_RES_ICON_ENTERPRISE_VERIFY = ResourceSource_LocalRes._(4, _omitEnumNames ? '' : 'LOCAL_RES_ICON_ENTERPRISE_VERIFY');
static const ResourceSource_LocalRes LOCAL_RES_ICON_NFT_MAINLAND = ResourceSource_LocalRes._(5, _omitEnumNames ? '' : 'LOCAL_RES_ICON_NFT_MAINLAND');
static const ResourceSource_LocalRes LOCAL_RES_DEFAULT_AVATAR = ResourceSource_LocalRes._(6, _omitEnumNames ? '' : 'LOCAL_RES_DEFAULT_AVATAR');
static const ResourceSource_LocalRes LOCAL_RES_FOLLOW_ICON = ResourceSource_LocalRes._(7, _omitEnumNames ? '' : 'LOCAL_RES_FOLLOW_ICON');
static const ResourceSource_LocalRes LOCAL_RES_FOLLOW_ACTION = ResourceSource_LocalRes._(8, _omitEnumNames ? '' : 'LOCAL_RES_FOLLOW_ACTION');
static const ResourceSource_LocalRes LOCAL_RES_INVALID =
ResourceSource_LocalRes._(0, _omitEnumNames ? '' : 'LOCAL_RES_INVALID');
static const ResourceSource_LocalRes LOCAL_RES_ICON_VIP =
ResourceSource_LocalRes._(1, _omitEnumNames ? '' : 'LOCAL_RES_ICON_VIP');
static const ResourceSource_LocalRes LOCAL_RES_ICON_SMALL_VIP =
ResourceSource_LocalRes._(
2, _omitEnumNames ? '' : 'LOCAL_RES_ICON_SMALL_VIP');
static const ResourceSource_LocalRes LOCAL_RES_ICON_PERSONAL_VERIFY =
ResourceSource_LocalRes._(
3, _omitEnumNames ? '' : 'LOCAL_RES_ICON_PERSONAL_VERIFY');
static const ResourceSource_LocalRes LOCAL_RES_ICON_ENTERPRISE_VERIFY =
ResourceSource_LocalRes._(
4, _omitEnumNames ? '' : 'LOCAL_RES_ICON_ENTERPRISE_VERIFY');
static const ResourceSource_LocalRes LOCAL_RES_ICON_NFT_MAINLAND =
ResourceSource_LocalRes._(
5, _omitEnumNames ? '' : 'LOCAL_RES_ICON_NFT_MAINLAND');
static const ResourceSource_LocalRes LOCAL_RES_DEFAULT_AVATAR =
ResourceSource_LocalRes._(
6, _omitEnumNames ? '' : 'LOCAL_RES_DEFAULT_AVATAR');
static const ResourceSource_LocalRes LOCAL_RES_FOLLOW_ICON =
ResourceSource_LocalRes._(
7, _omitEnumNames ? '' : 'LOCAL_RES_FOLLOW_ICON');
static const ResourceSource_LocalRes LOCAL_RES_FOLLOW_ACTION =
ResourceSource_LocalRes._(
8, _omitEnumNames ? '' : 'LOCAL_RES_FOLLOW_ACTION');
static const $core.List<ResourceSource_LocalRes> values = <ResourceSource_LocalRes> [
static const $core.List<ResourceSource_LocalRes> values =
<ResourceSource_LocalRes>[
LOCAL_RES_INVALID,
LOCAL_RES_ICON_VIP,
LOCAL_RES_ICON_SMALL_VIP,
@@ -87,30 +126,39 @@ class ResourceSource_LocalRes extends $pb.ProtobufEnum {
LOCAL_RES_FOLLOW_ACTION,
];
static final $core.Map<$core.int, ResourceSource_LocalRes> _byValue = $pb.ProtobufEnum.initByValue(values);
static ResourceSource_LocalRes? valueOf($core.int value) => _byValue[value];
static final $core.List<ResourceSource_LocalRes?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 8);
static ResourceSource_LocalRes? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const ResourceSource_LocalRes._(super.v, super.n);
const ResourceSource_LocalRes._(super.value, super.name);
}
class ResourceSource_SourceType extends $pb.ProtobufEnum {
static const ResourceSource_SourceType SRC_TYPE_INVALID = ResourceSource_SourceType._(0, _omitEnumNames ? '' : 'SRC_TYPE_INVALID');
static const ResourceSource_SourceType SRC_TYPE_URL = ResourceSource_SourceType._(1, _omitEnumNames ? '' : 'SRC_TYPE_URL');
static const ResourceSource_SourceType SRC_TYPE_LOCAL = ResourceSource_SourceType._(2, _omitEnumNames ? '' : 'SRC_TYPE_LOCAL');
static const ResourceSource_SourceType SRC_TYPE_DRAW = ResourceSource_SourceType._(3, _omitEnumNames ? '' : 'SRC_TYPE_DRAW');
static const ResourceSource_SourceType SRC_TYPE_INVALID =
ResourceSource_SourceType._(0, _omitEnumNames ? '' : 'SRC_TYPE_INVALID');
static const ResourceSource_SourceType SRC_TYPE_URL =
ResourceSource_SourceType._(1, _omitEnumNames ? '' : 'SRC_TYPE_URL');
static const ResourceSource_SourceType SRC_TYPE_LOCAL =
ResourceSource_SourceType._(2, _omitEnumNames ? '' : 'SRC_TYPE_LOCAL');
static const ResourceSource_SourceType SRC_TYPE_DRAW =
ResourceSource_SourceType._(3, _omitEnumNames ? '' : 'SRC_TYPE_DRAW');
static const $core.List<ResourceSource_SourceType> values = <ResourceSource_SourceType> [
static const $core.List<ResourceSource_SourceType> values =
<ResourceSource_SourceType>[
SRC_TYPE_INVALID,
SRC_TYPE_URL,
SRC_TYPE_LOCAL,
SRC_TYPE_DRAW,
];
static final $core.Map<$core.int, ResourceSource_SourceType> _byValue = $pb.ProtobufEnum.initByValue(values);
static ResourceSource_SourceType? valueOf($core.int value) => _byValue[value];
static final $core.List<ResourceSource_SourceType?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 3);
static ResourceSource_SourceType? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const ResourceSource_SourceType._(super.v, super.n);
const ResourceSource_SourceType._(super.value, super.name);
}
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
const $core.bool _omitEnumNames =
$core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
//
// Generated code. Do not modify.
// source: bilibili/dagw/component/avatar/common.proto
//
// Generated from bilibili/dagw/component/avatar/common.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
@@ -29,9 +30,29 @@ final $typed_data.Uint8List basicRenderSpecDescriptor = $convert.base64Decode(
const ColorConfig$json = {
'1': 'ColorConfig',
'2': [
{'1': 'is_dark_mode_aware', '3': 1, '4': 1, '5': 8, '10': 'isDarkModeAware'},
{'1': 'day', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorSpec', '10': 'day'},
{'1': 'night', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorSpec', '10': 'night'},
{
'1': 'is_dark_mode_aware',
'3': 1,
'4': 1,
'5': 8,
'10': 'isDarkModeAware'
},
{
'1': 'day',
'3': 2,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ColorSpec',
'10': 'day'
},
{
'1': 'night',
'3': 3,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ColorSpec',
'10': 'night'
},
],
};
@@ -51,16 +72,37 @@ const ColorSpec$json = {
};
/// Descriptor for `ColorSpec`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List colorSpecDescriptor = $convert.base64Decode(
'CglDb2xvclNwZWMSEgoEYXJnYhgBIAEoCVIEYXJnYg==');
final $typed_data.Uint8List colorSpecDescriptor =
$convert.base64Decode('CglDb2xvclNwZWMSEgoEYXJnYhgBIAEoCVIEYXJnYg==');
@$core.Deprecated('Use layerGeneralSpecDescriptor instead')
const LayerGeneralSpec$json = {
'1': 'LayerGeneralSpec',
'2': [
{'1': 'pos_spec', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.PositionSpec', '10': 'posSpec'},
{'1': 'size_spec', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.SizeSpec', '10': 'sizeSpec'},
{'1': 'render_spec', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.BasicRenderSpec', '10': 'renderSpec'},
{
'1': 'pos_spec',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.PositionSpec',
'10': 'posSpec'
},
{
'1': 'size_spec',
'3': 2,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.SizeSpec',
'10': 'sizeSpec'
},
{
'1': 'render_spec',
'3': 3,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.BasicRenderSpec',
'10': 'renderSpec'
},
],
};
@@ -76,8 +118,22 @@ final $typed_data.Uint8List layerGeneralSpecDescriptor = $convert.base64Decode(
const MaskProperty$json = {
'1': 'MaskProperty',
'2': [
{'1': 'general_spec', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.LayerGeneralSpec', '10': 'generalSpec'},
{'1': 'mask_src', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'maskSrc'},
{
'1': 'general_spec',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.LayerGeneralSpec',
'10': 'generalSpec'
},
{
'1': 'mask_src',
'3': 2,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ResourceSource',
'10': 'maskSrc'
},
],
};
@@ -92,9 +148,30 @@ final $typed_data.Uint8List maskPropertyDescriptor = $convert.base64Decode(
const NativeDrawRes$json = {
'1': 'NativeDrawRes',
'2': [
{'1': 'draw_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.dagw.component.avatar.common.NativeDrawRes.NativeDraw', '10': 'drawType'},
{'1': 'fill_mode', '3': 2, '4': 1, '5': 14, '6': '.bilibili.dagw.component.avatar.common.NativeDrawRes.FillMode', '10': 'fillMode'},
{'1': 'color_config', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorConfig', '10': 'colorConfig'},
{
'1': 'draw_type',
'3': 1,
'4': 1,
'5': 14,
'6': '.bilibili.dagw.component.avatar.common.NativeDrawRes.NativeDraw',
'10': 'drawType'
},
{
'1': 'fill_mode',
'3': 2,
'4': 1,
'5': 14,
'6': '.bilibili.dagw.component.avatar.common.NativeDrawRes.FillMode',
'10': 'fillMode'
},
{
'1': 'color_config',
'3': 3,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ColorConfig',
'10': 'colorConfig'
},
{'1': 'edge_weight', '3': 4, '4': 1, '5': 1, '10': 'edgeWeight'},
],
'4': [NativeDrawRes_FillMode$json, NativeDrawRes_NativeDraw$json],
@@ -136,7 +213,14 @@ final $typed_data.Uint8List nativeDrawResDescriptor = $convert.base64Decode(
const PositionSpec$json = {
'1': 'PositionSpec',
'2': [
{'1': 'coordinate_pos', '3': 1, '4': 1, '5': 14, '6': '.bilibili.dagw.component.avatar.common.PositionSpec.CoordinatePos', '10': 'coordinatePos'},
{
'1': 'coordinate_pos',
'3': 1,
'4': 1,
'5': 14,
'6': '.bilibili.dagw.component.avatar.common.PositionSpec.CoordinatePos',
'10': 'coordinatePos'
},
{'1': 'axis_x', '3': 2, '4': 1, '5': 1, '10': 'axisX'},
{'1': 'axis_y', '3': 3, '4': 1, '5': 1, '10': 'axisY'},
],
@@ -179,11 +263,41 @@ final $typed_data.Uint8List remoteResDescriptor = $convert.base64Decode(
const ResourceSource$json = {
'1': 'ResourceSource',
'2': [
{'1': 'remote', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.RemoteRes', '9': 0, '10': 'remote'},
{
'1': 'remote',
'3': 3,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.RemoteRes',
'9': 0,
'10': 'remote'
},
{'1': 'local_value', '3': 4, '4': 1, '5': 5, '9': 0, '10': 'localValue'},
{'1': 'draw', '3': 5, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.NativeDrawRes', '9': 0, '10': 'draw'},
{'1': 'src_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.dagw.component.avatar.common.ResourceSource.SourceType', '10': 'srcType'},
{'1': 'placeholder', '3': 2, '4': 1, '5': 14, '6': '.bilibili.dagw.component.avatar.common.ResourceSource.LocalRes', '10': 'placeholder'},
{
'1': 'draw',
'3': 5,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.NativeDrawRes',
'9': 0,
'10': 'draw'
},
{
'1': 'src_type',
'3': 1,
'4': 1,
'5': 14,
'6': '.bilibili.dagw.component.avatar.common.ResourceSource.SourceType',
'10': 'srcType'
},
{
'1': 'placeholder',
'3': 2,
'4': 1,
'5': 14,
'6': '.bilibili.dagw.component.avatar.common.ResourceSource.LocalRes',
'10': 'placeholder'
},
],
'4': [ResourceSource_LocalRes$json, ResourceSource_SourceType$json],
'8': [
@@ -248,4 +362,3 @@ const SizeSpec$json = {
final $typed_data.Uint8List sizeSpecDescriptor = $convert.base64Decode(
'CghTaXplU3BlYxIUCgV3aWR0aBgBIAEoAVIFd2lkdGgSFgoGaGVpZ2h0GAIgASgBUgZoZWlnaH'
'Q=');

File diff suppressed because it is too large Load Diff

View File

@@ -1,27 +1,37 @@
// This is a generated file - do not edit.
//
// Generated code. Do not modify.
// source: bilibili/dagw/component/avatar/v1.proto
//
// Generated from bilibili/dagw/component/avatar/v1.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class BasicLayerResource_ResType extends $pb.ProtobufEnum {
static const BasicLayerResource_ResType RES_TYPE_INVALID = BasicLayerResource_ResType._(0, _omitEnumNames ? '' : 'RES_TYPE_INVALID');
static const BasicLayerResource_ResType RES_TYPE_PLUGIN = BasicLayerResource_ResType._(1, _omitEnumNames ? '' : 'RES_TYPE_PLUGIN');
static const BasicLayerResource_ResType RES_TYPE_EMPTY = BasicLayerResource_ResType._(2, _omitEnumNames ? '' : 'RES_TYPE_EMPTY');
static const BasicLayerResource_ResType RES_TYPE_IMAGE = BasicLayerResource_ResType._(3, _omitEnumNames ? '' : 'RES_TYPE_IMAGE');
static const BasicLayerResource_ResType RES_TYPE_ANIMATION = BasicLayerResource_ResType._(4, _omitEnumNames ? '' : 'RES_TYPE_ANIMATION');
static const BasicLayerResource_ResType RES_TYPE_NATIVE_DRAW = BasicLayerResource_ResType._(5, _omitEnumNames ? '' : 'RES_TYPE_NATIVE_DRAW');
static const BasicLayerResource_ResType RES_TYPE_INVALID =
BasicLayerResource_ResType._(0, _omitEnumNames ? '' : 'RES_TYPE_INVALID');
static const BasicLayerResource_ResType RES_TYPE_PLUGIN =
BasicLayerResource_ResType._(1, _omitEnumNames ? '' : 'RES_TYPE_PLUGIN');
static const BasicLayerResource_ResType RES_TYPE_EMPTY =
BasicLayerResource_ResType._(2, _omitEnumNames ? '' : 'RES_TYPE_EMPTY');
static const BasicLayerResource_ResType RES_TYPE_IMAGE =
BasicLayerResource_ResType._(3, _omitEnumNames ? '' : 'RES_TYPE_IMAGE');
static const BasicLayerResource_ResType RES_TYPE_ANIMATION =
BasicLayerResource_ResType._(
4, _omitEnumNames ? '' : 'RES_TYPE_ANIMATION');
static const BasicLayerResource_ResType RES_TYPE_NATIVE_DRAW =
BasicLayerResource_ResType._(
5, _omitEnumNames ? '' : 'RES_TYPE_NATIVE_DRAW');
static const $core.List<BasicLayerResource_ResType> values = <BasicLayerResource_ResType> [
static const $core.List<BasicLayerResource_ResType> values =
<BasicLayerResource_ResType>[
RES_TYPE_INVALID,
RES_TYPE_PLUGIN,
RES_TYPE_EMPTY,
@@ -30,23 +40,41 @@ class BasicLayerResource_ResType extends $pb.ProtobufEnum {
RES_TYPE_NATIVE_DRAW,
];
static final $core.Map<$core.int, BasicLayerResource_ResType> _byValue = $pb.ProtobufEnum.initByValue(values);
static BasicLayerResource_ResType? valueOf($core.int value) => _byValue[value];
static final $core.List<BasicLayerResource_ResType?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 5);
static BasicLayerResource_ResType? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const BasicLayerResource_ResType._(super.v, super.n);
const BasicLayerResource_ResType._(super.value, super.name);
}
class LayerTagConfig_TagConfigType extends $pb.ProtobufEnum {
static const LayerTagConfig_TagConfigType TAG_CFG_INVALID = LayerTagConfig_TagConfigType._(0, _omitEnumNames ? '' : 'TAG_CFG_INVALID');
static const LayerTagConfig_TagConfigType TAG_CFG_GENERAL = LayerTagConfig_TagConfigType._(1, _omitEnumNames ? '' : 'TAG_CFG_GENERAL');
static const LayerTagConfig_TagConfigType TAG_CFG_GYRO = LayerTagConfig_TagConfigType._(2, _omitEnumNames ? '' : 'TAG_CFG_GYRO');
static const LayerTagConfig_TagConfigType TAG_CFG_COMMENT_DOUBLE_CLICK = LayerTagConfig_TagConfigType._(3, _omitEnumNames ? '' : 'TAG_CFG_COMMENT_DOUBLE_CLICK');
static const LayerTagConfig_TagConfigType TAG_CFG_IN_LIVE = LayerTagConfig_TagConfigType._(4, _omitEnumNames ? '' : 'TAG_CFG_IN_LIVE');
static const LayerTagConfig_TagConfigType TAG_CFG_WEB_IN_LIVE = LayerTagConfig_TagConfigType._(5, _omitEnumNames ? '' : 'TAG_CFG_WEB_IN_LIVE');
static const LayerTagConfig_TagConfigType TAG_CFG_FOLLOW_ICON = LayerTagConfig_TagConfigType._(6, _omitEnumNames ? '' : 'TAG_CFG_FOLLOW_ICON');
static const LayerTagConfig_TagConfigType TAG_CFG_FOLLOW_ACTION = LayerTagConfig_TagConfigType._(7, _omitEnumNames ? '' : 'TAG_CFG_FOLLOW_ACTION');
static const LayerTagConfig_TagConfigType TAG_CFG_INVALID =
LayerTagConfig_TagConfigType._(
0, _omitEnumNames ? '' : 'TAG_CFG_INVALID');
static const LayerTagConfig_TagConfigType TAG_CFG_GENERAL =
LayerTagConfig_TagConfigType._(
1, _omitEnumNames ? '' : 'TAG_CFG_GENERAL');
static const LayerTagConfig_TagConfigType TAG_CFG_GYRO =
LayerTagConfig_TagConfigType._(2, _omitEnumNames ? '' : 'TAG_CFG_GYRO');
static const LayerTagConfig_TagConfigType TAG_CFG_COMMENT_DOUBLE_CLICK =
LayerTagConfig_TagConfigType._(
3, _omitEnumNames ? '' : 'TAG_CFG_COMMENT_DOUBLE_CLICK');
static const LayerTagConfig_TagConfigType TAG_CFG_IN_LIVE =
LayerTagConfig_TagConfigType._(
4, _omitEnumNames ? '' : 'TAG_CFG_IN_LIVE');
static const LayerTagConfig_TagConfigType TAG_CFG_WEB_IN_LIVE =
LayerTagConfig_TagConfigType._(
5, _omitEnumNames ? '' : 'TAG_CFG_WEB_IN_LIVE');
static const LayerTagConfig_TagConfigType TAG_CFG_FOLLOW_ICON =
LayerTagConfig_TagConfigType._(
6, _omitEnumNames ? '' : 'TAG_CFG_FOLLOW_ICON');
static const LayerTagConfig_TagConfigType TAG_CFG_FOLLOW_ACTION =
LayerTagConfig_TagConfigType._(
7, _omitEnumNames ? '' : 'TAG_CFG_FOLLOW_ACTION');
static const $core.List<LayerTagConfig_TagConfigType> values = <LayerTagConfig_TagConfigType> [
static const $core.List<LayerTagConfig_TagConfigType> values =
<LayerTagConfig_TagConfigType>[
TAG_CFG_INVALID,
TAG_CFG_GENERAL,
TAG_CFG_GYRO,
@@ -57,11 +85,13 @@ class LayerTagConfig_TagConfigType extends $pb.ProtobufEnum {
TAG_CFG_FOLLOW_ACTION,
];
static final $core.Map<$core.int, LayerTagConfig_TagConfigType> _byValue = $pb.ProtobufEnum.initByValue(values);
static LayerTagConfig_TagConfigType? valueOf($core.int value) => _byValue[value];
static final $core.List<LayerTagConfig_TagConfigType?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 7);
static LayerTagConfig_TagConfigType? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const LayerTagConfig_TagConfigType._(super.v, super.n);
const LayerTagConfig_TagConfigType._(super.value, super.name);
}
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
const $core.bool _omitEnumNames =
$core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
//
// Generated code. Do not modify.
// source: bilibili/dagw/component/avatar/v1.proto
//
// Generated from bilibili/dagw/component/avatar/v1.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
@@ -17,9 +18,30 @@ import 'dart:typed_data' as $typed_data;
const AvatarItem$json = {
'1': 'AvatarItem',
'2': [
{'1': 'container_size', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.SizeSpec', '10': 'containerSize'},
{'1': 'layers', '3': 2, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerGroup', '10': 'layers'},
{'1': 'fallback_layers', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerGroup', '10': 'fallbackLayers'},
{
'1': 'container_size',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.SizeSpec',
'10': 'containerSize'
},
{
'1': 'layers',
'3': 2,
'4': 3,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.LayerGroup',
'10': 'layers'
},
{
'1': 'fallback_layers',
'3': 3,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.LayerGroup',
'10': 'fallbackLayers'
},
{'1': 'mid', '3': 4, '4': 1, '5': 3, '10': 'mid'},
],
};
@@ -37,10 +59,41 @@ final $typed_data.Uint8List avatarItemDescriptor = $convert.base64Decode(
const BasicLayerResource$json = {
'1': 'BasicLayerResource',
'2': [
{'1': 'res_image', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.ResImage', '9': 0, '10': 'resImage'},
{'1': 'res_animation', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.ResAnimation', '9': 0, '10': 'resAnimation'},
{'1': 'res_native_draw', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.ResNativeDraw', '9': 0, '10': 'resNativeDraw'},
{'1': 'res_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.dagw.component.avatar.v1.BasicLayerResource.ResType', '10': 'resType'},
{
'1': 'res_image',
'3': 2,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.ResImage',
'9': 0,
'10': 'resImage'
},
{
'1': 'res_animation',
'3': 3,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.ResAnimation',
'9': 0,
'10': 'resAnimation'
},
{
'1': 'res_native_draw',
'3': 4,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.ResNativeDraw',
'9': 0,
'10': 'resNativeDraw'
},
{
'1': 'res_type',
'3': 1,
'4': 1,
'5': 14,
'6': '.bilibili.dagw.component.avatar.v1.BasicLayerResource.ResType',
'10': 'resType'
},
],
'4': [BasicLayerResource_ResType$json],
'8': [
@@ -78,7 +131,14 @@ final $typed_data.Uint8List basicLayerResourceDescriptor = $convert.base64Decode
const GeneralConfig$json = {
'1': 'GeneralConfig',
'2': [
{'1': 'web_css_style', '3': 1, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.GeneralConfig.WebCssStyleEntry', '10': 'webCssStyle'},
{
'1': 'web_css_style',
'3': 1,
'4': 3,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.GeneralConfig.WebCssStyleEntry',
'10': 'webCssStyle'
},
],
'3': [GeneralConfig_WebCssStyleEntry$json],
};
@@ -106,9 +166,30 @@ const Layer$json = {
'2': [
{'1': 'layer_id', '3': 1, '4': 1, '5': 9, '10': 'layerId'},
{'1': 'visible', '3': 2, '4': 1, '5': 8, '10': 'visible'},
{'1': 'general_spec', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.LayerGeneralSpec', '10': 'generalSpec'},
{'1': 'layer_config', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerConfig', '10': 'layerConfig'},
{'1': 'resource', '3': 5, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.BasicLayerResource', '10': 'resource'},
{
'1': 'general_spec',
'3': 3,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.LayerGeneralSpec',
'10': 'generalSpec'
},
{
'1': 'layer_config',
'3': 4,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.LayerConfig',
'10': 'layerConfig'
},
{
'1': 'resource',
'3': 5,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.BasicLayerResource',
'10': 'resource'
},
],
};
@@ -125,10 +206,24 @@ final $typed_data.Uint8List layerDescriptor = $convert.base64Decode(
const LayerConfig$json = {
'1': 'LayerConfig',
'2': [
{'1': 'tags', '3': 1, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerConfig.TagsEntry', '10': 'tags'},
{
'1': 'tags',
'3': 1,
'4': 3,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.LayerConfig.TagsEntry',
'10': 'tags'
},
{'1': 'is_critical', '3': 2, '4': 1, '5': 8, '10': 'isCritical'},
{'1': 'allow_over_paint', '3': 3, '4': 1, '5': 8, '10': 'allowOverPaint'},
{'1': 'layer_mask', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.MaskProperty', '10': 'layerMask'},
{
'1': 'layer_mask',
'3': 4,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.MaskProperty',
'10': 'layerMask'
},
],
'3': [LayerConfig_TagsEntry$json],
};
@@ -138,7 +233,14 @@ const LayerConfig_TagsEntry$json = {
'1': 'TagsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerTagConfig', '10': 'value'},
{
'1': 'value',
'3': 2,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.LayerTagConfig',
'10': 'value'
},
],
'7': {'7': true},
};
@@ -158,8 +260,22 @@ const LayerGroup$json = {
'1': 'LayerGroup',
'2': [
{'1': 'group_id', '3': 1, '4': 1, '5': 9, '10': 'groupId'},
{'1': 'layers', '3': 2, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.Layer', '10': 'layers'},
{'1': 'group_mask', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.MaskProperty', '10': 'groupMask'},
{
'1': 'layers',
'3': 2,
'4': 3,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.Layer',
'10': 'layers'
},
{
'1': 'group_mask',
'3': 3,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.MaskProperty',
'10': 'groupMask'
},
{'1': 'is_critical_group', '3': 4, '4': 1, '5': 8, '10': 'isCriticalGroup'},
],
};
@@ -176,14 +292,77 @@ final $typed_data.Uint8List layerGroupDescriptor = $convert.base64Decode(
const LayerTagConfig$json = {
'1': 'LayerTagConfig',
'2': [
{'1': 'general_config', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.GeneralConfig', '9': 0, '10': 'generalConfig'},
{'1': 'gyro_config', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.GyroConfig', '9': 0, '10': 'gyroConfig'},
{'1': 'comment_double_click_config', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.CommentDoubleClickConfig', '9': 0, '10': 'commentDoubleClickConfig'},
{'1': 'live_anime_config', '3': 5, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.LiveAnimeConfig', '9': 0, '10': 'liveAnimeConfig'},
{'1': 'web_live_anime_config', '3': 6, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.WebLiveAnimeConfig', '9': 0, '10': 'webLiveAnimeConfig'},
{'1': 'follow_icon_config', '3': 7, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.FollowIconConfig', '9': 0, '10': 'followIconConfig'},
{'1': 'follow_action_config', '3': 8, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.FollowActionConfig', '9': 0, '10': 'followActionConfig'},
{'1': 'config_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.dagw.component.avatar.v1.LayerTagConfig.TagConfigType', '10': 'configType'},
{
'1': 'general_config',
'3': 2,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.GeneralConfig',
'9': 0,
'10': 'generalConfig'
},
{
'1': 'gyro_config',
'3': 3,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.GyroConfig',
'9': 0,
'10': 'gyroConfig'
},
{
'1': 'comment_double_click_config',
'3': 4,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.CommentDoubleClickConfig',
'9': 0,
'10': 'commentDoubleClickConfig'
},
{
'1': 'live_anime_config',
'3': 5,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.LiveAnimeConfig',
'9': 0,
'10': 'liveAnimeConfig'
},
{
'1': 'web_live_anime_config',
'3': 6,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.WebLiveAnimeConfig',
'9': 0,
'10': 'webLiveAnimeConfig'
},
{
'1': 'follow_icon_config',
'3': 7,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.FollowIconConfig',
'9': 0,
'10': 'followIconConfig'
},
{
'1': 'follow_action_config',
'3': 8,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.FollowActionConfig',
'9': 0,
'10': 'followActionConfig'
},
{
'1': 'config_type',
'3': 1,
'4': 1,
'5': 14,
'6': '.bilibili.dagw.component.avatar.v1.LayerTagConfig.TagConfigType',
'10': 'configType'
},
],
'4': [LayerTagConfig_TagConfigType$json],
'8': [
@@ -233,7 +412,14 @@ final $typed_data.Uint8List layerTagConfigDescriptor = $convert.base64Decode(
const ResAnimation$json = {
'1': 'ResAnimation',
'2': [
{'1': 'webp_src', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'webpSrc'},
{
'1': 'webp_src',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ResourceSource',
'10': 'webpSrc'
},
],
};
@@ -246,7 +432,14 @@ final $typed_data.Uint8List resAnimationDescriptor = $convert.base64Decode(
const ResImage$json = {
'1': 'ResImage',
'2': [
{'1': 'image_src', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'imageSrc'},
{
'1': 'image_src',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ResourceSource',
'10': 'imageSrc'
},
],
};
@@ -259,7 +452,14 @@ final $typed_data.Uint8List resImageDescriptor = $convert.base64Decode(
const ResNativeDraw$json = {
'1': 'ResNativeDraw',
'2': [
{'1': 'draw_src', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'drawSrc'},
{
'1': 'draw_src',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ResourceSource',
'10': 'drawSrc'
},
],
};
@@ -267,4 +467,3 @@ const ResNativeDraw$json = {
final $typed_data.Uint8List resNativeDrawDescriptor = $convert.base64Decode(
'Cg1SZXNOYXRpdmVEcmF3ElAKCGRyYXdfc3JjGAEgASgLMjUuYmlsaWJpbGkuZGFndy5jb21wb2'
'5lbnQuYXZhdGFyLmNvbW1vbi5SZXNvdXJjZVNvdXJjZVIHZHJhd1NyYw==');

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
// This is a generated file - do not edit.
//
// Generated code. Do not modify.
// source: bilibili/dagw/component/avatar/v1/plugin.proto
//
// Generated from bilibili/dagw/component/avatar/v1/plugin.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
//
// Generated code. Do not modify.
// source: bilibili/dagw/component/avatar/v1/plugin.proto
//
// Generated from bilibili/dagw/component/avatar/v1/plugin.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
@@ -17,7 +18,14 @@ import 'dart:typed_data' as $typed_data;
const BorderConfig$json = {
'1': 'BorderConfig',
'2': [
{'1': 'color', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorConfig', '10': 'color'},
{
'1': 'color',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ColorConfig',
'10': 'color'
},
{'1': 'border_width', '3': 2, '4': 1, '5': 1, '10': 'borderWidth'},
{'1': 'ratio', '3': 3, '4': 1, '5': 1, '10': 'ratio'},
],
@@ -33,7 +41,14 @@ final $typed_data.Uint8List borderConfigDescriptor = $convert.base64Decode(
const CommentDoubleClickConfig$json = {
'1': 'CommentDoubleClickConfig',
'2': [
{'1': 'interaction', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.Interaction', '10': 'interaction'},
{
'1': 'interaction',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.Interaction',
'10': 'interaction'
},
{'1': 'animation_scale', '3': 2, '4': 1, '5': 1, '10': 'animationScale'},
],
};
@@ -49,9 +64,23 @@ const FollowActionConfig$json = {
'1': 'FollowActionConfig',
'2': [
{'1': 'has_follow', '3': 1, '4': 1, '5': 8, '10': 'hasFollow'},
{'1': 'icon_res', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'iconRes'},
{
'1': 'icon_res',
'3': 2,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ResourceSource',
'10': 'iconRes'
},
{'1': 'border_width', '3': 3, '4': 1, '5': 1, '10': 'borderWidth'},
{'1': 'border_color', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorConfig', '10': 'borderColor'},
{
'1': 'border_color',
'3': 4,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ColorConfig',
'10': 'borderColor'
},
{'1': 'mid', '3': 5, '4': 1, '5': 3, '10': 'mid'},
{'1': 'icon_width_ratio', '3': 6, '4': 1, '5': 1, '10': 'iconWidthRatio'},
{'1': 'icon_size_offset', '3': 7, '4': 1, '5': 1, '10': 'iconSizeOffset'},
@@ -73,9 +102,23 @@ const FollowIconConfig$json = {
'1': 'FollowIconConfig',
'2': [
{'1': 'has_follow', '3': 1, '4': 1, '5': 8, '10': 'hasFollow'},
{'1': 'icon_res', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'iconRes'},
{
'1': 'icon_res',
'3': 2,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ResourceSource',
'10': 'iconRes'
},
{'1': 'border_width', '3': 3, '4': 1, '5': 1, '10': 'borderWidth'},
{'1': 'border_color', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorConfig', '10': 'borderColor'},
{
'1': 'border_color',
'3': 4,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ColorConfig',
'10': 'borderColor'
},
{'1': 'mid', '3': 5, '4': 1, '5': 3, '10': 'mid'},
],
};
@@ -92,7 +135,14 @@ final $typed_data.Uint8List followIconConfigDescriptor = $convert.base64Decode(
const GyroConfig$json = {
'1': 'GyroConfig',
'2': [
{'1': 'gyroscope', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.NFTImageV2', '10': 'gyroscope'},
{
'1': 'gyroscope',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.NFTImageV2',
'10': 'gyroscope'
},
],
};
@@ -107,7 +157,14 @@ const GyroscopeContentV2$json = {
'2': [
{'1': 'file_url', '3': 1, '4': 1, '5': 9, '10': 'fileUrl'},
{'1': 'scale', '3': 2, '4': 1, '5': 2, '10': 'scale'},
{'1': 'physical_orientation', '3': 3, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.PhysicalOrientationV2', '10': 'physicalOrientation'},
{
'1': 'physical_orientation',
'3': 3,
'4': 3,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.PhysicalOrientationV2',
'10': 'physicalOrientation'
},
],
};
@@ -123,7 +180,14 @@ const GyroscopeEntityV2$json = {
'1': 'GyroscopeEntityV2',
'2': [
{'1': 'display_type', '3': 1, '4': 1, '5': 9, '10': 'displayType'},
{'1': 'contents', '3': 2, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.GyroscopeContentV2', '10': 'contents'},
{
'1': 'contents',
'3': 2,
'4': 3,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.GyroscopeContentV2',
'10': 'contents'
},
],
};
@@ -155,9 +219,30 @@ const LiveAnimeConfig$json = {
'1': 'LiveAnimeConfig',
'2': [
{'1': 'is_live', '3': 1, '4': 1, '5': 8, '10': 'isLive'},
{'1': 'config', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.LiveTextConfig', '10': 'config'},
{'1': 'items', '3': 3, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.LiveAnimeItem', '10': 'items'},
{'1': 'border_config', '3': 4, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.BorderConfig', '10': 'borderConfig'},
{
'1': 'config',
'3': 2,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.LiveTextConfig',
'10': 'config'
},
{
'1': 'items',
'3': 3,
'4': 3,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.LiveAnimeItem',
'10': 'items'
},
{
'1': 'border_config',
'3': 4,
'4': 3,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.BorderConfig',
'10': 'borderConfig'
},
],
};
@@ -174,7 +259,14 @@ final $typed_data.Uint8List liveAnimeConfigDescriptor = $convert.base64Decode(
const LiveAnimeItem$json = {
'1': 'LiveAnimeItem',
'2': [
{'1': 'color', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorConfig', '10': 'color'},
{
'1': 'color',
'3': 1,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ColorConfig',
'10': 'color'
},
{'1': 'start_ratio', '3': 2, '4': 1, '5': 1, '10': 'startRatio'},
{'1': 'end_ratio', '3': 3, '4': 1, '5': 1, '10': 'endRatio'},
{'1': 'start_stroke', '3': 4, '4': 1, '5': 1, '10': 'startStroke'},
@@ -200,8 +292,22 @@ const LiveTextConfig$json = {
{'1': 'offset_y', '3': 3, '4': 1, '5': 1, '10': 'offsetY'},
{'1': 'border_width', '3': 4, '4': 1, '5': 1, '10': 'borderWidth'},
{'1': 'text_size', '3': 5, '4': 1, '5': 1, '10': 'textSize'},
{'1': 'border_color', '3': 7, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorConfig', '10': 'borderColor'},
{'1': 'background', '3': 8, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorConfig', '10': 'background'},
{
'1': 'border_color',
'3': 7,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ColorConfig',
'10': 'borderColor'
},
{
'1': 'background',
'3': 8,
'4': 1,
'5': 11,
'6': '.bilibili.dagw.component.avatar.common.ColorConfig',
'10': 'background'
},
],
};
@@ -218,7 +324,14 @@ final $typed_data.Uint8List liveTextConfigDescriptor = $convert.base64Decode(
const NFTImageV2$json = {
'1': 'NFTImageV2',
'2': [
{'1': 'gyroscope', '3': 1, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.GyroscopeEntityV2', '10': 'gyroscope'},
{
'1': 'gyroscope',
'3': 1,
'4': 3,
'5': 11,
'6': '.bilibili.dagw.component.avatar.v1.plugin.GyroscopeEntityV2',
'10': 'gyroscope'
},
],
};
@@ -238,9 +351,10 @@ const PhysicalOrientationAnimation$json = {
};
/// Descriptor for `PhysicalOrientationAnimation`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List physicalOrientationAnimationDescriptor = $convert.base64Decode(
'ChxQaHlzaWNhbE9yaWVudGF0aW9uQW5pbWF0aW9uEhIKBHR5cGUYASABKAlSBHR5cGUSFAoFdm'
'FsdWUYAiADKAJSBXZhbHVlEhYKBmJlemllchgDIAEoCVIGYmV6aWVy');
final $typed_data.Uint8List physicalOrientationAnimationDescriptor =
$convert.base64Decode(
'ChxQaHlzaWNhbE9yaWVudGF0aW9uQW5pbWF0aW9uEhIKBHR5cGUYASABKAlSBHR5cGUSFAoFdm'
'FsdWUYAiADKAJSBXZhbHVlEhYKBmJlemllchgDIAEoCVIGYmV6aWVy');
@$core.Deprecated('Use physicalOrientationV2Descriptor instead')
const PhysicalOrientationV2$json = {
@@ -248,7 +362,15 @@ const PhysicalOrientationV2$json = {
'2': [
{'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'},
{'1': 'angle', '3': 2, '4': 3, '5': 2, '10': 'angle'},
{'1': 'animations', '3': 3, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.PhysicalOrientationAnimation', '10': 'animations'},
{
'1': 'animations',
'3': 3,
'4': 3,
'5': 11,
'6':
'.bilibili.dagw.component.avatar.v1.plugin.PhysicalOrientationAnimation',
'10': 'animations'
},
],
};
@@ -267,8 +389,20 @@ const WebLiveAnimeConfig$json = {
{'1': 'pink_circle_width', '3': 2, '4': 1, '5': 1, '10': 'pinkCircleWidth'},
{'1': 'live_label_width', '3': 3, '4': 1, '5': 1, '10': 'liveLabelWidth'},
{'1': 'live_label_height', '3': 4, '4': 1, '5': 1, '10': 'liveLabelHeight'},
{'1': 'live_label_offset_y', '3': 5, '4': 1, '5': 1, '10': 'liveLabelOffsetY'},
{'1': 'live_label_border_width', '3': 6, '4': 1, '5': 1, '10': 'liveLabelBorderWidth'},
{
'1': 'live_label_offset_y',
'3': 5,
'4': 1,
'5': 1,
'10': 'liveLabelOffsetY'
},
{
'1': 'live_label_border_width',
'3': 6,
'4': 1,
'5': 1,
'10': 'liveLabelBorderWidth'
},
],
};
@@ -280,4 +414,3 @@ final $typed_data.Uint8List webLiveAnimeConfigDescriptor = $convert.base64Decode
'dodBgEIAEoAVIPbGl2ZUxhYmVsSGVpZ2h0Ei0KE2xpdmVfbGFiZWxfb2Zmc2V0X3kYBSABKAFS'
'EGxpdmVMYWJlbE9mZnNldFkSNQoXbGl2ZV9sYWJlbF9ib3JkZXJfd2lkdGgYBiABKAFSFGxpdm'
'VMYWJlbEJvcmRlcldpZHRo');