竞技场协议修改四版,删除竞技场房间协议
parent
6babf94b1e
commit
a6c9d27bac
|
|
@ -268,13 +268,6 @@ import "CommonProto.proto";
|
|||
repeated ArenaPersonInfo opponent = 8;//对手信息
|
||||
}
|
||||
|
||||
//获取竞技场房间信息
|
||||
message GetAllArenaRoomRequest{
|
||||
}
|
||||
message GetAllArenaRoomResponse{
|
||||
repeated ArenaRoom room = 1;
|
||||
}
|
||||
|
||||
//刷新竞技场对手信息
|
||||
message RefreshArenaOpponentRequest{
|
||||
}
|
||||
|
|
@ -287,7 +280,7 @@ import "CommonProto.proto";
|
|||
optional int32 opponentId = 1;//对手id
|
||||
}
|
||||
message NewArenaChallengeResponse{
|
||||
optional int32 fightResult = 1; //战斗结果
|
||||
optional int32 fightResult = 1; //战斗结果 1:胜利,0:失败
|
||||
optional FightData fightData = 2; //战斗数据
|
||||
optional int32 myScoreChange = 3; //我的分数变化值
|
||||
optional int32 defScoreChange = 4; //对手分数变化值
|
||||
|
|
@ -296,7 +289,7 @@ import "CommonProto.proto";
|
|||
|
||||
// 新竞技场第一名拍脸推送
|
||||
message NewArenaFirstIndication{
|
||||
repeated ArenaPersonInfo player = 1;
|
||||
optional ArenaPersonInfo player = 1;
|
||||
}
|
||||
|
||||
// 新竞技场首次重置请求
|
||||
|
|
@ -304,6 +297,6 @@ import "CommonProto.proto";
|
|||
}
|
||||
message NewArenaResetResponse{
|
||||
optional int32 isFirst = 1;//是否首次弹窗 1:是首次,0:不是
|
||||
optional int32 arenLvId = 2;//段位id
|
||||
optional int32 arenaLvId = 2;//段位id
|
||||
optional Drop drop = 3;//段位升级奖励
|
||||
}
|
||||
|
|
@ -1381,7 +1381,7 @@ option optimize_for = SPEED;
|
|||
}
|
||||
|
||||
// 竞技场房间信息
|
||||
message ArenaRoom{
|
||||
optional int32 id = 1;//房间id
|
||||
optional string name = 2;//房间名称
|
||||
}
|
||||
// message ArenaRoom{
|
||||
// optional int32 id = 1;//房间id
|
||||
// optional string name = 2;//房间名称
|
||||
// }
|
||||
|
|
@ -1683,8 +1683,8 @@ enum MessageType{
|
|||
// 新竞技场
|
||||
GetNewArenaInfoRequest = 6000035;
|
||||
GetNewArenaInfoResponse = 6000036;
|
||||
GetAllArenaRoomRequest = 6000037;
|
||||
GetAllArenaRoomResponse = 6000038;
|
||||
// GetAllArenaRoomRequest = 6000037;
|
||||
// GetAllArenaRoomResponse = 6000038;
|
||||
RefreshArenaOpponentRequest = 6000039;
|
||||
RefreshArenaOpponentResponse = 6000040;
|
||||
NewArenaChallengeRequest = 6000041;
|
||||
|
|
|
|||
Loading…
Reference in New Issue