1397 lines
36 KiB
Protocol Buffer
1397 lines
36 KiB
Protocol Buffer
package rpc.protocols;
|
||
|
||
option optimize_for = SPEED;
|
||
|
||
import "CommonProto.proto";
|
||
|
||
// request 编号需要小于 response 编号
|
||
|
||
message ErrorMsgResponse{
|
||
optional string msg = 1;
|
||
}
|
||
|
||
message LoginRequest{
|
||
optional string device_id_s = 1 ; //设备唯一标识,必须添加该字段
|
||
optional string idfa_sOr_imei_s = 2 ; //苹果 安卓设备唯一标识吗
|
||
optional string brand_type_s = 3; //设备机型类型
|
||
optional string brand_s = 4; //设备机型名称
|
||
optional string os_version_s = 5; //设备使用系统版本号
|
||
optional string dpi_s = 6; //设备分辨率
|
||
optional string operator_s = 7; //设备对应运营商类型 改为 _androidid
|
||
optional string network_s = 8; //设备对应网络类型,改为mac地址
|
||
|
||
optional string ip_s = 9; //IP
|
||
optional string openId = 10; //openID
|
||
optional string channel_s = 11; //渠道 ID
|
||
optional string platform_s = 12;// 平台类型
|
||
optional string distinct_id = 13;//访客id
|
||
optional string cc_id = 14;//区分游戏和渠道
|
||
optional string serverId = 15;//区服id
|
||
}
|
||
|
||
message LoginResponse{
|
||
optional int32 resultCode = 1;
|
||
optional string newToken = 2;
|
||
}
|
||
|
||
|
||
message GetPlayerInfoRequest{
|
||
optional int32 num = 1;
|
||
optional string str = 2;
|
||
}
|
||
|
||
|
||
message GetPlayerInfoResponse{
|
||
optional Player player = 1;
|
||
repeated NewPlayerGuidePoint newPlayerGuidePoint = 2;
|
||
repeated Privilege privilege = 3;
|
||
repeated GiftGoodsInfo giftGoodsInfo = 4;
|
||
repeated int32 buyGoodsId = 5;
|
||
optional SuddenlyBossInfo SuddenlyBossInfo = 6;//精英怪信息
|
||
repeated int32 vipLeveTake = 7;
|
||
optional int32 userCreateTime = 8; // 玩家创角时间
|
||
repeated int32 redType = 9;// 红点信息
|
||
optional int32 randCount = 10;//法宝抽卡剩余必出
|
||
repeated EveryHeroHandBook heroHandBook = 11;//英雄图鉴
|
||
repeated int32 equipHandBook = 12;//装备图鉴
|
||
repeated int32 towerReceivedReward = 13;//试炼已领取奖励层数
|
||
repeated GoodsTypeDuration goodsTypeDuration = 14; // 已购买商品结束时间
|
||
optional int32 treasureLevel = 15; // 孙龙的宝藏等级
|
||
optional int32 hadBuyTreasure = 16; // 是否购买孙龙的宝藏
|
||
optional SignInInfo SignInInfo = 17;//签到
|
||
optional int32 firstTenth = 18;//首次十连是否用过
|
||
optional int32 monsterAttackTime = 19;//妖潮
|
||
optional int32 isDayFirst = 20;//0表示新的一天
|
||
optional PlayerBindPhone playerBindPhone = 22;//玩家手机绑定信息
|
||
optional int32 QuestionState = 23;//答题状态 -1没有问卷 0未答题 1已答题
|
||
optional int32 SoulEquipPool = 24;//占星卡池
|
||
repeated int32 playedMapTypes = 25;//已经玩过的副本类型
|
||
optional double amount = 26;//总储值
|
||
optional int32 vipDaily = 27;//特权每日礼包是否领取 0 未领 >0vip 等级
|
||
optional int32 missingRefreshCount = 28;//迷宫寻宝妖精刷新次数
|
||
repeated MonthCardInfo monthinfos = 29;//月卡
|
||
repeated int32 dailyChallengeInfo = 30;//每日挑战信息
|
||
optional int32 expeditionLeve = 31 ; //猎妖之路阶段 -1 待选择
|
||
optional int32 hadLuckTime = 32;//幸运探宝次数
|
||
optional int32 hadAdvanceLuckTime = 33;//高级幸运探宝次数
|
||
optional int32 worldLeve = 34;//世界等级
|
||
repeated int32 DemonsTrialRewardInfo = 35;//心魔试炼已领取奖励信息
|
||
repeated HeadFrameList headFrameBag = 36;//头像框背包
|
||
repeated UserSkinInfo userSkinList = 37;//玩家皮肤信息
|
||
repeated UserTitleInfo userTitleList = 38;//玩家称号信息
|
||
repeated UserMountInfo userMountList = 39;//玩家坐骑信息
|
||
optional int32 dailyredpack = 40;//每日福利红包领取次数
|
||
optional int32 practiceLevel = 41;//修行等级
|
||
repeated PurpleMansionSeal sealList = 42;//神印列表
|
||
optional int32 randomCount = 43;//英雄抽卡剩余必出
|
||
repeated randomTypeNum drawTimes = 44;//类型抽卡总次数
|
||
repeated HelpFightList helpFightList = 45;//已选取的助战信息
|
||
repeated SixiangxinfaInfo sixiangInfos = 46;//四象心法数据
|
||
optional int32 serverOpenTime = 47; // 服务器开服时间
|
||
optional int32 xiuweiLevel = 48; // 主角修为等级
|
||
repeated PracticeSkillInfo practiceSkillInfos = 49;//修行技能数据
|
||
repeated FaBaoSoulInfo FaBaoSoulInfos = 50;//法宝之魂数据
|
||
repeated LifeGridInfo lifeGridInfos = 51;//命格数据
|
||
repeated int32 giftIds = 52;//礼物装备列表
|
||
repeated int32 gemLotteryCountByDay = 53;//每日命石抽卡次数记录
|
||
optional int32 isStart = 54;//跨服时间判断,距离开服时间过去几周
|
||
}
|
||
|
||
|
||
message GetItemInfoRequest{
|
||
optional int32 index = 1; //第一次请求索引为0, 第二次:第一次索引+每页的数量
|
||
}
|
||
|
||
message GetItemInfoResponse{
|
||
repeated Item itemlist = 1;
|
||
optional bool isSendFinish = 2; //是否发送完成
|
||
}
|
||
|
||
message GetAllMailInfoResponse{
|
||
repeated Mail mialList = 1;
|
||
}
|
||
|
||
message UseAndPriceItemRequest{
|
||
optional int32 type = 1; //0:使用 1:分解物品 2:分解装备3:分解妖灵师 4:分解宝器 5:分解魂印(分解法宝在分解妖灵师同时分解)
|
||
optional int32 itemId = 2;
|
||
repeated Item items = 3;
|
||
repeated string equipIds = 4;
|
||
repeated string heroIds = 5;
|
||
}
|
||
message UseAndPriceItemResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
message MailReadRequest{
|
||
optional string mailId = 1;
|
||
}
|
||
message MailReadResponse{
|
||
optional Mail mailInfo = 1;
|
||
}
|
||
message TakeMailRequest{
|
||
repeated string mailIds = 1;
|
||
}
|
||
message TakeMailResponse{
|
||
optional Drop drop = 1;
|
||
optional int32 msg = 2;// 1:成功,0:道具为空,2:背包已满
|
||
}
|
||
|
||
|
||
message WorkShopFoundationRequest{
|
||
optional int32 materialId = 1; // 要打造的材料模板id
|
||
optional int32 nums = 2; //数量
|
||
}
|
||
|
||
message WorkShopEquipCreateRequest{
|
||
optional int32 equipTid = 1; // 要打造的装备模板id
|
||
repeated int32 runneIds = 2; // 符文ids 不需要传送特殊符文。
|
||
optional int32 nums = 3 ;// 锻造装备数量
|
||
}
|
||
|
||
message WorkShopEquipCreateResponse{
|
||
optional int32 type = 1 ; // 1:工坊 2:百味居
|
||
optional Drop drop = 2;
|
||
}
|
||
|
||
message WorkShopRebuildRequest{
|
||
optional string equipId = 1; // 要重造装备动态id
|
||
repeated string consumeEquipIds = 2; //祭品动态id
|
||
}
|
||
|
||
message WorkShopRebuildRespoonse{
|
||
optional Equip equip = 1;
|
||
}
|
||
|
||
message WorkTechnologyLevelRequest{
|
||
optional int32 id = 1;//
|
||
optional int32 targetLevel = 2;//等级
|
||
}
|
||
|
||
message WorkTechnologyLevelResponse{
|
||
optional int32 id = 1;//
|
||
optional int32 targetLevel = 2;//等级
|
||
}
|
||
|
||
message WorkTechnologyResetRequest{
|
||
optional int32 professionId = 1;// 重置科技树职业id
|
||
}
|
||
|
||
message WorkTechnologyResetResponse{
|
||
optional Drop drop = 1;// 返还道具
|
||
}
|
||
|
||
message ActiviteWorkShopReqeust{
|
||
optional int32 type = 1; //功能类型:1: 基础锻造 2:制作装备 或 制作美食
|
||
optional int32 activiteId = 2; //要激活的功能id
|
||
}
|
||
|
||
message GetWorkShopInfoResponse{
|
||
repeated WorkShopUnLockInfo workShopUnLockInfo = 1; //作坊解锁信息
|
||
repeated WorkShopBaseInfo workShopBaseInfo = 2; //作坊基本信息
|
||
optional Equip unDetermined = 3; //待确认重铸装备
|
||
repeated TechnologyInfo technologyInfo = 4 ; //科技树点
|
||
}
|
||
|
||
message CookFoodRequest{
|
||
repeated int32 materialId = 1 ;// 所选食材id
|
||
optional int32 nums = 2; //次数
|
||
}
|
||
|
||
message CookFoodResponse{
|
||
optional WorkShopBaseInfo workShopBaseInfo = 1;
|
||
optional Drop drop = 2;
|
||
}
|
||
|
||
message RedPointInfo{
|
||
optional int32 type = 1 ;//红点类型 1: 邮件红点 2 : 分享外敌boss红点 3:竞技场防守记录红点
|
||
}
|
||
|
||
message SaveNewPlayerPointRequest{
|
||
optional NewPlayerGuidePoint newPlayerGuidePoint = 1;
|
||
}
|
||
|
||
message TakeActivityRewardRequest{
|
||
optional int32 missionId = 1; //活动任务id
|
||
optional int32 activityId = 2 ;//活动id
|
||
}
|
||
|
||
message TakeActivityRewardResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
message GetAllActivityResponse{
|
||
repeated ActivityInfo activityInfo = 1;
|
||
|
||
}
|
||
|
||
message RandomNameResponse{
|
||
optional string randomName = 1;
|
||
optional string preName = 2;
|
||
optional string postName = 3;
|
||
}
|
||
|
||
message ReNameRequest{
|
||
optional int32 type = 1 ; // 1:玩家起名 2: 阵容起名
|
||
optional string name = 2;
|
||
optional int32 teamPosId = 3; // 队伍id
|
||
optional int32 sex = 4; //0 男性 1 女
|
||
}
|
||
|
||
message WorkShopRebuildConfirmRequest{
|
||
optional int32 state = 1; // 1:确认使用 0:取消
|
||
}
|
||
|
||
|
||
message GetSecretBoxInfoResponse{
|
||
optional int32 season = 1;//当前周期id
|
||
optional int32 count = 2; //总抽取次数
|
||
}
|
||
|
||
message SecretBoxRandomRequest{
|
||
optional int32 typeId = 1;
|
||
}
|
||
|
||
message SecretBoxRandomResponse{
|
||
optional Drop drop = 1; //抽取到的物品
|
||
optional Drop extrarReward = 2; //额外奖励
|
||
}
|
||
|
||
message GetStoreInfosResponse{
|
||
repeated StoreInfo storeInfo = 1; //商店信息
|
||
}
|
||
|
||
message BuyStoreItemRequest{
|
||
optional int32 storeId = 1;//商店id
|
||
optional int32 itemId = 2; //物品id
|
||
optional int32 itemNum = 3; //物品数量
|
||
}
|
||
|
||
message BuyStoreItemResponse{
|
||
optional Drop drop = 1; //抽取到的物品
|
||
}
|
||
|
||
message StoreGoodsRefreshRequest{
|
||
optional int32 type = 1; //0:手动刷新 1: 自动刷新
|
||
optional int32 storeId = 2; //商店id
|
||
}
|
||
|
||
message StoreGoodsRefreshResponse{
|
||
optional StoreInfo storeInfo = 1; //商店信息
|
||
}
|
||
|
||
|
||
message GetFunctionOfTimeResponse{
|
||
repeated FunctionOfTime functionOfTime = 1 ;
|
||
}
|
||
|
||
message VipLevelUpResponse{
|
||
optional VipBaseInfo vipBaseInfo = 1;
|
||
repeated UserMissionInfo userMissionInfo = 2;//任务请求
|
||
}
|
||
|
||
message MissionUpdateListIndication{
|
||
repeated UserMissionInfo userMissionInfo = 2; //任务更新详情
|
||
}
|
||
|
||
message TakeMissionRewardRequest{
|
||
optional int32 type = 1 ; // 任务类型 1:vip任务 2;每日任务
|
||
optional int32 missionId = 2;// missionId
|
||
}
|
||
|
||
message TakeMissionRewardResponse{
|
||
optional Drop drop = 1 ;
|
||
optional int32 treasureScore = 2 ;//孙龙的宝藏分数
|
||
repeated int32 rewardId = 3; // 一键领取到的奖励id
|
||
}
|
||
|
||
message UserForceChangeRequest{
|
||
optional int32 teamId = 1; // 最高战力队伍id
|
||
}
|
||
|
||
message VipTakeBoxRequest{
|
||
optional int32 type = 1 ;// 1 : 等级礼包 2 :每日礼包
|
||
}
|
||
|
||
message VipTakeBoxResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
message RechargeInfoRequest{
|
||
optional int32 money = 1; //充值金额
|
||
}
|
||
|
||
message RechargeInfoResponse{
|
||
optional Drop drop = 1 ;// 首冲奖励
|
||
}
|
||
|
||
message GetFriendInfoRequest{
|
||
optional int32 type = 1; //1:好友列表, 2:推荐列表 3:申请列表 4 黑名单信息
|
||
}
|
||
|
||
message GetFriendInfoResponse{
|
||
repeated Friend Friends = 1; //好友信息
|
||
}
|
||
|
||
//测试购买礼包
|
||
message TestBuyGiftGoodsRequest{
|
||
optional int32 goodsId = 1;
|
||
}
|
||
|
||
//购买礼包获得道具推送
|
||
message BuyGoodsDropIndication{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
message AllGiftGoodsIndication{
|
||
repeated GiftGoodsInfo GiftGoodsInfo = 1;
|
||
}
|
||
|
||
message InviteFriendRequest{
|
||
repeated int32 inviteUids = 1; // 申请的好友id
|
||
}
|
||
|
||
|
||
message FriendInviteOperationRequest{
|
||
optional int32 type = 1; //1:同意 2:拒绝 3:全部同意 4: 全部拒绝
|
||
optional int32 friendId = 2; // 好友id
|
||
}
|
||
|
||
message sendFriendInfoIndication{
|
||
optional int32 type = 1; //1:申请好友 2: 添加好友
|
||
optional Friend Friends = 2; //好友信息
|
||
}
|
||
|
||
message FriendGivePresentRequest{
|
||
optional int32 type = 1; //1:赠送一个人 2 赠送全部好友
|
||
optional int32 friendId = 2;
|
||
}
|
||
|
||
message DelFriendRequest{
|
||
optional int32 friendId = 1;
|
||
}
|
||
message FriendTakeHeartRequest{
|
||
optional int32 type = 1; // 1:领取一个人的 2:全部领取
|
||
optional int32 friendId = 2;
|
||
}
|
||
|
||
message FriendTakeHeartResponse{
|
||
optional Drop drop = 1;
|
||
repeated int32 friendId = 2; // 已领取好友id
|
||
}
|
||
|
||
message FriendSearchRequest{
|
||
optional string name = 1; // 名字
|
||
}
|
||
|
||
message FriendSearchResponse{
|
||
optional int32 type = 1; // 1申请:, 2:好友. 3:已申请
|
||
optional Friend Friends = 2; //好友信息
|
||
}
|
||
|
||
message SendFriendStateIndication{
|
||
optional int32 type = 1; //1:删除好友 2: 赠送体力
|
||
optional int32 friendId = 2; //好友Id
|
||
}
|
||
|
||
message RefreshFriendStateResponse{
|
||
repeated int32 friendIds = 1;
|
||
}
|
||
|
||
message FriendBlackOptRequest{
|
||
optional int32 type = 1 ; // 操作类型 : 1 加入黑名单 2 解除黑名单 3一键移除
|
||
optional int32 blackUid = 2;// 用户uid
|
||
}
|
||
|
||
message FivePlayerUpdateIndication{
|
||
optional int32 hadTakeDailyBox = 1 ;//是否领取每日礼包 1:已领取vip等级 -1:未领取
|
||
repeated Privilege privilege = 2 ; //特权使用信息
|
||
repeated ActivityInfo activityInfo = 3;// 活动刷新
|
||
repeated UserMissionInfo userMissionInfo = 4;//任务详情(列如 每日任务重置)
|
||
optional fiveResetTowerInfo fiveResetTowerInfo = 5;// 重置试炼信息
|
||
optional SignInInfo SignInInfo = 6;//签到
|
||
optional PlayerBindPhone playerBindPhone = 7;//玩家手机绑定信息
|
||
repeated DialInfo infos = 8;//全部转盘信息
|
||
optional int32 likableRemainTime = 9;//好感度剩余捐赠次数
|
||
repeated int32 MonthDailyTake = 10;//已领取的月卡id
|
||
optional int32 lastFeteType = 11 ; // 上次祭祀类型 //每日清除 5点推送
|
||
repeated int32 takeFeteReward = 12 ; // 祭祀领取进度
|
||
optional int32 expeditionLeve = 13 ; //猎妖之路阶段 -1 待选择
|
||
optional int32 hadLuckTime = 14;//幸运探宝次数
|
||
optional int32 hadAdvanceLuckTime = 15;//高级幸运探宝次数
|
||
}
|
||
|
||
message ZeroPlayerUpdateIndication{
|
||
|
||
}
|
||
|
||
|
||
message GetMissionResponse{
|
||
repeated UserMissionInfo userMissionInfo = 1;//所有任务详情
|
||
}
|
||
|
||
message RefreshItemNumRequest{
|
||
repeated int32 itemId = 1;//
|
||
}
|
||
|
||
message RefreshItemNumResponse{
|
||
repeated ItemInfo itemInfo = 1;
|
||
}
|
||
|
||
message UpdateBagIndication{
|
||
optional int32 type = 1; //更新背包类型 0: 普通背包 1: 临时背包
|
||
repeated Item item = 2;
|
||
optional int32 isMax = 3;//本次更新是否有物品超过了限制
|
||
}
|
||
|
||
message ModifyDecorationRequest{
|
||
//修改外观
|
||
optional int32 decorationId = 1;
|
||
optional int32 type = 2;//0头像框,1头像,2称号,3坐骑,4皮肤
|
||
}
|
||
|
||
//初始化云梦祈福
|
||
|
||
//请求云梦数据
|
||
message blessResponse{
|
||
repeated blessReward fixReward = 1;
|
||
repeated blessReward legendReward = 2;
|
||
repeated blessReward supremeReward = 3;
|
||
repeated blessReward countReward = 4;
|
||
repeated blessReward rewardView = 5;
|
||
optional int32 lastRefreshTime = 6;
|
||
optional int32 count = 7;
|
||
}
|
||
//保存奖励
|
||
message blessSaveRequest{
|
||
repeated int32 rewardIds = 1;
|
||
}
|
||
//云梦抽取
|
||
message blessChooseRequest{
|
||
optional int32 locationId = 1;
|
||
}
|
||
message blessChooseResponse{
|
||
optional Drop reward = 1;
|
||
//所选格子奖励Id
|
||
optional int32 chooseRewardId = 2;
|
||
}
|
||
//刷新奖励
|
||
message blessRefresh{
|
||
optional blessResponse reward = 1;
|
||
}
|
||
|
||
message storeUpdateIndication{
|
||
repeated StoreInfo storeInfo = 1;
|
||
}
|
||
//装备锁定
|
||
message LockEquip{
|
||
repeated string id = 1;
|
||
optional int32 type = 2;//1:锁定操作 2:解锁操作
|
||
}
|
||
|
||
message ActivityUpateIndication{
|
||
repeated ActivityInfo activityInfo = 1;
|
||
repeated int32 closeActivityId = 2;
|
||
}
|
||
|
||
//特殊活动开启关闭
|
||
message SpecailActivityUpateIndication{
|
||
repeated int32 closeActivityId = 1;
|
||
}
|
||
|
||
|
||
message GetForceRankInfoRequest{
|
||
optional int32 page = 1; //页数
|
||
optional int32 activiteId = 2; //活动ID
|
||
}
|
||
|
||
message GetForceRankInfoResponse{
|
||
repeated UseForceInfo useForceInfo = 1;
|
||
optional int32 myForce = 2; //我的战力
|
||
optional int32 myRank = 3 ;// 我的排名
|
||
}
|
||
|
||
//活动进度推送
|
||
message ActivityUpateProgressIndication{
|
||
required ActivityInfo activityInfo = 1;
|
||
}
|
||
|
||
|
||
message GetExpertInfoRequest{
|
||
optional int32 activiteId = 1; //活动ID
|
||
}
|
||
|
||
message GetExpertInfoResponse{
|
||
repeated ExpertInfo expert = 1;
|
||
optional int32 myScore = 2; //我的分数
|
||
optional int32 myRank = 3 ;// 我的排名
|
||
}
|
||
|
||
message SignInRequest{
|
||
optional int32 dayIndex = 1;
|
||
}
|
||
|
||
message SignInResponse{
|
||
optional Drop drop = 1 ;
|
||
}
|
||
//获取编队信息
|
||
message GetPlayerOneTeamInfoRequest{
|
||
optional int32 playerId = 1;
|
||
optional int32 teamId = 2;
|
||
optional int32 serverId = 3;
|
||
}
|
||
message GetPlayerOneTeamInfoResponse{
|
||
optional TeamOneInfo teamInfo = 1;
|
||
}
|
||
|
||
message TakeSenvenScoreRewardResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
|
||
message UpdateStateRequest{
|
||
optional int32 type = 1; // 类型信息 1 : 七日狂欢领取活动
|
||
}
|
||
|
||
message UpdateUserExpIndicaiton{
|
||
optional int32 level = 1 ;// 玩家等级
|
||
optional int64 exp = 2 ; // 玩家经验
|
||
optional Drop drop = 3; // 玩家升级给的道具
|
||
}
|
||
|
||
|
||
message UpdateSecretBoxSeasonIndication{
|
||
optional int32 newSeasonId = 1 ;// 新的赛季id id=0 代表功能已关闭
|
||
}
|
||
|
||
message GetMonsterRankInfoRequest{
|
||
}
|
||
|
||
message GetMonsterRankInfoResponse{
|
||
repeated MonsterRankInfo monster = 1;
|
||
optional int32 myScore = 2; //我的分数 -1
|
||
optional int32 myRank = 3;// 我的排名 -1不在榜单内
|
||
}
|
||
|
||
message PlayerBackCInfoIndication{
|
||
optional string nickName = 1;
|
||
}
|
||
|
||
message UpdatePhoneinfoRequest{
|
||
optional string phoneNum = 1;
|
||
}
|
||
message UpdatePhoneinfoResponse{
|
||
optional int32 state = 1;//本月绑定状态 0 未绑定 1已绑定未领奖 2已领奖
|
||
}
|
||
|
||
message GetPhoneRewardRequest{
|
||
}
|
||
|
||
message GetPhoneRewardResponse{
|
||
optional Drop drop = 1 ;
|
||
}
|
||
|
||
message QuestionIndication{
|
||
optional int32 state = 1; //state -1关闭 1开启
|
||
}
|
||
|
||
message GetQuestionRequest{
|
||
|
||
}
|
||
|
||
message GetQuestionResponse{
|
||
optional string id = 1; //问卷id
|
||
optional string questDes = 2; //问卷描述
|
||
optional string start = 3; //开始时间
|
||
optional string endtime = 4; //问卷结束时间
|
||
repeated QuestionOptions questOptions = 5; //问卷问题
|
||
}
|
||
|
||
message upDataQuestionRequest{
|
||
repeated string options = 1; //问题答案 ABCD形式 多选拼接多个
|
||
}
|
||
|
||
message upDataQuestionResponse{
|
||
optional int32 result = 1;//-1失败 0成功
|
||
}
|
||
|
||
message BloodRank{
|
||
}
|
||
message ExchangeCdkRequest{
|
||
optional string key = 1;
|
||
}
|
||
|
||
message NotifyPaySuccessfulIndicaiton{
|
||
optional int32 goodsId = 1 ;// 购买商品id
|
||
}
|
||
|
||
message DirectBuyIndication{
|
||
optional int32 goodsId = 1; // 索购买的商品id
|
||
optional Drop drop = 2; //
|
||
}
|
||
|
||
|
||
message RefreshLuckWheelRequest{
|
||
optional int32 activityId = 1;
|
||
optional bool isFree = 2;
|
||
}
|
||
|
||
message RefreshLuckWheelResponse{
|
||
optional DialInfo dialInfo = 1;
|
||
}
|
||
|
||
message GetLuckWheelRandRewardRequest{
|
||
optional int32 activityId = 1;
|
||
optional bool repeated = 2;
|
||
optional int32 privilegeId = 3;
|
||
}
|
||
message GetLuckWheelRandRewardResponse{
|
||
optional int32 activityId = 1;
|
||
optional DialInfo dialInfo = 2;
|
||
optional Drop drop = 3;
|
||
optional int32 accumulativeNum = 4;//累计次数
|
||
}
|
||
|
||
message GetLuckWheelRequest{
|
||
optional int32 activiteId = 1;//活动id
|
||
}
|
||
|
||
message LuckWheelIndication{
|
||
repeated DialInfo dialInfo = 1;//转盘信息
|
||
}
|
||
|
||
|
||
message GetMainLevelInfoResponse{
|
||
optional int32 fightId = 1 ; //当前关卡id
|
||
optional int32 state = 2 ;// 1 已开启但未通过 2 :已通过 -1:代表等级卡
|
||
optional int32 duration = 3;//挂机时长
|
||
repeated AdventureBossInfo adventureBossInfo = 4;
|
||
optional string reward = 5;
|
||
optional int32 soldierLayerId = 6;//小兵关卡id
|
||
optional int32 soldierStartTime = 7;//小兵挂机开始时间
|
||
}
|
||
|
||
//快速购买孙龙宝藏等级
|
||
message QuickBuyTreasureLevelRequest{
|
||
optional int32 level = 1;//最终升到的等级
|
||
}
|
||
|
||
message TreasureRefreshIndication{
|
||
repeated RefreshTask tasks = 1;//刷新任务信息
|
||
}
|
||
|
||
message TreasureLevelUpIndication{
|
||
optional int32 level = 1;//推送戒灵秘宝等级
|
||
optional int32 hadBuy = 2;//是否激活
|
||
}
|
||
|
||
//删除邮件
|
||
message MailDelRequest{
|
||
repeated string mailId = 1;
|
||
}
|
||
|
||
message ViewHeroInfoRequest{
|
||
optional int32 targetUid = 1;
|
||
optional string heroId = 2 ;// 动态id
|
||
optional int32 serverId = 3;
|
||
optional int32 teamId = 4;//队伍id
|
||
}
|
||
|
||
message ViewHeroInfoResponse{
|
||
optional Hero hero = 1;
|
||
repeated Equip equip = 2; // 英雄所穿装备、魂印、法宝
|
||
repeated SpecialEffects SpecialEffects = 3;//属性信息
|
||
optional int32 force = 4 ; //战力
|
||
optional int32 guildSkill = 5;//公会技能
|
||
optional int32 playerGiftLv = 6;//主角礼物等级
|
||
}
|
||
|
||
message RankRequest{
|
||
optional int32 type = 1;//排行榜类型
|
||
optional int32 activiteId = 2;//活动id
|
||
optional int32 index = 3;//从第几条开始1.1-20 20.21-40....
|
||
optional int32 isCross = 4;//是否是跨服,0:否,1:是
|
||
}
|
||
message RankResponse{
|
||
repeated UserRank ranks = 1;
|
||
optional RankInfo myRankInfo = 2;
|
||
}
|
||
message RankFirstRequest{
|
||
repeated int32 types = 1;//传入排行榜类型id
|
||
repeated int32 activiteId = 2;//活动id
|
||
}
|
||
message RankFirstResponse{
|
||
repeated UserRank ranks = 1;//第一名用户信息
|
||
repeated int32 proud = 2;//是否已膜拜 否0 ,是1
|
||
}
|
||
message RankProudRequest{
|
||
optional int32 rankType = 1;//膜拜的排行榜Id
|
||
}
|
||
message RankProudResponse{
|
||
optional Drop drop = 1;//膜拜奖励
|
||
}
|
||
message NextActivityRequest{
|
||
optional int32 activityId = 1;
|
||
}
|
||
message NextActivityResponse{
|
||
optional int32 id = 1;//下期活动id
|
||
optional int32 time = 2;//下期活动开启时间
|
||
}
|
||
|
||
message RefreshRechargeIndication{
|
||
optional double amount = 1;//总储值
|
||
optional double monthSaveAmt = 2 ; //月卡累计总额
|
||
optional double smonthSaveAmt = 3 ; //豪华月卡累计总额
|
||
optional double sincereMonth = 4 ; //挚礼月卡累计总额
|
||
}
|
||
|
||
message VipTakeDilyRequest{
|
||
}
|
||
|
||
message VipTakeDilyResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
//迷宫寻宝刷新任务
|
||
message MissingRoomRefreshResponse{
|
||
repeated UserMissionInfo infos = 1;
|
||
}
|
||
//迷宫寻宝派遣
|
||
message MissingRoomSendHeroRequest{
|
||
repeated string heroIds = 1;
|
||
optional int32 missionId = 2;
|
||
}
|
||
//迷宫寻宝任务加速
|
||
message MissingRoomAccelerateRequest{
|
||
optional int32 missionId = 1;
|
||
}
|
||
//迷宫寻宝任务加锁
|
||
message MissingRoomLockRequest{
|
||
optional int32 missionId = 1;
|
||
optional int32 lock = 2;//1:上锁,2:解锁
|
||
}
|
||
|
||
message SexChangeRequest{
|
||
optional int32 sex = 1; //0 男性 1 女
|
||
}
|
||
|
||
message SexChangeResponse{
|
||
}
|
||
message PrivilegeIndication{
|
||
repeated Privilege infos = 1;
|
||
}
|
||
message TreasureRefreshTimeResponse{
|
||
optional int32 dayTime = 1;
|
||
optional int32 weekTime = 2;
|
||
}
|
||
message MonthCardIndication{
|
||
repeated MonthCardInfo monthinfos = 1;
|
||
}
|
||
|
||
message TakeMothDilyRequest{
|
||
optional int32 type = 1;
|
||
}
|
||
message TakeMothDilyResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
message DailyChallengeRequest{
|
||
optional int32 id = 1;
|
||
optional int32 type = 2;//1为挑战 2为扫荡
|
||
}
|
||
message DailyChallengeResponse{
|
||
optional Drop drop = 1;
|
||
optional FightData fightData = 2;
|
||
}
|
||
|
||
//挑战副本(无尽副本,宝物副本)
|
||
//挑战副本信息
|
||
message ChallengeInfoRequest{
|
||
}
|
||
message ChallengeInfoResponse{
|
||
repeated ChallengeInfo info = 1;
|
||
}
|
||
message ChallengeInfoIndication{
|
||
repeated ChallengeInfo info = 1;
|
||
}
|
||
//挑战副本挑战
|
||
message ChallengeRequest{
|
||
optional int32 type = 1; //1无尽 2宝物
|
||
optional int32 model = 2; //1为挑战 2为扫荡
|
||
optional int32 id = 3; //层数
|
||
}
|
||
message ChallengeResponse{
|
||
optional Drop drop = 1;
|
||
optional FightData fightData = 2;
|
||
optional int32 result = 3;//战斗结果 0输 1赢
|
||
optional int32 type = 4; //1无尽 2宝物
|
||
optional int32 percentReward = 5; //奖励百分比
|
||
optional int64 lossBloodOrTimes = 6; //损失的血量/回合数
|
||
}
|
||
|
||
message GetSomeActivityInfoRequest{
|
||
repeated int32 id = 1;
|
||
}
|
||
|
||
message GetSomeActitityInfoRespone{
|
||
repeated ActivityInfo activityInfo = 1;
|
||
}
|
||
message JewelBuildRequest{
|
||
optional string id = 1;//宝器id
|
||
optional int32 type = 2;//1为强化 2为精炼
|
||
repeated string item = 3;//精炼材料
|
||
}
|
||
|
||
message JadeDynastyRefreshIndication{
|
||
repeated RefreshTask tasks = 1;//刷新任务信息
|
||
}
|
||
|
||
message JadeDynastyRefreshTimeResponse{
|
||
optional int32 dayTime = 1;
|
||
optional int32 weekTime = 2;
|
||
}
|
||
|
||
//获取四灵试炼信息
|
||
message FourChallengeGetInfoResponse{
|
||
repeated FourChallengeInfo info = 1;
|
||
}
|
||
|
||
// 四灵,挑战 扫荡协议
|
||
message FourChallengeDoRequest{
|
||
optional int32 challengeId = 1;
|
||
optional int32 type = 2;//0为挑战,1为扫荡
|
||
}
|
||
message FourChallengeDoResponse{
|
||
optional Drop drop = 1;
|
||
optional FightData fightData = 2;//0为挑战,1为扫荡
|
||
}
|
||
|
||
//四灵试炼 助战协议
|
||
message GetHelpHeroListRequest{
|
||
optional int32 type = 1; //0:获取我的助战信息
|
||
}
|
||
message GetHelpHeroListResponse{
|
||
repeated HelpFightList helpHeros = 1;//助战英雄列表
|
||
}
|
||
|
||
// 四灵,设置我的助战
|
||
message SetHelpHeroRequest{
|
||
optional string heroId = 1;//英雄id
|
||
}
|
||
message SetHelpHeroResponse{
|
||
optional Drop drop = 1;//设置助战奖励
|
||
}
|
||
|
||
// 四灵,选择使用助战
|
||
message UseHelpHeroRequest{
|
||
optional string heroId = 1;//英雄id
|
||
optional int32 type = 2;//英雄类型
|
||
optional int32 status = 3;//0:取消,1:选择
|
||
}
|
||
|
||
// 四灵,获取战斗记录
|
||
message GetFourChallengeRecordRequest{
|
||
optional int32 type = 1;//类型,人佛妖道
|
||
optional int32 tier = 2;//层数
|
||
}
|
||
|
||
message GetFourChallengeRecordResponse{
|
||
repeated UserRank userRank = 1;//玩家信息
|
||
}
|
||
|
||
|
||
//世界等级推送
|
||
message WorldLevelIndication{
|
||
optional int32 worldLeve = 1;
|
||
}
|
||
|
||
// 使用头像框
|
||
message UseHeadFrameRequest{
|
||
optional int32 headFrameId = 1;//头像框id
|
||
}
|
||
message UseHeadFrameResponse{
|
||
optional int32 validTime = 1;//到期时间
|
||
}
|
||
message LoginConfirmRequest{
|
||
}
|
||
message RechargeSuccessIndication{
|
||
optional string orderId = 1;
|
||
}
|
||
// 手动激活玩家皮肤
|
||
message ActiveUserSkinRequest{
|
||
optional int32 skinId = 1;//玩家皮肤id
|
||
}
|
||
message ActiveUserSkinResponse{
|
||
optional int32 validTime = 1;//到期时间
|
||
}
|
||
// 手动激活玩家称号
|
||
message ActiveUserTitleRequest{
|
||
optional int32 titleId = 1;//玩家皮肤id
|
||
}
|
||
message ActiveUserTitleResponse{
|
||
optional int32 validTime = 1;//到期时间
|
||
}
|
||
// 手动激活玩家坐骑
|
||
message ActiveUserMountRequest{
|
||
optional int32 mountId = 1;//玩家坐骑id
|
||
}
|
||
message ActiveUserMountResponse{
|
||
optional int32 validTime = 1;//到期时间
|
||
}
|
||
//装备升星
|
||
message EquipUpLevelRequest{
|
||
optional int32 activityId = 1;
|
||
optional int32 equipId = 2;
|
||
optional int32 itemId = 3;
|
||
optional int32 itemNum = 4;
|
||
}
|
||
message EquipUpLevelResponse{
|
||
optional bool result = 1;
|
||
optional Drop drop = 2;
|
||
}
|
||
//推送礼包推送
|
||
message PushWelfareResponse{
|
||
repeated int32 id = 1;
|
||
}
|
||
//福利红包推送
|
||
message WelfareRedPacketPush{
|
||
repeated WelfareRedPacket redpacket = 1;
|
||
}
|
||
//福利红包发送
|
||
message WelfareRedPacketSendRequest{
|
||
optional int32 id = 1;
|
||
}
|
||
message WelfareRedPacketSendResponse{
|
||
repeated WelfareRedPacket redpacket = 1;
|
||
}
|
||
//请求山河社稷图数据
|
||
message HardStageRequest{
|
||
optional int32 page = 1;
|
||
}
|
||
message HardStageResponse{
|
||
optional HardStageInfo info = 1;
|
||
optional bool isTake = 2; // 是否领取每日奖励 false :未领取
|
||
optional int32 isEnd = 3; //0:还有数据 1:请求完成
|
||
}
|
||
//请求山河社稷图战斗
|
||
message HardStageFightRequest{
|
||
optional int32 nodeId = 1;
|
||
optional int32 teamId = 2;
|
||
}
|
||
message HardStageFightResponse{
|
||
optional FightData fightData = 1;
|
||
optional Drop drop = 2;
|
||
optional int32 stars = 3; //状态:0-7星级状态,8为荣耀三星
|
||
optional bool currentIsHonour = 4; //当前战斗是否是荣耀三星
|
||
}
|
||
//山河社稷图领取奖励
|
||
message GetHardStageChapterReward{
|
||
optional int32 chapterId = 1;
|
||
optional int32 rewradId = 2;
|
||
}
|
||
message GetHardStageChapterRewardResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
//请求山河社稷图战斗回访
|
||
message HardStageReportRequset{
|
||
optional int32 hardStageId = 1;
|
||
}
|
||
message HardStageReportResponse{
|
||
repeated HardStagePlayerInfo player = 1;
|
||
}
|
||
// 山河社稷图 每日领取奖励
|
||
message HardStageDailyRewardResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
//特权等级奖励状态
|
||
message VipLevelStateRequset{
|
||
}
|
||
message VipLevelStateResponse{
|
||
repeated KeyVal vipState = 1;//键值对<id,领取状态(0,未达到条件,1达到未领取 2:已领取)>
|
||
}
|
||
//特权等级奖励领取
|
||
message VipLevelStateRewardRequset{
|
||
optional int32 vipLevelId = 1;
|
||
}
|
||
message VipLevelStateRewardResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
//福利红包请求
|
||
message WelfareRedPacketRequest{
|
||
}
|
||
message UserTitleAddIndication{
|
||
optional int32 decorationId = 1;
|
||
optional int32 time = 2;
|
||
}
|
||
|
||
// 是否是跨服
|
||
message IsCrossRequert{
|
||
}
|
||
message IsCrossResponse{
|
||
optional int32 isCross = 1;// 0:否,1:是
|
||
}
|
||
message IsCrossIndication{
|
||
optional int32 isCross = 1;// 0:否,1:是
|
||
}
|
||
|
||
message CheckBuyGoodsRequest{
|
||
optional int32 goodsId = 1;
|
||
}
|
||
message CheckBuyGoodsResponse{
|
||
optional string orderId = 1;
|
||
}
|
||
message XunBaoMiZongEnterRequest{
|
||
}
|
||
message XunBaoMiZongEnterResponse{
|
||
optional bool isEnter = 1;
|
||
}
|
||
//太初密卷
|
||
message TaiChuSecretvolumeRequest{
|
||
}
|
||
message TaiChuSecretvolumeResponse{
|
||
repeated taiChuSecretvolume secretvolume = 1;
|
||
}
|
||
//玉虚论道获取编队信息
|
||
message GetPlayerCrossYxldOneTeamInfoRequest{
|
||
optional int32 playerId = 1;
|
||
optional int32 serverId = 2;
|
||
}
|
||
message GetPlayerCrossYxldOneTeamInfoResponse{
|
||
optional TeamOneInfo teamInfo = 1;
|
||
}
|
||
|
||
// 七界试炼
|
||
message SevenWorldInfoRequest{
|
||
optional int32 tierId = 1;//层数id
|
||
}
|
||
|
||
message SevenWorldInfoResponse{
|
||
optional int32 id = 1; //层数id
|
||
optional int32 ranking = 2; //排名
|
||
optional int32 integral = 3; //积分
|
||
optional int32 totalTier = 4; //总层数
|
||
}
|
||
|
||
message SevenWorldRelicRequest{
|
||
optional int32 relicId = 1;//遗物id
|
||
}
|
||
|
||
message SevenWorldRelicResponse{
|
||
repeated Relic info = 1;//遗物信息,只有已解锁的
|
||
}
|
||
|
||
message SevenWorldChallengeRequest{
|
||
optional int32 tierId = 1;// 层数id
|
||
optional int32 privilageTypeId = 2;//特权id
|
||
}
|
||
|
||
message SevenWorldChallengeResponse{
|
||
optional int32 result = 1;//战斗结果
|
||
optional FightData fightData = 2;// 战斗数据
|
||
optional Drop drop = 3;// 获得道具
|
||
repeated int32 teamBuffIds = 4;//队伍加成id列表
|
||
repeated int32 relicIds = 5;//遗物加成id列表
|
||
optional int32 round = 6;//回合数,计算加成
|
||
}
|
||
//探索信息
|
||
message ExplorerMapInfoRequest{
|
||
}
|
||
message ExplorerMapInfoResponse{
|
||
repeated ExplorerMapInfo exploreInfo = 1;//探索地图信息
|
||
repeated CommKeyVal randEvent = 2 ;//随机触发事件[事件id,截止时间]
|
||
|
||
}
|
||
//探索地图中玩家信息
|
||
message ExplorerMapPlayerInfoRequest{
|
||
optional int32 mapId = 1; //地图id
|
||
}
|
||
message ExplorerMapPlayerInfoResponse{
|
||
repeated ArenaPersonInfo playerInfo = 1;//探索地图中玩家信息
|
||
|
||
}
|
||
//探索派遣
|
||
message ExplorerMapSendRequest{
|
||
repeated ExplorerMapSendInfo sendData = 1; //派遣队伍
|
||
}
|
||
message ExplorerMapSendResponse{
|
||
repeated ExplorerMapInfo exploreInfo = 1;//探索地图信息
|
||
}
|
||
//领取探索奖励
|
||
message ExplorerMapRewardRequest{
|
||
optional int32 type = 1; //0:停止探索
|
||
optional int32 teamId = 2; //队伍id
|
||
|
||
}
|
||
message ExplorerMapRewardResponse{
|
||
optional Drop drop = 1 ;//探索奖励
|
||
optional ExplorerMapInfo exploreInfo = 2;//探索地图信息
|
||
}
|
||
|
||
message ExplorerMapIndicationResponse{
|
||
optional ExplorerMapInfo exploreInfo = 1;//探索地图信息
|
||
//repeated CommKeyVal randEvent = 2 ;//随机触发事件[事件id,截止时间,地图id]
|
||
}
|
||
message ExplorerMapIndicationEventResponse{
|
||
repeated CommKeyVal randEvent = 1 ;//随机触发事件[事件id,截止时间,地图id]
|
||
}
|
||
|
||
//探索事件
|
||
message ExplorerMapEventRequest{
|
||
optional int32 id = 1 ;
|
||
}
|
||
message ExplorerMapEventResponse{
|
||
optional FightData fightData = 1; // 战斗数据
|
||
optional int32 fightResult = 2 ;// 战斗结果
|
||
optional Drop drop = 3;
|
||
}
|
||
|
||
//探索心魔事件前对手面板数据
|
||
message ExplorerXMEventChallengeBeforeRequest{
|
||
optional int32 eventId = 1 ;
|
||
}
|
||
message ExplorerXMEventChallengeBeforeResponse{
|
||
//optional TeamOneInfo myTeamInfo = 1;//己方面板数据
|
||
optional TeamOneInfo defTeamInfo = 1;//对方面板数据
|
||
}
|
||
|
||
|
||
// 浮生门
|
||
message HomeInfoRequest{
|
||
}
|
||
message ArchitectureOperateRequest{
|
||
repeated int32 ids = 1;
|
||
optional int32 type = 2;//1:升级,2:立即完成
|
||
optional int32 privilageTypeId = 3;//升级用,特权id
|
||
}
|
||
message HomeInfoResponse{
|
||
repeated ArchitectureInfo infos = 1;
|
||
}
|
||
|
||
message HomeAllGainRequset{
|
||
optional int32 id = 1;//0为一键领取,其他为建筑单个领取
|
||
}
|
||
|
||
message HomeAllGainResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
// 栖云阁
|
||
message WanderInfoRequset{
|
||
}
|
||
|
||
message WanderInfoResponse{
|
||
repeated LandInfo lands = 1;
|
||
repeated int32 heroTids = 2;
|
||
}
|
||
|
||
message WanderDispatchRequest{
|
||
optional int32 id = 1;//地块id
|
||
optional int32 type = 2;//1:普通派遣,2:立即完成,3:领取
|
||
optional int32 heroTid = 3;//派遣的英雄模板id
|
||
optional int32 privilageTypeId = 4;//特权id,领取不用
|
||
}
|
||
|
||
message WanderDispatchResponse{
|
||
optional LandInfo land = 1;
|
||
repeated int32 heroTids = 2;
|
||
optional Drop drop = 3;
|
||
}
|
||
|
||
// 建筑解锁推送
|
||
message ArchitectureUnlockIndication{
|
||
repeated ArchitectureInfo infos = 1;
|
||
}
|
||
|
||
// 查询周卡信息
|
||
message QueryWeekCardInfoRequest{
|
||
optional int32 activiteId = 1;
|
||
}
|
||
|
||
message QueryWeekCardInfoResponse{
|
||
repeated WeekCardInfo weekcard = 1;// 周卡信息
|
||
}
|
||
|
||
// 领取周卡奖励
|
||
message GetWeekCardRewardRequest{
|
||
optional int32 weekcardId = 1;
|
||
optional int32 activiteId = 2;
|
||
}
|
||
|
||
message GetWeekCardRewardResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
// 周卡信息推送
|
||
message WeekCardInfoIndication{
|
||
optional WeekCardInfo weekcard = 1;// 周卡信息
|
||
}
|
||
|
||
|
||
// 比数字小游戏相关
|
||
|
||
// 过关
|
||
message CompareNumEndGameRequest {
|
||
optional int32 levelId = 1; // 关卡Id
|
||
optional int32 result = 2; // 0:失败 1:成功
|
||
}
|
||
message CompareNumEndGameResponse {
|
||
optional int32 nextId = 1; // 关卡Id
|
||
optional Drop drop = 2; // 过关奖励
|
||
}
|
||
|
||
// 领取章节累计奖励
|
||
message CompareNumBonusRequest {
|
||
optional int32 rewardId = 1; // 关卡Id (章节ID * 1000 + 累计关卡数)
|
||
}
|
||
message CompareNumBonusResponse {
|
||
optional Drop drop = 1; // 累计奖励
|
||
}
|
||
|
||
message CompareNumDataIndication{
|
||
optional int32 levelId = 1; // 当前关卡Id
|
||
optional int32 completeNum = 2; // 当前章节通关数量
|
||
repeated int32 rewardIdArr = 3; // 存储已领取过的关卡累计奖励 (章节ID * 1000 + 累计关卡数)
|
||
}
|
||
|
||
message CompareNumInfoRequest {
|
||
optional int32 chapterId = 1;
|
||
}
|
||
message CompareNumInfoResponse {
|
||
optional int32 levelId = 1; // 当前关卡Id
|
||
repeated CompareNumLevelInfo levelInfo = 2;
|
||
}
|
||
|
||
message GetCompareNumInfoRequest {
|
||
}
|
||
|
||
message GetCompareNumInfoResponse {
|
||
optional int32 levelId = 1; // 比数字小游戏当前关卡Id
|
||
optional int32 completeNum = 2; // 比数字小游戏当前章节通关数量
|
||
repeated int32 rewardIdArr = 3; // 比数字小游戏存储已领取过的关卡累计奖励 (章节ID * 1000 + 累计关卡数)
|
||
optional int64 rewardStartTime = 4;//挂机奖励开始时间
|
||
}
|
||
|
||
message CompareNumRewardRequest{
|
||
}
|
||
|
||
message CompareNumRewardResponse{
|
||
optional Drop drop = 1;//掉落
|
||
}
|
||
|
||
message GmBuyGoodRequest{
|
||
optional int32 goodsId = 1;//礼包id
|
||
}
|
||
|
||
// 法相装备穿脱
|
||
message WearFaxiangEquipRequest{
|
||
optional string heroID = 1;//英雄id
|
||
repeated string wearID = 2;//穿戴的id
|
||
optional int32 action = 3;//操作
|
||
}
|
||
|
||
message StrongthenFaxiangEquipRequest{
|
||
optional string faxiangID = 1;//法相id
|
||
optional int32 targetLv = 2;//目标等级
|
||
optional int32 action = 3;//动作,1强化:2升星
|
||
repeated string costID = 4;//消耗的法相id
|
||
}
|
||
|
||
message GetAllFaxiangEquipRequest{
|
||
optional int32 page = 1;//页数
|
||
}
|
||
|
||
message GetAllFaxiangEquipResponse{
|
||
repeated Equip equips = 1;//法相信息
|
||
optional bool isFinish = 2;//是否是最后一页
|
||
}
|
||
|
||
// 神兵
|
||
//信息请求
|
||
message MagicSoldierInfoRequest{
|
||
}
|
||
message MagicSoldierInfoResponse{
|
||
repeated MagicSoldier infos = 1;//全部神兵信息
|
||
repeated int32 book = 2;//神兵图鉴信息
|
||
}
|
||
//单独神兵位置信息更换
|
||
message MagicSoldierLocationRequest{
|
||
optional string id = 1;//主动修改得神兵id
|
||
optional int32 point = 2;//主动修改神兵得位置
|
||
}
|
||
message MagicSoldierLocationResponse{
|
||
}
|
||
//涅槃
|
||
message MagicSoldierReturnRequest{
|
||
optional string id = 1;//神兵idint
|
||
}
|
||
message MagicSoldierReturnResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
//神兵分解
|
||
message MagicSoldierSpiltRequest{
|
||
repeated string id = 1;//神兵id列表
|
||
}
|
||
message MagicSoldierSpiltResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
//神兵强化
|
||
message MagicSoldierStrongRequest{
|
||
optional string id = 1;//神兵id
|
||
optional int32 type = 2;//1:升级,2:升星
|
||
optional int32 num = 3;//连生等级
|
||
repeated string costIds = 4;//升星消耗
|
||
}
|
||
message MagicSoldierStrongResponse{
|
||
}
|
||
//阵上交换位置
|
||
message magicSoldierExchangeRequest{
|
||
optional string id = 1;//交换得第一个神兵
|
||
optional string id2 = 2;//交换得第二个神兵
|
||
}
|
||
message MagicSoldierExchangeResponse{
|
||
}
|
||
|
||
// 心愿抽卡
|
||
message DesireDrawCardRequest{
|
||
optional int32 type = 1;//卡池类型
|
||
optional int32 tempId = 2;//物品id
|
||
}
|
||
|
||
message DesireDrawCardResponse{
|
||
optional int32 type = 1;//卡池类型
|
||
optional int32 tempId = 2;//物品id
|
||
}
|
||
|
||
message choiceWishHeroRequest{
|
||
optional int32 type = 1;//卡池类型
|
||
}
|
||
|
||
message choiceWishHeroResponse{
|
||
optional int32 desireId = 1;//心愿物品id
|
||
repeated int32 newList = 2;//新增的物品列表
|
||
}
|
||
|
||
message wishDrawCardIndication{
|
||
// 暂不用
|
||
repeated wishDrawCardInfo infoList = 1;
|
||
}
|
||
|
||
// 商店一键购买
|
||
message StoreOneClickPurchaseRequest{
|
||
optional int32 id = 1;
|
||
}
|
||
message StoreOneClickPurchaseResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
// 命格
|
||
message GemNewDrawRequest{
|
||
optional int32 libraryId = 1;
|
||
optional int32 drawNum = 2;
|
||
}
|
||
|
||
message GemNewDrawResponse{
|
||
optional Drop drop = 1;
|
||
}
|
||
|
||
message GemNewInfoResponse{
|
||
repeated GemNew gems = 1;
|
||
} |