2020-11-19 20:35:16 +08:00
|
|
|
|
package rpc.world;
|
|
|
|
|
|
|
|
|
|
option optimize_for = SPEED;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// request 编号需要小于 response 编号
|
|
|
|
|
|
|
|
|
|
import "CommonProto.proto";
|
|
|
|
|
|
|
|
|
|
message GetWorldArenaInfoRequest{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
message GetWorldArenaInfoResponse{
|
|
|
|
|
optional rpc.protocols.ArenaInfo arenaInfo = 1;
|
|
|
|
|
optional int32 stage = 2;//1 未开始 2 战斗阶段 3 膜拜阶段
|
|
|
|
|
optional int32 endTime = 3;//阶段结束时间戳
|
|
|
|
|
}
|
|
|
|
|
message GetWorldArenaInfoIndication{
|
|
|
|
|
optional rpc.protocols.ArenaInfo arenaInfo = 1;
|
|
|
|
|
optional int32 stage = 2;//1 未开始 2 战斗阶段 3 膜拜阶段
|
|
|
|
|
optional int32 endTime = 3;//阶段结束时间戳
|
|
|
|
|
}
|
|
|
|
|
// 需要的数据 世界等级(推送)
|
|
|
|
|
|
|
|
|
|
//跨服天梯挑战
|
|
|
|
|
message GetWorldArenaChallengeRequest{
|
|
|
|
|
optional int32 teamId =1; // 本人进攻队伍id
|
|
|
|
|
optional int32 challengeServerid = 2 ;// 对手Serverid
|
|
|
|
|
optional int32 challengeUid = 3 ;// 对手uid
|
|
|
|
|
optional int32 skipFight = 4 ;// 1:标识跳过战斗 0: 不跳过战斗
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetWorldArenaChallengeResponse{
|
|
|
|
|
optional int32 mySortChange = 1 ; //我的名次变化值
|
|
|
|
|
repeated rpc.protocols.ArenaEnemy arenaEnemys = 2; //新的一批对手信息
|
|
|
|
|
optional rpc.protocols.FightData fightData =3; // 战斗数据
|
|
|
|
|
optional int32 fightResult = 4 ;// 战斗结果 -1 时 表示挑战目标排名发生变化 需刷新
|
|
|
|
|
optional rpc.protocols.Drop drop = 5 ;
|
|
|
|
|
}
|
|
|
|
|
//膜拜
|
|
|
|
|
message GetWorldArenaProudRequest{
|
|
|
|
|
optional int32 challengeServerid = 1 ;// 对手Serverid
|
|
|
|
|
optional int32 challengeUid = 2 ;// 对手uid
|
|
|
|
|
}
|
|
|
|
|
message GetWorldArenaProudResponse{
|
|
|
|
|
optional rpc.protocols.Drop drop = 1;//膜拜奖励 (头像框奖励)
|
|
|
|
|
}
|
|
|
|
|
//跨服天梯挑战与被挑战 战斗记录
|
|
|
|
|
message GetWorldArenaRecordInfoResponse{
|
|
|
|
|
repeated rpc.protocols.ArenaRecordInfo arenaRecordInfo =1;
|
2020-11-25 15:51:35 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//gs --》word
|
|
|
|
|
message GetGSUserArenaInfoRequest{
|
2020-12-02 10:26:24 +08:00
|
|
|
|
optional int32 uid =1;
|
2020-11-25 15:51:35 +08:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
message GetGSUserArenaInfoResponse{
|
|
|
|
|
optional rpc.protocols.ArenaEnemy arenaEnemys = 1; //新的一批对手信息
|
|
|
|
|
}
|
|
|
|
|
|