syntax = "proto3";
option go_package = ".;pb";
import "growtask/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; }