miduo_protocol/protos/ActivityProto.proto

58 lines
1.1 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;
}
// 建木神树
message UpgradeGodTreeRequest{
}
message UpgradeGodTreeResponse{
2020-11-07 04:47:01 +08:00
}