miduo_protocol/protos/ActivityProto.proto

207 lines
4.5 KiB
Protocol Buffer
Raw Normal View History

2020-11-19 20:35:16 +08:00
package rpc.protocols;
2020-10-21 18:26:33 +08:00
option optimize_for = SPEED;
import "CommonProto.proto";
//社稷大典贡献道具
message CommitShejiActivityItemRequest{
2020-10-21 20:42:34 +08:00
optional int32 itemId = 1; //道具id
optional int32 itemNum = 2; //道具数量
2020-10-21 18:26:33 +08:00
}
2020-10-21 20:42:34 +08:00
message CommitShejiActivityItemResponse{
2020-10-22 16:20:38 +08:00
optional Drop drop = 1;
2020-10-21 20:42:34 +08:00
}
message GetShejiAwardRequest{
2020-10-22 09:46:28 +08:00
optional int32 activityId = 1;
2020-10-21 20:42:34 +08:00
}
2020-10-21 18:26:33 +08:00
message GetShejiAwardResponse{
2020-10-22 09:46:28 +08:00
optional Drop drop = 1;
2020-10-21 18:26:33 +08:00
}
2020-11-07 04:47:01 +08:00
//选择易经宝库终极奖励
message SeletSubRewardPoolRequest{
optional int32 selectId = 1;
2020-11-05 13:52:19 +08:00
optional int32 activityId = 2;
2020-11-07 04:47:01 +08:00
}
message SeletSubRewardPoolResponse{
2020-11-11 17:39:25 +08:00
}
//灵兽up抽卡
message SpecicalMonsterChooseRequest{
optional int32 activityId = 1;
optional int32 selectId = 2;
2020-12-02 10:08:19 +08:00
}
// 新将来袭
message NewGeneralAttackRequest{
// 活动id
optional int32 activityId = 1;
// 使用次数类型id
optional int32 privilageTypeId = 2;
}
message NewGeneralAttackResponse{
// 战斗属性
optional FightData fightData = 1;
// 道具
optional Drop drop = 2;
}
2021-01-21 10:06:39 +08:00
//扭转乾坤
2021-01-21 10:16:59 +08:00
message GoodLuckRequest{
optional int32 activityId = 1;
}
2021-01-21 10:06:39 +08:00
message GoodLuckResponse{
optional int32 index = 1;
optional Drop drop = 2;
2021-04-19 18:38:14 +08:00
}
message FuXingStoreBuyRequest{
optional int32 activityId = 1;
2021-04-23 17:52:32 +08:00
}
// 踏碎凌霄
message TasuilingxiaoRequest{
// 活动id
optional int32 activityId = 1;
}
message TasuilingxiaoResponse{
// 战斗属性
optional FightData fightData = 1;
// 掉落
optional Drop drop = 2;
2021-04-23 18:30:24 +08:00
// 伤害值
optional int32 damageVal = 3;
2021-05-24 17:19:12 +08:00
}
// 选择抽卡
message choiceHeroRewardRequest{
optional int32 activityId = 1;
2021-05-25 15:52:07 +08:00
optional int32 rewardId = 2;
2021-05-24 17:19:12 +08:00
}
message choiceHeroRewardResponse{
}
message choiceDrawCardRequest{
optional int32 activityId = 1;
2021-05-25 15:37:02 +08:00
optional int32 type = 2; // 单抽:1 十连抽:2
2021-05-24 17:19:12 +08:00
}
message choiceDrawCardResponse{
optional Drop drop = 1;
}
2021-06-09 13:39:07 +08:00
// 奇门遁甲/玲珑棋局
message qiMenDunJiaDrawRequest{
optional int32 activityId = 1;
2021-09-23 09:41:46 +08:00
optional int32 num = 2;//1:单抽,10:十连抽
2021-06-09 13:39:07 +08:00
}
message qiMenDunJiaDrawResponse{
optional Drop drop = 1;//获得的奖励列表
repeated int32 idList = 2;//获得奖励id
}
message qiMenDunJiaHitListRequest{
optional int32 activityId = 1;
}
message qiMenDunJiaHitListResponse{
repeated int32 hitList = 1;
}
2021-10-11 09:57:26 +08:00
// 御剑飞行
2021-10-11 10:23:07 +08:00
message RidingSwardActivityRequest{
optional int32 activityId = 1;//活动id
2021-10-11 09:57:26 +08:00
}
message RidingSwardActivityResponse{
optional int32 state = 1;//当前状态0关闭1投注2比赛中
optional int64 time = 2;//下轮开始时间
repeated ModelUserInfo modelInfo = 3;//假人信息
2021-10-13 14:49:59 +08:00
optional int32 rankId = 4;//当前比赛脚本
2021-10-13 15:55:01 +08:00
optional int32 betCount = 5;//投注次数
2021-10-11 09:57:26 +08:00
}
// 获取信息
message RidingSwardInfoRequest{
}
// 领取奖励
message RidingSwardRewardRequest{
2021-10-20 15:42:26 +08:00
optional int32 round = 1;//轮次,-1为全部领取
2021-10-12 11:00:40 +08:00
optional int32 swardId = 2;//押注的剑
2021-10-11 09:57:26 +08:00
}
2021-10-12 11:04:10 +08:00
message RidingSwardRewardResponse{
2021-10-12 11:27:06 +08:00
optional Drop drop = 1;//奖励道具
2021-10-12 11:04:10 +08:00
}
2021-10-11 09:57:26 +08:00
// 竞猜
message RidingSwardBetRequest{
optional int32 swardId = 1;//选择的剑
optional int32 costNum = 2;//投注数量
}
// 统一返回
message RidingSwardInfoResponse{
2021-10-13 14:34:32 +08:00
repeated RidingSwardRecord recordLsit = 1;//记录
repeated RidingSwardBet betList = 2;//竞猜记录
2021-10-13 14:49:59 +08:00
optional RidingSwardLastRank lastRank = 3;//上次排名
2021-10-13 18:03:13 +08:00
optional int32 betCount = 4;//投注次数
2021-10-29 14:20:32 +08:00
}
//周卡
message WeekCardInfoRequest{
}
message WeekCardInfoResponse{
repeated WeekCard allWeekCardInfo = 1;
}
message WeekCardRewardRequest{
optional int32 id = 1; //周卡id
}
message WeekCardRewardResponse{
2021-10-29 16:32:00 +08:00
optional Drop drop = 1;
2021-10-29 14:20:32 +08:00
}
message WeekCardIndicationInfoResponse{
repeated WeekCard allWeekCardInfo = 1;
}
2021-11-25 17:24:15 +08:00
2021-11-26 10:30:28 +08:00
//天地洪炉up抽卡选择协议
2021-11-25 17:24:15 +08:00
message TrumpGachaSelectItemRequest{
optional int32 activityId = 1;
repeated int32 selectIds = 2;
}
2021-11-26 10:30:28 +08:00
//获取天地洪炉抽奖up道具
message GetTrumpSelectItemRequest{
}
message GetTrumpSelectItemResponse{
repeated int32 selectIds = 1;
}
2021-12-02 15:10:30 +08:00
// 妖晶购买道具
message BuyGoodsToItemRequest{
optional int32 goodId = 1;
optional int32 goodsNum = 2;
}
message BuyGoodsToItemResponse{
optional Drop drop = 1;
}
2022-01-08 13:39:05 +08:00
//英雄升星活动 选择升星英雄协议
message UpStarActivitySelectRequest{
optional int32 activityId = 1;
optional int32 selectId = 2;
2022-02-03 16:04:25 +08:00
}
message ExploreActivityIndication{
optional int32 guildId = 1;//工会id
optional int32 exploreKillMonsterNum = 2;//探索活动杀敌数
2022-01-08 13:39:05 +08:00
}