You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
521 B
Protocol Buffer
27 lines
521 B
Protocol Buffer
3 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package pb.room;
|
||
|
|
||
|
option go_package = "dcg/game/pb/room;pbRoom";
|
||
|
|
||
|
// GameType 游戏类型
|
||
|
enum GameType {
|
||
|
ZHG = 0; // 指挥官
|
||
|
ZHGHZ = 1; // 指挥官-海战
|
||
|
ZHGFB = 2; // 指挥官-副本
|
||
|
}
|
||
|
|
||
|
message JoinRoomReq {
|
||
|
int64 LiveRoomId = 1; // 直播间ID
|
||
|
GameType GameType = 2; // 游戏类型(游戏类型)
|
||
|
}
|
||
|
|
||
|
message JoinRoomResp {
|
||
|
int64 Code = 1;
|
||
|
string Result = 2;
|
||
|
}
|
||
|
|
||
|
message Client {
|
||
|
int64 Id = 1; // 客户端ID(直播间ID)
|
||
|
GameType GameType = 2; // 游戏类型(游戏类型)
|
||
|
}
|