package com.ljsd.jieling.protocols; option optimize_for = SPEED; import "CommonProto.proto"; message HeroInfo { optional string heroId = 1; optional int32 heroHp = 2; optional int32 heroMaxHp =3; } message TowerBuff { // 层数 optional int32 towerLevel = 1; // 事件点Id optional int32 eventId = 2; } // 进入地图 message MapEnterRequest{ // 需要进入的地图id optional int32 mapId = 1; // 所用英雄编队 optional int32 teamId = 2; } message MapEnterResponse{ // 地图信息 repeated Cell mapList = 1; // 当前所在坐标 optional int32 curXY = 2; // 所用英雄 repeated HeroInfo heroInfos = 3; // 探索地图剩余时间(秒) optional int32 leftTime = 4; // 临时背包 optional Drop temporaryItems = 5; // buff repeated FoodBuffer foodBuffers = 6; // 走过的格子 repeated int32 wakeCells = 7; // 任务 optional Mission missions = 8; // 复活剩余时间 optional int32 reviveTime = 9; // 死亡次数 optional int32 dieCount = 10; //进度详情 repeated ExploreDetail exploreDetail = 11; // 补给点信息 repeated TowerBuff buf = 12; } // 更新事件 message EventUpdateRequest{ // eventPointConfig id optional int32 eventId = 1; // optionConfig Id optional int32 optionId = 2; } message EventUpdateResponse{ // eventPointConfig id optional int32 eventId = 1; optional EventBehaviorCommon EventBehaviorCommon = 2; // 奖励 optional Drop drop = 3; // 更新主线任务 optional Mission mission = 4; // 探索地图剩余时间(秒) optional int32 leftTime = 5; // 任务获得的道具 optional Drop missionDrop = 6; } // 更新地图状态 message MapUpdateRequest{ // 走过的格子 repeated int32 cells = 1; // 当前所在坐标 optional int32 curXY = 2; // 触发坐标 optional int32 triggerXY = 3; } message MapUpdateResponse{ optional int32 eventId = 1; // 探索地图剩余时间(秒) optional int32 leftTime = 2; } // 出地图 message MapOutRequest{ // 走过的格子 repeated int32 cells = 1; // 当前所在坐标 optional int32 curXY = 2; optional int32 mapId = 3; } message MapOutResponse{ // 使用时间 optional int32 useTime = 1; } // 开始探索回复 message MapStartExploreResponse{ // 探索地图剩余时间(秒) optional int32 leftTime = 1; } message UseTowerBuffRequest{ // 层数 optional int32 towerLevel = 1; // 选项信息 optional int32 optionId = 2; } message UseTowerBuffResponse { //buffId optional int32 buffId = 1; //buff值 optional int32 buffValue = 2; } // 爬塔副本信息(试炼副本) message TowerCopyInfo{ // 当前所在层数 optional int32 tower = 1; // 已战斗次数 optional int32 fightCount = 2; // 历史最高层 optional int32 highestTower = 3; // 当前地图,试炼精气(如果召唤过boss 该值为 -1) optional int32 essenceValue = 4; // 是否显示重置:1、显示;0、不显示 optional int32 mapIntoReset = 5; } //关卡信息 message getAllLevelDifficultyInfosResponse{ repeated LevelDifficultyInfos levelDifficultyInfos = 1; // 副本信息 repeated MapInfo mapInfos = 2; // 副本星级奖励领取进度 optional int32 starNum = 3; // 爬塔副本信息 optional TowerCopyInfo towerCopyInfo = 4; } // 查看排行榜 message MapGetRankInfoRequest{ optional int32 mapId = 1; } message MapRankInfo{ optional int32 uid = 1; optional int32 forces = 2; repeated int32 heroIds = 3; optional string head = 4; optional int32 level = 5; optional int32 rank = 6; optional int32 time = 7; optional string name = 8; repeated int32 pokemonIds = 9; } message MapGetRankInfoResponse{ repeated MapRankInfo mapRankInfo = 1; } // 购买副本战斗次数 message MapBuyFightCountRequest{ optional int32 buyCount = 1; } // 扫荡副本 message MapSweepRequest{ optional int32 mapId = 1; optional int32 sweepCount = 2; } message MapSweepResponse{ // 奖励 repeated Drop drop = 1; } message FbStarRewardResponse{ // 副本星级奖励 optional Drop FbStarReward = 1; } // 重置爬塔副本(试炼副本) message MapTowerResetResponse { // 当前所在层数 optional int32 tower = 1; } // 爬塔副本召唤首领(试炼副本) message MapTowerCallChiefResponse{ // boss类型 optional int32 type = 1; // boss信息,位置id,事件id optional Cell monsterInfo = 2; } // 试炼使用炸弹 message MapTowerUseBombResponse{ //精气值 optional int32 essenceValue = 1; // 奖励 optional Drop drop = 2; }