app/lib/generated/grpc/party_room_server/index.pbenum.dart

116 lines
4.1 KiB
Dart
Raw Normal View History

2024-01-07 14:57:49 +08:00
//
// Generated code. Do not modify.
// source: index.proto
//
// @dart = 2.12
// 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
2024-01-07 18:52:06 +08:00
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class RoomStatus extends $pb.ProtobufEnum {
static const RoomStatus All = RoomStatus._(0, _omitEnumNames ? '' : 'All');
static const RoomStatus Open = RoomStatus._(1, _omitEnumNames ? '' : 'Open');
2024-02-06 20:19:53 +08:00
static const RoomStatus Private =
RoomStatus._(2, _omitEnumNames ? '' : 'Private');
2024-01-07 18:52:06 +08:00
static const RoomStatus Full = RoomStatus._(3, _omitEnumNames ? '' : 'Full');
2024-02-06 20:19:53 +08:00
static const RoomStatus Closed =
RoomStatus._(4, _omitEnumNames ? '' : 'Closed');
static const RoomStatus WillOffline =
RoomStatus._(5, _omitEnumNames ? '' : 'WillOffline');
static const RoomStatus Offline =
RoomStatus._(6, _omitEnumNames ? '' : 'Offline');
static const $core.List<RoomStatus> values = <RoomStatus>[
2024-01-07 18:52:06 +08:00
All,
Open,
Private,
Full,
Closed,
WillOffline,
Offline,
];
2024-02-06 20:19:53 +08:00
static final $core.Map<$core.int, RoomStatus> _byValue =
$pb.ProtobufEnum.initByValue(values);
2024-01-07 18:52:06 +08:00
static RoomStatus? valueOf($core.int value) => _byValue[value];
const RoomStatus._($core.int v, $core.String n) : super(v, n);
}
class RoomSortType extends $pb.ProtobufEnum {
2024-02-06 20:19:53 +08:00
static const RoomSortType Default =
RoomSortType._(0, _omitEnumNames ? '' : 'Default');
static const RoomSortType MostPlayerNumber =
RoomSortType._(1, _omitEnumNames ? '' : 'MostPlayerNumber');
static const RoomSortType MinimumPlayerNumber =
RoomSortType._(2, _omitEnumNames ? '' : 'MinimumPlayerNumber');
static const RoomSortType RecentlyCreated =
RoomSortType._(3, _omitEnumNames ? '' : 'RecentlyCreated');
static const RoomSortType OldestCreated =
RoomSortType._(4, _omitEnumNames ? '' : 'OldestCreated');
static const $core.List<RoomSortType> values = <RoomSortType>[
2024-01-07 18:52:06 +08:00
Default,
MostPlayerNumber,
MinimumPlayerNumber,
RecentlyCreated,
OldestCreated,
];
2024-02-06 20:19:53 +08:00
static final $core.Map<$core.int, RoomSortType> _byValue =
$pb.ProtobufEnum.initByValue(values);
2024-01-07 18:52:06 +08:00
static RoomSortType? valueOf($core.int value) => _byValue[value];
const RoomSortType._($core.int v, $core.String n) : super(v, n);
}
2024-01-14 20:47:15 +08:00
class RoomUserStatus extends $pb.ProtobufEnum {
2024-02-06 20:19:53 +08:00
static const RoomUserStatus RoomUserStatusJoin =
RoomUserStatus._(0, _omitEnumNames ? '' : 'RoomUserStatusJoin');
static const RoomUserStatus RoomUserStatusLostOffline =
RoomUserStatus._(1, _omitEnumNames ? '' : 'RoomUserStatusLostOffline');
static const RoomUserStatus RoomUserStatusLeave =
RoomUserStatus._(2, _omitEnumNames ? '' : 'RoomUserStatusLeave');
static const RoomUserStatus RoomUserStatusWaitingConnect =
RoomUserStatus._(3, _omitEnumNames ? '' : 'RoomUserStatusWaitingConnect');
static const $core.List<RoomUserStatus> values = <RoomUserStatus>[
2024-01-14 20:47:15 +08:00
RoomUserStatusJoin,
RoomUserStatusLostOffline,
RoomUserStatusLeave,
RoomUserStatusWaitingConnect,
];
2024-02-06 20:19:53 +08:00
static final $core.Map<$core.int, RoomUserStatus> _byValue =
$pb.ProtobufEnum.initByValue(values);
2024-01-14 20:47:15 +08:00
static RoomUserStatus? valueOf($core.int value) => _byValue[value];
const RoomUserStatus._($core.int v, $core.String n) : super(v, n);
}
class RoomUpdateType extends $pb.ProtobufEnum {
2024-02-06 20:19:53 +08:00
static const RoomUpdateType RoomUpdateData =
RoomUpdateType._(0, _omitEnumNames ? '' : 'RoomUpdateData');
static const RoomUpdateType RoomClose =
RoomUpdateType._(1, _omitEnumNames ? '' : 'RoomClose');
2024-01-14 20:47:15 +08:00
2024-02-06 20:19:53 +08:00
static const $core.List<RoomUpdateType> values = <RoomUpdateType>[
2024-01-14 20:47:15 +08:00
RoomUpdateData,
RoomClose,
];
2024-02-06 20:19:53 +08:00
static final $core.Map<$core.int, RoomUpdateType> _byValue =
$pb.ProtobufEnum.initByValue(values);
2024-01-14 20:47:15 +08:00
static RoomUpdateType? valueOf($core.int value) => _byValue[value];
const RoomUpdateType._($core.int v, $core.String n) : super(v, n);
}
2024-01-07 18:52:06 +08:00
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');