|
@@ -17,27 +17,20 @@ message BattleProgressRequest {
|
|
|
repeated MonsterVo monsters = 2 ; // 怪物数组
|
|
|
optional bool battle_over = 3 [default = false]; // 是否结束战斗 true 结束
|
|
|
optional bool is_fish_scheme = 4 [default = false]; // 是否鱼阵 true 是
|
|
|
- optional int32 fish_group_id =5 [default= 1 ]; // 鱼阵方案组id
|
|
|
- optional bool is_violent =6 [default = false]; // 是否狂暴模式 true 是
|
|
|
- optional int32 scene_type =7 [default= 1 ]; // 场地类型 1:普通场 2:中级场 3:高级场
|
|
|
+ optional int32 fish_group_id = 5 [default = 1]; // 鱼阵方案组id
|
|
|
+ optional bool is_violent = 6 [default = false]; // 是否狂暴模式 true 是
|
|
|
+ optional int32 map_id = 7 [default = 1001]; // 地图id 场地类型 1:普通场 2:中级场 3:高级场
|
|
|
repeated CommonRequest envelope = 8; // 公共必传参数集
|
|
|
}
|
|
|
|
|
|
message MonsterVo{
|
|
|
optional int32 monsterId = 1; // 怪物id
|
|
|
- optional int32 type=2; //怪物类型 1:普通 2:精英 3:boss
|
|
|
+ optional int32 type = 2; //怪物类型 1:普通 2:精英 3:boss
|
|
|
optional bool isKill = 3 [default = false]; // 是否击杀
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-//实时消息同步请求
|
|
|
-message BattleRealTimeRequest{
|
|
|
- optional WsMessageType message_id = 1 [default = BATTLE_REAL_TIME_UPDATE]; // 消息类型
|
|
|
- optional int32 magic_array_id = 2 [default = 1]; // 魔法阵id
|
|
|
-}
|
|
|
-
|
|
|
-message BattleResponse{ //对应CommonRequest的data
|
|
|
+message BattleResponse{//对应CommonRequest的data
|
|
|
optional int32 new_balance = 1 [default = 0]; // 更新后新的余额
|
|
|
}
|
|
|
|