|
|
|
@ -24,25 +24,28 @@ const (
|
|
|
|
|
type GameType int32
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
GameType_ZHG GameType = 0 // 指挥官
|
|
|
|
|
GameType_ZHGHZ GameType = 1 // 指挥官-海战
|
|
|
|
|
GameType_ZHGFB GameType = 2 // 指挥官-副本
|
|
|
|
|
GameType_ZHGZD GameType = 3 // 指挥官-阵地
|
|
|
|
|
GameType_ZHG GameType = 0 // 指挥官
|
|
|
|
|
GameType_ZHGHZ GameType = 1 // 指挥官-海战
|
|
|
|
|
GameType_ZHGFB GameType = 2 // 指挥官-副本
|
|
|
|
|
GameType_ZHGZD GameType = 3 // 指挥官-阵地
|
|
|
|
|
GameType_TEST GameType = 10 // 测试
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for GameType.
|
|
|
|
|
var (
|
|
|
|
|
GameType_name = map[int32]string{
|
|
|
|
|
0: "ZHG",
|
|
|
|
|
1: "ZHGHZ",
|
|
|
|
|
2: "ZHGFB",
|
|
|
|
|
3: "ZHGZD",
|
|
|
|
|
0: "ZHG",
|
|
|
|
|
1: "ZHGHZ",
|
|
|
|
|
2: "ZHGFB",
|
|
|
|
|
3: "ZHGZD",
|
|
|
|
|
10: "TEST",
|
|
|
|
|
}
|
|
|
|
|
GameType_value = map[string]int32{
|
|
|
|
|
"ZHG": 0,
|
|
|
|
|
"ZHGHZ": 1,
|
|
|
|
|
"ZHGFB": 2,
|
|
|
|
|
"ZHGZD": 3,
|
|
|
|
|
"TEST": 10,
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -256,13 +259,13 @@ var file_room_room_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x64, 0x12, 0x2d,
|
|
|
|
|
0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
|
|
|
|
|
0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x54,
|
|
|
|
|
0x79, 0x70, 0x65, 0x52, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2a, 0x34, 0x0a,
|
|
|
|
|
0x79, 0x70, 0x65, 0x52, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2a, 0x3e, 0x0a,
|
|
|
|
|
0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x5a, 0x48, 0x47,
|
|
|
|
|
0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x5a, 0x48, 0x47, 0x48, 0x5a, 0x10, 0x01, 0x12, 0x09, 0x0a,
|
|
|
|
|
0x05, 0x5a, 0x48, 0x47, 0x46, 0x42, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x5a, 0x48, 0x47, 0x5a,
|
|
|
|
|
0x44, 0x10, 0x03, 0x42, 0x19, 0x5a, 0x17, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f,
|
|
|
|
|
0x70, 0x62, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x3b, 0x70, 0x62, 0x52, 0x6f, 0x6f, 0x6d, 0x62, 0x06,
|
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x44, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x53, 0x54, 0x10, 0x0a, 0x42, 0x19, 0x5a,
|
|
|
|
|
0x17, 0x64, 0x63, 0x67, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x62, 0x2f, 0x72, 0x6f, 0x6f,
|
|
|
|
|
0x6d, 0x3b, 0x70, 0x62, 0x52, 0x6f, 0x6f, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|