syntax = "proto3";
option go_package = ".;pb";
import "task_db.proto";

//领取
message TaskReceiveReq {
  int32 taskTag = 1; // 1日常/2周常/3成就
  string id = 2;     //任务唯一ID
}

message TaskReceiveResp {
  int32 taskId = 1; //任务配置ID
}

//任务列表
message TaskListReq {
  int32 taskTag = 1; //日常/周常/成就
}

message TaskListResp { repeated DBTask list = 1; }

//活跃度
message TaskActiveListReq { int32 taskTag = 1; }
message TaskActiveListResp { repeated DBTaskActive list = 1; }

//活跃度领取
message TaskActiveReceiveReq {
  int32 taskTag = 1; // 1日常/2周常
  string id = 2;     //唯一id
}
message TaskActiveReceiveResp {
  int32 taskTag = 1;
  string id = 2;
}