血战战斗-beta

wangyuan 2019-06-23 11:03:34 +08:00
parent e8d3938979
commit 563c5bfa0e
2 changed files with 16 additions and 3 deletions

View File

@ -277,6 +277,9 @@ enum MessageType{
ROOM_GET_FULL_INFO_REQEUST = 11731; //获取房间全量信息
ROOM_GET_FULL_INFO_RESPONSE = 11732;
ROOM_MAP_UPDATE_EVENT_REQUEST = 11733; //更新事件
ROOM_MAP_UPDATE_EVENT_RESPONSE = 11734;
// S 11800
SUCCESS_RESPONSE = 11800; // 通用成功回复

View File

@ -37,8 +37,18 @@ import "CommonProto.proto";
message RoomTriggerFightIndication{
//参与战斗的用户ID
optional int32 player1 = 1;
optional int32 player2 = 2;
optional int32 result = 3; //1 player1胜 2 player2胜
optional int32 player = 1;
optional int32 curHp = 2; //当前血量
}
message RoomMapUpdateEventRequest{
optional int32 eventType = 1 ;// 1 战斗 2 采矿
optional int32 triggerXY = 2 ; //触发事件点坐标位置
}
message RoomMapPointIndication{
optional int32 eventType = 1 ;// 1 战斗 2 采矿
optional int32 triggerXY = 2 ; //触发事件点坐标位置
optional int32 player = 3;//占据该坐标玩家uid
}