topfans/backend/pkg/proto/task/task.pb.go
2026-04-17 17:17:32 +08:00

2182 lines
72 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.34.0
// source: task.proto
package task
import (
common "github.com/topfans/backend/pkg/proto/common"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type DailyTaskItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskKey string `protobuf:"bytes,1,opt,name=task_key,json=taskKey,proto3" json:"task_key,omitempty"`
StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
CrystalReward int64 `protobuf:"varint,5,opt,name=crystal_reward,json=crystalReward,proto3" json:"crystal_reward,omitempty"`
ExpReward int64 `protobuf:"varint,6,opt,name=exp_reward,json=expReward,proto3" json:"exp_reward,omitempty"`
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` // pending/completed/claimed
CanClaim bool `protobuf:"varint,8,opt,name=can_claim,json=canClaim,proto3" json:"can_claim,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DailyTaskItem) Reset() {
*x = DailyTaskItem{}
mi := &file_task_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DailyTaskItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DailyTaskItem) ProtoMessage() {}
func (x *DailyTaskItem) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DailyTaskItem.ProtoReflect.Descriptor instead.
func (*DailyTaskItem) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{0}
}
func (x *DailyTaskItem) GetTaskKey() string {
if x != nil {
return x.TaskKey
}
return ""
}
func (x *DailyTaskItem) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
func (x *DailyTaskItem) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *DailyTaskItem) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *DailyTaskItem) GetCrystalReward() int64 {
if x != nil {
return x.CrystalReward
}
return 0
}
func (x *DailyTaskItem) GetExpReward() int64 {
if x != nil {
return x.ExpReward
}
return 0
}
func (x *DailyTaskItem) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *DailyTaskItem) GetCanClaim() bool {
if x != nil {
return x.CanClaim
}
return false
}
type GetDailyTasksRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetDailyTasksRequest) Reset() {
*x = GetDailyTasksRequest{}
mi := &file_task_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetDailyTasksRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDailyTasksRequest) ProtoMessage() {}
func (x *GetDailyTasksRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetDailyTasksRequest.ProtoReflect.Descriptor instead.
func (*GetDailyTasksRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{1}
}
func (x *GetDailyTasksRequest) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
type GetDailyTasksResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
Tasks []*DailyTaskItem `protobuf:"bytes,3,rep,name=tasks,proto3" json:"tasks,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetDailyTasksResponse) Reset() {
*x = GetDailyTasksResponse{}
mi := &file_task_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetDailyTasksResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDailyTasksResponse) ProtoMessage() {}
func (x *GetDailyTasksResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetDailyTasksResponse.ProtoReflect.Descriptor instead.
func (*GetDailyTasksResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{2}
}
func (x *GetDailyTasksResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *GetDailyTasksResponse) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
func (x *GetDailyTasksResponse) GetTasks() []*DailyTaskItem {
if x != nil {
return x.Tasks
}
return nil
}
type ReportEventRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` // 如 "daily_browse_asset", "daily_login"
StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReportEventRequest) Reset() {
*x = ReportEventRequest{}
mi := &file_task_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReportEventRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReportEventRequest) ProtoMessage() {}
func (x *ReportEventRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReportEventRequest.ProtoReflect.Descriptor instead.
func (*ReportEventRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{3}
}
func (x *ReportEventRequest) GetEventType() string {
if x != nil {
return x.EventType
}
return ""
}
func (x *ReportEventRequest) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
type ReportEventResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
TaskKey string `protobuf:"bytes,3,opt,name=task_key,json=taskKey,proto3" json:"task_key,omitempty"`
TaskCompleted bool `protobuf:"varint,4,opt,name=task_completed,json=taskCompleted,proto3" json:"task_completed,omitempty"`
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReportEventResponse) Reset() {
*x = ReportEventResponse{}
mi := &file_task_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReportEventResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReportEventResponse) ProtoMessage() {}
func (x *ReportEventResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReportEventResponse.ProtoReflect.Descriptor instead.
func (*ReportEventResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{4}
}
func (x *ReportEventResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *ReportEventResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *ReportEventResponse) GetTaskKey() string {
if x != nil {
return x.TaskKey
}
return ""
}
func (x *ReportEventResponse) GetTaskCompleted() bool {
if x != nil {
return x.TaskCompleted
}
return false
}
func (x *ReportEventResponse) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
type ClaimDailyTaskRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskKey string `protobuf:"bytes,1,opt,name=task_key,json=taskKey,proto3" json:"task_key,omitempty"`
StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimDailyTaskRequest) Reset() {
*x = ClaimDailyTaskRequest{}
mi := &file_task_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimDailyTaskRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimDailyTaskRequest) ProtoMessage() {}
func (x *ClaimDailyTaskRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimDailyTaskRequest.ProtoReflect.Descriptor instead.
func (*ClaimDailyTaskRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{5}
}
func (x *ClaimDailyTaskRequest) GetTaskKey() string {
if x != nil {
return x.TaskKey
}
return ""
}
func (x *ClaimDailyTaskRequest) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
type ClaimDailyTaskResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
CrystalBalance int64 `protobuf:"varint,3,opt,name=crystal_balance,json=crystalBalance,proto3" json:"crystal_balance,omitempty"`
Experience int64 `protobuf:"varint,4,opt,name=experience,proto3" json:"experience,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimDailyTaskResponse) Reset() {
*x = ClaimDailyTaskResponse{}
mi := &file_task_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimDailyTaskResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimDailyTaskResponse) ProtoMessage() {}
func (x *ClaimDailyTaskResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimDailyTaskResponse.ProtoReflect.Descriptor instead.
func (*ClaimDailyTaskResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{6}
}
func (x *ClaimDailyTaskResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *ClaimDailyTaskResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *ClaimDailyTaskResponse) GetCrystalBalance() int64 {
if x != nil {
return x.CrystalBalance
}
return 0
}
func (x *ClaimDailyTaskResponse) GetExperience() int64 {
if x != nil {
return x.Experience
}
return 0
}
type ClaimAllDailyTasksRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimAllDailyTasksRequest) Reset() {
*x = ClaimAllDailyTasksRequest{}
mi := &file_task_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimAllDailyTasksRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimAllDailyTasksRequest) ProtoMessage() {}
func (x *ClaimAllDailyTasksRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimAllDailyTasksRequest.ProtoReflect.Descriptor instead.
func (*ClaimAllDailyTasksRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{7}
}
func (x *ClaimAllDailyTasksRequest) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
type ClaimAllDailyTasksResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
ClaimedCount int32 `protobuf:"varint,2,opt,name=claimed_count,json=claimedCount,proto3" json:"claimed_count,omitempty"`
CrystalBalance int64 `protobuf:"varint,3,opt,name=crystal_balance,json=crystalBalance,proto3" json:"crystal_balance,omitempty"`
Experience int64 `protobuf:"varint,4,opt,name=experience,proto3" json:"experience,omitempty"`
ClaimedTaskKeys []string `protobuf:"bytes,5,rep,name=claimed_task_keys,json=claimedTaskKeys,proto3" json:"claimed_task_keys,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimAllDailyTasksResponse) Reset() {
*x = ClaimAllDailyTasksResponse{}
mi := &file_task_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimAllDailyTasksResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimAllDailyTasksResponse) ProtoMessage() {}
func (x *ClaimAllDailyTasksResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimAllDailyTasksResponse.ProtoReflect.Descriptor instead.
func (*ClaimAllDailyTasksResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{8}
}
func (x *ClaimAllDailyTasksResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *ClaimAllDailyTasksResponse) GetClaimedCount() int32 {
if x != nil {
return x.ClaimedCount
}
return 0
}
func (x *ClaimAllDailyTasksResponse) GetCrystalBalance() int64 {
if x != nil {
return x.CrystalBalance
}
return 0
}
func (x *ClaimAllDailyTasksResponse) GetExperience() int64 {
if x != nil {
return x.Experience
}
return 0
}
func (x *ClaimAllDailyTasksResponse) GetClaimedTaskKeys() []string {
if x != nil {
return x.ClaimedTaskKeys
}
return nil
}
type OnboardingStage struct {
state protoimpl.MessageState `protogen:"open.v1"`
Stage int32 `protobuf:"varint,1,opt,name=stage,proto3" json:"stage,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
RequiredTaskKeys []string `protobuf:"bytes,3,rep,name=required_task_keys,json=requiredTaskKeys,proto3" json:"required_task_keys,omitempty"`
CrystalReward int64 `protobuf:"varint,4,opt,name=crystal_reward,json=crystalReward,proto3" json:"crystal_reward,omitempty"`
ExpReward int64 `protobuf:"varint,5,opt,name=exp_reward,json=expReward,proto3" json:"exp_reward,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` // pending/completed/in_progress
IsCurrent bool `protobuf:"varint,7,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"`
AllTasksCompleted bool `protobuf:"varint,8,opt,name=all_tasks_completed,json=allTasksCompleted,proto3" json:"all_tasks_completed,omitempty"` // 该阶段所有任务是否完成
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OnboardingStage) Reset() {
*x = OnboardingStage{}
mi := &file_task_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OnboardingStage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OnboardingStage) ProtoMessage() {}
func (x *OnboardingStage) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OnboardingStage.ProtoReflect.Descriptor instead.
func (*OnboardingStage) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{9}
}
func (x *OnboardingStage) GetStage() int32 {
if x != nil {
return x.Stage
}
return 0
}
func (x *OnboardingStage) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *OnboardingStage) GetRequiredTaskKeys() []string {
if x != nil {
return x.RequiredTaskKeys
}
return nil
}
func (x *OnboardingStage) GetCrystalReward() int64 {
if x != nil {
return x.CrystalReward
}
return 0
}
func (x *OnboardingStage) GetExpReward() int64 {
if x != nil {
return x.ExpReward
}
return 0
}
func (x *OnboardingStage) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *OnboardingStage) GetIsCurrent() bool {
if x != nil {
return x.IsCurrent
}
return false
}
func (x *OnboardingStage) GetAllTasksCompleted() bool {
if x != nil {
return x.AllTasksCompleted
}
return false
}
type CompleteGuideRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskKey string `protobuf:"bytes,1,opt,name=task_key,json=taskKey,proto3" json:"task_key,omitempty"`
Stages []*OnboardingStage `protobuf:"bytes,2,rep,name=stages,proto3" json:"stages,omitempty"` // 前端传入的阶段配置,首次调用时存储
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CompleteGuideRequest) Reset() {
*x = CompleteGuideRequest{}
mi := &file_task_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CompleteGuideRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompleteGuideRequest) ProtoMessage() {}
func (x *CompleteGuideRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CompleteGuideRequest.ProtoReflect.Descriptor instead.
func (*CompleteGuideRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{10}
}
func (x *CompleteGuideRequest) GetTaskKey() string {
if x != nil {
return x.TaskKey
}
return ""
}
func (x *CompleteGuideRequest) GetStages() []*OnboardingStage {
if x != nil {
return x.Stages
}
return nil
}
type CompleteGuideResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
CurrentStage int32 `protobuf:"varint,3,opt,name=current_stage,json=currentStage,proto3" json:"current_stage,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // pending/in_progress/completed
Stages []*OnboardingStage `protobuf:"bytes,5,rep,name=stages,proto3" json:"stages,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CompleteGuideResponse) Reset() {
*x = CompleteGuideResponse{}
mi := &file_task_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CompleteGuideResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompleteGuideResponse) ProtoMessage() {}
func (x *CompleteGuideResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CompleteGuideResponse.ProtoReflect.Descriptor instead.
func (*CompleteGuideResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{11}
}
func (x *CompleteGuideResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *CompleteGuideResponse) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *CompleteGuideResponse) GetCurrentStage() int32 {
if x != nil {
return x.CurrentStage
}
return 0
}
func (x *CompleteGuideResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *CompleteGuideResponse) GetStages() []*OnboardingStage {
if x != nil {
return x.Stages
}
return nil
}
type GetOnboardingStatusRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetOnboardingStatusRequest) Reset() {
*x = GetOnboardingStatusRequest{}
mi := &file_task_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetOnboardingStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOnboardingStatusRequest) ProtoMessage() {}
func (x *GetOnboardingStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetOnboardingStatusRequest.ProtoReflect.Descriptor instead.
func (*GetOnboardingStatusRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{12}
}
type GetOnboardingStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
CurrentStage int32 `protobuf:"varint,3,opt,name=current_stage,json=currentStage,proto3" json:"current_stage,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
Stages []*OnboardingStage `protobuf:"bytes,5,rep,name=stages,proto3" json:"stages,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetOnboardingStatusResponse) Reset() {
*x = GetOnboardingStatusResponse{}
mi := &file_task_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetOnboardingStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOnboardingStatusResponse) ProtoMessage() {}
func (x *GetOnboardingStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetOnboardingStatusResponse.ProtoReflect.Descriptor instead.
func (*GetOnboardingStatusResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{13}
}
func (x *GetOnboardingStatusResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *GetOnboardingStatusResponse) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *GetOnboardingStatusResponse) GetCurrentStage() int32 {
if x != nil {
return x.CurrentStage
}
return 0
}
func (x *GetOnboardingStatusResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *GetOnboardingStatusResponse) GetStages() []*OnboardingStage {
if x != nil {
return x.Stages
}
return nil
}
type AdvanceStageRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TargetStage int32 `protobuf:"varint,1,opt,name=target_stage,json=targetStage,proto3" json:"target_stage,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AdvanceStageRequest) Reset() {
*x = AdvanceStageRequest{}
mi := &file_task_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AdvanceStageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AdvanceStageRequest) ProtoMessage() {}
func (x *AdvanceStageRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AdvanceStageRequest.ProtoReflect.Descriptor instead.
func (*AdvanceStageRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{14}
}
func (x *AdvanceStageRequest) GetTargetStage() int32 {
if x != nil {
return x.TargetStage
}
return 0
}
type AdvanceStageResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
CurrentStage int32 `protobuf:"varint,2,opt,name=current_stage,json=currentStage,proto3" json:"current_stage,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
Stages []*OnboardingStage `protobuf:"bytes,4,rep,name=stages,proto3" json:"stages,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AdvanceStageResponse) Reset() {
*x = AdvanceStageResponse{}
mi := &file_task_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AdvanceStageResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AdvanceStageResponse) ProtoMessage() {}
func (x *AdvanceStageResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AdvanceStageResponse.ProtoReflect.Descriptor instead.
func (*AdvanceStageResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{15}
}
func (x *AdvanceStageResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *AdvanceStageResponse) GetCurrentStage() int32 {
if x != nil {
return x.CurrentStage
}
return 0
}
func (x *AdvanceStageResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *AdvanceStageResponse) GetStages() []*OnboardingStage {
if x != nil {
return x.Stages
}
return nil
}
type ClaimOnboardingRewardRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Stage int32 `protobuf:"varint,1,opt,name=stage,proto3" json:"stage,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimOnboardingRewardRequest) Reset() {
*x = ClaimOnboardingRewardRequest{}
mi := &file_task_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimOnboardingRewardRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimOnboardingRewardRequest) ProtoMessage() {}
func (x *ClaimOnboardingRewardRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimOnboardingRewardRequest.ProtoReflect.Descriptor instead.
func (*ClaimOnboardingRewardRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{16}
}
func (x *ClaimOnboardingRewardRequest) GetStage() int32 {
if x != nil {
return x.Stage
}
return 0
}
type ClaimOnboardingRewardResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
CrystalBalance string `protobuf:"bytes,3,opt,name=crystal_balance,json=crystalBalance,proto3" json:"crystal_balance,omitempty"` // 使用 string 避免 Dubbo int64 序列化 bug
Experience string `protobuf:"bytes,4,opt,name=experience,proto3" json:"experience,omitempty"` // 使用 string 避免 Dubbo int64 序列化 bug
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimOnboardingRewardResponse) Reset() {
*x = ClaimOnboardingRewardResponse{}
mi := &file_task_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimOnboardingRewardResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimOnboardingRewardResponse) ProtoMessage() {}
func (x *ClaimOnboardingRewardResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimOnboardingRewardResponse.ProtoReflect.Descriptor instead.
func (*ClaimOnboardingRewardResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{17}
}
func (x *ClaimOnboardingRewardResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *ClaimOnboardingRewardResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *ClaimOnboardingRewardResponse) GetCrystalBalance() string {
if x != nil {
return x.CrystalBalance
}
return ""
}
func (x *ClaimOnboardingRewardResponse) GetExperience() string {
if x != nil {
return x.Experience
}
return ""
}
type ExhibitionRevenueItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
ExhibitionId int64 `protobuf:"varint,3,opt,name=exhibition_id,json=exhibitionId,proto3" json:"exhibition_id,omitempty"`
AssetId int64 `protobuf:"varint,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
SlotId int64 `protobuf:"varint,5,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"`
SlotType string `protobuf:"bytes,6,opt,name=slot_type,json=slotType,proto3" json:"slot_type,omitempty"` // own/friend
CrystalAmount int64 `protobuf:"varint,7,opt,name=crystal_amount,json=crystalAmount,proto3" json:"crystal_amount,omitempty"`
CycleStartTime int64 `protobuf:"varint,8,opt,name=cycle_start_time,json=cycleStartTime,proto3" json:"cycle_start_time,omitempty"`
CycleEndTime int64 `protobuf:"varint,9,opt,name=cycle_end_time,json=cycleEndTime,proto3" json:"cycle_end_time,omitempty"`
Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` // claimable/claimed/failed
CanClaim bool `protobuf:"varint,11,opt,name=can_claim,json=canClaim,proto3" json:"can_claim,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExhibitionRevenueItem) Reset() {
*x = ExhibitionRevenueItem{}
mi := &file_task_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExhibitionRevenueItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExhibitionRevenueItem) ProtoMessage() {}
func (x *ExhibitionRevenueItem) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ExhibitionRevenueItem.ProtoReflect.Descriptor instead.
func (*ExhibitionRevenueItem) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{18}
}
func (x *ExhibitionRevenueItem) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *ExhibitionRevenueItem) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
func (x *ExhibitionRevenueItem) GetExhibitionId() int64 {
if x != nil {
return x.ExhibitionId
}
return 0
}
func (x *ExhibitionRevenueItem) GetAssetId() int64 {
if x != nil {
return x.AssetId
}
return 0
}
func (x *ExhibitionRevenueItem) GetSlotId() int64 {
if x != nil {
return x.SlotId
}
return 0
}
func (x *ExhibitionRevenueItem) GetSlotType() string {
if x != nil {
return x.SlotType
}
return ""
}
func (x *ExhibitionRevenueItem) GetCrystalAmount() int64 {
if x != nil {
return x.CrystalAmount
}
return 0
}
func (x *ExhibitionRevenueItem) GetCycleStartTime() int64 {
if x != nil {
return x.CycleStartTime
}
return 0
}
func (x *ExhibitionRevenueItem) GetCycleEndTime() int64 {
if x != nil {
return x.CycleEndTime
}
return 0
}
func (x *ExhibitionRevenueItem) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ExhibitionRevenueItem) GetCanClaim() bool {
if x != nil {
return x.CanClaim
}
return false
}
type GetExhibitionRevenueRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // 可选筛选
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetExhibitionRevenueRequest) Reset() {
*x = GetExhibitionRevenueRequest{}
mi := &file_task_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetExhibitionRevenueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetExhibitionRevenueRequest) ProtoMessage() {}
func (x *GetExhibitionRevenueRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetExhibitionRevenueRequest.ProtoReflect.Descriptor instead.
func (*GetExhibitionRevenueRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{19}
}
func (x *GetExhibitionRevenueRequest) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
func (x *GetExhibitionRevenueRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *GetExhibitionRevenueRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *GetExhibitionRevenueRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type GetExhibitionRevenueResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Items []*ExhibitionRevenueItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetExhibitionRevenueResponse) Reset() {
*x = GetExhibitionRevenueResponse{}
mi := &file_task_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetExhibitionRevenueResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetExhibitionRevenueResponse) ProtoMessage() {}
func (x *GetExhibitionRevenueResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetExhibitionRevenueResponse.ProtoReflect.Descriptor instead.
func (*GetExhibitionRevenueResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{20}
}
func (x *GetExhibitionRevenueResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *GetExhibitionRevenueResponse) GetItems() []*ExhibitionRevenueItem {
if x != nil {
return x.Items
}
return nil
}
func (x *GetExhibitionRevenueResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *GetExhibitionRevenueResponse) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *GetExhibitionRevenueResponse) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type ClaimExhibitionRevenueRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
RevenueId int64 `protobuf:"varint,1,opt,name=revenue_id,json=revenueId,proto3" json:"revenue_id,omitempty"`
StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimExhibitionRevenueRequest) Reset() {
*x = ClaimExhibitionRevenueRequest{}
mi := &file_task_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimExhibitionRevenueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimExhibitionRevenueRequest) ProtoMessage() {}
func (x *ClaimExhibitionRevenueRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimExhibitionRevenueRequest.ProtoReflect.Descriptor instead.
func (*ClaimExhibitionRevenueRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{21}
}
func (x *ClaimExhibitionRevenueRequest) GetRevenueId() int64 {
if x != nil {
return x.RevenueId
}
return 0
}
func (x *ClaimExhibitionRevenueRequest) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
type ClaimExhibitionRevenueResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimExhibitionRevenueResponse) Reset() {
*x = ClaimExhibitionRevenueResponse{}
mi := &file_task_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimExhibitionRevenueResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimExhibitionRevenueResponse) ProtoMessage() {}
func (x *ClaimExhibitionRevenueResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimExhibitionRevenueResponse.ProtoReflect.Descriptor instead.
func (*ClaimExhibitionRevenueResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{22}
}
func (x *ClaimExhibitionRevenueResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *ClaimExhibitionRevenueResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type ClaimAllExhibitionRevenueRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimAllExhibitionRevenueRequest) Reset() {
*x = ClaimAllExhibitionRevenueRequest{}
mi := &file_task_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimAllExhibitionRevenueRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimAllExhibitionRevenueRequest) ProtoMessage() {}
func (x *ClaimAllExhibitionRevenueRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimAllExhibitionRevenueRequest.ProtoReflect.Descriptor instead.
func (*ClaimAllExhibitionRevenueRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{23}
}
func (x *ClaimAllExhibitionRevenueRequest) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
type ClaimAllExhibitionRevenueResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
ClaimedCount int32 `protobuf:"varint,2,opt,name=claimed_count,json=claimedCount,proto3" json:"claimed_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimAllExhibitionRevenueResponse) Reset() {
*x = ClaimAllExhibitionRevenueResponse{}
mi := &file_task_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimAllExhibitionRevenueResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimAllExhibitionRevenueResponse) ProtoMessage() {}
func (x *ClaimAllExhibitionRevenueResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ClaimAllExhibitionRevenueResponse.ProtoReflect.Descriptor instead.
func (*ClaimAllExhibitionRevenueResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{24}
}
func (x *ClaimAllExhibitionRevenueResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *ClaimAllExhibitionRevenueResponse) GetClaimedCount() int32 {
if x != nil {
return x.ClaimedCount
}
return 0
}
type InitUserTasksRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InitUserTasksRequest) Reset() {
*x = InitUserTasksRequest{}
mi := &file_task_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InitUserTasksRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InitUserTasksRequest) ProtoMessage() {}
func (x *InitUserTasksRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InitUserTasksRequest.ProtoReflect.Descriptor instead.
func (*InitUserTasksRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{25}
}
func (x *InitUserTasksRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *InitUserTasksRequest) GetStarId() int64 {
if x != nil {
return x.StarId
}
return 0
}
type InitUserTasksResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InitUserTasksResponse) Reset() {
*x = InitUserTasksResponse{}
mi := &file_task_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InitUserTasksResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InitUserTasksResponse) ProtoMessage() {}
func (x *InitUserTasksResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InitUserTasksResponse.ProtoReflect.Descriptor instead.
func (*InitUserTasksResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{26}
}
func (x *InitUserTasksResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *InitUserTasksResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type OnExhibitionCompletedRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ExhibitionId int64 `protobuf:"varint,1,opt,name=exhibition_id,json=exhibitionId,proto3" json:"exhibition_id,omitempty"`
AssetId int64 `protobuf:"varint,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
SlotId int64 `protobuf:"varint,3,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"`
OccupierUid int64 `protobuf:"varint,4,opt,name=occupier_uid,json=occupierUid,proto3" json:"occupier_uid,omitempty"`
OccupierStarId int64 `protobuf:"varint,5,opt,name=occupier_star_id,json=occupierStarId,proto3" json:"occupier_star_id,omitempty"`
SlotOwnerUid int64 `protobuf:"varint,6,opt,name=slot_owner_uid,json=slotOwnerUid,proto3" json:"slot_owner_uid,omitempty"`
CrystalAmount int64 `protobuf:"varint,7,opt,name=crystal_amount,json=crystalAmount,proto3" json:"crystal_amount,omitempty"`
StartTime int64 `protobuf:"varint,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
ExpireAt int64 `protobuf:"varint,9,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OnExhibitionCompletedRequest) Reset() {
*x = OnExhibitionCompletedRequest{}
mi := &file_task_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OnExhibitionCompletedRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OnExhibitionCompletedRequest) ProtoMessage() {}
func (x *OnExhibitionCompletedRequest) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OnExhibitionCompletedRequest.ProtoReflect.Descriptor instead.
func (*OnExhibitionCompletedRequest) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{27}
}
func (x *OnExhibitionCompletedRequest) GetExhibitionId() int64 {
if x != nil {
return x.ExhibitionId
}
return 0
}
func (x *OnExhibitionCompletedRequest) GetAssetId() int64 {
if x != nil {
return x.AssetId
}
return 0
}
func (x *OnExhibitionCompletedRequest) GetSlotId() int64 {
if x != nil {
return x.SlotId
}
return 0
}
func (x *OnExhibitionCompletedRequest) GetOccupierUid() int64 {
if x != nil {
return x.OccupierUid
}
return 0
}
func (x *OnExhibitionCompletedRequest) GetOccupierStarId() int64 {
if x != nil {
return x.OccupierStarId
}
return 0
}
func (x *OnExhibitionCompletedRequest) GetSlotOwnerUid() int64 {
if x != nil {
return x.SlotOwnerUid
}
return 0
}
func (x *OnExhibitionCompletedRequest) GetCrystalAmount() int64 {
if x != nil {
return x.CrystalAmount
}
return 0
}
func (x *OnExhibitionCompletedRequest) GetStartTime() int64 {
if x != nil {
return x.StartTime
}
return 0
}
func (x *OnExhibitionCompletedRequest) GetExpireAt() int64 {
if x != nil {
return x.ExpireAt
}
return 0
}
type OnExhibitionCompletedResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
RevenueRecordId int64 `protobuf:"varint,2,opt,name=revenue_record_id,json=revenueRecordId,proto3" json:"revenue_record_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OnExhibitionCompletedResponse) Reset() {
*x = OnExhibitionCompletedResponse{}
mi := &file_task_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OnExhibitionCompletedResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OnExhibitionCompletedResponse) ProtoMessage() {}
func (x *OnExhibitionCompletedResponse) ProtoReflect() protoreflect.Message {
mi := &file_task_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OnExhibitionCompletedResponse.ProtoReflect.Descriptor instead.
func (*OnExhibitionCompletedResponse) Descriptor() ([]byte, []int) {
return file_task_proto_rawDescGZIP(), []int{28}
}
func (x *OnExhibitionCompletedResponse) GetBase() *common.BaseResponse {
if x != nil {
return x.Base
}
return nil
}
func (x *OnExhibitionCompletedResponse) GetRevenueRecordId() int64 {
if x != nil {
return x.RevenueRecordId
}
return 0
}
var File_task_proto protoreflect.FileDescriptor
const file_task_proto_rawDesc = "" +
"\n" +
"\n" +
"task.proto\x12\ftopfans.task\x1a\x12proto/common.proto\x1a\x1cgoogle/api/annotations.proto\"\xf4\x01\n" +
"\rDailyTaskItem\x12\x19\n" +
"\btask_key\x18\x01 \x01(\tR\ataskKey\x12\x17\n" +
"\astar_id\x18\x02 \x01(\x03R\x06starId\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
"\vdescription\x18\x04 \x01(\tR\vdescription\x12%\n" +
"\x0ecrystal_reward\x18\x05 \x01(\x03R\rcrystalReward\x12\x1d\n" +
"\n" +
"exp_reward\x18\x06 \x01(\x03R\texpReward\x12\x16\n" +
"\x06status\x18\a \x01(\tR\x06status\x12\x1b\n" +
"\tcan_claim\x18\b \x01(\bR\bcanClaim\"/\n" +
"\x14GetDailyTasksRequest\x12\x17\n" +
"\astar_id\x18\x01 \x01(\x03R\x06starId\"\x95\x01\n" +
"\x15GetDailyTasksResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x17\n" +
"\astar_id\x18\x02 \x01(\x03R\x06starId\x121\n" +
"\x05tasks\x18\x03 \x03(\v2\x1b.topfans.task.DailyTaskItemR\x05tasks\"L\n" +
"\x12ReportEventRequest\x12\x1d\n" +
"\n" +
"event_type\x18\x01 \x01(\tR\teventType\x12\x17\n" +
"\astar_id\x18\x02 \x01(\x03R\x06starId\"\xbd\x01\n" +
"\x13ReportEventResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x18\n" +
"\asuccess\x18\x02 \x01(\bR\asuccess\x12\x19\n" +
"\btask_key\x18\x03 \x01(\tR\ataskKey\x12%\n" +
"\x0etask_completed\x18\x04 \x01(\bR\rtaskCompleted\x12\x18\n" +
"\amessage\x18\x05 \x01(\tR\amessage\"K\n" +
"\x15ClaimDailyTaskRequest\x12\x19\n" +
"\btask_key\x18\x01 \x01(\tR\ataskKey\x12\x17\n" +
"\astar_id\x18\x02 \x01(\x03R\x06starId\"\xad\x01\n" +
"\x16ClaimDailyTaskResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x18\n" +
"\asuccess\x18\x02 \x01(\bR\asuccess\x12'\n" +
"\x0fcrystal_balance\x18\x03 \x01(\x03R\x0ecrystalBalance\x12\x1e\n" +
"\n" +
"experience\x18\x04 \x01(\x03R\n" +
"experience\"4\n" +
"\x19ClaimAllDailyTasksRequest\x12\x17\n" +
"\astar_id\x18\x01 \x01(\x03R\x06starId\"\xe8\x01\n" +
"\x1aClaimAllDailyTasksResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12#\n" +
"\rclaimed_count\x18\x02 \x01(\x05R\fclaimedCount\x12'\n" +
"\x0fcrystal_balance\x18\x03 \x01(\x03R\x0ecrystalBalance\x12\x1e\n" +
"\n" +
"experience\x18\x04 \x01(\x03R\n" +
"experience\x12*\n" +
"\x11claimed_task_keys\x18\x05 \x03(\tR\x0fclaimedTaskKeys\"\x96\x02\n" +
"\x0fOnboardingStage\x12\x14\n" +
"\x05stage\x18\x01 \x01(\x05R\x05stage\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12,\n" +
"\x12required_task_keys\x18\x03 \x03(\tR\x10requiredTaskKeys\x12%\n" +
"\x0ecrystal_reward\x18\x04 \x01(\x03R\rcrystalReward\x12\x1d\n" +
"\n" +
"exp_reward\x18\x05 \x01(\x03R\texpReward\x12\x16\n" +
"\x06status\x18\x06 \x01(\tR\x06status\x12\x1d\n" +
"\n" +
"is_current\x18\a \x01(\bR\tisCurrent\x12.\n" +
"\x13all_tasks_completed\x18\b \x01(\bR\x11allTasksCompleted\"h\n" +
"\x14CompleteGuideRequest\x12\x19\n" +
"\btask_key\x18\x01 \x01(\tR\ataskKey\x125\n" +
"\x06stages\x18\x02 \x03(\v2\x1d.topfans.task.OnboardingStageR\x06stages\"\xd6\x01\n" +
"\x15CompleteGuideResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12#\n" +
"\rcurrent_stage\x18\x03 \x01(\x05R\fcurrentStage\x12\x16\n" +
"\x06status\x18\x04 \x01(\tR\x06status\x125\n" +
"\x06stages\x18\x05 \x03(\v2\x1d.topfans.task.OnboardingStageR\x06stages\"\x1c\n" +
"\x1aGetOnboardingStatusRequest\"\xdc\x01\n" +
"\x1bGetOnboardingStatusResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12#\n" +
"\rcurrent_stage\x18\x03 \x01(\x05R\fcurrentStage\x12\x16\n" +
"\x06status\x18\x04 \x01(\tR\x06status\x125\n" +
"\x06stages\x18\x05 \x03(\v2\x1d.topfans.task.OnboardingStageR\x06stages\"8\n" +
"\x13AdvanceStageRequest\x12!\n" +
"\ftarget_stage\x18\x01 \x01(\x05R\vtargetStage\"\xbc\x01\n" +
"\x14AdvanceStageResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12#\n" +
"\rcurrent_stage\x18\x02 \x01(\x05R\fcurrentStage\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x125\n" +
"\x06stages\x18\x04 \x03(\v2\x1d.topfans.task.OnboardingStageR\x06stages\"4\n" +
"\x1cClaimOnboardingRewardRequest\x12\x14\n" +
"\x05stage\x18\x01 \x01(\x05R\x05stage\"\xb4\x01\n" +
"\x1dClaimOnboardingRewardResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x18\n" +
"\asuccess\x18\x02 \x01(\bR\asuccess\x12'\n" +
"\x0fcrystal_balance\x18\x03 \x01(\tR\x0ecrystalBalance\x12\x1e\n" +
"\n" +
"experience\x18\x04 \x01(\tR\n" +
"experience\"\xe2\x02\n" +
"\x15ExhibitionRevenueItem\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x17\n" +
"\astar_id\x18\x02 \x01(\x03R\x06starId\x12#\n" +
"\rexhibition_id\x18\x03 \x01(\x03R\fexhibitionId\x12\x19\n" +
"\basset_id\x18\x04 \x01(\x03R\aassetId\x12\x17\n" +
"\aslot_id\x18\x05 \x01(\x03R\x06slotId\x12\x1b\n" +
"\tslot_type\x18\x06 \x01(\tR\bslotType\x12%\n" +
"\x0ecrystal_amount\x18\a \x01(\x03R\rcrystalAmount\x12(\n" +
"\x10cycle_start_time\x18\b \x01(\x03R\x0ecycleStartTime\x12$\n" +
"\x0ecycle_end_time\x18\t \x01(\x03R\fcycleEndTime\x12\x16\n" +
"\x06status\x18\n" +
" \x01(\tR\x06status\x12\x1b\n" +
"\tcan_claim\x18\v \x01(\bR\bcanClaim\"\x7f\n" +
"\x1bGetExhibitionRevenueRequest\x12\x17\n" +
"\astar_id\x18\x01 \x01(\x03R\x06starId\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12\x12\n" +
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" +
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\"\xd2\x01\n" +
"\x1cGetExhibitionRevenueResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x129\n" +
"\x05items\x18\x02 \x03(\v2#.topfans.task.ExhibitionRevenueItemR\x05items\x12\x14\n" +
"\x05total\x18\x03 \x01(\x03R\x05total\x12\x12\n" +
"\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" +
"\tpage_size\x18\x05 \x01(\x05R\bpageSize\"W\n" +
"\x1dClaimExhibitionRevenueRequest\x12\x1d\n" +
"\n" +
"revenue_id\x18\x01 \x01(\x03R\trevenueId\x12\x17\n" +
"\astar_id\x18\x02 \x01(\x03R\x06starId\"l\n" +
"\x1eClaimExhibitionRevenueResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x18\n" +
"\asuccess\x18\x02 \x01(\bR\asuccess\";\n" +
" ClaimAllExhibitionRevenueRequest\x12\x17\n" +
"\astar_id\x18\x01 \x01(\x03R\x06starId\"z\n" +
"!ClaimAllExhibitionRevenueResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12#\n" +
"\rclaimed_count\x18\x02 \x01(\x05R\fclaimedCount\"H\n" +
"\x14InitUserTasksRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x17\n" +
"\astar_id\x18\x02 \x01(\x03R\x06starId\"c\n" +
"\x15InitUserTasksResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x18\n" +
"\asuccess\x18\x02 \x01(\bR\asuccess\"\xcd\x02\n" +
"\x1cOnExhibitionCompletedRequest\x12#\n" +
"\rexhibition_id\x18\x01 \x01(\x03R\fexhibitionId\x12\x19\n" +
"\basset_id\x18\x02 \x01(\x03R\aassetId\x12\x17\n" +
"\aslot_id\x18\x03 \x01(\x03R\x06slotId\x12!\n" +
"\foccupier_uid\x18\x04 \x01(\x03R\voccupierUid\x12(\n" +
"\x10occupier_star_id\x18\x05 \x01(\x03R\x0eoccupierStarId\x12$\n" +
"\x0eslot_owner_uid\x18\x06 \x01(\x03R\fslotOwnerUid\x12%\n" +
"\x0ecrystal_amount\x18\a \x01(\x03R\rcrystalAmount\x12\x1d\n" +
"\n" +
"start_time\x18\b \x01(\x03R\tstartTime\x12\x1b\n" +
"\texpire_at\x18\t \x01(\x03R\bexpireAt\"}\n" +
"\x1dOnExhibitionCompletedResponse\x120\n" +
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12*\n" +
"\x11revenue_record_id\x18\x02 \x01(\x03R\x0frevenueRecordId2\xbd\f\n" +
"\x11TaskMobileService\x12r\n" +
"\rGetDailyTasks\x12\".topfans.task.GetDailyTasksRequest\x1a#.topfans.task.GetDailyTasksResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/api/tasks/daily\x12v\n" +
"\vReportEvent\x12 .topfans.task.ReportEventRequest\x1a!.topfans.task.ReportEventResponse\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\"\x17/api/tasks/report-event\x12~\n" +
"\x0eClaimDailyTask\x12#.topfans.task.ClaimDailyTaskRequest\x1a$.topfans.task.ClaimDailyTaskResponse\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/tasks/daily/claim\x12\x8e\x01\n" +
"\x12ClaimAllDailyTasks\x12'.topfans.task.ClaimAllDailyTasksRequest\x1a(.topfans.task.ClaimAllDailyTasksResponse\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/api/tasks/daily/claim-all\x12~\n" +
"\rCompleteGuide\x12\".topfans.task.CompleteGuideRequest\x1a#.topfans.task.CompleteGuideResponse\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/api/tasks/guide/complete\x12\x90\x01\n" +
"\x13GetOnboardingStatus\x12(.topfans.task.GetOnboardingStatusRequest\x1a).topfans.task.GetOnboardingStatusResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/tasks/onboarding/status\x12\x85\x01\n" +
"\fAdvanceStage\x12!.topfans.task.AdvanceStageRequest\x1a\".topfans.task.AdvanceStageResponse\".\x82\xd3\xe4\x93\x02(:\x01*\"#/api/tasks/onboarding/advance-stage\x12\x9f\x01\n" +
"\x15ClaimOnboardingReward\x12*.topfans.task.ClaimOnboardingRewardRequest\x1a+.topfans.task.ClaimOnboardingRewardResponse\"-\x82\xd3\xe4\x93\x02':\x01*\"\"/api/tasks/onboarding/claim-reward\x12\x94\x01\n" +
"\x14GetExhibitionRevenue\x12).topfans.task.GetExhibitionRevenueRequest\x1a*.topfans.task.GetExhibitionRevenueResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/api/tasks/exhibition-revenue\x12\xa3\x01\n" +
"\x16ClaimExhibitionRevenue\x12+.topfans.task.ClaimExhibitionRevenueRequest\x1a,.topfans.task.ClaimExhibitionRevenueResponse\".\x82\xd3\xe4\x93\x02(:\x01*\"#/api/tasks/exhibition-revenue/claim\x12\xb0\x01\n" +
"\x19ClaimAllExhibitionRevenue\x12..topfans.task.ClaimAllExhibitionRevenueRequest\x1a/.topfans.task.ClaimAllExhibitionRevenueResponse\"2\x82\xd3\xe4\x93\x02,:\x01*\"'/api/tasks/exhibition-revenue/claim-all2\xe1\x01\n" +
"\x13TaskInternalService\x12X\n" +
"\rInitUserTasks\x12\".topfans.task.InitUserTasksRequest\x1a#.topfans.task.InitUserTasksResponse\x12p\n" +
"\x15OnExhibitionCompleted\x12*.topfans.task.OnExhibitionCompletedRequest\x1a+.topfans.task.OnExhibitionCompletedResponseB0Z.github.com/topfans/backend/pkg/proto/task;taskb\x06proto3"
var (
file_task_proto_rawDescOnce sync.Once
file_task_proto_rawDescData []byte
)
func file_task_proto_rawDescGZIP() []byte {
file_task_proto_rawDescOnce.Do(func() {
file_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_task_proto_rawDesc), len(file_task_proto_rawDesc)))
})
return file_task_proto_rawDescData
}
var file_task_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
var file_task_proto_goTypes = []any{
(*DailyTaskItem)(nil), // 0: topfans.task.DailyTaskItem
(*GetDailyTasksRequest)(nil), // 1: topfans.task.GetDailyTasksRequest
(*GetDailyTasksResponse)(nil), // 2: topfans.task.GetDailyTasksResponse
(*ReportEventRequest)(nil), // 3: topfans.task.ReportEventRequest
(*ReportEventResponse)(nil), // 4: topfans.task.ReportEventResponse
(*ClaimDailyTaskRequest)(nil), // 5: topfans.task.ClaimDailyTaskRequest
(*ClaimDailyTaskResponse)(nil), // 6: topfans.task.ClaimDailyTaskResponse
(*ClaimAllDailyTasksRequest)(nil), // 7: topfans.task.ClaimAllDailyTasksRequest
(*ClaimAllDailyTasksResponse)(nil), // 8: topfans.task.ClaimAllDailyTasksResponse
(*OnboardingStage)(nil), // 9: topfans.task.OnboardingStage
(*CompleteGuideRequest)(nil), // 10: topfans.task.CompleteGuideRequest
(*CompleteGuideResponse)(nil), // 11: topfans.task.CompleteGuideResponse
(*GetOnboardingStatusRequest)(nil), // 12: topfans.task.GetOnboardingStatusRequest
(*GetOnboardingStatusResponse)(nil), // 13: topfans.task.GetOnboardingStatusResponse
(*AdvanceStageRequest)(nil), // 14: topfans.task.AdvanceStageRequest
(*AdvanceStageResponse)(nil), // 15: topfans.task.AdvanceStageResponse
(*ClaimOnboardingRewardRequest)(nil), // 16: topfans.task.ClaimOnboardingRewardRequest
(*ClaimOnboardingRewardResponse)(nil), // 17: topfans.task.ClaimOnboardingRewardResponse
(*ExhibitionRevenueItem)(nil), // 18: topfans.task.ExhibitionRevenueItem
(*GetExhibitionRevenueRequest)(nil), // 19: topfans.task.GetExhibitionRevenueRequest
(*GetExhibitionRevenueResponse)(nil), // 20: topfans.task.GetExhibitionRevenueResponse
(*ClaimExhibitionRevenueRequest)(nil), // 21: topfans.task.ClaimExhibitionRevenueRequest
(*ClaimExhibitionRevenueResponse)(nil), // 22: topfans.task.ClaimExhibitionRevenueResponse
(*ClaimAllExhibitionRevenueRequest)(nil), // 23: topfans.task.ClaimAllExhibitionRevenueRequest
(*ClaimAllExhibitionRevenueResponse)(nil), // 24: topfans.task.ClaimAllExhibitionRevenueResponse
(*InitUserTasksRequest)(nil), // 25: topfans.task.InitUserTasksRequest
(*InitUserTasksResponse)(nil), // 26: topfans.task.InitUserTasksResponse
(*OnExhibitionCompletedRequest)(nil), // 27: topfans.task.OnExhibitionCompletedRequest
(*OnExhibitionCompletedResponse)(nil), // 28: topfans.task.OnExhibitionCompletedResponse
(*common.BaseResponse)(nil), // 29: topfans.common.BaseResponse
}
var file_task_proto_depIdxs = []int32{
29, // 0: topfans.task.GetDailyTasksResponse.base:type_name -> topfans.common.BaseResponse
0, // 1: topfans.task.GetDailyTasksResponse.tasks:type_name -> topfans.task.DailyTaskItem
29, // 2: topfans.task.ReportEventResponse.base:type_name -> topfans.common.BaseResponse
29, // 3: topfans.task.ClaimDailyTaskResponse.base:type_name -> topfans.common.BaseResponse
29, // 4: topfans.task.ClaimAllDailyTasksResponse.base:type_name -> topfans.common.BaseResponse
9, // 5: topfans.task.CompleteGuideRequest.stages:type_name -> topfans.task.OnboardingStage
29, // 6: topfans.task.CompleteGuideResponse.base:type_name -> topfans.common.BaseResponse
9, // 7: topfans.task.CompleteGuideResponse.stages:type_name -> topfans.task.OnboardingStage
29, // 8: topfans.task.GetOnboardingStatusResponse.base:type_name -> topfans.common.BaseResponse
9, // 9: topfans.task.GetOnboardingStatusResponse.stages:type_name -> topfans.task.OnboardingStage
29, // 10: topfans.task.AdvanceStageResponse.base:type_name -> topfans.common.BaseResponse
9, // 11: topfans.task.AdvanceStageResponse.stages:type_name -> topfans.task.OnboardingStage
29, // 12: topfans.task.ClaimOnboardingRewardResponse.base:type_name -> topfans.common.BaseResponse
29, // 13: topfans.task.GetExhibitionRevenueResponse.base:type_name -> topfans.common.BaseResponse
18, // 14: topfans.task.GetExhibitionRevenueResponse.items:type_name -> topfans.task.ExhibitionRevenueItem
29, // 15: topfans.task.ClaimExhibitionRevenueResponse.base:type_name -> topfans.common.BaseResponse
29, // 16: topfans.task.ClaimAllExhibitionRevenueResponse.base:type_name -> topfans.common.BaseResponse
29, // 17: topfans.task.InitUserTasksResponse.base:type_name -> topfans.common.BaseResponse
29, // 18: topfans.task.OnExhibitionCompletedResponse.base:type_name -> topfans.common.BaseResponse
1, // 19: topfans.task.TaskMobileService.GetDailyTasks:input_type -> topfans.task.GetDailyTasksRequest
3, // 20: topfans.task.TaskMobileService.ReportEvent:input_type -> topfans.task.ReportEventRequest
5, // 21: topfans.task.TaskMobileService.ClaimDailyTask:input_type -> topfans.task.ClaimDailyTaskRequest
7, // 22: topfans.task.TaskMobileService.ClaimAllDailyTasks:input_type -> topfans.task.ClaimAllDailyTasksRequest
10, // 23: topfans.task.TaskMobileService.CompleteGuide:input_type -> topfans.task.CompleteGuideRequest
12, // 24: topfans.task.TaskMobileService.GetOnboardingStatus:input_type -> topfans.task.GetOnboardingStatusRequest
14, // 25: topfans.task.TaskMobileService.AdvanceStage:input_type -> topfans.task.AdvanceStageRequest
16, // 26: topfans.task.TaskMobileService.ClaimOnboardingReward:input_type -> topfans.task.ClaimOnboardingRewardRequest
19, // 27: topfans.task.TaskMobileService.GetExhibitionRevenue:input_type -> topfans.task.GetExhibitionRevenueRequest
21, // 28: topfans.task.TaskMobileService.ClaimExhibitionRevenue:input_type -> topfans.task.ClaimExhibitionRevenueRequest
23, // 29: topfans.task.TaskMobileService.ClaimAllExhibitionRevenue:input_type -> topfans.task.ClaimAllExhibitionRevenueRequest
25, // 30: topfans.task.TaskInternalService.InitUserTasks:input_type -> topfans.task.InitUserTasksRequest
27, // 31: topfans.task.TaskInternalService.OnExhibitionCompleted:input_type -> topfans.task.OnExhibitionCompletedRequest
2, // 32: topfans.task.TaskMobileService.GetDailyTasks:output_type -> topfans.task.GetDailyTasksResponse
4, // 33: topfans.task.TaskMobileService.ReportEvent:output_type -> topfans.task.ReportEventResponse
6, // 34: topfans.task.TaskMobileService.ClaimDailyTask:output_type -> topfans.task.ClaimDailyTaskResponse
8, // 35: topfans.task.TaskMobileService.ClaimAllDailyTasks:output_type -> topfans.task.ClaimAllDailyTasksResponse
11, // 36: topfans.task.TaskMobileService.CompleteGuide:output_type -> topfans.task.CompleteGuideResponse
13, // 37: topfans.task.TaskMobileService.GetOnboardingStatus:output_type -> topfans.task.GetOnboardingStatusResponse
15, // 38: topfans.task.TaskMobileService.AdvanceStage:output_type -> topfans.task.AdvanceStageResponse
17, // 39: topfans.task.TaskMobileService.ClaimOnboardingReward:output_type -> topfans.task.ClaimOnboardingRewardResponse
20, // 40: topfans.task.TaskMobileService.GetExhibitionRevenue:output_type -> topfans.task.GetExhibitionRevenueResponse
22, // 41: topfans.task.TaskMobileService.ClaimExhibitionRevenue:output_type -> topfans.task.ClaimExhibitionRevenueResponse
24, // 42: topfans.task.TaskMobileService.ClaimAllExhibitionRevenue:output_type -> topfans.task.ClaimAllExhibitionRevenueResponse
26, // 43: topfans.task.TaskInternalService.InitUserTasks:output_type -> topfans.task.InitUserTasksResponse
28, // 44: topfans.task.TaskInternalService.OnExhibitionCompleted:output_type -> topfans.task.OnExhibitionCompletedResponse
32, // [32:45] is the sub-list for method output_type
19, // [19:32] is the sub-list for method input_type
19, // [19:19] is the sub-list for extension type_name
19, // [19:19] is the sub-list for extension extendee
0, // [0:19] is the sub-list for field type_name
}
func init() { file_task_proto_init() }
func file_task_proto_init() {
if File_task_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_task_proto_rawDesc), len(file_task_proto_rawDesc)),
NumEnums: 0,
NumMessages: 29,
NumExtensions: 0,
NumServices: 2,
},
GoTypes: file_task_proto_goTypes,
DependencyIndexes: file_task_proto_depIdxs,
MessageInfos: file_task_proto_msgTypes,
}.Build()
File_task_proto = out.File
file_task_proto_goTypes = nil
file_task_proto_depIdxs = nil
}