47 lines
982 B
Protocol Buffer
47 lines
982 B
Protocol Buffer
package com.ljsd.jieling.protocols;
|
|
|
|
option optimize_for = SPEED;
|
|
|
|
import "CommonProto.proto";
|
|
|
|
|
|
message GetArenaInfoResponse{
|
|
optional ArenaInfo arenaInfo = 1;
|
|
}
|
|
|
|
|
|
message GetArenaRankInfoRequest{
|
|
optional int32 page = 1; //页数
|
|
|
|
}
|
|
|
|
message ArenaChallengeRequest{
|
|
optional int32 teamId =1; // 本人进攻队伍id
|
|
optional int32 challengeUid = 2 ;// 对手uid
|
|
}
|
|
|
|
message ArenaChallengeResponse{
|
|
optional int32 myScoreChange = 1 ; //我的分数变化值
|
|
optional int32 defScoreChange =2; // 对手分数变化值
|
|
repeated ArenaEnemy arenaEnemys = 3; //新的一批对手信息
|
|
}
|
|
|
|
message GetArenaRankInfoResponse{
|
|
repeated ArenaEnemy rankInfos = 1; //成员排名信息
|
|
optional int32 myscore = 2; //我的积分
|
|
optional int32 myRank =3 ;// 我的排名
|
|
}
|
|
|
|
message ArenaRandomResponse{
|
|
repeated ArenaEnemy arenaEnemys = 1; //新的一批对手信息
|
|
}
|
|
|
|
message ArenaRecordInfoResponse{
|
|
repeated ArenaRecordInfo arenaRecordInfo =1;
|
|
}
|
|
|
|
|
|
|
|
|
|
|