// message结构的属性名请使用 驼峰小写字母开始 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.8 // protoc v6.31.1 // source: exchange.proto package pb import ( 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 ExchangeDetailList struct { state protoimpl.MessageState `protogen:"open.v1"` // 商品列表 List []*ExchangeDetail `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // 总数量(分页查询会返回) Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 当前页码(分页查询会返回) PageNum int32 `protobuf:"varint,3,opt,name=pageNum,proto3" json:"pageNum,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExchangeDetailList) Reset() { *x = ExchangeDetailList{} mi := &file_exchange_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExchangeDetailList) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExchangeDetailList) ProtoMessage() {} func (x *ExchangeDetailList) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 ExchangeDetailList.ProtoReflect.Descriptor instead. func (*ExchangeDetailList) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{0} } func (x *ExchangeDetailList) GetList() []*ExchangeDetail { if x != nil { return x.List } return nil } func (x *ExchangeDetailList) GetTotal() int32 { if x != nil { return x.Total } return 0 } func (x *ExchangeDetailList) GetPageNum() int32 { if x != nil { return x.PageNum } return 0 } // 玩家交易所商品信息 type MyExchangeItems struct { state protoimpl.MessageState `protogen:"open.v1"` // 交易类型 1:出售 2:求购 ActType int32 `protobuf:"varint,1,opt,name=actType,proto3" json:"actType,omitempty"` // 已解锁的货柜个数 UnlockedSlots int32 `protobuf:"varint,2,opt,name=unlockedSlots,proto3" json:"unlockedSlots,omitempty"` // 商品列表 List []*ExchangeDetail `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MyExchangeItems) Reset() { *x = MyExchangeItems{} mi := &file_exchange_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MyExchangeItems) String() string { return protoimpl.X.MessageStringOf(x) } func (*MyExchangeItems) ProtoMessage() {} func (x *MyExchangeItems) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 MyExchangeItems.ProtoReflect.Descriptor instead. func (*MyExchangeItems) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{1} } func (x *MyExchangeItems) GetActType() int32 { if x != nil { return x.ActType } return 0 } func (x *MyExchangeItems) GetUnlockedSlots() int32 { if x != nil { return x.UnlockedSlots } return 0 } func (x *MyExchangeItems) GetList() []*ExchangeDetail { if x != nil { return x.List } return nil } // 交易商品详情 type ExchangeDetail struct { state protoimpl.MessageState `protogen:"open.v1"` // 流水号 TransactionID string `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"` // 交易类型 1:出售 2:求购 ActType int32 `protobuf:"varint,2,opt,name=actType,proto3" json:"actType,omitempty"` // 商品 Asset *Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` // 单价 Price int32 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"` // 交易状态 0:待上架 1:已上架 2:已下架 3:已成交 4:已取回 Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // 下架时间(毫秒) CanceledTime int64 `protobuf:"varint,6,opt,name=canceledTime,proto3" json:"canceledTime,omitempty"` // 玩家ID(可以判断是否是自己发布的商品) PlayerID int64 `protobuf:"varint,7,opt,name=playerID,proto3" json:"playerID,omitempty"` // 装备详情 EquipDetail *ExchangeEquipDetail `protobuf:"bytes,8,opt,name=equipDetail,proto3" json:"equipDetail,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExchangeDetail) Reset() { *x = ExchangeDetail{} mi := &file_exchange_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExchangeDetail) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExchangeDetail) ProtoMessage() {} func (x *ExchangeDetail) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 ExchangeDetail.ProtoReflect.Descriptor instead. func (*ExchangeDetail) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{2} } func (x *ExchangeDetail) GetTransactionID() string { if x != nil { return x.TransactionID } return "" } func (x *ExchangeDetail) GetActType() int32 { if x != nil { return x.ActType } return 0 } func (x *ExchangeDetail) GetAsset() *Asset { if x != nil { return x.Asset } return nil } func (x *ExchangeDetail) GetPrice() int32 { if x != nil { return x.Price } return 0 } func (x *ExchangeDetail) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *ExchangeDetail) GetCanceledTime() int64 { if x != nil { return x.CanceledTime } return 0 } func (x *ExchangeDetail) GetPlayerID() int64 { if x != nil { return x.PlayerID } return 0 } func (x *ExchangeDetail) GetEquipDetail() *ExchangeEquipDetail { if x != nil { return x.EquipDetail } return nil } // 交易装备详情 // TODO 装备的信息后面再补充 type ExchangeEquipDetail struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExchangeEquipDetail) Reset() { *x = ExchangeEquipDetail{} mi := &file_exchange_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExchangeEquipDetail) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExchangeEquipDetail) ProtoMessage() {} func (x *ExchangeEquipDetail) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 ExchangeEquipDetail.ProtoReflect.Descriptor instead. func (*ExchangeEquipDetail) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{3} } // 查询筛选条件 type ExchangeQueryFilter struct { state protoimpl.MessageState `protogen:"open.v1"` // 页码 PageNum int32 `protobuf:"varint,1,opt,name=pageNum,proto3" json:"pageNum,omitempty"` // 物品ID ItemIDList []int32 `protobuf:"varint,2,rep,packed,name=itemIDList,proto3" json:"itemIDList,omitempty"` // 类型(道具表二级类型) SubTypeList []int32 `protobuf:"varint,3,rep,packed,name=subTypeList,proto3" json:"subTypeList,omitempty"` // 品质 QualityList []int32 `protobuf:"varint,4,rep,packed,name=qualityList,proto3" json:"qualityList,omitempty"` // 排序规则互斥 默认按时间降序排序 // 按单价排序 0:不排序 1:升序 2:降序 PriceSort int32 `protobuf:"varint,10,opt,name=priceSort,proto3" json:"priceSort,omitempty"` // 按数量排序 0:不排序 1:升序 2:降序 CountSort int32 `protobuf:"varint,11,opt,name=countSort,proto3" json:"countSort,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExchangeQueryFilter) Reset() { *x = ExchangeQueryFilter{} mi := &file_exchange_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExchangeQueryFilter) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExchangeQueryFilter) ProtoMessage() {} func (x *ExchangeQueryFilter) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 ExchangeQueryFilter.ProtoReflect.Descriptor instead. func (*ExchangeQueryFilter) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{4} } func (x *ExchangeQueryFilter) GetPageNum() int32 { if x != nil { return x.PageNum } return 0 } func (x *ExchangeQueryFilter) GetItemIDList() []int32 { if x != nil { return x.ItemIDList } return nil } func (x *ExchangeQueryFilter) GetSubTypeList() []int32 { if x != nil { return x.SubTypeList } return nil } func (x *ExchangeQueryFilter) GetQualityList() []int32 { if x != nil { return x.QualityList } return nil } func (x *ExchangeQueryFilter) GetPriceSort() int32 { if x != nil { return x.PriceSort } return 0 } func (x *ExchangeQueryFilter) GetCountSort() int32 { if x != nil { return x.CountSort } return 0 } // 交易物品 type ExchangeItem struct { state protoimpl.MessageState `protogen:"open.v1"` // 交易类型 1:出售 2:求购 ActType int32 `protobuf:"varint,1,opt,name=actType,proto3" json:"actType,omitempty"` // 物品信息 Asset *Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` // 单价 Price int32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExchangeItem) Reset() { *x = ExchangeItem{} mi := &file_exchange_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExchangeItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExchangeItem) ProtoMessage() {} func (x *ExchangeItem) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 ExchangeItem.ProtoReflect.Descriptor instead. func (*ExchangeItem) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{5} } func (x *ExchangeItem) GetActType() int32 { if x != nil { return x.ActType } return 0 } func (x *ExchangeItem) GetAsset() *Asset { if x != nil { return x.Asset } return nil } func (x *ExchangeItem) GetPrice() int32 { if x != nil { return x.Price } return 0 } // 出售装备 type ExchangeEquipSell struct { state protoimpl.MessageState `protogen:"open.v1"` // 装备详情 EquipDetail *ExchangeEquipDetail `protobuf:"bytes,1,opt,name=equipDetail,proto3" json:"equipDetail,omitempty"` // 价格 Price int32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExchangeEquipSell) Reset() { *x = ExchangeEquipSell{} mi := &file_exchange_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExchangeEquipSell) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExchangeEquipSell) ProtoMessage() {} func (x *ExchangeEquipSell) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 ExchangeEquipSell.ProtoReflect.Descriptor instead. func (*ExchangeEquipSell) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{6} } func (x *ExchangeEquipSell) GetEquipDetail() *ExchangeEquipDetail { if x != nil { return x.EquipDetail } return nil } func (x *ExchangeEquipSell) GetPrice() int32 { if x != nil { return x.Price } return 0 } // 交易日志列表 type ExchangeLogList struct { state protoimpl.MessageState `protogen:"open.v1"` List []*ExchangeLog `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExchangeLogList) Reset() { *x = ExchangeLogList{} mi := &file_exchange_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExchangeLogList) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExchangeLogList) ProtoMessage() {} func (x *ExchangeLogList) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 ExchangeLogList.ProtoReflect.Descriptor instead. func (*ExchangeLogList) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{7} } func (x *ExchangeLogList) GetList() []*ExchangeLog { if x != nil { return x.List } return nil } // 交易日志 type ExchangeLog struct { state protoimpl.MessageState `protogen:"open.v1"` // 日志ID LogID int64 `protobuf:"varint,1,opt,name=LogID,proto3" json:"LogID,omitempty"` // 日志类型 1:购买 2:出售 LogType int32 `protobuf:"varint,2,opt,name=LogType,proto3" json:"LogType,omitempty"` // 商品 Asset *Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` // 单价 Price int32 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"` // 手续费 Fee int32 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"` // 交易时间(单位:毫秒) Time int64 `protobuf:"varint,6,opt,name=time,proto3" json:"time,omitempty"` // 装备详情 EquipDetail *ExchangeEquipDetail `protobuf:"bytes,10,opt,name=equipDetail,proto3" json:"equipDetail,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExchangeLog) Reset() { *x = ExchangeLog{} mi := &file_exchange_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExchangeLog) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExchangeLog) ProtoMessage() {} func (x *ExchangeLog) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 ExchangeLog.ProtoReflect.Descriptor instead. func (*ExchangeLog) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{8} } func (x *ExchangeLog) GetLogID() int64 { if x != nil { return x.LogID } return 0 } func (x *ExchangeLog) GetLogType() int32 { if x != nil { return x.LogType } return 0 } func (x *ExchangeLog) GetAsset() *Asset { if x != nil { return x.Asset } return nil } func (x *ExchangeLog) GetPrice() int32 { if x != nil { return x.Price } return 0 } func (x *ExchangeLog) GetFee() int32 { if x != nil { return x.Fee } return 0 } func (x *ExchangeLog) GetTime() int64 { if x != nil { return x.Time } return 0 } func (x *ExchangeLog) GetEquipDetail() *ExchangeEquipDetail { if x != nil { return x.EquipDetail } return nil } // 购买商品的结果 type ExchangeBuyResult struct { state protoimpl.MessageState `protogen:"open.v1"` // 状态码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 商品详情 Detail *ExchangeDetail `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExchangeBuyResult) Reset() { *x = ExchangeBuyResult{} mi := &file_exchange_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExchangeBuyResult) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExchangeBuyResult) ProtoMessage() {} func (x *ExchangeBuyResult) ProtoReflect() protoreflect.Message { mi := &file_exchange_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 ExchangeBuyResult.ProtoReflect.Descriptor instead. func (*ExchangeBuyResult) Descriptor() ([]byte, []int) { return file_exchange_proto_rawDescGZIP(), []int{9} } func (x *ExchangeBuyResult) GetCode() int32 { if x != nil { return x.Code } return 0 } func (x *ExchangeBuyResult) GetDetail() *ExchangeDetail { if x != nil { return x.Detail } return nil } var File_exchange_proto protoreflect.FileDescriptor const file_exchange_proto_rawDesc = "" + "\n" + "\x0eexchange.proto\x12\x02pb\x1a\x0fbase_type.proto\"l\n" + "\x12ExchangeDetailList\x12&\n" + "\x04list\x18\x01 \x03(\v2\x12.pb.ExchangeDetailR\x04list\x12\x14\n" + "\x05total\x18\x02 \x01(\x05R\x05total\x12\x18\n" + "\apageNum\x18\x03 \x01(\x05R\apageNum\"y\n" + "\x0fMyExchangeItems\x12\x18\n" + "\aactType\x18\x01 \x01(\x05R\aactType\x12$\n" + "\runlockedSlots\x18\x02 \x01(\x05R\runlockedSlots\x12&\n" + "\x04list\x18\x03 \x03(\v2\x12.pb.ExchangeDetailR\x04list\"\x9a\x02\n" + "\x0eExchangeDetail\x12$\n" + "\rtransactionID\x18\x01 \x01(\tR\rtransactionID\x12\x18\n" + "\aactType\x18\x02 \x01(\x05R\aactType\x12\x1f\n" + "\x05asset\x18\x03 \x01(\v2\t.pb.AssetR\x05asset\x12\x14\n" + "\x05price\x18\x04 \x01(\x05R\x05price\x12\x16\n" + "\x06status\x18\x05 \x01(\x05R\x06status\x12\"\n" + "\fcanceledTime\x18\x06 \x01(\x03R\fcanceledTime\x12\x1a\n" + "\bplayerID\x18\a \x01(\x03R\bplayerID\x129\n" + "\vequipDetail\x18\b \x01(\v2\x17.pb.ExchangeEquipDetailR\vequipDetail\"\x15\n" + "\x13ExchangeEquipDetail\"\xcf\x01\n" + "\x13ExchangeQueryFilter\x12\x18\n" + "\apageNum\x18\x01 \x01(\x05R\apageNum\x12\x1e\n" + "\n" + "itemIDList\x18\x02 \x03(\x05R\n" + "itemIDList\x12 \n" + "\vsubTypeList\x18\x03 \x03(\x05R\vsubTypeList\x12 \n" + "\vqualityList\x18\x04 \x03(\x05R\vqualityList\x12\x1c\n" + "\tpriceSort\x18\n" + " \x01(\x05R\tpriceSort\x12\x1c\n" + "\tcountSort\x18\v \x01(\x05R\tcountSort\"_\n" + "\fExchangeItem\x12\x18\n" + "\aactType\x18\x01 \x01(\x05R\aactType\x12\x1f\n" + "\x05asset\x18\x02 \x01(\v2\t.pb.AssetR\x05asset\x12\x14\n" + "\x05price\x18\x03 \x01(\x05R\x05price\"d\n" + "\x11ExchangeEquipSell\x129\n" + "\vequipDetail\x18\x01 \x01(\v2\x17.pb.ExchangeEquipDetailR\vequipDetail\x12\x14\n" + "\x05price\x18\x02 \x01(\x05R\x05price\"6\n" + "\x0fExchangeLogList\x12#\n" + "\x04list\x18\x01 \x03(\v2\x0f.pb.ExchangeLogR\x04list\"\xd5\x01\n" + "\vExchangeLog\x12\x14\n" + "\x05LogID\x18\x01 \x01(\x03R\x05LogID\x12\x18\n" + "\aLogType\x18\x02 \x01(\x05R\aLogType\x12\x1f\n" + "\x05asset\x18\x03 \x01(\v2\t.pb.AssetR\x05asset\x12\x14\n" + "\x05price\x18\x04 \x01(\x05R\x05price\x12\x10\n" + "\x03fee\x18\x05 \x01(\x05R\x03fee\x12\x12\n" + "\x04time\x18\x06 \x01(\x03R\x04time\x129\n" + "\vequipDetail\x18\n" + " \x01(\v2\x17.pb.ExchangeEquipDetailR\vequipDetail\"S\n" + "\x11ExchangeBuyResult\x12\x12\n" + "\x04code\x18\x01 \x01(\x05R\x04code\x12*\n" + "\x06detail\x18\x02 \x01(\v2\x12.pb.ExchangeDetailR\x06detailB\x05Z\x03/pbb\x06proto3" var ( file_exchange_proto_rawDescOnce sync.Once file_exchange_proto_rawDescData []byte ) func file_exchange_proto_rawDescGZIP() []byte { file_exchange_proto_rawDescOnce.Do(func() { file_exchange_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_exchange_proto_rawDesc), len(file_exchange_proto_rawDesc))) }) return file_exchange_proto_rawDescData } var file_exchange_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_exchange_proto_goTypes = []any{ (*ExchangeDetailList)(nil), // 0: pb.ExchangeDetailList (*MyExchangeItems)(nil), // 1: pb.MyExchangeItems (*ExchangeDetail)(nil), // 2: pb.ExchangeDetail (*ExchangeEquipDetail)(nil), // 3: pb.ExchangeEquipDetail (*ExchangeQueryFilter)(nil), // 4: pb.ExchangeQueryFilter (*ExchangeItem)(nil), // 5: pb.ExchangeItem (*ExchangeEquipSell)(nil), // 6: pb.ExchangeEquipSell (*ExchangeLogList)(nil), // 7: pb.ExchangeLogList (*ExchangeLog)(nil), // 8: pb.ExchangeLog (*ExchangeBuyResult)(nil), // 9: pb.ExchangeBuyResult (*Asset)(nil), // 10: pb.Asset } var file_exchange_proto_depIdxs = []int32{ 2, // 0: pb.ExchangeDetailList.list:type_name -> pb.ExchangeDetail 2, // 1: pb.MyExchangeItems.list:type_name -> pb.ExchangeDetail 10, // 2: pb.ExchangeDetail.asset:type_name -> pb.Asset 3, // 3: pb.ExchangeDetail.equipDetail:type_name -> pb.ExchangeEquipDetail 10, // 4: pb.ExchangeItem.asset:type_name -> pb.Asset 3, // 5: pb.ExchangeEquipSell.equipDetail:type_name -> pb.ExchangeEquipDetail 8, // 6: pb.ExchangeLogList.list:type_name -> pb.ExchangeLog 10, // 7: pb.ExchangeLog.asset:type_name -> pb.Asset 3, // 8: pb.ExchangeLog.equipDetail:type_name -> pb.ExchangeEquipDetail 2, // 9: pb.ExchangeBuyResult.detail:type_name -> pb.ExchangeDetail 10, // [10:10] is the sub-list for method output_type 10, // [10:10] is the sub-list for method input_type 10, // [10:10] is the sub-list for extension type_name 10, // [10:10] is the sub-list for extension extendee 0, // [0:10] is the sub-list for field type_name } func init() { file_exchange_proto_init() } func file_exchange_proto_init() { if File_exchange_proto != nil { return } file_base_type_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_exchange_proto_rawDesc), len(file_exchange_proto_rawDesc)), NumEnums: 0, NumMessages: 10, NumExtensions: 0, NumServices: 0, }, GoTypes: file_exchange_proto_goTypes, DependencyIndexes: file_exchange_proto_depIdxs, MessageInfos: file_exchange_proto_msgTypes, }.Build() File_exchange_proto = out.File file_exchange_proto_goTypes = nil file_exchange_proto_depIdxs = nil }