miduo_protocol/protos/ArenaInfoProto.proto

49 lines
1.1 KiB
Protocol Buffer
Raw Normal View History

2019-05-09 15:37:36 +08:00
package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
import "CommonProto.proto";
2019-05-09 15:50:20 +08:00
message GetArenaInfoResponse{
2019-05-09 15:37:36 +08:00
optional ArenaInfo arenaInfo = 1;
}
2019-05-10 10:31:06 +08:00
message GetArenaRankInfoRequest{
optional int32 page = 1; //页数
}
2019-05-10 13:42:09 +08:00
message ArenaChallengeRequest{
optional int32 teamId =1; // 本人进攻队伍id
optional int32 challengeUid = 2 ;// 对手uid
2019-05-13 15:17:17 +08:00
optional int32 skipFight = 3 ;// 1标识跳过战斗 0: 不跳过战斗
2019-05-10 13:42:09 +08:00
}
message ArenaChallengeResponse{
optional int32 myScoreChange = 1 ; //我的分数变化值
optional int32 defScoreChange =2; // 对手分数变化值
repeated ArenaEnemy arenaEnemys = 3; //新的一批对手信息
2019-05-13 15:17:17 +08:00
optional FightData fightData =4; // 战斗数据
2019-05-10 13:42:09 +08:00
}
2019-05-10 10:31:06 +08:00
message GetArenaRankInfoResponse{
repeated ArenaEnemy rankInfos = 1; //成员排名信息
2019-05-10 16:15:50 +08:00
optional int32 myscore = 2; //我的积分
optional int32 myRank =3 ;// 我的排名
2019-05-10 10:31:06 +08:00
}
2019-05-10 13:42:09 +08:00
2019-05-11 16:24:06 +08:00
message ArenaRandomResponse{
2019-05-11 15:16:37 +08:00
repeated ArenaEnemy arenaEnemys = 1; //新的一批对手信息
}
2019-05-11 16:24:06 +08:00
message ArenaRecordInfoResponse{
repeated ArenaRecordInfo arenaRecordInfo =1;
}
2019-05-10 13:42:09 +08:00
2019-05-09 15:37:36 +08:00