1111 lines
34 KiB
Go
1111 lines
34 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v7.34.0
|
||
// source: gallery.proto
|
||
|
||
package gallery
|
||
|
||
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 GetMyGalleryRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetMyGalleryRequest) Reset() {
|
||
*x = GetMyGalleryRequest{}
|
||
mi := &file_gallery_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMyGalleryRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMyGalleryRequest) ProtoMessage() {}
|
||
|
||
func (x *GetMyGalleryRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 GetMyGalleryRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetMyGalleryRequest) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
type GetMyGalleryResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
||
Data *GalleryData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetMyGalleryResponse) Reset() {
|
||
*x = GetMyGalleryResponse{}
|
||
mi := &file_gallery_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMyGalleryResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMyGalleryResponse) ProtoMessage() {}
|
||
|
||
func (x *GetMyGalleryResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 GetMyGalleryResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetMyGalleryResponse) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *GetMyGalleryResponse) GetBase() *common.BaseResponse {
|
||
if x != nil {
|
||
return x.Base
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetMyGalleryResponse) GetData() *GalleryData {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type GetUserGalleryRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TargetUid int64 `protobuf:"varint,1,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetUserGalleryRequest) Reset() {
|
||
*x = GetUserGalleryRequest{}
|
||
mi := &file_gallery_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserGalleryRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserGalleryRequest) ProtoMessage() {}
|
||
|
||
func (x *GetUserGalleryRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 GetUserGalleryRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetUserGalleryRequest) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *GetUserGalleryRequest) GetTargetUid() int64 {
|
||
if x != nil {
|
||
return x.TargetUid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetUserGalleryResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
||
Data *GalleryData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetUserGalleryResponse) Reset() {
|
||
*x = GetUserGalleryResponse{}
|
||
mi := &file_gallery_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserGalleryResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserGalleryResponse) ProtoMessage() {}
|
||
|
||
func (x *GetUserGalleryResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 GetUserGalleryResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetUserGalleryResponse) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *GetUserGalleryResponse) GetBase() *common.BaseResponse {
|
||
if x != nil {
|
||
return x.Base
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetUserGalleryResponse) GetData() *GalleryData {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type PlaceAssetRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
|
||
GalleryOwnerId int64 `protobuf:"varint,2,opt,name=gallery_owner_id,json=galleryOwnerId,proto3" json:"gallery_owner_id,omitempty"`
|
||
SlotId int64 `protobuf:"varint,3,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *PlaceAssetRequest) Reset() {
|
||
*x = PlaceAssetRequest{}
|
||
mi := &file_gallery_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *PlaceAssetRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PlaceAssetRequest) ProtoMessage() {}
|
||
|
||
func (x *PlaceAssetRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 PlaceAssetRequest.ProtoReflect.Descriptor instead.
|
||
func (*PlaceAssetRequest) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *PlaceAssetRequest) GetAssetId() int64 {
|
||
if x != nil {
|
||
return x.AssetId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PlaceAssetRequest) GetGalleryOwnerId() int64 {
|
||
if x != nil {
|
||
return x.GalleryOwnerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PlaceAssetRequest) GetSlotId() int64 {
|
||
if x != nil {
|
||
return x.SlotId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type PlaceAssetResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
||
Data *PlaceAssetData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *PlaceAssetResponse) Reset() {
|
||
*x = PlaceAssetResponse{}
|
||
mi := &file_gallery_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *PlaceAssetResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PlaceAssetResponse) ProtoMessage() {}
|
||
|
||
func (x *PlaceAssetResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 PlaceAssetResponse.ProtoReflect.Descriptor instead.
|
||
func (*PlaceAssetResponse) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *PlaceAssetResponse) GetBase() *common.BaseResponse {
|
||
if x != nil {
|
||
return x.Base
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *PlaceAssetResponse) GetData() *PlaceAssetData {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type UnlockSlotRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UnlockSlotRequest) Reset() {
|
||
*x = UnlockSlotRequest{}
|
||
mi := &file_gallery_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UnlockSlotRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UnlockSlotRequest) ProtoMessage() {}
|
||
|
||
func (x *UnlockSlotRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 UnlockSlotRequest.ProtoReflect.Descriptor instead.
|
||
func (*UnlockSlotRequest) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
type UnlockSlotResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
||
Data *UnlockSlotData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UnlockSlotResponse) Reset() {
|
||
*x = UnlockSlotResponse{}
|
||
mi := &file_gallery_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UnlockSlotResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UnlockSlotResponse) ProtoMessage() {}
|
||
|
||
func (x *UnlockSlotResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 UnlockSlotResponse.ProtoReflect.Descriptor instead.
|
||
func (*UnlockSlotResponse) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *UnlockSlotResponse) GetBase() *common.BaseResponse {
|
||
if x != nil {
|
||
return x.Base
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UnlockSlotResponse) GetData() *UnlockSlotData {
|
||
if x != nil {
|
||
return x.Data
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 数据模型
|
||
type GalleryData struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
GalleryOwnerId int64 `protobuf:"varint,1,opt,name=gallery_owner_id,json=galleryOwnerId,proto3" json:"gallery_owner_id,omitempty"`
|
||
SlotTotal int32 `protobuf:"varint,2,opt,name=slot_total,json=slotTotal,proto3" json:"slot_total,omitempty"`
|
||
Slots []*SlotInfo `protobuf:"bytes,3,rep,name=slots,proto3" json:"slots,omitempty"`
|
||
Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` // 展馆所有者昵称(从 fan_profiles 表获取)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GalleryData) Reset() {
|
||
*x = GalleryData{}
|
||
mi := &file_gallery_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GalleryData) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GalleryData) ProtoMessage() {}
|
||
|
||
func (x *GalleryData) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 GalleryData.ProtoReflect.Descriptor instead.
|
||
func (*GalleryData) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *GalleryData) GetGalleryOwnerId() int64 {
|
||
if x != nil {
|
||
return x.GalleryOwnerId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GalleryData) GetSlotTotal() int32 {
|
||
if x != nil {
|
||
return x.SlotTotal
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GalleryData) GetSlots() []*SlotInfo {
|
||
if x != nil {
|
||
return x.Slots
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GalleryData) GetNickname() string {
|
||
if x != nil {
|
||
return x.Nickname
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type SlotInfo struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SlotId int64 `protobuf:"varint,1,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"`
|
||
SlotIndex int32 `protobuf:"varint,2,opt,name=slot_index,json=slotIndex,proto3" json:"slot_index,omitempty"`
|
||
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // EMPTY, OCCUPIED, LOCKED
|
||
IsEnabled bool `protobuf:"varint,4,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
|
||
Asset *AssetInfo `protobuf:"bytes,5,opt,name=asset,proto3" json:"asset,omitempty"`
|
||
OccupierUid int64 `protobuf:"varint,6,opt,name=occupier_uid,json=occupierUid,proto3" json:"occupier_uid,omitempty"`
|
||
OccupiedAt int64 `protobuf:"varint,7,opt,name=occupied_at,json=occupiedAt,proto3" json:"occupied_at,omitempty"`
|
||
ExpireAt int64 `protobuf:"varint,8,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"`
|
||
UnlockCondition *UnlockCondition `protobuf:"bytes,9,opt,name=unlock_condition,json=unlockCondition,proto3" json:"unlock_condition,omitempty"`
|
||
Visibility string `protobuf:"bytes,10,opt,name=visibility,proto3" json:"visibility,omitempty"` // public / private
|
||
CanOperate bool `protobuf:"varint,11,opt,name=can_operate,json=canOperate,proto3" json:"can_operate,omitempty"` // 当前用户是否可以操作此展位
|
||
Operation string `protobuf:"bytes,12,opt,name=operation,proto3" json:"operation,omitempty"` // 操作类型: "place" | "remove" | "none"
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SlotInfo) Reset() {
|
||
*x = SlotInfo{}
|
||
mi := &file_gallery_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SlotInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SlotInfo) ProtoMessage() {}
|
||
|
||
func (x *SlotInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 SlotInfo.ProtoReflect.Descriptor instead.
|
||
func (*SlotInfo) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *SlotInfo) GetSlotId() int64 {
|
||
if x != nil {
|
||
return x.SlotId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SlotInfo) GetSlotIndex() int32 {
|
||
if x != nil {
|
||
return x.SlotIndex
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SlotInfo) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SlotInfo) GetIsEnabled() bool {
|
||
if x != nil {
|
||
return x.IsEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SlotInfo) GetAsset() *AssetInfo {
|
||
if x != nil {
|
||
return x.Asset
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SlotInfo) GetOccupierUid() int64 {
|
||
if x != nil {
|
||
return x.OccupierUid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SlotInfo) GetOccupiedAt() int64 {
|
||
if x != nil {
|
||
return x.OccupiedAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SlotInfo) GetExpireAt() int64 {
|
||
if x != nil {
|
||
return x.ExpireAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SlotInfo) GetUnlockCondition() *UnlockCondition {
|
||
if x != nil {
|
||
return x.UnlockCondition
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SlotInfo) GetVisibility() string {
|
||
if x != nil {
|
||
return x.Visibility
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SlotInfo) GetCanOperate() bool {
|
||
if x != nil {
|
||
return x.CanOperate
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SlotInfo) GetOperation() string {
|
||
if x != nil {
|
||
return x.Operation
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type AssetInfo struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
|
||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
CoverUrl string `protobuf:"bytes,3,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"`
|
||
LikeCount int32 `protobuf:"varint,4,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"`
|
||
RemainTime int64 `protobuf:"varint,5,opt,name=remain_time,json=remainTime,proto3" json:"remain_time,omitempty"` // 剩余时间(秒)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AssetInfo) Reset() {
|
||
*x = AssetInfo{}
|
||
mi := &file_gallery_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AssetInfo) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AssetInfo) ProtoMessage() {}
|
||
|
||
func (x *AssetInfo) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 AssetInfo.ProtoReflect.Descriptor instead.
|
||
func (*AssetInfo) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *AssetInfo) GetAssetId() int64 {
|
||
if x != nil {
|
||
return x.AssetId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AssetInfo) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AssetInfo) GetCoverUrl() string {
|
||
if x != nil {
|
||
return x.CoverUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AssetInfo) GetLikeCount() int32 {
|
||
if x != nil {
|
||
return x.LikeCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AssetInfo) GetRemainTime() int64 {
|
||
if x != nil {
|
||
return x.RemainTime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type UnlockCondition struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // level, crystal
|
||
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UnlockCondition) Reset() {
|
||
*x = UnlockCondition{}
|
||
mi := &file_gallery_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UnlockCondition) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UnlockCondition) ProtoMessage() {}
|
||
|
||
func (x *UnlockCondition) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 UnlockCondition.ProtoReflect.Descriptor instead.
|
||
func (*UnlockCondition) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *UnlockCondition) GetType() string {
|
||
if x != nil {
|
||
return x.Type
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UnlockCondition) GetValue() int32 {
|
||
if x != nil {
|
||
return x.Value
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type PlaceAssetData struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // OCCUPIED
|
||
OccupiedUntil string `protobuf:"bytes,2,opt,name=occupied_until,json=occupiedUntil,proto3" json:"occupied_until,omitempty"` // ISO 8601格式
|
||
OccupierUid int64 `protobuf:"varint,3,opt,name=occupier_uid,json=occupierUid,proto3" json:"occupier_uid,omitempty"` // 占位者用户ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *PlaceAssetData) Reset() {
|
||
*x = PlaceAssetData{}
|
||
mi := &file_gallery_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *PlaceAssetData) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PlaceAssetData) ProtoMessage() {}
|
||
|
||
func (x *PlaceAssetData) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 PlaceAssetData.ProtoReflect.Descriptor instead.
|
||
func (*PlaceAssetData) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *PlaceAssetData) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *PlaceAssetData) GetOccupiedUntil() string {
|
||
if x != nil {
|
||
return x.OccupiedUntil
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *PlaceAssetData) GetOccupierUid() int64 {
|
||
if x != nil {
|
||
return x.OccupierUid
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type UnlockSlotData struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SlotTotal int32 `protobuf:"varint,1,opt,name=slot_total,json=slotTotal,proto3" json:"slot_total,omitempty"` // 展位总数
|
||
CrystalBalance int64 `protobuf:"varint,2,opt,name=crystal_balance,json=crystalBalance,proto3" json:"crystal_balance,omitempty"` // 水晶余额(如果使用水晶购买,显示扣除后的余额)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UnlockSlotData) Reset() {
|
||
*x = UnlockSlotData{}
|
||
mi := &file_gallery_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UnlockSlotData) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UnlockSlotData) ProtoMessage() {}
|
||
|
||
func (x *UnlockSlotData) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 UnlockSlotData.ProtoReflect.Descriptor instead.
|
||
func (*UnlockSlotData) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *UnlockSlotData) GetSlotTotal() int32 {
|
||
if x != nil {
|
||
return x.SlotTotal
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UnlockSlotData) GetCrystalBalance() int64 {
|
||
if x != nil {
|
||
return x.CrystalBalance
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 从展位移除资产请求
|
||
type RemoveFromSlotRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
SlotId int64 `protobuf:"varint,1,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"` // 展位ID(必填)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RemoveFromSlotRequest) Reset() {
|
||
*x = RemoveFromSlotRequest{}
|
||
mi := &file_gallery_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RemoveFromSlotRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RemoveFromSlotRequest) ProtoMessage() {}
|
||
|
||
func (x *RemoveFromSlotRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 RemoveFromSlotRequest.ProtoReflect.Descriptor instead.
|
||
func (*RemoveFromSlotRequest) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *RemoveFromSlotRequest) GetSlotId() int64 {
|
||
if x != nil {
|
||
return x.SlotId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 从展位移除资产响应
|
||
type RemoveFromSlotResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RemoveFromSlotResponse) Reset() {
|
||
*x = RemoveFromSlotResponse{}
|
||
mi := &file_gallery_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RemoveFromSlotResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RemoveFromSlotResponse) ProtoMessage() {}
|
||
|
||
func (x *RemoveFromSlotResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_gallery_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 RemoveFromSlotResponse.ProtoReflect.Descriptor instead.
|
||
func (*RemoveFromSlotResponse) Descriptor() ([]byte, []int) {
|
||
return file_gallery_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *RemoveFromSlotResponse) GetBase() *common.BaseResponse {
|
||
if x != nil {
|
||
return x.Base
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_gallery_proto protoreflect.FileDescriptor
|
||
|
||
const file_gallery_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\rgallery.proto\x12\x0ftopfans.gallery\x1a\x1cgoogle/api/annotations.proto\x1a\x12proto/common.proto\"\x15\n" +
|
||
"\x13GetMyGalleryRequest\"z\n" +
|
||
"\x14GetMyGalleryResponse\x120\n" +
|
||
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x120\n" +
|
||
"\x04data\x18\x02 \x01(\v2\x1c.topfans.gallery.GalleryDataR\x04data\"6\n" +
|
||
"\x15GetUserGalleryRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"target_uid\x18\x01 \x01(\x03R\ttargetUid\"|\n" +
|
||
"\x16GetUserGalleryResponse\x120\n" +
|
||
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x120\n" +
|
||
"\x04data\x18\x02 \x01(\v2\x1c.topfans.gallery.GalleryDataR\x04data\"q\n" +
|
||
"\x11PlaceAssetRequest\x12\x19\n" +
|
||
"\basset_id\x18\x01 \x01(\x03R\aassetId\x12(\n" +
|
||
"\x10gallery_owner_id\x18\x02 \x01(\x03R\x0egalleryOwnerId\x12\x17\n" +
|
||
"\aslot_id\x18\x03 \x01(\x03R\x06slotId\"{\n" +
|
||
"\x12PlaceAssetResponse\x120\n" +
|
||
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x123\n" +
|
||
"\x04data\x18\x02 \x01(\v2\x1f.topfans.gallery.PlaceAssetDataR\x04data\"\x13\n" +
|
||
"\x11UnlockSlotRequest\"{\n" +
|
||
"\x12UnlockSlotResponse\x120\n" +
|
||
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x123\n" +
|
||
"\x04data\x18\x02 \x01(\v2\x1f.topfans.gallery.UnlockSlotDataR\x04data\"\xa3\x01\n" +
|
||
"\vGalleryData\x12(\n" +
|
||
"\x10gallery_owner_id\x18\x01 \x01(\x03R\x0egalleryOwnerId\x12\x1d\n" +
|
||
"\n" +
|
||
"slot_total\x18\x02 \x01(\x05R\tslotTotal\x12/\n" +
|
||
"\x05slots\x18\x03 \x03(\v2\x19.topfans.gallery.SlotInfoR\x05slots\x12\x1a\n" +
|
||
"\bnickname\x18\x04 \x01(\tR\bnickname\"\xb8\x03\n" +
|
||
"\bSlotInfo\x12\x17\n" +
|
||
"\aslot_id\x18\x01 \x01(\x03R\x06slotId\x12\x1d\n" +
|
||
"\n" +
|
||
"slot_index\x18\x02 \x01(\x05R\tslotIndex\x12\x16\n" +
|
||
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1d\n" +
|
||
"\n" +
|
||
"is_enabled\x18\x04 \x01(\bR\tisEnabled\x120\n" +
|
||
"\x05asset\x18\x05 \x01(\v2\x1a.topfans.gallery.AssetInfoR\x05asset\x12!\n" +
|
||
"\foccupier_uid\x18\x06 \x01(\x03R\voccupierUid\x12\x1f\n" +
|
||
"\voccupied_at\x18\a \x01(\x03R\n" +
|
||
"occupiedAt\x12\x1b\n" +
|
||
"\texpire_at\x18\b \x01(\x03R\bexpireAt\x12K\n" +
|
||
"\x10unlock_condition\x18\t \x01(\v2 .topfans.gallery.UnlockConditionR\x0funlockCondition\x12\x1e\n" +
|
||
"\n" +
|
||
"visibility\x18\n" +
|
||
" \x01(\tR\n" +
|
||
"visibility\x12\x1f\n" +
|
||
"\vcan_operate\x18\v \x01(\bR\n" +
|
||
"canOperate\x12\x1c\n" +
|
||
"\toperation\x18\f \x01(\tR\toperation\"\x97\x01\n" +
|
||
"\tAssetInfo\x12\x19\n" +
|
||
"\basset_id\x18\x01 \x01(\x03R\aassetId\x12\x12\n" +
|
||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" +
|
||
"\tcover_url\x18\x03 \x01(\tR\bcoverUrl\x12\x1d\n" +
|
||
"\n" +
|
||
"like_count\x18\x04 \x01(\x05R\tlikeCount\x12\x1f\n" +
|
||
"\vremain_time\x18\x05 \x01(\x03R\n" +
|
||
"remainTime\";\n" +
|
||
"\x0fUnlockCondition\x12\x12\n" +
|
||
"\x04type\x18\x01 \x01(\tR\x04type\x12\x14\n" +
|
||
"\x05value\x18\x02 \x01(\x05R\x05value\"r\n" +
|
||
"\x0ePlaceAssetData\x12\x16\n" +
|
||
"\x06status\x18\x01 \x01(\tR\x06status\x12%\n" +
|
||
"\x0eoccupied_until\x18\x02 \x01(\tR\roccupiedUntil\x12!\n" +
|
||
"\foccupier_uid\x18\x03 \x01(\x03R\voccupierUid\"X\n" +
|
||
"\x0eUnlockSlotData\x12\x1d\n" +
|
||
"\n" +
|
||
"slot_total\x18\x01 \x01(\x05R\tslotTotal\x12'\n" +
|
||
"\x0fcrystal_balance\x18\x02 \x01(\x03R\x0ecrystalBalance\"0\n" +
|
||
"\x15RemoveFromSlotRequest\x12\x17\n" +
|
||
"\aslot_id\x18\x01 \x01(\x03R\x06slotId\"J\n" +
|
||
"\x16RemoveFromSlotResponse\x120\n" +
|
||
"\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base2\x99\x05\n" +
|
||
"\x0eGalleryService\x12u\n" +
|
||
"\fGetMyGallery\x12$.topfans.gallery.GetMyGalleryRequest\x1a%.topfans.gallery.GetMyGalleryResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/api/mygalleries\x12\x86\x01\n" +
|
||
"\x0eGetUserGallery\x12&.topfans.gallery.GetUserGalleryRequest\x1a'.topfans.gallery.GetUserGalleryResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/galleries/{target_uid}\x12v\n" +
|
||
"\n" +
|
||
"PlaceAsset\x12\".topfans.gallery.PlaceAssetRequest\x1a#.topfans.gallery.PlaceAssetResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/galleries/place\x12}\n" +
|
||
"\n" +
|
||
"UnlockSlot\x12\".topfans.gallery.UnlockSlotRequest\x1a#.topfans.gallery.UnlockSlotResponse\"&\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/api/galleries/slots_unlock\x12\x8f\x01\n" +
|
||
"\x0eRemoveFromSlot\x12&.topfans.gallery.RemoveFromSlotRequest\x1a'.topfans.gallery.RemoveFromSlotResponse\",\x82\xd3\xe4\x93\x02&*$/api/galleries/slots/{slot_id}/assetB6Z4github.com/topfans/backend/pkg/proto/gallery;galleryb\x06proto3"
|
||
|
||
var (
|
||
file_gallery_proto_rawDescOnce sync.Once
|
||
file_gallery_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_gallery_proto_rawDescGZIP() []byte {
|
||
file_gallery_proto_rawDescOnce.Do(func() {
|
||
file_gallery_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_gallery_proto_rawDesc), len(file_gallery_proto_rawDesc)))
|
||
})
|
||
return file_gallery_proto_rawDescData
|
||
}
|
||
|
||
var file_gallery_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||
var file_gallery_proto_goTypes = []any{
|
||
(*GetMyGalleryRequest)(nil), // 0: topfans.gallery.GetMyGalleryRequest
|
||
(*GetMyGalleryResponse)(nil), // 1: topfans.gallery.GetMyGalleryResponse
|
||
(*GetUserGalleryRequest)(nil), // 2: topfans.gallery.GetUserGalleryRequest
|
||
(*GetUserGalleryResponse)(nil), // 3: topfans.gallery.GetUserGalleryResponse
|
||
(*PlaceAssetRequest)(nil), // 4: topfans.gallery.PlaceAssetRequest
|
||
(*PlaceAssetResponse)(nil), // 5: topfans.gallery.PlaceAssetResponse
|
||
(*UnlockSlotRequest)(nil), // 6: topfans.gallery.UnlockSlotRequest
|
||
(*UnlockSlotResponse)(nil), // 7: topfans.gallery.UnlockSlotResponse
|
||
(*GalleryData)(nil), // 8: topfans.gallery.GalleryData
|
||
(*SlotInfo)(nil), // 9: topfans.gallery.SlotInfo
|
||
(*AssetInfo)(nil), // 10: topfans.gallery.AssetInfo
|
||
(*UnlockCondition)(nil), // 11: topfans.gallery.UnlockCondition
|
||
(*PlaceAssetData)(nil), // 12: topfans.gallery.PlaceAssetData
|
||
(*UnlockSlotData)(nil), // 13: topfans.gallery.UnlockSlotData
|
||
(*RemoveFromSlotRequest)(nil), // 14: topfans.gallery.RemoveFromSlotRequest
|
||
(*RemoveFromSlotResponse)(nil), // 15: topfans.gallery.RemoveFromSlotResponse
|
||
(*common.BaseResponse)(nil), // 16: topfans.common.BaseResponse
|
||
}
|
||
var file_gallery_proto_depIdxs = []int32{
|
||
16, // 0: topfans.gallery.GetMyGalleryResponse.base:type_name -> topfans.common.BaseResponse
|
||
8, // 1: topfans.gallery.GetMyGalleryResponse.data:type_name -> topfans.gallery.GalleryData
|
||
16, // 2: topfans.gallery.GetUserGalleryResponse.base:type_name -> topfans.common.BaseResponse
|
||
8, // 3: topfans.gallery.GetUserGalleryResponse.data:type_name -> topfans.gallery.GalleryData
|
||
16, // 4: topfans.gallery.PlaceAssetResponse.base:type_name -> topfans.common.BaseResponse
|
||
12, // 5: topfans.gallery.PlaceAssetResponse.data:type_name -> topfans.gallery.PlaceAssetData
|
||
16, // 6: topfans.gallery.UnlockSlotResponse.base:type_name -> topfans.common.BaseResponse
|
||
13, // 7: topfans.gallery.UnlockSlotResponse.data:type_name -> topfans.gallery.UnlockSlotData
|
||
9, // 8: topfans.gallery.GalleryData.slots:type_name -> topfans.gallery.SlotInfo
|
||
10, // 9: topfans.gallery.SlotInfo.asset:type_name -> topfans.gallery.AssetInfo
|
||
11, // 10: topfans.gallery.SlotInfo.unlock_condition:type_name -> topfans.gallery.UnlockCondition
|
||
16, // 11: topfans.gallery.RemoveFromSlotResponse.base:type_name -> topfans.common.BaseResponse
|
||
0, // 12: topfans.gallery.GalleryService.GetMyGallery:input_type -> topfans.gallery.GetMyGalleryRequest
|
||
2, // 13: topfans.gallery.GalleryService.GetUserGallery:input_type -> topfans.gallery.GetUserGalleryRequest
|
||
4, // 14: topfans.gallery.GalleryService.PlaceAsset:input_type -> topfans.gallery.PlaceAssetRequest
|
||
6, // 15: topfans.gallery.GalleryService.UnlockSlot:input_type -> topfans.gallery.UnlockSlotRequest
|
||
14, // 16: topfans.gallery.GalleryService.RemoveFromSlot:input_type -> topfans.gallery.RemoveFromSlotRequest
|
||
1, // 17: topfans.gallery.GalleryService.GetMyGallery:output_type -> topfans.gallery.GetMyGalleryResponse
|
||
3, // 18: topfans.gallery.GalleryService.GetUserGallery:output_type -> topfans.gallery.GetUserGalleryResponse
|
||
5, // 19: topfans.gallery.GalleryService.PlaceAsset:output_type -> topfans.gallery.PlaceAssetResponse
|
||
7, // 20: topfans.gallery.GalleryService.UnlockSlot:output_type -> topfans.gallery.UnlockSlotResponse
|
||
15, // 21: topfans.gallery.GalleryService.RemoveFromSlot:output_type -> topfans.gallery.RemoveFromSlotResponse
|
||
17, // [17:22] is the sub-list for method output_type
|
||
12, // [12:17] is the sub-list for method input_type
|
||
12, // [12:12] is the sub-list for extension type_name
|
||
12, // [12:12] is the sub-list for extension extendee
|
||
0, // [0:12] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_gallery_proto_init() }
|
||
func file_gallery_proto_init() {
|
||
if File_gallery_proto != nil {
|
||
return
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_gallery_proto_rawDesc), len(file_gallery_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 16,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_gallery_proto_goTypes,
|
||
DependencyIndexes: file_gallery_proto_depIdxs,
|
||
MessageInfos: file_gallery_proto_msgTypes,
|
||
}.Build()
|
||
File_gallery_proto = out.File
|
||
file_gallery_proto_goTypes = nil
|
||
file_gallery_proto_depIdxs = nil
|
||
}
|