|
|
|
@ -14,16 +14,24 @@ import 'dart:core' as $core;
|
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb; |
|
|
|
|
|
|
|
|
|
class MsgType extends $pb.ProtobufEnum { |
|
|
|
|
static const MsgType SINGLE_TEXT = MsgType._(0, _omitEnumNames ? '' : 'SINGLE_TEXT'); |
|
|
|
|
static const MsgType SINGLE_AUDIO = MsgType._(1, _omitEnumNames ? '' : 'SINGLE_AUDIO'); |
|
|
|
|
static const MsgType GROUP_TEXT = MsgType._(2, _omitEnumNames ? '' : 'GROUP_TEXT'); |
|
|
|
|
static const MsgType GROUP_AUDIO = MsgType._(3, _omitEnumNames ? '' : 'GROUP_AUDIO'); |
|
|
|
|
static const MsgType COMMAND = MsgType._(0, _omitEnumNames ? '' : 'COMMAND'); |
|
|
|
|
static const MsgType TEXT = MsgType._(1, _omitEnumNames ? '' : 'TEXT'); |
|
|
|
|
static const MsgType IMAGE = MsgType._(2, _omitEnumNames ? '' : 'IMAGE'); |
|
|
|
|
static const MsgType AUDIO = MsgType._(3, _omitEnumNames ? '' : 'AUDIO'); |
|
|
|
|
static const MsgType VIDEO = MsgType._(4, _omitEnumNames ? '' : 'VIDEO'); |
|
|
|
|
static const MsgType PACKET = MsgType._(5, _omitEnumNames ? '' : 'PACKET'); |
|
|
|
|
static const MsgType TRANSFER = MsgType._(6, _omitEnumNames ? '' : 'TRANSFER'); |
|
|
|
|
static const MsgType LOCATION = MsgType._(7, _omitEnumNames ? '' : 'LOCATION'); |
|
|
|
|
|
|
|
|
|
static const $core.List<MsgType> values = <MsgType> [ |
|
|
|
|
SINGLE_TEXT, |
|
|
|
|
SINGLE_AUDIO, |
|
|
|
|
GROUP_TEXT, |
|
|
|
|
GROUP_AUDIO, |
|
|
|
|
COMMAND, |
|
|
|
|
TEXT, |
|
|
|
|
IMAGE, |
|
|
|
|
AUDIO, |
|
|
|
|
VIDEO, |
|
|
|
|
PACKET, |
|
|
|
|
TRANSFER, |
|
|
|
|
LOCATION, |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
static final $core.Map<$core.int, MsgType> _byValue = $pb.ProtobufEnum.initByValue(values); |
|
|
|
|