// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.34.0 // source: activity.proto package activity 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 Activity struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ActivityType string `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Theme string `protobuf:"bytes,17,opt,name=theme,proto3" json:"theme,omitempty"` // 中文主题 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` StarId int64 `protobuf:"varint,5,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` StartTime int64 `protobuf:"varint,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` TargetProgress int64 `protobuf:"varint,8,opt,name=target_progress,json=targetProgress,proto3" json:"target_progress,omitempty"` CurrentProgress int64 `protobuf:"varint,9,opt,name=current_progress,json=currentProgress,proto3" json:"current_progress,omitempty"` Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` CurrentStage string `protobuf:"bytes,11,opt,name=current_stage,json=currentStage,proto3" json:"current_stage,omitempty"` // 当前阶段: early/mid/late/completed Items []*ActivityItem `protobuf:"bytes,12,rep,name=items,proto3" json:"items,omitempty"` CoverImage string `protobuf:"bytes,13,opt,name=cover_image,json=coverImage,proto3" json:"cover_image,omitempty"` // 封面图 BannerImage string `protobuf:"bytes,14,opt,name=banner_image,json=bannerImage,proto3" json:"banner_image,omitempty"` // 横幅图 CurrentStageBackground string `protobuf:"bytes,15,opt,name=current_stage_background,json=currentStageBackground,proto3" json:"current_stage_background,omitempty"` // 当前阶段背景图 CurrentStageTitle string `protobuf:"bytes,16,opt,name=current_stage_title,json=currentStageTitle,proto3" json:"current_stage_title,omitempty"` // 当前阶段标题 OverallEndTime int64 `protobuf:"varint,18,opt,name=overall_end_time,json=overallEndTime,proto3" json:"overall_end_time,omitempty"` // 整体活动结束时间 Icon string `protobuf:"bytes,19,opt,name=icon,proto3" json:"icon,omitempty"` // 活动图标 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Activity) Reset() { *x = Activity{} mi := &file_activity_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Activity) String() string { return protoimpl.X.MessageStringOf(x) } func (*Activity) ProtoMessage() {} func (x *Activity) ProtoReflect() protoreflect.Message { mi := &file_activity_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 Activity.ProtoReflect.Descriptor instead. func (*Activity) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{0} } func (x *Activity) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Activity) GetActivityType() string { if x != nil { return x.ActivityType } return "" } func (x *Activity) GetTitle() string { if x != nil { return x.Title } return "" } func (x *Activity) GetTheme() string { if x != nil { return x.Theme } return "" } func (x *Activity) GetDescription() string { if x != nil { return x.Description } return "" } func (x *Activity) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *Activity) GetStartTime() int64 { if x != nil { return x.StartTime } return 0 } func (x *Activity) GetEndTime() int64 { if x != nil { return x.EndTime } return 0 } func (x *Activity) GetTargetProgress() int64 { if x != nil { return x.TargetProgress } return 0 } func (x *Activity) GetCurrentProgress() int64 { if x != nil { return x.CurrentProgress } return 0 } func (x *Activity) GetStatus() string { if x != nil { return x.Status } return "" } func (x *Activity) GetCurrentStage() string { if x != nil { return x.CurrentStage } return "" } func (x *Activity) GetItems() []*ActivityItem { if x != nil { return x.Items } return nil } func (x *Activity) GetCoverImage() string { if x != nil { return x.CoverImage } return "" } func (x *Activity) GetBannerImage() string { if x != nil { return x.BannerImage } return "" } func (x *Activity) GetCurrentStageBackground() string { if x != nil { return x.CurrentStageBackground } return "" } func (x *Activity) GetCurrentStageTitle() string { if x != nil { return x.CurrentStageTitle } return "" } func (x *Activity) GetOverallEndTime() int64 { if x != nil { return x.OverallEndTime } return 0 } func (x *Activity) GetIcon() string { if x != nil { return x.Icon } return "" } // 活动道具 type ActivityItem struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ItemType string `protobuf:"bytes,2,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"` ItemName string `protobuf:"bytes,3,opt,name=item_name,json=itemName,proto3" json:"item_name,omitempty"` IconUrl string `protobuf:"bytes,4,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"` CrystalCost int32 `protobuf:"varint,5,opt,name=crystal_cost,json=crystalCost,proto3" json:"crystal_cost,omitempty"` ContributionPoints int32 `protobuf:"varint,6,opt,name=contribution_points,json=contributionPoints,proto3" json:"contribution_points,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ActivityItem) Reset() { *x = ActivityItem{} mi := &file_activity_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ActivityItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*ActivityItem) ProtoMessage() {} func (x *ActivityItem) ProtoReflect() protoreflect.Message { mi := &file_activity_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 ActivityItem.ProtoReflect.Descriptor instead. func (*ActivityItem) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{1} } func (x *ActivityItem) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *ActivityItem) GetItemType() string { if x != nil { return x.ItemType } return "" } func (x *ActivityItem) GetItemName() string { if x != nil { return x.ItemName } return "" } func (x *ActivityItem) GetIconUrl() string { if x != nil { return x.IconUrl } return "" } func (x *ActivityItem) GetCrystalCost() int32 { if x != nil { return x.CrystalCost } return 0 } func (x *ActivityItem) GetContributionPoints() int32 { if x != nil { return x.ContributionPoints } return 0 } // 活动道具列表响应 type ActivityItemsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Items []*ActivityItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ActivityItemsResponse) Reset() { *x = ActivityItemsResponse{} mi := &file_activity_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ActivityItemsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ActivityItemsResponse) ProtoMessage() {} func (x *ActivityItemsResponse) ProtoReflect() protoreflect.Message { mi := &file_activity_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 ActivityItemsResponse.ProtoReflect.Descriptor instead. func (*ActivityItemsResponse) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{2} } func (x *ActivityItemsResponse) GetItems() []*ActivityItem { if x != nil { return x.Items } return nil } // 购买道具请求 type PurchaseItemRequest struct { state protoimpl.MessageState `protogen:"open.v1"` ActivityId int64 `protobuf:"varint,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` ItemType string `protobuf:"bytes,2,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"` Quantity int32 `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"` StarId int64 `protobuf:"varint,4,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 当前用户ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PurchaseItemRequest) Reset() { *x = PurchaseItemRequest{} mi := &file_activity_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PurchaseItemRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*PurchaseItemRequest) ProtoMessage() {} func (x *PurchaseItemRequest) ProtoReflect() protoreflect.Message { mi := &file_activity_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 PurchaseItemRequest.ProtoReflect.Descriptor instead. func (*PurchaseItemRequest) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{3} } func (x *PurchaseItemRequest) GetActivityId() int64 { if x != nil { return x.ActivityId } return 0 } func (x *PurchaseItemRequest) GetItemType() string { if x != nil { return x.ItemType } return "" } func (x *PurchaseItemRequest) GetQuantity() int32 { if x != nil { return x.Quantity } return 0 } func (x *PurchaseItemRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *PurchaseItemRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } // 购买道具响应 type PurchaseItemResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` TotalCrystalSpent int64 `protobuf:"varint,2,opt,name=total_crystal_spent,json=totalCrystalSpent,proto3" json:"total_crystal_spent,omitempty"` // 本次消费水晶 TotalContribution int64 `protobuf:"varint,3,opt,name=total_contribution,json=totalContribution,proto3" json:"total_contribution,omitempty"` // 本次获得贡献点 CurrentProgress int64 `protobuf:"varint,4,opt,name=current_progress,json=currentProgress,proto3" json:"current_progress,omitempty"` // 当前活动进度 RemainingBalance int64 `protobuf:"varint,5,opt,name=remaining_balance,json=remainingBalance,proto3" json:"remaining_balance,omitempty"` // 剩余水晶余额 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PurchaseItemResponse) Reset() { *x = PurchaseItemResponse{} mi := &file_activity_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PurchaseItemResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*PurchaseItemResponse) ProtoMessage() {} func (x *PurchaseItemResponse) ProtoReflect() protoreflect.Message { mi := &file_activity_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 PurchaseItemResponse.ProtoReflect.Descriptor instead. func (*PurchaseItemResponse) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{4} } func (x *PurchaseItemResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *PurchaseItemResponse) GetTotalCrystalSpent() int64 { if x != nil { return x.TotalCrystalSpent } return 0 } func (x *PurchaseItemResponse) GetTotalContribution() int64 { if x != nil { return x.TotalContribution } return 0 } func (x *PurchaseItemResponse) GetCurrentProgress() int64 { if x != nil { return x.CurrentProgress } return 0 } func (x *PurchaseItemResponse) GetRemainingBalance() int64 { if x != nil { return x.RemainingBalance } return 0 } // 单个购买项(用于批量购买) type PurchaseItem struct { state protoimpl.MessageState `protogen:"open.v1"` ItemType string `protobuf:"bytes,1,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"` Quantity int32 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PurchaseItem) Reset() { *x = PurchaseItem{} mi := &file_activity_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PurchaseItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*PurchaseItem) ProtoMessage() {} func (x *PurchaseItem) ProtoReflect() protoreflect.Message { mi := &file_activity_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 PurchaseItem.ProtoReflect.Descriptor instead. func (*PurchaseItem) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{5} } func (x *PurchaseItem) GetItemType() string { if x != nil { return x.ItemType } return "" } func (x *PurchaseItem) GetQuantity() int32 { if x != nil { return x.Quantity } return 0 } // 批量购买道具请求 type BatchPurchaseItemRequest struct { state protoimpl.MessageState `protogen:"open.v1"` ActivityId int64 `protobuf:"varint,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` Items []*PurchaseItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // 购买项列表 StarId int64 `protobuf:"varint,3,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` UserId int64 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 当前用户ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BatchPurchaseItemRequest) Reset() { *x = BatchPurchaseItemRequest{} mi := &file_activity_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatchPurchaseItemRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatchPurchaseItemRequest) ProtoMessage() {} func (x *BatchPurchaseItemRequest) ProtoReflect() protoreflect.Message { mi := &file_activity_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 BatchPurchaseItemRequest.ProtoReflect.Descriptor instead. func (*BatchPurchaseItemRequest) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{6} } func (x *BatchPurchaseItemRequest) GetActivityId() int64 { if x != nil { return x.ActivityId } return 0 } func (x *BatchPurchaseItemRequest) GetItems() []*PurchaseItem { if x != nil { return x.Items } return nil } func (x *BatchPurchaseItemRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *BatchPurchaseItemRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } // 批量购买道具响应 type BatchPurchaseItemResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` TotalCrystalSpent int64 `protobuf:"varint,2,opt,name=total_crystal_spent,json=totalCrystalSpent,proto3" json:"total_crystal_spent,omitempty"` // 本次消费水晶 TotalContribution int64 `protobuf:"varint,3,opt,name=total_contribution,json=totalContribution,proto3" json:"total_contribution,omitempty"` // 本次获得贡献点 CurrentProgress int64 `protobuf:"varint,4,opt,name=current_progress,json=currentProgress,proto3" json:"current_progress,omitempty"` // 当前活动进度 RemainingBalance int64 `protobuf:"varint,5,opt,name=remaining_balance,json=remainingBalance,proto3" json:"remaining_balance,omitempty"` // 剩余水晶余额 SuccessCount int32 `protobuf:"varint,6,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` // 成功购买数量 FailCount int32 `protobuf:"varint,7,opt,name=fail_count,json=failCount,proto3" json:"fail_count,omitempty"` // 失败购买数量 Fails []*PurchaseFailItem `protobuf:"bytes,8,rep,name=fails,proto3" json:"fails,omitempty"` // 失败的项 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BatchPurchaseItemResponse) Reset() { *x = BatchPurchaseItemResponse{} mi := &file_activity_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatchPurchaseItemResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatchPurchaseItemResponse) ProtoMessage() {} func (x *BatchPurchaseItemResponse) ProtoReflect() protoreflect.Message { mi := &file_activity_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 BatchPurchaseItemResponse.ProtoReflect.Descriptor instead. func (*BatchPurchaseItemResponse) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{7} } func (x *BatchPurchaseItemResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *BatchPurchaseItemResponse) GetTotalCrystalSpent() int64 { if x != nil { return x.TotalCrystalSpent } return 0 } func (x *BatchPurchaseItemResponse) GetTotalContribution() int64 { if x != nil { return x.TotalContribution } return 0 } func (x *BatchPurchaseItemResponse) GetCurrentProgress() int64 { if x != nil { return x.CurrentProgress } return 0 } func (x *BatchPurchaseItemResponse) GetRemainingBalance() int64 { if x != nil { return x.RemainingBalance } return 0 } func (x *BatchPurchaseItemResponse) GetSuccessCount() int32 { if x != nil { return x.SuccessCount } return 0 } func (x *BatchPurchaseItemResponse) GetFailCount() int32 { if x != nil { return x.FailCount } return 0 } func (x *BatchPurchaseItemResponse) GetFails() []*PurchaseFailItem { if x != nil { return x.Fails } return nil } // 购买失败的项 type PurchaseFailItem struct { state protoimpl.MessageState `protogen:"open.v1"` ItemType string `protobuf:"bytes,1,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PurchaseFailItem) Reset() { *x = PurchaseFailItem{} mi := &file_activity_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PurchaseFailItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*PurchaseFailItem) ProtoMessage() {} func (x *PurchaseFailItem) ProtoReflect() protoreflect.Message { mi := &file_activity_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 PurchaseFailItem.ProtoReflect.Descriptor instead. func (*PurchaseFailItem) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{8} } func (x *PurchaseFailItem) GetItemType() string { if x != nil { return x.ItemType } return "" } func (x *PurchaseFailItem) GetReason() string { if x != nil { return x.Reason } return "" } // 贡献点排名请求 type ContributionRankingRequest struct { state protoimpl.MessageState `protogen:"open.v1"` ActivityId int64 `protobuf:"varint,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,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"` UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 当前用户ID,用于获取自己的排名 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ContributionRankingRequest) Reset() { *x = ContributionRankingRequest{} mi := &file_activity_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ContributionRankingRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ContributionRankingRequest) ProtoMessage() {} func (x *ContributionRankingRequest) ProtoReflect() protoreflect.Message { mi := &file_activity_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 ContributionRankingRequest.ProtoReflect.Descriptor instead. func (*ContributionRankingRequest) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{9} } func (x *ContributionRankingRequest) GetActivityId() int64 { if x != nil { return x.ActivityId } return 0 } func (x *ContributionRankingRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *ContributionRankingRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ContributionRankingRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ContributionRankingRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } // 贡献点排名项 type ContributionRankingItem struct { state protoimpl.MessageState `protogen:"open.v1"` Rank int32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` TotalContribution int64 `protobuf:"varint,5,opt,name=total_contribution,json=totalContribution,proto3" json:"total_contribution,omitempty"` TotalCrystalSpent int64 `protobuf:"varint,6,opt,name=total_crystal_spent,json=totalCrystalSpent,proto3" json:"total_crystal_spent,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ContributionRankingItem) Reset() { *x = ContributionRankingItem{} mi := &file_activity_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ContributionRankingItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*ContributionRankingItem) ProtoMessage() {} func (x *ContributionRankingItem) ProtoReflect() protoreflect.Message { mi := &file_activity_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 ContributionRankingItem.ProtoReflect.Descriptor instead. func (*ContributionRankingItem) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{10} } func (x *ContributionRankingItem) GetRank() int32 { if x != nil { return x.Rank } return 0 } func (x *ContributionRankingItem) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *ContributionRankingItem) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *ContributionRankingItem) GetAvatarUrl() string { if x != nil { return x.AvatarUrl } return "" } func (x *ContributionRankingItem) GetTotalContribution() int64 { if x != nil { return x.TotalContribution } return 0 } func (x *ContributionRankingItem) GetTotalCrystalSpent() int64 { if x != nil { return x.TotalCrystalSpent } return 0 } // 贡献点排名响应 type ContributionRankingResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Items []*ContributionRankingItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` MyContribution *MyContribution `protobuf:"bytes,3,opt,name=my_contribution,json=myContribution,proto3" json:"my_contribution,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"` Total int32 `protobuf:"varint,6,opt,name=total,proto3" json:"total,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ContributionRankingResponse) Reset() { *x = ContributionRankingResponse{} mi := &file_activity_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ContributionRankingResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ContributionRankingResponse) ProtoMessage() {} func (x *ContributionRankingResponse) ProtoReflect() protoreflect.Message { mi := &file_activity_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 ContributionRankingResponse.ProtoReflect.Descriptor instead. func (*ContributionRankingResponse) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{11} } func (x *ContributionRankingResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *ContributionRankingResponse) GetItems() []*ContributionRankingItem { if x != nil { return x.Items } return nil } func (x *ContributionRankingResponse) GetMyContribution() *MyContribution { if x != nil { return x.MyContribution } return nil } func (x *ContributionRankingResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ContributionRankingResponse) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ContributionRankingResponse) GetTotal() int32 { if x != nil { return x.Total } return 0 } // 我的贡献信息 type MyContribution struct { state protoimpl.MessageState `protogen:"open.v1"` Rank int32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` TotalContribution int64 `protobuf:"varint,2,opt,name=total_contribution,json=totalContribution,proto3" json:"total_contribution,omitempty"` TotalCrystalSpent int64 `protobuf:"varint,3,opt,name=total_crystal_spent,json=totalCrystalSpent,proto3" json:"total_crystal_spent,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // ranked/unranked Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MyContribution) Reset() { *x = MyContribution{} mi := &file_activity_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MyContribution) String() string { return protoimpl.X.MessageStringOf(x) } func (*MyContribution) ProtoMessage() {} func (x *MyContribution) ProtoReflect() protoreflect.Message { mi := &file_activity_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 MyContribution.ProtoReflect.Descriptor instead. func (*MyContribution) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{12} } func (x *MyContribution) GetRank() int32 { if x != nil { return x.Rank } return 0 } func (x *MyContribution) GetTotalContribution() int64 { if x != nil { return x.TotalContribution } return 0 } func (x *MyContribution) GetTotalCrystalSpent() int64 { if x != nil { return x.TotalCrystalSpent } return 0 } func (x *MyContribution) GetStatus() string { if x != nil { return x.Status } return "" } func (x *MyContribution) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *MyContribution) GetAvatarUrl() string { if x != nil { return x.AvatarUrl } return "" } // 活动列表请求 type GetActivityListRequest 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"` // 可选: pending/active/completed/expired 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 *GetActivityListRequest) Reset() { *x = GetActivityListRequest{} mi := &file_activity_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetActivityListRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetActivityListRequest) ProtoMessage() {} func (x *GetActivityListRequest) ProtoReflect() protoreflect.Message { mi := &file_activity_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 GetActivityListRequest.ProtoReflect.Descriptor instead. func (*GetActivityListRequest) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{13} } func (x *GetActivityListRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *GetActivityListRequest) GetStatus() string { if x != nil { return x.Status } return "" } func (x *GetActivityListRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetActivityListRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 活动列表响应 type GetActivityListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Activities []*Activity `protobuf:"bytes,2,rep,name=activities,proto3" json:"activities,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"` Total int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetActivityListResponse) Reset() { *x = GetActivityListResponse{} mi := &file_activity_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetActivityListResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetActivityListResponse) ProtoMessage() {} func (x *GetActivityListResponse) ProtoReflect() protoreflect.Message { mi := &file_activity_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 GetActivityListResponse.ProtoReflect.Descriptor instead. func (*GetActivityListResponse) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{14} } func (x *GetActivityListResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetActivityListResponse) GetActivities() []*Activity { if x != nil { return x.Activities } return nil } func (x *GetActivityListResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetActivityListResponse) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *GetActivityListResponse) GetTotal() int32 { if x != nil { return x.Total } return 0 } // 进度信息请求 type GetProgressRequest struct { state protoimpl.MessageState `protogen:"open.v1"` ActivityId int64 `protobuf:"varint,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetProgressRequest) Reset() { *x = GetProgressRequest{} mi := &file_activity_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetProgressRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetProgressRequest) ProtoMessage() {} func (x *GetProgressRequest) ProtoReflect() protoreflect.Message { mi := &file_activity_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 GetProgressRequest.ProtoReflect.Descriptor instead. func (*GetProgressRequest) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{15} } func (x *GetProgressRequest) GetActivityId() int64 { if x != nil { return x.ActivityId } return 0 } // 进度信息响应 type GetProgressResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` ActivityId int64 `protobuf:"varint,2,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` CurrentProgress int64 `protobuf:"varint,3,opt,name=current_progress,json=currentProgress,proto3" json:"current_progress,omitempty"` TargetProgress int64 `protobuf:"varint,4,opt,name=target_progress,json=targetProgress,proto3" json:"target_progress,omitempty"` CurrentStage string `protobuf:"bytes,5,opt,name=current_stage,json=currentStage,proto3" json:"current_stage,omitempty"` // early/mid/late/completed EndTime int64 `protobuf:"varint,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` // pending/active/completed/expired unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetProgressResponse) Reset() { *x = GetProgressResponse{} mi := &file_activity_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetProgressResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetProgressResponse) ProtoMessage() {} func (x *GetProgressResponse) ProtoReflect() protoreflect.Message { mi := &file_activity_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 GetProgressResponse.ProtoReflect.Descriptor instead. func (*GetProgressResponse) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{16} } func (x *GetProgressResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetProgressResponse) GetActivityId() int64 { if x != nil { return x.ActivityId } return 0 } func (x *GetProgressResponse) GetCurrentProgress() int64 { if x != nil { return x.CurrentProgress } return 0 } func (x *GetProgressResponse) GetTargetProgress() int64 { if x != nil { return x.TargetProgress } return 0 } func (x *GetProgressResponse) GetCurrentStage() string { if x != nil { return x.CurrentStage } return "" } func (x *GetProgressResponse) GetEndTime() int64 { if x != nil { return x.EndTime } return 0 } func (x *GetProgressResponse) GetStatus() string { if x != nil { return x.Status } return "" } // 铸造活动信息(用于运营banner) type MintingActivity struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` CoverImage string `protobuf:"bytes,4,opt,name=cover_image,json=coverImage,proto3" json:"cover_image,omitempty"` StarId int64 `protobuf:"varint,5,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` Route string `protobuf:"bytes,6,opt,name=route,proto3" json:"route,omitempty"` IsActive bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MintingActivity) Reset() { *x = MintingActivity{} mi := &file_activity_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MintingActivity) String() string { return protoimpl.X.MessageStringOf(x) } func (*MintingActivity) ProtoMessage() {} func (x *MintingActivity) ProtoReflect() protoreflect.Message { mi := &file_activity_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 MintingActivity.ProtoReflect.Descriptor instead. func (*MintingActivity) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{17} } func (x *MintingActivity) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *MintingActivity) GetTitle() string { if x != nil { return x.Title } return "" } func (x *MintingActivity) GetDescription() string { if x != nil { return x.Description } return "" } func (x *MintingActivity) GetCoverImage() string { if x != nil { return x.CoverImage } return "" } func (x *MintingActivity) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *MintingActivity) GetRoute() string { if x != nil { return x.Route } return "" } func (x *MintingActivity) GetIsActive() bool { if x != nil { return x.IsActive } return false } func (x *MintingActivity) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *MintingActivity) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } // 获取铸造活动列表请求 type GetMintingActivitiesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 可选,不传则返回所有 Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMintingActivitiesRequest) Reset() { *x = GetMintingActivitiesRequest{} mi := &file_activity_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMintingActivitiesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMintingActivitiesRequest) ProtoMessage() {} func (x *GetMintingActivitiesRequest) ProtoReflect() protoreflect.Message { mi := &file_activity_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 GetMintingActivitiesRequest.ProtoReflect.Descriptor instead. func (*GetMintingActivitiesRequest) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{18} } func (x *GetMintingActivitiesRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *GetMintingActivitiesRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetMintingActivitiesRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 获取铸造活动列表响应 type GetMintingActivitiesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Activities []*MintingActivity `protobuf:"bytes,2,rep,name=activities,proto3" json:"activities,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"` Total int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMintingActivitiesResponse) Reset() { *x = GetMintingActivitiesResponse{} mi := &file_activity_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMintingActivitiesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMintingActivitiesResponse) ProtoMessage() {} func (x *GetMintingActivitiesResponse) ProtoReflect() protoreflect.Message { mi := &file_activity_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 GetMintingActivitiesResponse.ProtoReflect.Descriptor instead. func (*GetMintingActivitiesResponse) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{19} } func (x *GetMintingActivitiesResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetMintingActivitiesResponse) GetActivities() []*MintingActivity { if x != nil { return x.Activities } return nil } func (x *GetMintingActivitiesResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetMintingActivitiesResponse) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *GetMintingActivitiesResponse) GetTotal() int32 { if x != nil { return x.Total } return 0 } // 获取最新贡献记录请求(用于实时显示) type GetLatestContributionsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` ActivityId int64 `protobuf:"varint,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` SinceTimestamp int64 `protobuf:"varint,2,opt,name=since_timestamp,json=sinceTimestamp,proto3" json:"since_timestamp,omitempty"` // 时间戳筛选,返回此时间之后的新记录 SinceId int64 `protobuf:"varint,3,opt,name=since_id,json=sinceId,proto3" json:"since_id,omitempty"` // ID筛选,配合since_timestamp使用 Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // 返回数量,默认5,最大20 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetLatestContributionsRequest) Reset() { *x = GetLatestContributionsRequest{} mi := &file_activity_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetLatestContributionsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetLatestContributionsRequest) ProtoMessage() {} func (x *GetLatestContributionsRequest) ProtoReflect() protoreflect.Message { mi := &file_activity_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 GetLatestContributionsRequest.ProtoReflect.Descriptor instead. func (*GetLatestContributionsRequest) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{20} } func (x *GetLatestContributionsRequest) GetActivityId() int64 { if x != nil { return x.ActivityId } return 0 } func (x *GetLatestContributionsRequest) GetSinceTimestamp() int64 { if x != nil { return x.SinceTimestamp } return 0 } func (x *GetLatestContributionsRequest) GetSinceId() int64 { if x != nil { return x.SinceId } return 0 } func (x *GetLatestContributionsRequest) GetLimit() int32 { if x != nil { return x.Limit } return 0 } // 单条贡献记录 type ContributionRecord struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` StarId int64 `protobuf:"varint,5,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` ItemId int64 `protobuf:"varint,6,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` ItemType string `protobuf:"bytes,7,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"` ItemName string `protobuf:"bytes,8,opt,name=item_name,json=itemName,proto3" json:"item_name,omitempty"` ItemIcon string `protobuf:"bytes,9,opt,name=item_icon,json=itemIcon,proto3" json:"item_icon,omitempty"` Quantity int32 `protobuf:"varint,10,opt,name=quantity,proto3" json:"quantity,omitempty"` ComboCount int32 `protobuf:"varint,11,opt,name=combo_count,json=comboCount,proto3" json:"combo_count,omitempty"` CreatedAt int64 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ContributionRecord) Reset() { *x = ContributionRecord{} mi := &file_activity_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ContributionRecord) String() string { return protoimpl.X.MessageStringOf(x) } func (*ContributionRecord) ProtoMessage() {} func (x *ContributionRecord) ProtoReflect() protoreflect.Message { mi := &file_activity_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 ContributionRecord.ProtoReflect.Descriptor instead. func (*ContributionRecord) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{21} } func (x *ContributionRecord) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *ContributionRecord) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *ContributionRecord) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *ContributionRecord) GetAvatarUrl() string { if x != nil { return x.AvatarUrl } return "" } func (x *ContributionRecord) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *ContributionRecord) GetItemId() int64 { if x != nil { return x.ItemId } return 0 } func (x *ContributionRecord) GetItemType() string { if x != nil { return x.ItemType } return "" } func (x *ContributionRecord) GetItemName() string { if x != nil { return x.ItemName } return "" } func (x *ContributionRecord) GetItemIcon() string { if x != nil { return x.ItemIcon } return "" } func (x *ContributionRecord) GetQuantity() int32 { if x != nil { return x.Quantity } return 0 } func (x *ContributionRecord) GetComboCount() int32 { if x != nil { return x.ComboCount } return 0 } func (x *ContributionRecord) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } // 获取最新贡献记录响应 type GetLatestContributionsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Records []*ContributionRecord `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetLatestContributionsResponse) Reset() { *x = GetLatestContributionsResponse{} mi := &file_activity_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetLatestContributionsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetLatestContributionsResponse) ProtoMessage() {} func (x *GetLatestContributionsResponse) ProtoReflect() protoreflect.Message { mi := &file_activity_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 GetLatestContributionsResponse.ProtoReflect.Descriptor instead. func (*GetLatestContributionsResponse) Descriptor() ([]byte, []int) { return file_activity_proto_rawDescGZIP(), []int{22} } func (x *GetLatestContributionsResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetLatestContributionsResponse) GetRecords() []*ContributionRecord { if x != nil { return x.Records } return nil } var File_activity_proto protoreflect.FileDescriptor const file_activity_proto_rawDesc = "" + "\n" + "\x0eactivity.proto\x12\x10topfans.activity\x1a\x12proto/common.proto\x1a\x1cgoogle/api/annotations.proto\"\x93\x05\n" + "\bActivity\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12#\n" + "\ractivity_type\x18\x02 \x01(\tR\factivityType\x12\x14\n" + "\x05title\x18\x03 \x01(\tR\x05title\x12\x14\n" + "\x05theme\x18\x11 \x01(\tR\x05theme\x12 \n" + "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x17\n" + "\astar_id\x18\x05 \x01(\x03R\x06starId\x12\x1d\n" + "\n" + "start_time\x18\x06 \x01(\x03R\tstartTime\x12\x19\n" + "\bend_time\x18\a \x01(\x03R\aendTime\x12'\n" + "\x0ftarget_progress\x18\b \x01(\x03R\x0etargetProgress\x12)\n" + "\x10current_progress\x18\t \x01(\x03R\x0fcurrentProgress\x12\x16\n" + "\x06status\x18\n" + " \x01(\tR\x06status\x12#\n" + "\rcurrent_stage\x18\v \x01(\tR\fcurrentStage\x124\n" + "\x05items\x18\f \x03(\v2\x1e.topfans.activity.ActivityItemR\x05items\x12\x1f\n" + "\vcover_image\x18\r \x01(\tR\n" + "coverImage\x12!\n" + "\fbanner_image\x18\x0e \x01(\tR\vbannerImage\x128\n" + "\x18current_stage_background\x18\x0f \x01(\tR\x16currentStageBackground\x12.\n" + "\x13current_stage_title\x18\x10 \x01(\tR\x11currentStageTitle\x12(\n" + "\x10overall_end_time\x18\x12 \x01(\x03R\x0eoverallEndTime\x12\x12\n" + "\x04icon\x18\x13 \x01(\tR\x04icon\"\xc7\x01\n" + "\fActivityItem\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1b\n" + "\titem_type\x18\x02 \x01(\tR\bitemType\x12\x1b\n" + "\titem_name\x18\x03 \x01(\tR\bitemName\x12\x19\n" + "\bicon_url\x18\x04 \x01(\tR\aiconUrl\x12!\n" + "\fcrystal_cost\x18\x05 \x01(\x05R\vcrystalCost\x12/\n" + "\x13contribution_points\x18\x06 \x01(\x05R\x12contributionPoints\"M\n" + "\x15ActivityItemsResponse\x124\n" + "\x05items\x18\x01 \x03(\v2\x1e.topfans.activity.ActivityItemR\x05items\"\xa1\x01\n" + "\x13PurchaseItemRequest\x12\x1f\n" + "\vactivity_id\x18\x01 \x01(\x03R\n" + "activityId\x12\x1b\n" + "\titem_type\x18\x02 \x01(\tR\bitemType\x12\x1a\n" + "\bquantity\x18\x03 \x01(\x05R\bquantity\x12\x17\n" + "\astar_id\x18\x04 \x01(\x03R\x06starId\x12\x17\n" + "\auser_id\x18\x05 \x01(\x03R\x06userId\"\xff\x01\n" + "\x14PurchaseItemResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12.\n" + "\x13total_crystal_spent\x18\x02 \x01(\x03R\x11totalCrystalSpent\x12-\n" + "\x12total_contribution\x18\x03 \x01(\x03R\x11totalContribution\x12)\n" + "\x10current_progress\x18\x04 \x01(\x03R\x0fcurrentProgress\x12+\n" + "\x11remaining_balance\x18\x05 \x01(\x03R\x10remainingBalance\"G\n" + "\fPurchaseItem\x12\x1b\n" + "\titem_type\x18\x01 \x01(\tR\bitemType\x12\x1a\n" + "\bquantity\x18\x02 \x01(\x05R\bquantity\"\xa3\x01\n" + "\x18BatchPurchaseItemRequest\x12\x1f\n" + "\vactivity_id\x18\x01 \x01(\x03R\n" + "activityId\x124\n" + "\x05items\x18\x02 \x03(\v2\x1e.topfans.activity.PurchaseItemR\x05items\x12\x17\n" + "\astar_id\x18\x03 \x01(\x03R\x06starId\x12\x17\n" + "\auser_id\x18\x04 \x01(\x03R\x06userId\"\x82\x03\n" + "\x19BatchPurchaseItemResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12.\n" + "\x13total_crystal_spent\x18\x02 \x01(\x03R\x11totalCrystalSpent\x12-\n" + "\x12total_contribution\x18\x03 \x01(\x03R\x11totalContribution\x12)\n" + "\x10current_progress\x18\x04 \x01(\x03R\x0fcurrentProgress\x12+\n" + "\x11remaining_balance\x18\x05 \x01(\x03R\x10remainingBalance\x12#\n" + "\rsuccess_count\x18\x06 \x01(\x05R\fsuccessCount\x12\x1d\n" + "\n" + "fail_count\x18\a \x01(\x05R\tfailCount\x128\n" + "\x05fails\x18\b \x03(\v2\".topfans.activity.PurchaseFailItemR\x05fails\"G\n" + "\x10PurchaseFailItem\x12\x1b\n" + "\titem_type\x18\x01 \x01(\tR\bitemType\x12\x16\n" + "\x06reason\x18\x02 \x01(\tR\x06reason\"\xa0\x01\n" + "\x1aContributionRankingRequest\x12\x1f\n" + "\vactivity_id\x18\x01 \x01(\x03R\n" + "activityId\x12\x17\n" + "\astar_id\x18\x02 \x01(\x03R\x06starId\x12\x12\n" + "\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x17\n" + "\auser_id\x18\x05 \x01(\x03R\x06userId\"\xe0\x01\n" + "\x17ContributionRankingItem\x12\x12\n" + "\x04rank\x18\x01 \x01(\x05R\x04rank\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1a\n" + "\bnickname\x18\x03 \x01(\tR\bnickname\x12\x1d\n" + "\n" + "avatar_url\x18\x04 \x01(\tR\tavatarUrl\x12-\n" + "\x12total_contribution\x18\x05 \x01(\x03R\x11totalContribution\x12.\n" + "\x13total_crystal_spent\x18\x06 \x01(\x03R\x11totalCrystalSpent\"\xa2\x02\n" + "\x1bContributionRankingResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12?\n" + "\x05items\x18\x02 \x03(\v2).topfans.activity.ContributionRankingItemR\x05items\x12I\n" + "\x0fmy_contribution\x18\x03 \x01(\v2 .topfans.activity.MyContributionR\x0emyContribution\x12\x12\n" + "\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x05 \x01(\x05R\bpageSize\x12\x14\n" + "\x05total\x18\x06 \x01(\x05R\x05total\"\xd6\x01\n" + "\x0eMyContribution\x12\x12\n" + "\x04rank\x18\x01 \x01(\x05R\x04rank\x12-\n" + "\x12total_contribution\x18\x02 \x01(\x03R\x11totalContribution\x12.\n" + "\x13total_crystal_spent\x18\x03 \x01(\x03R\x11totalCrystalSpent\x12\x16\n" + "\x06status\x18\x04 \x01(\tR\x06status\x12\x1a\n" + "\bnickname\x18\x05 \x01(\tR\bnickname\x12\x1d\n" + "\n" + "avatar_url\x18\x06 \x01(\tR\tavatarUrl\"z\n" + "\x16GetActivityListRequest\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\"\xce\x01\n" + "\x17GetActivityListResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12:\n" + "\n" + "activities\x18\x02 \x03(\v2\x1a.topfans.activity.ActivityR\n" + "activities\x12\x12\n" + "\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x14\n" + "\x05total\x18\x05 \x01(\x05R\x05total\"5\n" + "\x12GetProgressRequest\x12\x1f\n" + "\vactivity_id\x18\x01 \x01(\x03R\n" + "activityId\"\x94\x02\n" + "\x13GetProgressResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x1f\n" + "\vactivity_id\x18\x02 \x01(\x03R\n" + "activityId\x12)\n" + "\x10current_progress\x18\x03 \x01(\x03R\x0fcurrentProgress\x12'\n" + "\x0ftarget_progress\x18\x04 \x01(\x03R\x0etargetProgress\x12#\n" + "\rcurrent_stage\x18\x05 \x01(\tR\fcurrentStage\x12\x19\n" + "\bend_time\x18\x06 \x01(\x03R\aendTime\x12\x16\n" + "\x06status\x18\a \x01(\tR\x06status\"\x84\x02\n" + "\x0fMintingActivity\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" + "\x05title\x18\x02 \x01(\tR\x05title\x12 \n" + "\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1f\n" + "\vcover_image\x18\x04 \x01(\tR\n" + "coverImage\x12\x17\n" + "\astar_id\x18\x05 \x01(\x03R\x06starId\x12\x14\n" + "\x05route\x18\x06 \x01(\tR\x05route\x12\x1b\n" + "\tis_active\x18\a \x01(\bR\bisActive\x12\x1d\n" + "\n" + "created_at\x18\b \x01(\x03R\tcreatedAt\x12\x1d\n" + "\n" + "updated_at\x18\t \x01(\x03R\tupdatedAt\"g\n" + "\x1bGetMintingActivitiesRequest\x12\x17\n" + "\astar_id\x18\x01 \x01(\x03R\x06starId\x12\x12\n" + "\x04page\x18\x02 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x03 \x01(\x05R\bpageSize\"\xda\x01\n" + "\x1cGetMintingActivitiesResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12A\n" + "\n" + "activities\x18\x02 \x03(\v2!.topfans.activity.MintingActivityR\n" + "activities\x12\x12\n" + "\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x14\n" + "\x05total\x18\x05 \x01(\x05R\x05total\"\x9a\x01\n" + "\x1dGetLatestContributionsRequest\x12\x1f\n" + "\vactivity_id\x18\x01 \x01(\x03R\n" + "activityId\x12'\n" + "\x0fsince_timestamp\x18\x02 \x01(\x03R\x0esinceTimestamp\x12\x19\n" + "\bsince_id\x18\x03 \x01(\x03R\asinceId\x12\x14\n" + "\x05limit\x18\x04 \x01(\x05R\x05limit\"\xdd\x02\n" + "\x12ContributionRecord\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1a\n" + "\bnickname\x18\x03 \x01(\tR\bnickname\x12\x1d\n" + "\n" + "avatar_url\x18\x04 \x01(\tR\tavatarUrl\x12\x17\n" + "\astar_id\x18\x05 \x01(\x03R\x06starId\x12\x17\n" + "\aitem_id\x18\x06 \x01(\x03R\x06itemId\x12\x1b\n" + "\titem_type\x18\a \x01(\tR\bitemType\x12\x1b\n" + "\titem_name\x18\b \x01(\tR\bitemName\x12\x1b\n" + "\titem_icon\x18\t \x01(\tR\bitemIcon\x12\x1a\n" + "\bquantity\x18\n" + " \x01(\x05R\bquantity\x12\x1f\n" + "\vcombo_count\x18\v \x01(\x05R\n" + "comboCount\x12\x1d\n" + "\n" + "created_at\x18\f \x01(\x03R\tcreatedAt\"\x92\x01\n" + "\x1eGetLatestContributionsResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12>\n" + "\arecords\x18\x02 \x03(\v2$.topfans.activity.ContributionRecordR\arecords2\xf9\n" + "\n" + "\x0fActivityService\x12\x82\x01\n" + "\x0fGetActivityList\x12(.topfans.activity.GetActivityListRequest\x1a).topfans.activity.GetActivityListResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/api/v1/activities\x12y\n" + "\vGetActivity\x12$.topfans.activity.GetProgressRequest\x1a\x1a.topfans.activity.Activity\"(\x82\xd3\xe4\x93\x02\"\x12 /api/v1/activities/{activity_id}\x12\x91\x01\n" + "\x10GetActivityItems\x12$.topfans.activity.GetProgressRequest\x1a'.topfans.activity.ActivityItemsResponse\".\x82\xd3\xe4\x93\x02(\x12&/api/v1/activities/{activity_id}/items\x12\x8d\x01\n" + "\vGetProgress\x12$.topfans.activity.GetProgressRequest\x1a%.topfans.activity.GetProgressResponse\"1\x82\xd3\xe4\x93\x02+\x12)/api/v1/activities/{activity_id}/progress\x12\x93\x01\n" + "\fPurchaseItem\x12%.topfans.activity.PurchaseItemRequest\x1a&.topfans.activity.PurchaseItemResponse\"4\x82\xd3\xe4\x93\x02.:\x01*\")/api/v1/activities/{activity_id}/purchase\x12\xa8\x01\n" + "\x11BatchPurchaseItem\x12*.topfans.activity.BatchPurchaseItemRequest\x1a+.topfans.activity.BatchPurchaseItemResponse\":\x82\xd3\xe4\x93\x024:\x01*\"//api/v1/activities/{activity_id}/batch-purchase\x12\xa7\x01\n" + "\x16GetContributionRanking\x12,.topfans.activity.ContributionRankingRequest\x1a-.topfans.activity.ContributionRankingResponse\"0\x82\xd3\xe4\x93\x02*\x12(/api/v1/activities/{activity_id}/ranking\x12\x99\x01\n" + "\x14GetMintingActivities\x12-.topfans.activity.GetMintingActivitiesRequest\x1a..topfans.activity.GetMintingActivitiesResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/api/v1/minting-activities\x12\xba\x01\n" + "\x16GetLatestContributions\x12/.topfans.activity.GetLatestContributionsRequest\x1a0.topfans.activity.GetLatestContributionsResponse\"=\x82\xd3\xe4\x93\x027\x125/api/v1/activities/{activity_id}/contributions/latestB8Z6github.com/topfans/backend/pkg/proto/activity;activityb\x06proto3" var ( file_activity_proto_rawDescOnce sync.Once file_activity_proto_rawDescData []byte ) func file_activity_proto_rawDescGZIP() []byte { file_activity_proto_rawDescOnce.Do(func() { file_activity_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_activity_proto_rawDesc), len(file_activity_proto_rawDesc))) }) return file_activity_proto_rawDescData } var file_activity_proto_msgTypes = make([]protoimpl.MessageInfo, 23) var file_activity_proto_goTypes = []any{ (*Activity)(nil), // 0: topfans.activity.Activity (*ActivityItem)(nil), // 1: topfans.activity.ActivityItem (*ActivityItemsResponse)(nil), // 2: topfans.activity.ActivityItemsResponse (*PurchaseItemRequest)(nil), // 3: topfans.activity.PurchaseItemRequest (*PurchaseItemResponse)(nil), // 4: topfans.activity.PurchaseItemResponse (*PurchaseItem)(nil), // 5: topfans.activity.PurchaseItem (*BatchPurchaseItemRequest)(nil), // 6: topfans.activity.BatchPurchaseItemRequest (*BatchPurchaseItemResponse)(nil), // 7: topfans.activity.BatchPurchaseItemResponse (*PurchaseFailItem)(nil), // 8: topfans.activity.PurchaseFailItem (*ContributionRankingRequest)(nil), // 9: topfans.activity.ContributionRankingRequest (*ContributionRankingItem)(nil), // 10: topfans.activity.ContributionRankingItem (*ContributionRankingResponse)(nil), // 11: topfans.activity.ContributionRankingResponse (*MyContribution)(nil), // 12: topfans.activity.MyContribution (*GetActivityListRequest)(nil), // 13: topfans.activity.GetActivityListRequest (*GetActivityListResponse)(nil), // 14: topfans.activity.GetActivityListResponse (*GetProgressRequest)(nil), // 15: topfans.activity.GetProgressRequest (*GetProgressResponse)(nil), // 16: topfans.activity.GetProgressResponse (*MintingActivity)(nil), // 17: topfans.activity.MintingActivity (*GetMintingActivitiesRequest)(nil), // 18: topfans.activity.GetMintingActivitiesRequest (*GetMintingActivitiesResponse)(nil), // 19: topfans.activity.GetMintingActivitiesResponse (*GetLatestContributionsRequest)(nil), // 20: topfans.activity.GetLatestContributionsRequest (*ContributionRecord)(nil), // 21: topfans.activity.ContributionRecord (*GetLatestContributionsResponse)(nil), // 22: topfans.activity.GetLatestContributionsResponse (*common.BaseResponse)(nil), // 23: topfans.common.BaseResponse } var file_activity_proto_depIdxs = []int32{ 1, // 0: topfans.activity.Activity.items:type_name -> topfans.activity.ActivityItem 1, // 1: topfans.activity.ActivityItemsResponse.items:type_name -> topfans.activity.ActivityItem 23, // 2: topfans.activity.PurchaseItemResponse.base:type_name -> topfans.common.BaseResponse 5, // 3: topfans.activity.BatchPurchaseItemRequest.items:type_name -> topfans.activity.PurchaseItem 23, // 4: topfans.activity.BatchPurchaseItemResponse.base:type_name -> topfans.common.BaseResponse 8, // 5: topfans.activity.BatchPurchaseItemResponse.fails:type_name -> topfans.activity.PurchaseFailItem 23, // 6: topfans.activity.ContributionRankingResponse.base:type_name -> topfans.common.BaseResponse 10, // 7: topfans.activity.ContributionRankingResponse.items:type_name -> topfans.activity.ContributionRankingItem 12, // 8: topfans.activity.ContributionRankingResponse.my_contribution:type_name -> topfans.activity.MyContribution 23, // 9: topfans.activity.GetActivityListResponse.base:type_name -> topfans.common.BaseResponse 0, // 10: topfans.activity.GetActivityListResponse.activities:type_name -> topfans.activity.Activity 23, // 11: topfans.activity.GetProgressResponse.base:type_name -> topfans.common.BaseResponse 23, // 12: topfans.activity.GetMintingActivitiesResponse.base:type_name -> topfans.common.BaseResponse 17, // 13: topfans.activity.GetMintingActivitiesResponse.activities:type_name -> topfans.activity.MintingActivity 23, // 14: topfans.activity.GetLatestContributionsResponse.base:type_name -> topfans.common.BaseResponse 21, // 15: topfans.activity.GetLatestContributionsResponse.records:type_name -> topfans.activity.ContributionRecord 13, // 16: topfans.activity.ActivityService.GetActivityList:input_type -> topfans.activity.GetActivityListRequest 15, // 17: topfans.activity.ActivityService.GetActivity:input_type -> topfans.activity.GetProgressRequest 15, // 18: topfans.activity.ActivityService.GetActivityItems:input_type -> topfans.activity.GetProgressRequest 15, // 19: topfans.activity.ActivityService.GetProgress:input_type -> topfans.activity.GetProgressRequest 3, // 20: topfans.activity.ActivityService.PurchaseItem:input_type -> topfans.activity.PurchaseItemRequest 6, // 21: topfans.activity.ActivityService.BatchPurchaseItem:input_type -> topfans.activity.BatchPurchaseItemRequest 9, // 22: topfans.activity.ActivityService.GetContributionRanking:input_type -> topfans.activity.ContributionRankingRequest 18, // 23: topfans.activity.ActivityService.GetMintingActivities:input_type -> topfans.activity.GetMintingActivitiesRequest 20, // 24: topfans.activity.ActivityService.GetLatestContributions:input_type -> topfans.activity.GetLatestContributionsRequest 14, // 25: topfans.activity.ActivityService.GetActivityList:output_type -> topfans.activity.GetActivityListResponse 0, // 26: topfans.activity.ActivityService.GetActivity:output_type -> topfans.activity.Activity 2, // 27: topfans.activity.ActivityService.GetActivityItems:output_type -> topfans.activity.ActivityItemsResponse 16, // 28: topfans.activity.ActivityService.GetProgress:output_type -> topfans.activity.GetProgressResponse 4, // 29: topfans.activity.ActivityService.PurchaseItem:output_type -> topfans.activity.PurchaseItemResponse 7, // 30: topfans.activity.ActivityService.BatchPurchaseItem:output_type -> topfans.activity.BatchPurchaseItemResponse 11, // 31: topfans.activity.ActivityService.GetContributionRanking:output_type -> topfans.activity.ContributionRankingResponse 19, // 32: topfans.activity.ActivityService.GetMintingActivities:output_type -> topfans.activity.GetMintingActivitiesResponse 22, // 33: topfans.activity.ActivityService.GetLatestContributions:output_type -> topfans.activity.GetLatestContributionsResponse 25, // [25:34] is the sub-list for method output_type 16, // [16:25] is the sub-list for method input_type 16, // [16:16] is the sub-list for extension type_name 16, // [16:16] is the sub-list for extension extendee 0, // [0:16] is the sub-list for field type_name } func init() { file_activity_proto_init() } func file_activity_proto_init() { if File_activity_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_activity_proto_rawDesc), len(file_activity_proto_rawDesc)), NumEnums: 0, NumMessages: 23, NumExtensions: 0, NumServices: 1, }, GoTypes: file_activity_proto_goTypes, DependencyIndexes: file_activity_proto_depIdxs, MessageInfos: file_activity_proto_msgTypes, }.Build() File_activity_proto = out.File file_activity_proto_goTypes = nil file_activity_proto_depIdxs = nil }