vue_dreamfactory/src/pb/temop/growtask_msg.proto
2023-04-19 19:43:21 +08:00

27 lines
697 B
Protocol Buffer

syntax = "proto3";
option go_package = ".;pb";
import "growtask_db.proto";
// 成长任务列表
message GrowtaskListReq {
int32 taskType = 1; //任务类型1初级2中级3高级
}
message GrowtaskListResp {
repeated Growtask taskList = 1;
int32 curTaskType = 2; // 进行中的任务类型
int32 advReceive = 3; //已领取的进阶奖励ID
int32 curTaskId = 4; // 当前未完成的任务ID
}
//子任务奖励领取
message GrowtaskReceiveReq {
int32 taskId = 1; //子任务ID
}
message GrowtaskReceiveResp { int32 taskId = 1; }
//进阶奖励领取
message GrowtaskAdvReceiveReq {
int32 taskType = 1; //任务类型
}
message GrowtaskAdvReceiveResp { int32 taskType = 1; }