From 12544b13d32c3087cd9db7797abfdec26ebf02f8 Mon Sep 17 00:00:00 2001 From: wangyuan Date: Tue, 18 Jun 2019 11:51:02 +0800 Subject: [PATCH] fight --- protos/RoomFightProto.proto | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/protos/RoomFightProto.proto b/protos/RoomFightProto.proto index 4be11a5..7f3665f 100644 --- a/protos/RoomFightProto.proto +++ b/protos/RoomFightProto.proto @@ -37,9 +37,11 @@ import "CommonProto.proto"; message RoomTriggerFightIndication{ //参与战斗的用户ID - optional int32 player = 1; - optional int32 curHp = 2; //当前血量 - optional int32 result = 3 ;//战斗结果 + optional int32 bluePlayer = 1; + optional int32 bluecurHp = 2; //当前血量 + optional int32 redPlayer = 3 ;// + optional int32 redcurHp = 4; // + optional int32 fightResult = 5;//战斗结果 0:平局 1:红方胜利 2 :蓝方胜利 } message RoomMapUpdateEventRequest{