mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
75 lines
3.0 KiB
Dart
75 lines
3.0 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: bilibili/im/interfaces/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
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
class MSG_LIKE_ACTION extends $pb.ProtobufEnum {
|
|
static const MSG_LIKE_ACTION ACTION_UNSPECIFIED = MSG_LIKE_ACTION._(0, _omitEnumNames ? '' : 'ACTION_UNSPECIFIED');
|
|
static const MSG_LIKE_ACTION ACTION_LIKE = MSG_LIKE_ACTION._(1, _omitEnumNames ? '' : 'ACTION_LIKE');
|
|
static const MSG_LIKE_ACTION ACTION_CANCEL_LIKE = MSG_LIKE_ACTION._(2, _omitEnumNames ? '' : 'ACTION_CANCEL_LIKE');
|
|
static const MSG_LIKE_ACTION ACTION_DISLIKE = MSG_LIKE_ACTION._(3, _omitEnumNames ? '' : 'ACTION_DISLIKE');
|
|
static const MSG_LIKE_ACTION ACTION_CANCEL_DISLIKE = MSG_LIKE_ACTION._(4, _omitEnumNames ? '' : 'ACTION_CANCEL_DISLIKE');
|
|
|
|
static const $core.List<MSG_LIKE_ACTION> values = <MSG_LIKE_ACTION> [
|
|
ACTION_UNSPECIFIED,
|
|
ACTION_LIKE,
|
|
ACTION_CANCEL_LIKE,
|
|
ACTION_DISLIKE,
|
|
ACTION_CANCEL_DISLIKE,
|
|
];
|
|
|
|
static final $core.Map<$core.int, MSG_LIKE_ACTION> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static MSG_LIKE_ACTION? valueOf($core.int value) => _byValue[value];
|
|
|
|
const MSG_LIKE_ACTION._(super.v, super.n);
|
|
}
|
|
|
|
class MSG_LIKE_STATE extends $pb.ProtobufEnum {
|
|
static const MSG_LIKE_STATE STATE_UNSPECIFIED = MSG_LIKE_STATE._(0, _omitEnumNames ? '' : 'STATE_UNSPECIFIED');
|
|
static const MSG_LIKE_STATE STATE_LIKE = MSG_LIKE_STATE._(1, _omitEnumNames ? '' : 'STATE_LIKE');
|
|
static const MSG_LIKE_STATE STATE_DISLIKE = MSG_LIKE_STATE._(2, _omitEnumNames ? '' : 'STATE_DISLIKE');
|
|
|
|
static const $core.List<MSG_LIKE_STATE> values = <MSG_LIKE_STATE> [
|
|
STATE_UNSPECIFIED,
|
|
STATE_LIKE,
|
|
STATE_DISLIKE,
|
|
];
|
|
|
|
static final $core.Map<$core.int, MSG_LIKE_STATE> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static MSG_LIKE_STATE? valueOf($core.int value) => _byValue[value];
|
|
|
|
const MSG_LIKE_STATE._(super.v, super.n);
|
|
}
|
|
|
|
class UpdateUnreadScope extends $pb.ProtobufEnum {
|
|
static const UpdateUnreadScope All = UpdateUnreadScope._(0, _omitEnumNames ? '' : 'All');
|
|
static const UpdateUnreadScope Dustbin = UpdateUnreadScope._(1, _omitEnumNames ? '' : 'Dustbin');
|
|
static const UpdateUnreadScope Unfollowed = UpdateUnreadScope._(2, _omitEnumNames ? '' : 'Unfollowed');
|
|
static const UpdateUnreadScope Stranger = UpdateUnreadScope._(3, _omitEnumNames ? '' : 'Stranger');
|
|
|
|
static const $core.List<UpdateUnreadScope> values = <UpdateUnreadScope> [
|
|
All,
|
|
Dustbin,
|
|
Unfollowed,
|
|
Stranger,
|
|
];
|
|
|
|
static final $core.Map<$core.int, UpdateUnreadScope> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static UpdateUnreadScope? valueOf($core.int value) => _byValue[value];
|
|
|
|
const UpdateUnreadScope._(super.v, super.n);
|
|
}
|
|
|
|
|
|
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|