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.
28 lines
554 B
Protocol Buffer
28 lines
554 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package pb.room;
|
|
|
|
option go_package = "dcg/game/pb/room;pbRoom";
|
|
|
|
// GameType 游戏类型
|
|
enum GameType {
|
|
ZHG = 0; // 指挥官
|
|
ZHGHZ = 1; // 指挥官-海战
|
|
ZHGFB = 2; // 指挥官-副本
|
|
ZHGZD = 3; // 指挥官-阵地
|
|
}
|
|
|
|
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; // 游戏类型(游戏类型)
|
|
} |