miduo_protocol/protos/PlayerInfoProto.proto

1034 lines
27 KiB
Protocol Buffer
Raw Normal View History

2020-11-19 20:35:16 +08:00
package rpc.protocols;
2018-12-27 17:56:49 +08:00
option optimize_for = SPEED;
2019-01-04 15:08:41 +08:00
import "CommonProto.proto";
2018-12-27 17:56:49 +08:00
// request 编号需要小于 response 编号
2019-01-21 17:51:08 +08:00
message ErrorMsgResponse{
optional string msg = 1;
}
2019-01-04 15:08:41 +08:00
message LoginRequest{
2019-07-05 14:19:42 +08:00
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; //设备对应运营商类型
optional string network_s =8; //设备对应网络类型
optional string ip_s =9; //IP
optional string openId =10; //openID
optional string channel_s=11; //渠道 ID
optional string platform_s=12;// 平台类型
2020-07-13 10:46:13 +08:00
optional string distinct_id = 13;//访客id
2021-06-09 14:12:26 +08:00
optional string cc_id = 14;//区分游戏和渠道
2019-01-04 15:08:41 +08:00
}
message LoginResponse{
optional int32 resultCode = 1;
2019-01-17 20:46:03 +08:00
optional string newToken = 2;
2019-01-04 15:08:41 +08:00
}
2018-12-27 17:56:49 +08:00
message GetPlayerInfoRequest{
optional int32 num = 1;
optional string str = 2;
}
2020-12-21 16:02:45 +08:00
2018-12-27 17:56:49 +08:00
message GetPlayerInfoResponse{
2019-01-17 19:09:23 +08:00
optional Player player = 1;
2019-04-09 14:12:30 +08:00
repeated NewPlayerGuidePoint newPlayerGuidePoint =2;
2019-05-24 07:34:22 +08:00
repeated Privilege privilege =3;
2019-06-06 10:15:01 +08:00
repeated GiftGoodsInfo giftGoodsInfo =4;
2019-06-21 17:10:02 +08:00
repeated int32 buyGoodsId = 5;
optional SuddenlyBossInfo SuddenlyBossInfo = 6;//精英怪信息
repeated int32 vipLeveTake = 7;
2019-06-27 17:42:14 +08:00
optional int32 userCreateTime = 8; // 玩家创角时间
2019-07-09 19:08:59 +08:00
repeated int32 redType = 9;// 红点信息
2021-06-30 10:04:52 +08:00
optional int32 randCount = 10;//已招募次数(废弃)
2020-06-24 17:24:25 +08:00
repeated EveryHeroHandBook heroHandBook = 11;//英雄图鉴
2019-07-16 17:38:13 +08:00
repeated int32 equipHandBook = 12;//装备图鉴
2019-07-16 20:06:44 +08:00
repeated int32 towerReceivedReward = 13;//试炼已领取奖励层数
2019-07-17 15:13:27 +08:00
repeated GoodsTypeDuration goodsTypeDuration = 14; // 已购买商品结束时间
2019-10-19 15:36:39 +08:00
optional int32 treasureLevel = 15; // 孙龙的宝藏等级
2019-07-23 16:26:09 +08:00
optional int32 hadBuyTreasure = 16; // 是否购买孙龙的宝藏
2019-08-05 21:05:23 +08:00
optional SignInInfo SignInInfo =17;//签到
2019-08-20 07:06:05 +08:00
optional int32 firstTenth = 18;//首次十连是否用过
2019-08-16 10:02:49 +08:00
optional int32 monsterAttackTime = 19;//妖潮
2019-08-17 15:25:03 +08:00
optional int32 isDayFirst = 20;//0表示新的一天
2019-08-30 11:36:07 +08:00
optional PlayerBindPhone playerBindPhone = 22;//玩家手机绑定信息
2019-09-04 11:55:02 +08:00
optional int32 QuestionState = 23;//答题状态 -1没有问卷 0未答题 1已答题
2019-09-16 20:59:02 +08:00
optional int32 SoulEquipPool = 24;//占星卡池
2019-10-31 11:40:56 +08:00
repeated int32 playedMapTypes = 25;//已经玩过的副本类型
2020-08-14 23:40:40 +08:00
optional double amount = 26;//总储值
optional int32 vipDaily = 27;//特权每日礼包是否领取 0 未领 >0vip 等级
2019-12-16 18:37:04 +08:00
optional int32 missingRefreshCount = 28;//迷宫寻宝妖精刷新次数
2020-03-30 14:42:22 +08:00
repeated MonthCardInfo monthinfos = 29;//月卡
2020-04-24 14:12:23 +08:00
repeated int32 dailyChallengeInfo = 30;//每日挑战信息
optional int32 expeditionLeve =31 ; //猎妖之路阶段 -1 待选择
2020-07-24 01:22:15 +08:00
optional int32 hadLuckTime = 32;//幸运探宝次数
2020-07-27 21:32:32 +08:00
optional int32 hadAdvanceLuckTime = 33;//高级幸运探宝次数
2020-12-15 14:28:03 +08:00
optional int32 worldLeve = 34;//世界等级
2021-01-12 17:46:41 +08:00
repeated int32 DemonsTrialRewardInfo = 35;//心魔试炼已领取奖励信息
repeated HeadFrameList headFrameBag = 36;//头像框背包
2021-03-29 12:00:56 +08:00
repeated UserSkinInfo userSkinList = 37;//玩家皮肤信息
repeated UserTitleInfo userTitleList = 38;//玩家称号信息
repeated UserMountInfo userMountList = 39;//玩家坐骑信息
2021-05-20 14:35:08 +08:00
optional int32 dailyredpack = 40;//每日福利红包领取次数
optional int32 practiceLevel = 41;//修行等级
repeated PurpleMansionSeal sealList = 42;//神印列表
2021-06-08 16:04:08 +08:00
optional int32 randomCount = 43;//抽卡剩余必出
2021-06-30 10:22:38 +08:00
repeated randomTypeNum drawTimes = 44;//类型抽卡总次数
2021-08-31 11:40:06 +08:00
repeated HelpFightList helpFightList = 45;//已选取的助战信息
2021-09-10 09:44:10 +08:00
repeated SixiangxinfaInfo sixiangInfos = 46;//四象心法数据
2018-12-27 17:56:49 +08:00
}
2019-01-16 16:45:23 +08:00
2018-12-27 17:56:49 +08:00
2019-01-04 15:08:41 +08:00
message GetItemInfoRequest{
2019-01-23 18:40:59 +08:00
optional int32 index = 1; //第一次请求索引为0, 第二次:第一次索引+每页的数量
2019-01-04 15:08:41 +08:00
}
message GetItemInfoResponse{
2019-01-23 10:26:05 +08:00
repeated Item itemlist = 1;
optional bool isSendFinish =2; //是否发送完成
2019-01-23 18:40:59 +08:00
}
message GetAllMailInfoResponse{
repeated Mail mialList = 1;
2019-01-24 17:20:45 +08:00
}
2019-01-28 17:51:14 +08:00
message UseAndPriceItemRequest{
2020-04-26 14:59:41 +08:00
optional int32 type = 1; //0:使用 1:分解物品 2分解装备3:分解妖灵师 4:分解宝器 5:分解魂印(分解法宝在分解妖灵师同时分解)
2019-04-19 18:20:47 +08:00
optional int32 itemId = 2;
repeated Item items = 3;
repeated string equipIds = 4;
2019-05-16 20:21:57 +08:00
repeated string heroIds = 5;
2019-01-28 17:51:14 +08:00
}
message UseAndPriceItemResponse{
optional Drop drop = 1;
}
2019-01-24 17:20:45 +08:00
message MailReadRequest{
optional string mailId = 1;
}
2021-04-12 21:59:56 +08:00
message MailReadResponse{
optional Mail mailInfo= 1;
}
2019-01-24 17:20:45 +08:00
message TakeMailRequest{
repeated string mailIds = 1;
}
message TakeMailResponse{
optional Drop drop = 1;
2021-01-25 16:08:09 +08:00
optional int32 msg = 2;// 1成功0道具为空2背包已满
2019-02-14 17:53:16 +08:00
}
message WorkShopFoundationRequest{
optional int32 materialId = 1; // 要打造的材料模板id
optional int32 nums =2; //数量
}
message WorkShopEquipCreateRequest{
2019-02-25 17:33:36 +08:00
optional int32 equipTid = 1; // 要打造的装备模板id
repeated int32 runneIds = 2; // 符文ids 不需要传送特殊符文。
2019-05-28 14:42:24 +08:00
optional int32 nums = 3 ;// 锻造装备数量
2019-02-25 11:43:10 +08:00
}
message WorkShopEquipCreateResponse{
optional int32 type =1 ; // 1:工坊 2百味居
2019-05-28 15:22:59 +08:00
optional Drop drop =2;
2019-02-14 17:53:16 +08:00
}
message WorkShopRebuildRequest{
optional string equipId = 1; // 要重造装备动态id
repeated string consumeEquipIds =2; //祭品动态id
}
2019-02-25 11:43:10 +08:00
2019-02-25 17:33:36 +08:00
message WorkShopRebuildRespoonse{
optional Equip equip = 1;
}
2019-06-19 11:29:18 +08:00
message WorkTechnologyLevelRequest{
2019-06-19 14:49:31 +08:00
optional int32 id = 1;//
2019-09-25 17:27:35 +08:00
optional int32 targetLevel = 2;//等级
}
message WorkTechnologyLevelResponse{
optional int32 id = 1;//
optional int32 targetLevel = 2;//等级
2019-06-19 11:29:18 +08:00
}
2019-06-19 17:17:12 +08:00
message WorkTechnologyResetRequest{
optional int32 professionId = 1;// 重置科技树职业id
}
message WorkTechnologyResetResponse{
optional Drop drop = 1;// 返还道具
}
2019-02-25 11:43:10 +08:00
message ActiviteWorkShopReqeust{
optional int32 type =1; //功能类型1 基础锻造 2制作装备 或 制作美食
optional int32 activiteId =2; //要激活的功能id
}
message GetWorkShopInfoResponse{
2019-02-25 17:33:36 +08:00
repeated WorkShopUnLockInfo workShopUnLockInfo =1; //作坊解锁信息
repeated WorkShopBaseInfo workShopBaseInfo =2; //作坊基本信息
2019-05-07 11:05:58 +08:00
optional Equip unDetermined =3; //待确认重铸装备
2019-06-19 14:49:31 +08:00
repeated TechnologyInfo technologyInfo = 4 ; //科技树点
2019-02-25 11:43:10 +08:00
}
2019-02-25 20:46:35 +08:00
message CookFoodRequest{
repeated int32 materialId =1 ;// 所选食材id
optional int32 nums =2; //次数
}
message CookFoodResponse{
optional WorkShopBaseInfo workShopBaseInfo =1;
optional Drop drop =2;
}
2019-04-03 20:22:31 +08:00
message RedPointInfo{
2019-07-08 12:06:49 +08:00
optional int32 type =1 ;//红点类型 1 邮件红点 2 分享外敌boss红点 3竞技场防守记录红点
2019-04-03 20:22:31 +08:00
}
2019-02-14 17:53:16 +08:00
2019-04-09 14:12:30 +08:00
message SaveNewPlayerPointRequest{
optional NewPlayerGuidePoint newPlayerGuidePoint =1;
}
2019-02-14 17:53:16 +08:00
2019-04-22 14:53:08 +08:00
message TakeActivityRewardRequest{
2019-07-23 14:49:21 +08:00
optional int32 missionId = 1; //活动任务id
optional int32 activityId = 2 ;//活动id
2019-04-22 11:48:22 +08:00
}
2019-04-22 14:53:08 +08:00
message TakeActivityRewardResponse{
2019-04-22 11:48:22 +08:00
optional Drop drop = 1;
}
2019-04-22 14:53:08 +08:00
message GetAllActivityResponse{
2019-04-22 18:00:38 +08:00
repeated ActivityInfo activityInfo =1;
2019-09-26 11:02:46 +08:00
2019-04-22 14:53:08 +08:00
}
2019-04-25 14:52:06 +08:00
message RandomNameResponse{
optional string randomName =1;
2021-03-06 09:09:24 +08:00
optional string preName = 2;
optional string postName = 3;
2019-04-25 14:52:06 +08:00
}
2019-04-25 18:16:28 +08:00
message ReNameRequest{
optional int32 type = 1 ; // 1:玩家起名 2: 阵容起名
optional string name = 2;
optional int32 teamPosId = 3; // 队伍id
optional int32 sex = 4; //0 男性 1 女
2019-04-25 18:16:28 +08:00
}
2019-05-07 11:05:58 +08:00
message WorkShopRebuildConfirmRequest{
optional int32 state = 1; // 1:确认使用 0取消
}
2019-05-10 13:33:25 +08:00
2019-05-14 10:23:05 +08:00
2019-05-10 13:33:25 +08:00
message GetSecretBoxInfoResponse{
optional int32 season =1;//当前周期id
2019-05-11 15:16:37 +08:00
optional int32 count =2; //总抽取次数
2019-05-10 13:33:25 +08:00
}
message SecretBoxRandomRequest{
optional int32 typeId = 1;
}
message SecretBoxRandomResponse{
optional Drop drop = 1; //抽取到的物品
optional Drop extrarReward =2; //额外奖励
}
2019-05-11 17:22:16 +08:00
2019-05-14 13:44:23 +08:00
message GetStoreInfosResponse{
2019-05-14 17:14:13 +08:00
repeated StoreInfo storeInfo = 1; //商店信息
2019-05-14 10:36:48 +08:00
}
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
}
2019-05-14 13:44:23 +08:00
2019-05-14 10:36:48 +08:00
message StoreGoodsRefreshResponse{
2019-05-14 17:14:13 +08:00
optional StoreInfo storeInfo = 1; //商店信息
2019-05-14 10:36:48 +08:00
}
2019-05-14 10:23:05 +08:00
message GetFunctionOfTimeResponse{
2019-05-14 16:31:30 +08:00
repeated FunctionOfTime functionOfTime =1 ;
2019-05-13 14:58:01 +08:00
}
2019-05-27 14:01:40 +08:00
message VipLevelUpResponse{
2019-06-21 17:02:11 +08:00
optional VipBaseInfo vipBaseInfo =1;
2019-06-21 17:38:37 +08:00
repeated UserMissionInfo userMissionInfo =2;//任务请求
2019-05-27 14:01:40 +08:00
}
2019-05-27 20:18:55 +08:00
message MissionUpdateListIndication{
2019-06-17 10:54:57 +08:00
repeated UserMissionInfo userMissionInfo =2; //任务更新详情
2019-05-27 20:18:55 +08:00
}
message TakeMissionRewardRequest{
2019-06-06 10:15:01 +08:00
optional int32 type =1 ; // 任务类型 1vip任务 2每日任务
2019-05-27 20:18:55 +08:00
optional int32 missionId =2;// missionId
}
message TakeMissionRewardResponse{
optional Drop drop =1 ;
2019-07-23 16:26:09 +08:00
optional int32 treasureScore = 2 ;//孙龙的宝藏分数
2019-05-27 20:18:55 +08:00
}
message UserForceChangeRequest{
optional int32 teamId = 1; // 最高战力队伍id
}
2019-05-28 09:58:02 +08:00
message VipTakeBoxRequest{
optional int32 type =1 ;// 1 : 等级礼包 2 :每日礼包
}
message VipTakeBoxResponse{
optional Drop drop =1;
}
2019-06-04 09:52:53 +08:00
message RechargeInfoRequest{
optional int32 money = 1; //充值金额
}
message RechargeInfoResponse{
optional Drop drop = 1 ;// 首冲奖励
}
2019-06-06 17:22:03 +08:00
message GetFriendInfoRequest{
2019-10-09 15:48:49 +08:00
optional int32 type = 1; //1:好友列表, 2:推荐列表 3:申请列表 4 黑名单信息
2019-06-06 17:22:03 +08:00
}
message GetFriendInfoResponse{
repeated Friend Friends =1; //好友信息
}
2019-06-06 10:15:01 +08:00
//测试购买礼包
message TestBuyGiftGoodsRequest{
optional int32 goodsId = 1;
}
2019-06-06 17:22:03 +08:00
2019-06-06 10:15:01 +08:00
//购买礼包获得道具推送
message BuyGoodsDropIndication{
optional Drop drop =1;
}
2019-06-06 17:22:03 +08:00
2019-06-06 10:15:01 +08:00
message AllGiftGoodsIndication{
repeated GiftGoodsInfo GiftGoodsInfo =1;
}
2019-06-06 17:22:03 +08:00
2019-06-10 10:37:49 +08:00
message InviteFriendRequest{
repeated int32 inviteUids = 1; // 申请的好友id
}
2019-06-10 17:02:29 +08:00
message FriendInviteOperationRequest{
optional int32 type = 1; //1:同意 2:拒绝 3:全部同意 4: 全部拒绝
optional int32 friendId = 2; // 好友id
}
2019-06-11 10:45:23 +08:00
message sendFriendInfoIndication{
2019-06-13 11:40:53 +08:00
optional int32 type = 1; //1:申请好友 2: 添加好友
2019-06-12 20:44:48 +08:00
optional Friend Friends =2; //好友信息
2019-06-11 10:45:23 +08:00
}
message FriendGivePresentRequest{
optional int32 type = 1; //1:赠送一个人 2 赠送全部好友
optional int32 friendId=2;
}
2019-06-11 11:41:25 +08:00
2019-06-11 10:45:23 +08:00
message DelFriendRequest{
optional int32 friendId= 1;
}
2019-06-11 11:41:25 +08:00
message FriendTakeHeartRequest{
optional int32 type = 1; // 1:领取一个人的 2:全部领取
optional int32 friendId = 2;
}
message FriendTakeHeartResponse{
optional Drop drop =1;
2019-08-19 11:43:28 +08:00
repeated int32 friendId = 2; // 已领取好友id
2019-06-11 11:41:25 +08:00
}
2019-06-11 10:45:23 +08:00
2019-06-11 14:20:29 +08:00
message FriendSearchRequest{
optional string name = 1; // 名字
}
2019-06-13 11:40:53 +08:00
2019-06-11 14:20:29 +08:00
message FriendSearchResponse{
optional int32 type = 1; // 1申请:, 2:好友. 3:已申请
optional Friend Friends =2; //好友信息
}
2019-06-13 11:40:53 +08:00
message SendFriendStateIndication{
optional int32 type = 1; //1:删除好友 2: 赠送体力
optional int32 friendId =2; //好友Id
}
message RefreshFriendStateResponse{
repeated int32 friendIds = 1;
}
2019-10-09 15:11:48 +08:00
message FriendBlackOptRequest{
2019-10-11 18:29:30 +08:00
optional int32 type =1 ; // 操作类型 1 加入黑名单 2 解除黑名单 3一键移除
2019-10-09 15:11:48 +08:00
optional int32 blackUid =2;// 用户uid
}
2019-06-15 15:42:23 +08:00
message FivePlayerUpdateIndication{
optional int32 hadTakeDailyBox = 1 ;//是否领取每日礼包 1已领取vip等级 -1未领取
repeated Privilege privilege =2 ; //特权使用信息
2019-06-17 10:54:57 +08:00
repeated ActivityInfo activityInfo =3;// 活动刷新
repeated UserMissionInfo userMissionInfo =4;//任务详情(列如 每日任务重置)
2019-07-19 17:39:58 +08:00
optional fiveResetTowerInfo fiveResetTowerInfo = 5;// 重置试炼信息
2019-08-05 21:05:23 +08:00
optional SignInInfo SignInInfo = 6;//签到
2019-08-30 11:36:07 +08:00
optional PlayerBindPhone playerBindPhone = 7;//玩家手机绑定信息
2019-09-25 15:54:49 +08:00
repeated LuckWheelRewardPosInfo posInfos = 8;//转盘信息
repeated LuckWheelRewardPosInfo posInfosAdvance = 9;//高级转盘信息
2020-03-30 15:50:53 +08:00
repeated int32 MonthDailyTake=10;//已领取的月卡id
2020-05-06 16:25:38 +08:00
optional int32 lastFeteType =11 ; // 上次祭祀类型 //每日清除 5点推送
repeated int32 takeFeteReward =12 ; // 祭祀领取进度
optional int32 expeditionLeve =13 ; //猎妖之路阶段 -1 待选择
2020-07-24 01:22:15 +08:00
optional int32 hadLuckTime = 14;//幸运探宝次数
2020-07-27 21:32:32 +08:00
optional int32 hadAdvanceLuckTime = 15;//高级幸运探宝次数
2021-09-24 13:47:40 +08:00
optional int32 likableRemainTime = 16;//好感度剩余捐赠次数
2019-06-15 15:42:23 +08:00
}
2021-01-18 01:27:28 +08:00
message ZeroPlayerUpdateIndication{
}
2019-09-04 11:55:02 +08:00
2019-06-15 15:42:23 +08:00
2019-06-21 17:02:11 +08:00
message GetMissionResponse{
repeated UserMissionInfo userMissionInfo =1;//所有任务详情
}
2019-07-03 15:44:22 +08:00
message RefreshItemNumRequest{
repeated int32 itemId = 1;//
}
message RefreshItemNumResponse{
repeated ItemInfo itemInfo = 1;
}
2019-07-08 22:33:07 +08:00
message UpdateBagIndication{
2019-07-09 11:33:45 +08:00
optional int32 type =1; //更新背包类型 0 普通背包 1 临时背包
repeated Item item =2;
optional int32 isMax = 3;//本次更新是否有物品超过了限制
2019-07-08 22:33:07 +08:00
}
2019-11-20 17:45:28 +08:00
message ModifyDecorationRequest{
//修改外观
optional int32 decorationId = 1;
optional int32 type = 2;//0头像框1头像2称号3坐骑4皮肤
2019-07-18 16:02:57 +08:00
}
2019-06-10 17:02:29 +08:00
2019-07-22 16:06:36 +08:00
//初始化云梦祈福
2019-07-22 16:46:11 +08:00
//请求云梦数据
2019-07-22 16:06:36 +08:00
message blessResponse{
repeated blessReward fixReward = 1;
repeated blessReward legendReward = 2;
repeated blessReward supremeReward = 3;
repeated blessReward countReward = 4;
2019-07-23 20:30:10 +08:00
repeated blessReward rewardView = 5;
2019-07-25 05:25:29 +08:00
optional int32 lastRefreshTime = 6;
2020-09-04 01:42:58 +08:00
optional int32 count = 7;
2019-07-22 16:06:36 +08:00
}
//保存奖励
message blessSaveRequest{
repeated int32 rewardIds = 1;
}
//云梦抽取
message blessChooseRequest{
optional int32 locationId = 1;
}
message blessChooseResponse{
optional Drop reward = 1;
2019-07-22 18:25:14 +08:00
//所选格子奖励Id
optional int32 chooseRewardId = 2;
2019-07-22 16:06:36 +08:00
}
//刷新奖励
message blessRefresh{
optional blessResponse reward =1;
}
2019-05-27 14:01:40 +08:00
2019-07-23 15:32:16 +08:00
message storeUpdateIndication{
repeated StoreInfo storeInfo =1;
}
2019-07-25 19:09:54 +08:00
//装备锁定
message LockEquip{
repeated string id = 1;
optional int32 type = 2;//1锁定操作 2解锁操作
}
2019-05-16 14:36:57 +08:00
2019-07-30 14:51:53 +08:00
message ActivityUpateIndication{
repeated ActivityInfo activityInfo =1;
2019-07-30 15:12:16 +08:00
repeated int32 closeActivityId = 2;
2019-07-30 14:51:53 +08:00
}
2019-07-31 18:13:45 +08:00
2019-08-02 13:26:05 +08:00
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 ;// 我的排名
2019-07-31 18:13:45 +08:00
}
2019-08-02 14:42:43 +08:00
//活动进度推送
message ActivityUpateProgressIndication{
required ActivityInfo activityInfo =1;
}
2019-08-07 09:38:53 +08:00
message GetExpertInfoRequest{
optional int32 activiteId = 1; //活动ID
}
message GetExpertInfoResponse{
repeated ExpertInfo expert = 1;
optional int32 myScore = 2; //我的分数
optional int32 myRank =3 ;// 我的排名
}
2019-08-05 18:33:55 +08:00
message SignInRequest{
optional int32 dayIndex = 1;
}
message SignInResponse{
optional Drop drop =1 ;
}
2019-09-16 13:35:34 +08:00
//获取编队信息
2019-08-06 10:16:51 +08:00
message GetPlayerOneTeamInfoRequest{
2019-08-06 09:57:00 +08:00
optional int32 playerId = 1;
2019-09-16 13:35:34 +08:00
optional int32 teamId = 2;
2021-01-09 01:54:37 +08:00
optional int32 serverId = 3;
2019-08-06 09:57:00 +08:00
}
2019-08-06 10:16:51 +08:00
message GetPlayerOneTeamInfoResponse{
2019-08-07 11:27:24 +08:00
optional TeamOneInfo teamInfo = 1;
2019-08-06 10:16:51 +08:00
}
2019-08-06 18:16:16 +08:00
message TakeSenvenScoreRewardResponse{
optional Drop drop =1;
}
2019-08-05 18:33:55 +08:00
2019-07-30 14:51:53 +08:00
2019-08-12 16:21:45 +08:00
message UpdateStateRequest{
optional int32 type = 1; // 类型信息 1 : 七日狂欢领取活动
}
2019-08-13 14:58:19 +08:00
message UpdateUserExpIndicaiton{
optional int32 level = 1 ;// 玩家等级
2021-05-17 21:07:30 +08:00
optional int64 exp =2 ; // 玩家经验
2019-08-13 14:58:19 +08:00
}
2019-08-14 17:24:33 +08:00
message UpdateSecretBoxSeasonIndication{
optional int32 newSeasonId = 1 ;// 新的赛季id id=0 代表功能已关闭
}
2019-08-21 14:09:05 +08:00
message GetMonsterRankInfoRequest{
}
message GetMonsterRankInfoResponse{
repeated MonsterRankInfo monster = 1;
optional int32 myScore = 2; //我的分数 -1
optional int32 myRank =3;// 我的排名 -1不在榜单内
}
2019-08-29 15:39:13 +08:00
message PlayerBackCInfoIndication{
optional string nickName = 1;
}
2019-08-30 11:36:07 +08:00
message UpdatePhoneinfoRequest{
optional string phoneNum = 1;
}
message UpdatePhoneinfoResponse{
optional int32 state = 1;//本月绑定状态 0 未绑定 1已绑定未领奖 2已领奖
}
message GetPhoneRewardRequest{
}
message GetPhoneRewardResponse{
optional Drop drop =1 ;
}
2019-09-03 14:38:45 +08:00
message QuestionIndication{
optional int32 state = 1; //state -1关闭 1开启
}
message GetQuestionRequest{
}
message GetQuestionResponse{
optional string id= 1; //问卷id
optional string questDes= 2; //问卷描述
2019-09-04 11:55:02 +08:00
optional string start= 3; //开始时间
2019-09-04 14:06:08 +08:00
optional string endtime= 4; //问卷结束时间
2019-09-04 11:55:02 +08:00
repeated QuestionOptions questOptions =5; //问卷问题
2019-09-03 14:38:45 +08:00
}
message upDataQuestionRequest{
repeated string options = 1; //问题答案 ABCD形式 多选拼接多个
}
message upDataQuestionResponse{
optional int32 result = 1;//-1失败 0成功
2019-09-05 11:38:03 +08:00
}
message BloodRank{
2019-09-12 18:10:57 +08:00
}
message ExchangeCdkRequest{
optional string key = 1;
}
2019-09-16 17:09:11 +08:00
2019-09-16 17:11:32 +08:00
message NotifyPaySuccessfulIndicaiton{
2019-09-16 17:09:11 +08:00
optional int32 goodsId =1 ;// 购买商品id
}
2019-09-17 10:17:05 +08:00
message DirectBuyIndication{
optional int32 goodsId = 1; // 索购买的商品id
optional Drop drop = 2; //
}
2019-09-25 15:54:49 +08:00
message RefreshLuckWheelRequest{
optional int32 activityId = 1;
optional bool isFree = 2;
}
message RefreshLuckWheelResponse{
repeated LuckWheelRewardPosInfo posInfos = 1;
}
message GetLuckWheelRandRewardRequest{
optional int32 activityId = 1;
optional bool repeated = 2;
}
message GetLuckWheelRandRewardResponse{
optional int32 activityId = 1;
2019-09-27 15:24:29 +08:00
repeated LuckWheelRewardPosInfo posInfos = 2;
2019-09-25 15:54:49 +08:00
optional Drop drop = 3;
}
2019-09-24 14:00:15 +08:00
2019-09-26 11:02:46 +08:00
message LuckWheelIndication{
repeated LuckWheelRewardPosInfo posInfos = 1;//转盘信息
repeated LuckWheelRewardPosInfo posInfosAdvance = 2;//高级转盘信息
}
2019-09-24 14:00:15 +08:00
message GetMainLevelInfoResponse{
optional int32 fightId = 1 ; //当前关卡id
optional int32 state = 2 ;// 1 已开启但未通过 2 :已通过 -1代表等级卡
optional int32 duration = 3;//挂机时长
2019-10-21 18:35:56 +08:00
repeated AdventureBossInfo adventureBossInfo =4;
2019-10-30 10:23:01 +08:00
optional string reward = 5;
2019-09-24 14:00:15 +08:00
}
2019-10-19 15:49:01 +08:00
//快速购买孙龙宝藏等级
message QuickBuyTreasureLevelRequest{
optional int32 level = 1;//最终升到的等级
}
2019-10-09 20:00:26 +08:00
message TreasureRefreshIndication{
repeated RefreshTask tasks = 1;//刷新任务信息
}
2019-10-10 11:27:37 +08:00
message TreasureLevelUpIndication{
optional int32 level = 1;//推送戒灵秘宝等级
2020-10-01 00:28:30 +08:00
optional int32 hadBuy = 2;//是否激活
2019-10-10 11:27:37 +08:00
}
2019-12-14 08:38:07 +08:00
//删除邮件
message MailDelRequest{
repeated string mailId = 1;
}
2019-10-19 15:49:01 +08:00
2019-10-15 16:51:59 +08:00
message ViewHeroInfoRequest{
optional int32 targetUid = 1;
optional string heroId = 2 ;// 动态id
2021-01-09 01:54:37 +08:00
optional int32 serverId = 3;
2021-07-30 10:41:24 +08:00
optional int32 teamId = 4;//队伍id
2019-10-15 16:51:59 +08:00
}
message ViewHeroInfoResponse{
optional Hero hero =1;
2020-12-18 16:14:11 +08:00
repeated Equip equip =2; // 英雄所穿装备、魂印、法宝
2019-10-15 16:51:59 +08:00
repeated SpecialEffects SpecialEffects = 3;//属性信息
optional int32 force = 4 ; //战力
2020-06-26 00:26:54 +08:00
optional int32 guildSkill = 5;//公会技能
2019-10-15 16:51:59 +08:00
}
2019-11-27 18:08:31 +08:00
message RankRequest{
optional int32 type = 1;//排行榜类型
2020-01-03 09:55:44 +08:00
optional int32 activiteId = 2;//活动id
2021-02-02 11:19:10 +08:00
optional int32 index = 3;//从第几条开始1.1-20 20.21-40....
2021-07-28 16:03:27 +08:00
optional int32 isCross = 4;//是否是跨服01
2019-11-27 18:08:31 +08:00
}
2019-11-27 10:48:14 +08:00
message RankResponse{
repeated UserRank ranks = 1;
optional RankInfo myRankInfo = 2;
}
message RankFirstRequest{
repeated int32 types = 1;//传入排行榜类型id
2020-06-08 22:39:32 +08:00
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;//膜拜奖励
}
2019-12-13 08:08:27 +08:00
message NextActivityRequest{
2019-12-14 00:01:22 +08:00
optional int32 activityId = 1;
2019-12-13 08:08:27 +08:00
}
message NextActivityResponse{
optional int32 id = 1;//下期活动id
optional int32 time = 2;//下期活动开启时间
}
message RefreshRechargeIndication{
2020-08-14 22:39:31 +08:00
optional double amount = 1;//总储值
optional double monthSaveAmt = 2 ; //月卡累计总额
optional double smonthSaveAmt = 3 ; //豪华月卡累计总额
}
message VipTakeDilyRequest{
}
message VipTakeDilyResponse{
optional Drop drop =1;
}
2019-12-12 15:17:01 +08:00
2019-12-13 10:31:51 +08:00
//迷宫寻宝刷新任务
message MissingRoomRefreshResponse{
repeated UserMissionInfo infos = 1;
}
2019-12-12 15:17:01 +08:00
//迷宫寻宝派遣
message MissingRoomSendHeroRequest{
repeated string heroIds = 1;
2019-12-12 17:05:24 +08:00
optional int32 missionId = 2;
2019-12-12 15:17:01 +08:00
}
//迷宫寻宝任务加速
message MissingRoomAccelerateRequest{
optional int32 missionId = 1;
}
2020-12-30 16:18:02 +08:00
//迷宫寻宝任务加锁
message MissingRoomLockRequest{
optional int32 missionId = 1;
optional int32 lock = 2;//1上锁2解锁
}
message SexChangeRequest{
optional int32 sex = 1; //0 男性 1 女
}
message SexChangeResponse{
}
2019-12-31 11:14:13 +08:00
message PrivilegeIndication{
repeated Privilege infos = 1;
}
2020-03-21 15:14:05 +08:00
message TreasureRefreshTimeResponse{
optional int32 dayTime = 1;
optional int32 weekTime = 2;
}
2020-03-30 14:42:22 +08:00
message MonthCardIndication{
repeated MonthCardInfo monthinfos = 1;
}
message TakeMothDilyRequest{
optional int32 type=1;
}
message TakeMothDilyResponse{
optional Drop drop =1;
}
2020-04-24 14:12:23 +08:00
message DailyChallengeRequest{
optional int32 id = 1;
optional int32 type = 2;//1为挑战 2为扫荡
}
message DailyChallengeResponse{
optional Drop drop = 1;
optional FightData fightData = 2;
}
2020-04-26 13:58:43 +08:00
message GetSomeActivityInfoRequest{
repeated int32 id=1;
}
message GetSomeActitityInfoRespone{
repeated ActivityInfo activityInfo =1;
}
2020-04-26 16:46:53 +08:00
message JewelBuildRequest{
optional string id = 1;//宝器id
optional int32 type = 2;//1为强化 2为精炼
repeated string item = 3;//精炼材料
}
2020-04-26 13:58:43 +08:00
2020-08-20 19:38:00 +08:00
message JadeDynastyRefreshIndication{
repeated RefreshTask tasks = 1;//刷新任务信息
}
2020-03-30 16:02:14 +08:00
2020-08-20 19:38:00 +08:00
message JadeDynastyRefreshTimeResponse{
optional int32 dayTime = 1;
optional int32 weekTime = 2;
}
2020-03-30 16:02:14 +08:00
2021-02-05 16:56:23 +08:00
//获取四灵试炼信息
2020-12-16 11:26:23 +08:00
message FourChallengeGetInfoResponse{
2021-02-05 16:52:06 +08:00
repeated FourChallengeInfo info = 1;
}
2021-02-03 10:37:27 +08:00
// 四灵,挑战 扫荡协议
message FourChallengeDoRequest{
2020-12-16 11:26:23 +08:00
optional int32 challengeId = 1;
optional int32 type = 2;//0为挑战1为扫荡
}
2021-01-21 16:27:35 +08:00
message FourChallengeDoResponse{
2020-12-16 11:26:23 +08:00
optional Drop drop = 1;
optional FightData fightData = 2;//0为挑战1为扫荡
}
2021-02-03 10:37:27 +08:00
//四灵试炼 助战协议
2021-02-03 16:15:22 +08:00
message GetHelpHeroListRequest{
2021-02-03 10:37:27 +08:00
optional int32 type = 1; //0:获取我的助战信息
2021-01-12 17:48:49 +08:00
}
2021-02-03 16:15:22 +08:00
message GetHelpHeroListResponse{
2021-02-03 10:37:27 +08:00
repeated HelpFightList helpHeros = 1;//助战英雄列表
}
// 四灵,设置我的助战
2021-02-03 16:15:22 +08:00
message SetHelpHeroRequest{
2021-02-03 10:37:27 +08:00
optional string heroId = 1;//英雄id
2021-01-12 17:48:49 +08:00
}
2021-02-03 16:15:22 +08:00
message SetHelpHeroResponse{
2021-02-03 10:37:27 +08:00
optional Drop drop = 1;//设置助战奖励
}
// 四灵,选择使用助战
2021-02-03 16:15:22 +08:00
message UseHelpHeroRequest{
2021-02-03 10:37:27 +08:00
optional string heroId = 1;//英雄id
optional int32 type = 2;//英雄类型
optional int32 status = 3;//0取消1选择
}
2021-02-03 16:35:23 +08:00
// 四灵,获取战斗记录
message GetFourChallengeRecordRequest{
optional int32 type = 1;//类型,人佛妖道
optional int32 tier = 2;//层数
}
message GetFourChallengeRecordResponse{
2021-02-03 16:54:42 +08:00
repeated UserRank userRank = 1;//玩家信息
2021-02-03 16:35:23 +08:00
}
2020-12-15 11:11:43 +08:00
2021-02-03 16:35:23 +08:00
//世界等级推送
2020-12-15 11:11:43 +08:00
message WorldLevelIndication{
2021-02-03 16:35:23 +08:00
optional int32 worldLeve = 1;
2020-12-15 11:11:43 +08:00
}
2021-01-15 10:43:22 +08:00
// 使用头像框
message UseHeadFrameRequest{
optional int32 headFrameId = 1;//头像框id
}
message UseHeadFrameResponse{
optional int32 validTime = 1;//到期时间
2021-02-25 10:19:56 +08:00
}
message LoginConfirmRequest{
2021-03-20 21:11:28 +08:00
}
message RechargeSuccessIndication{
optional string orderId = 1;
2021-03-29 12:00:56 +08:00
}
// 手动激活玩家皮肤
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;//到期时间
2021-04-16 17:16:59 +08:00
}
//装备升星
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;
2021-04-26 10:45:36 +08:00
}
//推送礼包推送
message PushWelfareResponse{
repeated int32 id = 1;
2021-05-18 14:21:19 +08:00
}
2021-05-20 11:15:27 +08:00
//福利红包推送
2021-05-18 14:21:19 +08:00
message WelfareRedPacketPush{
repeated WelfareRedPacket redpacket = 1;
2021-05-20 11:15:27 +08:00
}
//福利红包发送
message WelfareRedPacketSendRequest{
optional int32 id = 1;
}
message WelfareRedPacketSendResponse{
repeated WelfareRedPacket redpacket = 1;
}
2021-05-10 10:08:10 +08:00
//请求山河社稷图数据
message HardStageRequest{
}
message HardStageResponse{
optional HardStageInfo info = 1;
}
//请求山河社稷图战斗
message HardStageFightRequest{
optional int32 nodeId = 1;
optional int32 teamId = 2;
}
message HardStageFightResponse{
optional FightData fightData = 1;
2021-05-13 21:42:54 +08:00
optional Drop drop = 2;
2021-05-10 10:08:10 +08:00
optional int32 stars = 3; //状态:0-7星级状态8为荣耀三星
2021-05-28 11:55:30 +08:00
optional bool currentIsHonour = 4; //当前战斗是否是荣耀三星
2021-05-10 10:08:10 +08:00
}
//山河社稷图领取奖励
message GetHardStageChapterReward{
optional int32 chapterId = 1;
optional int32 rewradId = 2;
}
message GetHardStageChapterRewardResponse{
2021-05-13 21:03:30 +08:00
optional Drop drop = 1;
2021-05-10 10:08:10 +08:00
}
//请求山河社稷图战斗回访
message HardStageReportRequset{
2021-05-13 17:33:52 +08:00
optional int32 hardStageId = 1;
2021-05-10 10:08:10 +08:00
}
message HardStageReportResponse{
repeated HardStagePlayerInfo player = 1;
}
2021-05-19 18:36:34 +08:00
//特权等级奖励状态
message VipLevelStateRequset{
}
message VipLevelStateResponse{
2021-05-25 11:49:29 +08:00
repeated KeyVal vipState = 1;//键值对<id,领取状态(0,未达到条件1达到未领取 2:已领取)>
2021-05-19 18:36:34 +08:00
}
//特权等级奖励领取
2021-05-19 19:03:20 +08:00
message VipLevelStateRewardRequset{
2021-05-19 18:36:34 +08:00
optional int32 vipLevelId = 1;
}
2021-05-19 19:03:20 +08:00
message VipLevelStateRewardResponse{
2021-05-20 10:09:17 +08:00
optional Drop drop = 1;
2021-05-19 18:36:34 +08:00
}
2021-05-26 11:16:06 +08:00
//福利红包请求
message WelfareRedPacketRequest{
}
2021-07-23 15:28:41 +08:00
message UserTitleAddIndication{
optional int32 decorationId = 1;
optional int32 time = 2;
}
2021-07-28 16:03:27 +08:00
// 是否是跨服
message IsCrossRequert{
}
message IsCrossResponse{
optional int32 isCross = 1;// 01
}
2021-07-30 14:44:54 +08:00
message IsCrossIndication{
optional int32 isCross = 1;// 01
2021-08-07 16:58:39 +08:00
}
2021-09-09 17:15:44 +08:00
message CheckBuyGoodsRequest{
optional int32 goodsId = 1;
}
message CheckBuyGoodsResponse{
optional string orderId = 1;
2021-08-10 10:02:58 +08:00
}
message XunBaoMiZongEnterRequest{
2021-09-09 17:15:44 +08:00
}
message XunBaoMiZongEnterResponse{
optional bool isEnter = 1;
2021-08-16 16:57:31 +08:00
}
//太初密卷
message TaiChuSecretvolumeRequest{
2021-09-09 17:15:44 +08:00
}
2021-08-16 16:57:31 +08:00
message TaiChuSecretvolumeResponse{
repeated taiChuSecretvolume secretvolume = 1;
}
2021-09-08 11:09:21 +08:00
//玉虚论道获取编队信息
message GetPlayerCrossYxldOneTeamInfoRequest{
optional int32 playerId = 1;
optional int32 serverId = 2;
}
message GetPlayerCrossYxldOneTeamInfoResponse{
optional TeamOneInfo teamInfo = 1;
}
2021-09-09 17:15:44 +08:00
// 七界试炼
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
2021-09-16 19:14:01 +08:00
optional int32 privilageTypeId = 2;//特权id
2021-09-09 17:15:44 +08:00
}
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;//回合数,计算加成
}
2021-08-16 16:57:31 +08:00