mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-07-01 13:02:00 +08:00
[Party Room] 房间类型相关
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import 'package:fixnum/fixnum.dart';
|
||||
import 'package:grpc/grpc.dart';
|
||||
import 'package:starcitizen_doctor/base/ui.dart';
|
||||
import 'package:starcitizen_doctor/generated/grpc/party_room_server/index.pbgrpc.dart';
|
||||
|
||||
class PartyRoomGrpcServer {
|
||||
@ -20,7 +19,11 @@ class PartyRoomGrpcServer {
|
||||
static Future<PingData> pingServer() async {
|
||||
final r = await _indexService.pingServer(PingData(
|
||||
data: "PING", clientVersion: Int64.parseInt(clientVersion.toString())));
|
||||
dPrint(r.writeToJson());
|
||||
return r;
|
||||
}
|
||||
|
||||
static Future<RoomTypesData> getRoomTypes() async {
|
||||
final r = await _indexService.getRoomTypes(Empty());
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user