1045 lines
35 KiB
Go
1045 lines
35 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: caravan/caravan_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 CaravanGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *CaravanGetListReq) Reset() {
|
|
*x = CaravanGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanGetListReq) ProtoMessage() {}
|
|
|
|
func (x *CaravanGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*CaravanGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// 返回进度信息
|
|
type CaravanGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBCaravan `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *CaravanGetListResp) Reset() {
|
|
*x = CaravanGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanGetListResp) ProtoMessage() {}
|
|
|
|
func (x *CaravanGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*CaravanGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CaravanGetListResp) GetData() *DBCaravan {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CaravanBuyOrSellReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
City int32 `protobuf:"varint,1,opt,name=city,proto3" json:"city"` // 城市id
|
|
Items map[int32]int32 `protobuf:"bytes,2,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
IsBuy bool `protobuf:"varint,3,opt,name=isBuy,proto3" json:"isBuy"` // true 为买入 false 为卖出
|
|
}
|
|
|
|
func (x *CaravanBuyOrSellReq) Reset() {
|
|
*x = CaravanBuyOrSellReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanBuyOrSellReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanBuyOrSellReq) ProtoMessage() {}
|
|
|
|
func (x *CaravanBuyOrSellReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanBuyOrSellReq.ProtoReflect.Descriptor instead.
|
|
func (*CaravanBuyOrSellReq) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CaravanBuyOrSellReq) GetCity() int32 {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaravanBuyOrSellReq) GetItems() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CaravanBuyOrSellReq) GetIsBuy() bool {
|
|
if x != nil {
|
|
return x.IsBuy
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CaravanBuyOrSellResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBCaravan `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *CaravanBuyOrSellResp) Reset() {
|
|
*x = CaravanBuyOrSellResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanBuyOrSellResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanBuyOrSellResp) ProtoMessage() {}
|
|
|
|
func (x *CaravanBuyOrSellResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanBuyOrSellResp.ProtoReflect.Descriptor instead.
|
|
func (*CaravanBuyOrSellResp) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CaravanBuyOrSellResp) GetData() *DBCaravan {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 去某个city
|
|
type CaravanGotoCityReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
City int32 `protobuf:"varint,1,opt,name=city,proto3" json:"city"` // 城市id
|
|
Ticket int32 `protobuf:"varint,2,opt,name=ticket,proto3" json:"ticket"` // 门票数量
|
|
}
|
|
|
|
func (x *CaravanGotoCityReq) Reset() {
|
|
*x = CaravanGotoCityReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanGotoCityReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanGotoCityReq) ProtoMessage() {}
|
|
|
|
func (x *CaravanGotoCityReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanGotoCityReq.ProtoReflect.Descriptor instead.
|
|
func (*CaravanGotoCityReq) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CaravanGotoCityReq) GetCity() int32 {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaravanGotoCityReq) GetTicket() int32 {
|
|
if x != nil {
|
|
return x.Ticket
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CaravanGotoCityResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBCaravan `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
Newtask bool `protobuf:"varint,2,opt,name=newtask,proto3" json:"newtask"` // 触发新的任务事件
|
|
}
|
|
|
|
func (x *CaravanGotoCityResp) Reset() {
|
|
*x = CaravanGotoCityResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanGotoCityResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanGotoCityResp) ProtoMessage() {}
|
|
|
|
func (x *CaravanGotoCityResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanGotoCityResp.ProtoReflect.Descriptor instead.
|
|
func (*CaravanGotoCityResp) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CaravanGotoCityResp) GetData() *DBCaravan {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CaravanGotoCityResp) GetNewtask() bool {
|
|
if x != nil {
|
|
return x.Newtask
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 剧情任务
|
|
type CaravanGetStoryReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Cid int32 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid"`
|
|
Citystory int32 `protobuf:"varint,2,opt,name=citystory,proto3" json:"citystory"` // 抵达城市触发的剧情
|
|
}
|
|
|
|
func (x *CaravanGetStoryReq) Reset() {
|
|
*x = CaravanGetStoryReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanGetStoryReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanGetStoryReq) ProtoMessage() {}
|
|
|
|
func (x *CaravanGetStoryReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanGetStoryReq.ProtoReflect.Descriptor instead.
|
|
func (*CaravanGetStoryReq) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CaravanGetStoryReq) GetCid() int32 {
|
|
if x != nil {
|
|
return x.Cid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaravanGetStoryReq) GetCitystory() int32 {
|
|
if x != nil {
|
|
return x.Citystory
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CaravanGetStoryResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBCaravan `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
BSuccess bool `protobuf:"varint,2,opt,name=bSuccess,proto3" json:"bSuccess"` // 是否成功接取到任务
|
|
}
|
|
|
|
func (x *CaravanGetStoryResp) Reset() {
|
|
*x = CaravanGetStoryResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanGetStoryResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanGetStoryResp) ProtoMessage() {}
|
|
|
|
func (x *CaravanGetStoryResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanGetStoryResp.ProtoReflect.Descriptor instead.
|
|
func (*CaravanGetStoryResp) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CaravanGetStoryResp) GetData() *DBCaravan {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CaravanGetStoryResp) GetBSuccess() bool {
|
|
if x != nil {
|
|
return x.BSuccess
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 任务完成推送
|
|
type CaravanTaskCompletePush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBCaravan `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
BSuccess bool `protobuf:"varint,2,opt,name=bSuccess,proto3" json:"bSuccess"` // 是否成功完成任务
|
|
Reward []*UserAssets `protobuf:"bytes,3,rep,name=reward,proto3" json:"reward"` // 成功奖励
|
|
}
|
|
|
|
func (x *CaravanTaskCompletePush) Reset() {
|
|
*x = CaravanTaskCompletePush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanTaskCompletePush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanTaskCompletePush) ProtoMessage() {}
|
|
|
|
func (x *CaravanTaskCompletePush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanTaskCompletePush.ProtoReflect.Descriptor instead.
|
|
func (*CaravanTaskCompletePush) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *CaravanTaskCompletePush) GetData() *DBCaravan {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CaravanTaskCompletePush) GetBSuccess() bool {
|
|
if x != nil {
|
|
return x.BSuccess
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CaravanTaskCompletePush) GetReward() []*UserAssets {
|
|
if x != nil {
|
|
return x.Reward
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CaravanRankListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *CaravanRankListReq) Reset() {
|
|
*x = CaravanRankListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanRankListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanRankListReq) ProtoMessage() {}
|
|
|
|
func (x *CaravanRankListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanRankListReq.ProtoReflect.Descriptor instead.
|
|
func (*CaravanRankListReq) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type CaravanRankListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
List []*CaravanRankInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
|
|
Userinfo *CaravanRankInfo `protobuf:"bytes,2,opt,name=userinfo,proto3" json:"userinfo"` //玩家数据
|
|
}
|
|
|
|
func (x *CaravanRankListResp) Reset() {
|
|
*x = CaravanRankListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanRankListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanRankListResp) ProtoMessage() {}
|
|
|
|
func (x *CaravanRankListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_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 CaravanRankListResp.ProtoReflect.Descriptor instead.
|
|
func (*CaravanRankListResp) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *CaravanRankListResp) GetList() []*CaravanRankInfo {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CaravanRankListResp) GetUserinfo() *CaravanRankInfo {
|
|
if x != nil {
|
|
return x.Userinfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 刷新城市信息
|
|
type CaravanRefreshCityReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *CaravanRefreshCityReq) Reset() {
|
|
*x = CaravanRefreshCityReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanRefreshCityReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanRefreshCityReq) ProtoMessage() {}
|
|
|
|
func (x *CaravanRefreshCityReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[11]
|
|
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 CaravanRefreshCityReq.ProtoReflect.Descriptor instead.
|
|
func (*CaravanRefreshCityReq) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
type CaravanRefreshCityResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Goods map[int32]*Goods `protobuf:"bytes,1,rep,name=goods,proto3" json:"goods" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key 货物ID
|
|
City map[int32]*CityInfo `protobuf:"bytes,2,rep,name=city,proto3" json:"city" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 城市信息
|
|
Oldprice map[int32]int32 `protobuf:"bytes,3,rep,name=Oldprice,proto3" json:"Oldprice" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
Resettime int64 `protobuf:"varint,4,opt,name=resettime,proto3" json:"resettime"` // 赛季结算时间
|
|
}
|
|
|
|
func (x *CaravanRefreshCityResp) Reset() {
|
|
*x = CaravanRefreshCityResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaravanRefreshCityResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaravanRefreshCityResp) ProtoMessage() {}
|
|
|
|
func (x *CaravanRefreshCityResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_caravan_caravan_msg_proto_msgTypes[12]
|
|
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 CaravanRefreshCityResp.ProtoReflect.Descriptor instead.
|
|
func (*CaravanRefreshCityResp) Descriptor() ([]byte, []int) {
|
|
return file_caravan_caravan_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *CaravanRefreshCityResp) GetGoods() map[int32]*Goods {
|
|
if x != nil {
|
|
return x.Goods
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CaravanRefreshCityResp) GetCity() map[int32]*CityInfo {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CaravanRefreshCityResp) GetOldprice() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Oldprice
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CaravanRefreshCityResp) GetResettime() int64 {
|
|
if x != nil {
|
|
return x.Resettime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_caravan_caravan_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_caravan_caravan_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x19, 0x63, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x2f, 0x63, 0x61, 0x72, 0x61, 0x76, 0x61,
|
|
0x6e, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x61, 0x72,
|
|
0x61, 0x76, 0x61, 0x6e, 0x2f, 0x63, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x5f, 0x64, 0x62, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x22, 0x13, 0x0a, 0x11, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x47, 0x65, 0x74, 0x4c,
|
|
0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x12, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61,
|
|
0x6e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04,
|
|
0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x43,
|
|
0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb0, 0x01, 0x0a,
|
|
0x13, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x42, 0x75, 0x79, 0x4f, 0x72, 0x53, 0x65, 0x6c,
|
|
0x6c, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x35, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d,
|
|
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61,
|
|
0x6e, 0x42, 0x75, 0x79, 0x4f, 0x72, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x49, 0x74,
|
|
0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12,
|
|
0x14, 0x0a, 0x05, 0x69, 0x73, 0x42, 0x75, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05,
|
|
0x69, 0x73, 0x42, 0x75, 0x79, 0x1a, 0x38, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
|
0x36, 0x0a, 0x14, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x42, 0x75, 0x79, 0x4f, 0x72, 0x53,
|
|
0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61,
|
|
0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x40, 0x0a, 0x12, 0x43, 0x61, 0x72, 0x61, 0x76,
|
|
0x61, 0x6e, 0x47, 0x6f, 0x74, 0x6f, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a,
|
|
0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x69, 0x74,
|
|
0x79, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x22, 0x4f, 0x0a, 0x13, 0x43, 0x61, 0x72,
|
|
0x61, 0x76, 0x61, 0x6e, 0x47, 0x6f, 0x74, 0x6f, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a,
|
|
0x2e, 0x44, 0x42, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x74, 0x61, 0x73, 0x6b, 0x22, 0x44, 0x0a, 0x12, 0x43, 0x61,
|
|
0x72, 0x61, 0x76, 0x61, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71,
|
|
0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x63,
|
|
0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x69, 0x74, 0x79, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x69, 0x74, 0x79, 0x73, 0x74, 0x6f, 0x72, 0x79,
|
|
0x22, 0x51, 0x0a, 0x13, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x74,
|
|
0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61,
|
|
0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x53, 0x75, 0x63, 0x63,
|
|
0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x62, 0x53, 0x75, 0x63, 0x63,
|
|
0x65, 0x73, 0x73, 0x22, 0x7a, 0x0a, 0x17, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x54, 0x61,
|
|
0x73, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e,
|
|
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44,
|
|
0x42, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x62, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x08, 0x62, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x06, 0x72, 0x65,
|
|
0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65,
|
|
0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x22,
|
|
0x14, 0x0a, 0x12, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x4c, 0x69,
|
|
0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x69, 0x0a, 0x13, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e,
|
|
0x52, 0x61, 0x6e, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x04,
|
|
0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x43, 0x61, 0x72,
|
|
0x61, 0x76, 0x61, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69,
|
|
0x73, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x52, 0x61,
|
|
0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f,
|
|
0x22, 0x17, 0x0a, 0x15, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x52, 0x65, 0x66, 0x72, 0x65,
|
|
0x73, 0x68, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x22, 0xad, 0x03, 0x0a, 0x16, 0x43, 0x61,
|
|
0x72, 0x61, 0x76, 0x61, 0x6e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x69, 0x74, 0x79,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x52, 0x65, 0x66,
|
|
0x72, 0x65, 0x73, 0x68, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x47, 0x6f, 0x6f,
|
|
0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x35,
|
|
0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x43,
|
|
0x61, 0x72, 0x61, 0x76, 0x61, 0x6e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x69, 0x74,
|
|
0x79, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x41, 0x0a, 0x08, 0x4f, 0x6c, 0x64, 0x70, 0x72, 0x69, 0x63,
|
|
0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x43, 0x61, 0x72, 0x61, 0x76, 0x61,
|
|
0x6e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70,
|
|
0x2e, 0x4f, 0x6c, 0x64, 0x70, 0x72, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08,
|
|
0x4f, 0x6c, 0x64, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x65,
|
|
0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x73,
|
|
0x65, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x40, 0x0a, 0x0a, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x45,
|
|
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, 0x05, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x09, 0x43, 0x69, 0x74, 0x79,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x43, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66,
|
|
0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d,
|
|
0x4f, 0x6c, 0x64, 0x70, 0x72, 0x69, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
|
|
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_caravan_caravan_msg_proto_rawDescOnce sync.Once
|
|
file_caravan_caravan_msg_proto_rawDescData = file_caravan_caravan_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_caravan_caravan_msg_proto_rawDescGZIP() []byte {
|
|
file_caravan_caravan_msg_proto_rawDescOnce.Do(func() {
|
|
file_caravan_caravan_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_caravan_caravan_msg_proto_rawDescData)
|
|
})
|
|
return file_caravan_caravan_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_caravan_caravan_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
|
var file_caravan_caravan_msg_proto_goTypes = []interface{}{
|
|
(*CaravanGetListReq)(nil), // 0: CaravanGetListReq
|
|
(*CaravanGetListResp)(nil), // 1: CaravanGetListResp
|
|
(*CaravanBuyOrSellReq)(nil), // 2: CaravanBuyOrSellReq
|
|
(*CaravanBuyOrSellResp)(nil), // 3: CaravanBuyOrSellResp
|
|
(*CaravanGotoCityReq)(nil), // 4: CaravanGotoCityReq
|
|
(*CaravanGotoCityResp)(nil), // 5: CaravanGotoCityResp
|
|
(*CaravanGetStoryReq)(nil), // 6: CaravanGetStoryReq
|
|
(*CaravanGetStoryResp)(nil), // 7: CaravanGetStoryResp
|
|
(*CaravanTaskCompletePush)(nil), // 8: CaravanTaskCompletePush
|
|
(*CaravanRankListReq)(nil), // 9: CaravanRankListReq
|
|
(*CaravanRankListResp)(nil), // 10: CaravanRankListResp
|
|
(*CaravanRefreshCityReq)(nil), // 11: CaravanRefreshCityReq
|
|
(*CaravanRefreshCityResp)(nil), // 12: CaravanRefreshCityResp
|
|
nil, // 13: CaravanBuyOrSellReq.ItemsEntry
|
|
nil, // 14: CaravanRefreshCityResp.GoodsEntry
|
|
nil, // 15: CaravanRefreshCityResp.CityEntry
|
|
nil, // 16: CaravanRefreshCityResp.OldpriceEntry
|
|
(*DBCaravan)(nil), // 17: DBCaravan
|
|
(*UserAssets)(nil), // 18: UserAssets
|
|
(*CaravanRankInfo)(nil), // 19: CaravanRankInfo
|
|
(*Goods)(nil), // 20: Goods
|
|
(*CityInfo)(nil), // 21: CityInfo
|
|
}
|
|
var file_caravan_caravan_msg_proto_depIdxs = []int32{
|
|
17, // 0: CaravanGetListResp.data:type_name -> DBCaravan
|
|
13, // 1: CaravanBuyOrSellReq.items:type_name -> CaravanBuyOrSellReq.ItemsEntry
|
|
17, // 2: CaravanBuyOrSellResp.data:type_name -> DBCaravan
|
|
17, // 3: CaravanGotoCityResp.data:type_name -> DBCaravan
|
|
17, // 4: CaravanGetStoryResp.data:type_name -> DBCaravan
|
|
17, // 5: CaravanTaskCompletePush.data:type_name -> DBCaravan
|
|
18, // 6: CaravanTaskCompletePush.reward:type_name -> UserAssets
|
|
19, // 7: CaravanRankListResp.list:type_name -> CaravanRankInfo
|
|
19, // 8: CaravanRankListResp.userinfo:type_name -> CaravanRankInfo
|
|
14, // 9: CaravanRefreshCityResp.goods:type_name -> CaravanRefreshCityResp.GoodsEntry
|
|
15, // 10: CaravanRefreshCityResp.city:type_name -> CaravanRefreshCityResp.CityEntry
|
|
16, // 11: CaravanRefreshCityResp.Oldprice:type_name -> CaravanRefreshCityResp.OldpriceEntry
|
|
20, // 12: CaravanRefreshCityResp.GoodsEntry.value:type_name -> Goods
|
|
21, // 13: CaravanRefreshCityResp.CityEntry.value:type_name -> CityInfo
|
|
14, // [14:14] is the sub-list for method output_type
|
|
14, // [14:14] is the sub-list for method input_type
|
|
14, // [14:14] is the sub-list for extension type_name
|
|
14, // [14:14] is the sub-list for extension extendee
|
|
0, // [0:14] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_caravan_caravan_msg_proto_init() }
|
|
func file_caravan_caravan_msg_proto_init() {
|
|
if File_caravan_caravan_msg_proto != nil {
|
|
return
|
|
}
|
|
file_caravan_caravan_db_proto_init()
|
|
file_comm_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_caravan_caravan_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanBuyOrSellReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanBuyOrSellResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanGotoCityReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanGotoCityResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanGetStoryReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanGetStoryResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanTaskCompletePush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanRankListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanRankListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanRefreshCityReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_caravan_caravan_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaravanRefreshCityResp); 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_caravan_caravan_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 17,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_caravan_caravan_msg_proto_goTypes,
|
|
DependencyIndexes: file_caravan_caravan_msg_proto_depIdxs,
|
|
MessageInfos: file_caravan_caravan_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_caravan_caravan_msg_proto = out.File
|
|
file_caravan_caravan_msg_proto_rawDesc = nil
|
|
file_caravan_caravan_msg_proto_goTypes = nil
|
|
file_caravan_caravan_msg_proto_depIdxs = nil
|
|
}
|