838 lines
26 KiB
Go
838 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: equipment/equipment_msg.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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 EquipmentGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *EquipmentGetListReq) Reset() {
|
|
*x = EquipmentGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentGetListReq) ProtoMessage() {}
|
|
|
|
func (x *EquipmentGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//获取装备列表请求 回应
|
|
type EquipmentGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Equipments []*DB_Equipment `protobuf:"bytes,1,rep,name=Equipments,proto3" json:"Equipments"` //装备列表
|
|
}
|
|
|
|
func (x *EquipmentGetListResp) Reset() {
|
|
*x = EquipmentGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentGetListResp) ProtoMessage() {}
|
|
|
|
func (x *EquipmentGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *EquipmentGetListResp) GetEquipments() []*DB_Equipment {
|
|
if x != nil {
|
|
return x.Equipments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//推送装备背包变化
|
|
type EquipmentChangePush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Equipments []*DB_Equipment `protobuf:"bytes,1,rep,name=Equipments,proto3" json:"Equipments"` //装备列表
|
|
}
|
|
|
|
func (x *EquipmentChangePush) Reset() {
|
|
*x = EquipmentChangePush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentChangePush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentChangePush) ProtoMessage() {}
|
|
|
|
func (x *EquipmentChangePush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentChangePush.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentChangePush) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *EquipmentChangePush) GetEquipments() []*DB_Equipment {
|
|
if x != nil {
|
|
return x.Equipments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//装备挂在到英雄上
|
|
type EquipmentEquipReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroCardId string `protobuf:"bytes,1,opt,name=HeroCardId,proto3" json:"HeroCardId"` //英雄卡Id
|
|
EquipmentId []string `protobuf:"bytes,2,rep,name=EquipmentId,proto3" json:"EquipmentId"` //装备Id 固定长度的数组 0-5 对应的装备栏
|
|
}
|
|
|
|
func (x *EquipmentEquipReq) Reset() {
|
|
*x = EquipmentEquipReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentEquipReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentEquipReq) ProtoMessage() {}
|
|
|
|
func (x *EquipmentEquipReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentEquipReq.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentEquipReq) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *EquipmentEquipReq) GetHeroCardId() string {
|
|
if x != nil {
|
|
return x.HeroCardId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EquipmentEquipReq) GetEquipmentId() []string {
|
|
if x != nil {
|
|
return x.EquipmentId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//装备挂在到英雄上 回应
|
|
type EquipmentEquipResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Equipments []*DB_Equipment `protobuf:"bytes,1,rep,name=Equipments,proto3" json:"Equipments"` //挂在装备列表
|
|
}
|
|
|
|
func (x *EquipmentEquipResp) Reset() {
|
|
*x = EquipmentEquipResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentEquipResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentEquipResp) ProtoMessage() {}
|
|
|
|
func (x *EquipmentEquipResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentEquipResp.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentEquipResp) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *EquipmentEquipResp) GetEquipments() []*DB_Equipment {
|
|
if x != nil {
|
|
return x.Equipments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//装备升级
|
|
type EquipmentUpgradeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
EquipmentId string `protobuf:"bytes,1,opt,name=EquipmentId,proto3" json:"EquipmentId"` //装备Id
|
|
}
|
|
|
|
func (x *EquipmentUpgradeReq) Reset() {
|
|
*x = EquipmentUpgradeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentUpgradeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentUpgradeReq) ProtoMessage() {}
|
|
|
|
func (x *EquipmentUpgradeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentUpgradeReq.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentUpgradeReq) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *EquipmentUpgradeReq) GetEquipmentId() string {
|
|
if x != nil {
|
|
return x.EquipmentId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//装备升级 回应 由于装备可以叠加 升级后会创建一个新的装备出来
|
|
//所以可能影响两个装备
|
|
type EquipmentUpgradeResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsSucc bool `protobuf:"varint,1,opt,name=IsSucc,proto3" json:"IsSucc"`
|
|
Equipment []*DB_Equipment `protobuf:"bytes,2,rep,name=Equipment,proto3" json:"Equipment"`
|
|
}
|
|
|
|
func (x *EquipmentUpgradeResp) Reset() {
|
|
*x = EquipmentUpgradeResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentUpgradeResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentUpgradeResp) ProtoMessage() {}
|
|
|
|
func (x *EquipmentUpgradeResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentUpgradeResp.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentUpgradeResp) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *EquipmentUpgradeResp) GetIsSucc() bool {
|
|
if x != nil {
|
|
return x.IsSucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *EquipmentUpgradeResp) GetEquipment() []*DB_Equipment {
|
|
if x != nil {
|
|
return x.Equipment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//出售道具请求sailitem
|
|
type EquipmentLockReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
EquipmentId string `protobuf:"bytes,1,opt,name=EquipmentId,proto3" json:"EquipmentId"` //装备的唯一id
|
|
IsLock bool `protobuf:"varint,2,opt,name=IsLock,proto3" json:"IsLock"` //是否锁
|
|
}
|
|
|
|
func (x *EquipmentLockReq) Reset() {
|
|
*x = EquipmentLockReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentLockReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentLockReq) ProtoMessage() {}
|
|
|
|
func (x *EquipmentLockReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentLockReq.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentLockReq) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *EquipmentLockReq) GetEquipmentId() string {
|
|
if x != nil {
|
|
return x.EquipmentId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EquipmentLockReq) GetIsLock() bool {
|
|
if x != nil {
|
|
return x.IsLock
|
|
}
|
|
return false
|
|
}
|
|
|
|
//出售道具请求 回应
|
|
type EquipmentLockResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsSucc bool `protobuf:"varint,1,opt,name=IsSucc,proto3" json:"IsSucc"`
|
|
EquipmentId string `protobuf:"bytes,2,opt,name=EquipmentId,proto3" json:"EquipmentId"`
|
|
IsLock bool `protobuf:"varint,3,opt,name=IsLock,proto3" json:"IsLock"`
|
|
}
|
|
|
|
func (x *EquipmentLockResp) Reset() {
|
|
*x = EquipmentLockResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentLockResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentLockResp) ProtoMessage() {}
|
|
|
|
func (x *EquipmentLockResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentLockResp.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentLockResp) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *EquipmentLockResp) GetIsSucc() bool {
|
|
if x != nil {
|
|
return x.IsSucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *EquipmentLockResp) GetEquipmentId() string {
|
|
if x != nil {
|
|
return x.EquipmentId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EquipmentLockResp) GetIsLock() bool {
|
|
if x != nil {
|
|
return x.IsLock
|
|
}
|
|
return false
|
|
}
|
|
|
|
//出售道具请求sailitem
|
|
type EquipmentSellReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
EquipIds []string `protobuf:"bytes,1,rep,name=EquipIds,proto3" json:"EquipIds"`
|
|
}
|
|
|
|
func (x *EquipmentSellReq) Reset() {
|
|
*x = EquipmentSellReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentSellReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentSellReq) ProtoMessage() {}
|
|
|
|
func (x *EquipmentSellReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentSellReq.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentSellReq) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *EquipmentSellReq) GetEquipIds() []string {
|
|
if x != nil {
|
|
return x.EquipIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//出售道具请求 回应
|
|
type EquipmentSellResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsSucc bool `protobuf:"varint,1,opt,name=IsSucc,proto3" json:"IsSucc"`
|
|
}
|
|
|
|
func (x *EquipmentSellResp) Reset() {
|
|
*x = EquipmentSellResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EquipmentSellResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EquipmentSellResp) ProtoMessage() {}
|
|
|
|
func (x *EquipmentSellResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_equipment_equipment_msg_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EquipmentSellResp.ProtoReflect.Descriptor instead.
|
|
func (*EquipmentSellResp) Descriptor() ([]byte, []int) {
|
|
return file_equipment_equipment_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *EquipmentSellResp) GetIsSucc() bool {
|
|
if x != nil {
|
|
return x.IsSucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
var File_equipment_equipment_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_equipment_equipment_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x1d, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x65, 0x71, 0x75, 0x69,
|
|
0x70, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
|
0x1c, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x65, 0x71, 0x75, 0x69, 0x70,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a,
|
|
0x13, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73,
|
|
0x74, 0x52, 0x65, 0x71, 0x22, 0x45, 0x0a, 0x14, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a,
|
|
0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52,
|
|
0x0a, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x44, 0x0a, 0x13, 0x45,
|
|
0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75,
|
|
0x73, 0x68, 0x12, 0x2d, 0x0a, 0x0a, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x71, 0x75, 0x69,
|
|
0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x73, 0x22, 0x55, 0x0a, 0x11, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x71,
|
|
0x75, 0x69, 0x70, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x48, 0x65, 0x72, 0x6f, 0x43, 0x61,
|
|
0x72, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x48, 0x65, 0x72, 0x6f,
|
|
0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x45, 0x71, 0x75,
|
|
0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x12, 0x45, 0x71, 0x75, 0x69,
|
|
0x70, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d,
|
|
0x0a, 0x0a, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x52, 0x0a, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x37, 0x0a,
|
|
0x13, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64,
|
|
0x65, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x45, 0x71, 0x75, 0x69, 0x70,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x14, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16,
|
|
0x0a, 0x06, 0x49, 0x73, 0x53, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
|
|
0x49, 0x73, 0x53, 0x75, 0x63, 0x63, 0x12, 0x2b, 0x0a, 0x09, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45,
|
|
0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x10, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x71, 0x75, 0x69, 0x70,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x45, 0x71,
|
|
0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x4c,
|
|
0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x4c, 0x6f, 0x63,
|
|
0x6b, 0x22, 0x65, 0x0a, 0x11, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x6f,
|
|
0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x75, 0x63, 0x63,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x53, 0x75, 0x63, 0x63, 0x12, 0x20,
|
|
0x0a, 0x0b, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64,
|
|
0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x06, 0x49, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x22, 0x2e, 0x0a, 0x10, 0x45, 0x71, 0x75, 0x69,
|
|
0x70, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x45, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08,
|
|
0x45, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, 0x73, 0x22, 0x2b, 0x0a, 0x11, 0x45, 0x71, 0x75, 0x69,
|
|
0x70, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a,
|
|
0x06, 0x49, 0x73, 0x53, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49,
|
|
0x73, 0x53, 0x75, 0x63, 0x63, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_equipment_equipment_msg_proto_rawDescOnce sync.Once
|
|
file_equipment_equipment_msg_proto_rawDescData = file_equipment_equipment_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_equipment_equipment_msg_proto_rawDescGZIP() []byte {
|
|
file_equipment_equipment_msg_proto_rawDescOnce.Do(func() {
|
|
file_equipment_equipment_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_equipment_equipment_msg_proto_rawDescData)
|
|
})
|
|
return file_equipment_equipment_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_equipment_equipment_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
var file_equipment_equipment_msg_proto_goTypes = []interface{}{
|
|
(*EquipmentGetListReq)(nil), // 0: EquipmentGetListReq
|
|
(*EquipmentGetListResp)(nil), // 1: EquipmentGetListResp
|
|
(*EquipmentChangePush)(nil), // 2: EquipmentChangePush
|
|
(*EquipmentEquipReq)(nil), // 3: EquipmentEquipReq
|
|
(*EquipmentEquipResp)(nil), // 4: EquipmentEquipResp
|
|
(*EquipmentUpgradeReq)(nil), // 5: EquipmentUpgradeReq
|
|
(*EquipmentUpgradeResp)(nil), // 6: EquipmentUpgradeResp
|
|
(*EquipmentLockReq)(nil), // 7: EquipmentLockReq
|
|
(*EquipmentLockResp)(nil), // 8: EquipmentLockResp
|
|
(*EquipmentSellReq)(nil), // 9: EquipmentSellReq
|
|
(*EquipmentSellResp)(nil), // 10: EquipmentSellResp
|
|
(*DB_Equipment)(nil), // 11: DB_Equipment
|
|
}
|
|
var file_equipment_equipment_msg_proto_depIdxs = []int32{
|
|
11, // 0: EquipmentGetListResp.Equipments:type_name -> DB_Equipment
|
|
11, // 1: EquipmentChangePush.Equipments:type_name -> DB_Equipment
|
|
11, // 2: EquipmentEquipResp.Equipments:type_name -> DB_Equipment
|
|
11, // 3: EquipmentUpgradeResp.Equipment:type_name -> DB_Equipment
|
|
4, // [4:4] is the sub-list for method output_type
|
|
4, // [4:4] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_equipment_equipment_msg_proto_init() }
|
|
func file_equipment_equipment_msg_proto_init() {
|
|
if File_equipment_equipment_msg_proto != nil {
|
|
return
|
|
}
|
|
file_equipment_equipment_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_equipment_equipment_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentChangePush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentEquipReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentEquipResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentUpgradeReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentUpgradeResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentLockReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentLockResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentSellReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_equipment_equipment_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EquipmentSellResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_equipment_equipment_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 11,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_equipment_equipment_msg_proto_goTypes,
|
|
DependencyIndexes: file_equipment_equipment_msg_proto_depIdxs,
|
|
MessageInfos: file_equipment_equipment_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_equipment_equipment_msg_proto = out.File
|
|
file_equipment_equipment_msg_proto_rawDesc = nil
|
|
file_equipment_equipment_msg_proto_goTypes = nil
|
|
file_equipment_equipment_msg_proto_depIdxs = nil
|
|
}
|