mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 07:54:44 +08:00
[Party Room] 创建房间
This commit is contained in:
@ -517,6 +517,7 @@ class RoomData extends $pb.GeneratedMessage {
|
||||
$core.int? curPlayer,
|
||||
RoomStatus? status,
|
||||
$core.String? deviceUUID,
|
||||
$core.String? announcement,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (id != null) {
|
||||
@ -546,6 +547,9 @@ class RoomData extends $pb.GeneratedMessage {
|
||||
if (deviceUUID != null) {
|
||||
$result.deviceUUID = deviceUUID;
|
||||
}
|
||||
if (announcement != null) {
|
||||
$result.announcement = announcement;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
RoomData._() : super();
|
||||
@ -562,6 +566,7 @@ class RoomData extends $pb.GeneratedMessage {
|
||||
..a<$core.int>(7, _omitFieldNames ? '' : 'curPlayer', $pb.PbFieldType.O3, protoName: 'curPlayer')
|
||||
..e<RoomStatus>(8, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: RoomStatus.All, valueOf: RoomStatus.valueOf, enumValues: RoomStatus.values)
|
||||
..aOS(9, _omitFieldNames ? '' : 'deviceUUID', protoName: 'deviceUUID')
|
||||
..aOS(10, _omitFieldNames ? '' : 'announcement')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@ -660,6 +665,15 @@ class RoomData extends $pb.GeneratedMessage {
|
||||
$core.bool hasDeviceUUID() => $_has(8);
|
||||
@$pb.TagNumber(9)
|
||||
void clearDeviceUUID() => clearField(9);
|
||||
|
||||
@$pb.TagNumber(10)
|
||||
$core.String get announcement => $_getSZ(9);
|
||||
@$pb.TagNumber(10)
|
||||
set announcement($core.String v) { $_setString(9, v); }
|
||||
@$pb.TagNumber(10)
|
||||
$core.bool hasAnnouncement() => $_has(9);
|
||||
@$pb.TagNumber(10)
|
||||
void clearAnnouncement() => clearField(10);
|
||||
}
|
||||
|
||||
class RoomListPageReqData extends $pb.GeneratedMessage {
|
||||
|
@ -163,6 +163,7 @@ const RoomData$json = {
|
||||
{'1': 'curPlayer', '3': 7, '4': 1, '5': 5, '10': 'curPlayer'},
|
||||
{'1': 'status', '3': 8, '4': 1, '5': 14, '6': '.RoomStatus', '10': 'status'},
|
||||
{'1': 'deviceUUID', '3': 9, '4': 1, '5': 9, '10': 'deviceUUID'},
|
||||
{'1': 'announcement', '3': 10, '4': 1, '5': 9, '10': 'announcement'},
|
||||
],
|
||||
};
|
||||
|
||||
@ -173,7 +174,7 @@ final $typed_data.Uint8List roomDataDescriptor = $convert.base64Decode(
|
||||
'KAlSBW93bmVyEhwKCW1heFBsYXllchgFIAEoBVIJbWF4UGxheWVyEh4KCmNyZWF0ZVRpbWUYBi'
|
||||
'ABKANSCmNyZWF0ZVRpbWUSHAoJY3VyUGxheWVyGAcgASgFUgljdXJQbGF5ZXISIwoGc3RhdHVz'
|
||||
'GAggASgOMgsuUm9vbVN0YXR1c1IGc3RhdHVzEh4KCmRldmljZVVVSUQYCSABKAlSCmRldmljZV'
|
||||
'VVSUQ=');
|
||||
'VVSUQSIgoMYW5ub3VuY2VtZW50GAogASgJUgxhbm5vdW5jZW1lbnQ=');
|
||||
|
||||
@$core.Deprecated('Use roomListPageReqDataDescriptor instead')
|
||||
const RoomListPageReqData$json = {
|
||||
|
Reference in New Issue
Block a user