49 lines
1.1 KiB
Protocol Buffer
49 lines
1.1 KiB
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
|
||
optional int32 skipFight = 3 ;// 1:标识跳过战斗 0: 不跳过战斗
|
||
}
|
||
|
||
message ArenaChallengeResponse{
|
||
optional int32 myScoreChange = 1 ; //我的分数变化值
|
||
optional int32 defScoreChange =2; // 对手分数变化值
|
||
repeated ArenaEnemy arenaEnemys = 3; //新的一批对手信息
|
||
optional FightData fightData =4; // 战斗数据
|
||
}
|
||
|
||
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;
|
||
}
|
||
|
||
|
||
|
||
|
||
|