竞技场协议修改四版,删除竞技场房间协议

master_arena
grimm 2024-02-02 17:27:11 +08:00
parent 6babf94b1e
commit a6c9d27bac
3 changed files with 9 additions and 16 deletions

View File

@ -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; // 10
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;// 10
optional int32 arenLvId = 2;//id
optional int32 arenaLvId = 2;//id
optional Drop drop = 3;//
}

View File

@ -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;//
// }

View File

@ -1683,8 +1683,8 @@ enum MessageType{
//
GetNewArenaInfoRequest = 6000035;
GetNewArenaInfoResponse = 6000036;
GetAllArenaRoomRequest = 6000037;
GetAllArenaRoomResponse = 6000038;
// GetAllArenaRoomRequest = 6000037;
// GetAllArenaRoomResponse = 6000038;
RefreshArenaOpponentRequest = 6000039;
RefreshArenaOpponentResponse = 6000040;
NewArenaChallengeRequest = 6000041;