1120 lines
35 KiB
Go
1120 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: gourmet/gourmet_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 GourmetCreateFoodReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid"` // 食谱ID
|
|
Material map[string]int32 `protobuf:"bytes,2,rep,name=material,proto3" json:"material" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *GourmetCreateFoodReq) Reset() {
|
|
*x = GourmetCreateFoodReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetCreateFoodReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetCreateFoodReq) ProtoMessage() {}
|
|
|
|
func (x *GourmetCreateFoodReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetCreateFoodReq.ProtoReflect.Descriptor instead.
|
|
func (*GourmetCreateFoodReq) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GourmetCreateFoodReq) GetCid() string {
|
|
if x != nil {
|
|
return x.Cid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GourmetCreateFoodReq) GetMaterial() map[string]int32 {
|
|
if x != nil {
|
|
return x.Material
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GourmetCreateFoodResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid"` // 获得的食谱
|
|
FirstGet bool `protobuf:"varint,2,opt,name=firstGet,proto3" json:"firstGet"` // 是否首次获得
|
|
}
|
|
|
|
func (x *GourmetCreateFoodResp) Reset() {
|
|
*x = GourmetCreateFoodResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetCreateFoodResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetCreateFoodResp) ProtoMessage() {}
|
|
|
|
func (x *GourmetCreateFoodResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetCreateFoodResp.ProtoReflect.Descriptor instead.
|
|
func (*GourmetCreateFoodResp) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GourmetCreateFoodResp) GetCid() string {
|
|
if x != nil {
|
|
return x.Cid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GourmetCreateFoodResp) GetFirstGet() bool {
|
|
if x != nil {
|
|
return x.FirstGet
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GourmetActivateAtlasReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid"` // 图鉴ID
|
|
}
|
|
|
|
func (x *GourmetActivateAtlasReq) Reset() {
|
|
*x = GourmetActivateAtlasReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetActivateAtlasReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetActivateAtlasReq) ProtoMessage() {}
|
|
|
|
func (x *GourmetActivateAtlasReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetActivateAtlasReq.ProtoReflect.Descriptor instead.
|
|
func (*GourmetActivateAtlasReq) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GourmetActivateAtlasReq) GetCid() string {
|
|
if x != nil {
|
|
return x.Cid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GourmetActivateAtlasResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Atlas map[string]int32 `protobuf:"bytes,1,rep,name=atlas,proto3" json:"atlas" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *GourmetActivateAtlasResp) Reset() {
|
|
*x = GourmetActivateAtlasResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetActivateAtlasResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetActivateAtlasResp) ProtoMessage() {}
|
|
|
|
func (x *GourmetActivateAtlasResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetActivateAtlasResp.ProtoReflect.Descriptor instead.
|
|
func (*GourmetActivateAtlasResp) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GourmetActivateAtlasResp) GetAtlas() map[string]int32 {
|
|
if x != nil {
|
|
return x.Atlas
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 图鉴
|
|
type GourmetAtlasReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GourmetAtlasReq) Reset() {
|
|
*x = GourmetAtlasReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetAtlasReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetAtlasReq) ProtoMessage() {}
|
|
|
|
func (x *GourmetAtlasReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetAtlasReq.ProtoReflect.Descriptor instead.
|
|
func (*GourmetAtlasReq) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type GourmetAtlasResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Atlas map[string]int32 `protobuf:"bytes,1,rep,name=atlas,proto3" json:"atlas" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *GourmetAtlasResp) Reset() {
|
|
*x = GourmetAtlasResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetAtlasResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetAtlasResp) ProtoMessage() {}
|
|
|
|
func (x *GourmetAtlasResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetAtlasResp.ProtoReflect.Descriptor instead.
|
|
func (*GourmetAtlasResp) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GourmetAtlasResp) GetAtlas() map[string]int32 {
|
|
if x != nil {
|
|
return x.Atlas
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GourmetGetListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GourmetGetListReq) Reset() {
|
|
*x = GourmetGetListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetGetListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetGetListReq) ProtoMessage() {}
|
|
|
|
func (x *GourmetGetListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetGetListReq.ProtoReflect.Descriptor instead.
|
|
func (*GourmetGetListReq) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
// 返回进度信息
|
|
type GourmetGetListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBGourmet `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *GourmetGetListResp) Reset() {
|
|
*x = GourmetGetListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetGetListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetGetListResp) ProtoMessage() {}
|
|
|
|
func (x *GourmetGetListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetGetListResp.ProtoReflect.Descriptor instead.
|
|
func (*GourmetGetListResp) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GourmetGetListResp) GetData() *DBGourmet {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 创建订单
|
|
type GourmetCreateOrderReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Order []*OrderCook `protobuf:"bytes,1,rep,name=order,proto3" json:"order"` // 烹饪时间不用传 后端会重新计算
|
|
}
|
|
|
|
func (x *GourmetCreateOrderReq) Reset() {
|
|
*x = GourmetCreateOrderReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetCreateOrderReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetCreateOrderReq) ProtoMessage() {}
|
|
|
|
func (x *GourmetCreateOrderReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetCreateOrderReq.ProtoReflect.Descriptor instead.
|
|
func (*GourmetCreateOrderReq) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GourmetCreateOrderReq) GetOrder() []*OrderCook {
|
|
if x != nil {
|
|
return x.Order
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GourmetCreateOrderResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBGourmet `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *GourmetCreateOrderResp) Reset() {
|
|
*x = GourmetCreateOrderResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetCreateOrderResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetCreateOrderResp) ProtoMessage() {}
|
|
|
|
func (x *GourmetCreateOrderResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetCreateOrderResp.ProtoReflect.Descriptor instead.
|
|
func (*GourmetCreateOrderResp) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GourmetCreateOrderResp) GetData() *DBGourmet {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 领取奖励
|
|
type GourmetGetRewardReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GourmetGetRewardReq) Reset() {
|
|
*x = GourmetGetRewardReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetGetRewardReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetGetRewardReq) ProtoMessage() {}
|
|
|
|
func (x *GourmetGetRewardReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetGetRewardReq.ProtoReflect.Descriptor instead.
|
|
func (*GourmetGetRewardReq) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
type GourmetGetRewardResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBGourmet `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *GourmetGetRewardResp) Reset() {
|
|
*x = GourmetGetRewardResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetGetRewardResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetGetRewardResp) ProtoMessage() {}
|
|
|
|
func (x *GourmetGetRewardResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetGetRewardResp.ProtoReflect.Descriptor instead.
|
|
func (*GourmetGetRewardResp) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *GourmetGetRewardResp) GetData() *DBGourmet {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 技能升级
|
|
type GourmetSkillLvReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SkillType int32 `protobuf:"varint,1,opt,name=skillType,proto3" json:"skillType"` // 技能id
|
|
}
|
|
|
|
func (x *GourmetSkillLvReq) Reset() {
|
|
*x = GourmetSkillLvReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetSkillLvReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetSkillLvReq) ProtoMessage() {}
|
|
|
|
func (x *GourmetSkillLvReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_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 GourmetSkillLvReq.ProtoReflect.Descriptor instead.
|
|
func (*GourmetSkillLvReq) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *GourmetSkillLvReq) GetSkillType() int32 {
|
|
if x != nil {
|
|
return x.SkillType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GourmetSkillLvResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Data *DBGourmet `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
|
}
|
|
|
|
func (x *GourmetSkillLvResp) Reset() {
|
|
*x = GourmetSkillLvResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetSkillLvResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetSkillLvResp) ProtoMessage() {}
|
|
|
|
func (x *GourmetSkillLvResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[13]
|
|
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 GourmetSkillLvResp.ProtoReflect.Descriptor instead.
|
|
func (*GourmetSkillLvResp) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *GourmetSkillLvResp) GetData() *DBGourmet {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GourmetGetRandUserReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
People int32 `protobuf:"varint,1,opt,name=people,proto3" json:"people"` //人数
|
|
}
|
|
|
|
func (x *GourmetGetRandUserReq) Reset() {
|
|
*x = GourmetGetRandUserReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetGetRandUserReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetGetRandUserReq) ProtoMessage() {}
|
|
|
|
func (x *GourmetGetRandUserReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[14]
|
|
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 GourmetGetRandUserReq.ProtoReflect.Descriptor instead.
|
|
func (*GourmetGetRandUserReq) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *GourmetGetRandUserReq) GetPeople() int32 {
|
|
if x != nil {
|
|
return x.People
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GourmetGetRandUserResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
User []*DBUser `protobuf:"bytes,1,rep,name=user,proto3" json:"user"`
|
|
}
|
|
|
|
func (x *GourmetGetRandUserResp) Reset() {
|
|
*x = GourmetGetRandUserResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GourmetGetRandUserResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GourmetGetRandUserResp) ProtoMessage() {}
|
|
|
|
func (x *GourmetGetRandUserResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_msg_proto_msgTypes[15]
|
|
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 GourmetGetRandUserResp.ProtoReflect.Descriptor instead.
|
|
func (*GourmetGetRandUserResp) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *GourmetGetRandUserResp) GetUser() []*DBUser {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_gourmet_gourmet_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_gourmet_gourmet_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x19, 0x67, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x2f, 0x67, 0x6f, 0x75, 0x72, 0x6d, 0x65,
|
|
0x74, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x75,
|
|
0x72, 0x6d, 0x65, 0x74, 0x2f, 0x67, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x5f, 0x64, 0x62, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x75, 0x73, 0x65, 0x72,
|
|
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x01, 0x0a, 0x14, 0x47, 0x6f,
|
|
0x75, 0x72, 0x6d, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6f, 0x64, 0x52,
|
|
0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x03, 0x63, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74,
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x2e, 0x4d, 0x61,
|
|
0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x61, 0x74,
|
|
0x65, 0x72, 0x69, 0x61, 0x6c, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
|
|
0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 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, 0x45, 0x0a, 0x15, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x46, 0x6f, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x63,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x1a, 0x0a,
|
|
0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x47, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x47, 0x65, 0x74, 0x22, 0x2b, 0x0a, 0x17, 0x47, 0x6f, 0x75,
|
|
0x72, 0x6d, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x74, 0x6c, 0x61,
|
|
0x73, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x18, 0x47, 0x6f, 0x75, 0x72, 0x6d,
|
|
0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x12, 0x3a, 0x0a, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x24, 0x2e, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69,
|
|
0x76, 0x61, 0x74, 0x65, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x41, 0x74,
|
|
0x6c, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x1a,
|
|
0x38, 0x0a, 0x0a, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, 0x11, 0x0a, 0x0f, 0x47, 0x6f, 0x75,
|
|
0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x71, 0x22, 0x80, 0x01, 0x0a,
|
|
0x10, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x1c, 0x2e, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x2e, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
|
|
0x61, 0x74, 0x6c, 0x61, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
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,
|
|
0x13, 0x0a, 0x11, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73,
|
|
0x74, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x12, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 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, 0x47, 0x6f, 0x75,
|
|
0x72, 0x6d, 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x39, 0x0a, 0x15, 0x47, 0x6f,
|
|
0x75, 0x72, 0x6d, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
|
0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x05,
|
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x38, 0x0a, 0x16, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74,
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e,
|
|
0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
|
|
0x15, 0x0a, 0x13, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77,
|
|
0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x36, 0x0a, 0x14, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65,
|
|
0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e,
|
|
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44,
|
|
0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x31,
|
|
0x0a, 0x11, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76,
|
|
0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x54, 0x79, 0x70,
|
|
0x65, 0x22, 0x34, 0x0a, 0x12, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x6c,
|
|
0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65,
|
|
0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2f, 0x0a, 0x15, 0x47, 0x6f, 0x75, 0x72, 0x6d,
|
|
0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x22, 0x35, 0x0a, 0x16, 0x47, 0x6f, 0x75, 0x72,
|
|
0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x42,
|
|
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_gourmet_gourmet_msg_proto_rawDescOnce sync.Once
|
|
file_gourmet_gourmet_msg_proto_rawDescData = file_gourmet_gourmet_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_gourmet_gourmet_msg_proto_rawDescGZIP() []byte {
|
|
file_gourmet_gourmet_msg_proto_rawDescOnce.Do(func() {
|
|
file_gourmet_gourmet_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_gourmet_gourmet_msg_proto_rawDescData)
|
|
})
|
|
return file_gourmet_gourmet_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_gourmet_gourmet_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
|
|
var file_gourmet_gourmet_msg_proto_goTypes = []interface{}{
|
|
(*GourmetCreateFoodReq)(nil), // 0: GourmetCreateFoodReq
|
|
(*GourmetCreateFoodResp)(nil), // 1: GourmetCreateFoodResp
|
|
(*GourmetActivateAtlasReq)(nil), // 2: GourmetActivateAtlasReq
|
|
(*GourmetActivateAtlasResp)(nil), // 3: GourmetActivateAtlasResp
|
|
(*GourmetAtlasReq)(nil), // 4: GourmetAtlasReq
|
|
(*GourmetAtlasResp)(nil), // 5: GourmetAtlasResp
|
|
(*GourmetGetListReq)(nil), // 6: GourmetGetListReq
|
|
(*GourmetGetListResp)(nil), // 7: GourmetGetListResp
|
|
(*GourmetCreateOrderReq)(nil), // 8: GourmetCreateOrderReq
|
|
(*GourmetCreateOrderResp)(nil), // 9: GourmetCreateOrderResp
|
|
(*GourmetGetRewardReq)(nil), // 10: GourmetGetRewardReq
|
|
(*GourmetGetRewardResp)(nil), // 11: GourmetGetRewardResp
|
|
(*GourmetSkillLvReq)(nil), // 12: GourmetSkillLvReq
|
|
(*GourmetSkillLvResp)(nil), // 13: GourmetSkillLvResp
|
|
(*GourmetGetRandUserReq)(nil), // 14: GourmetGetRandUserReq
|
|
(*GourmetGetRandUserResp)(nil), // 15: GourmetGetRandUserResp
|
|
nil, // 16: GourmetCreateFoodReq.MaterialEntry
|
|
nil, // 17: GourmetActivateAtlasResp.AtlasEntry
|
|
nil, // 18: GourmetAtlasResp.AtlasEntry
|
|
(*DBGourmet)(nil), // 19: DBGourmet
|
|
(*OrderCook)(nil), // 20: OrderCook
|
|
(*DBUser)(nil), // 21: DBUser
|
|
}
|
|
var file_gourmet_gourmet_msg_proto_depIdxs = []int32{
|
|
16, // 0: GourmetCreateFoodReq.material:type_name -> GourmetCreateFoodReq.MaterialEntry
|
|
17, // 1: GourmetActivateAtlasResp.atlas:type_name -> GourmetActivateAtlasResp.AtlasEntry
|
|
18, // 2: GourmetAtlasResp.atlas:type_name -> GourmetAtlasResp.AtlasEntry
|
|
19, // 3: GourmetGetListResp.data:type_name -> DBGourmet
|
|
20, // 4: GourmetCreateOrderReq.order:type_name -> OrderCook
|
|
19, // 5: GourmetCreateOrderResp.data:type_name -> DBGourmet
|
|
19, // 6: GourmetGetRewardResp.data:type_name -> DBGourmet
|
|
19, // 7: GourmetSkillLvResp.data:type_name -> DBGourmet
|
|
21, // 8: GourmetGetRandUserResp.user:type_name -> DBUser
|
|
9, // [9:9] is the sub-list for method output_type
|
|
9, // [9:9] is the sub-list for method input_type
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
0, // [0:9] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_gourmet_gourmet_msg_proto_init() }
|
|
func file_gourmet_gourmet_msg_proto_init() {
|
|
if File_gourmet_gourmet_msg_proto != nil {
|
|
return
|
|
}
|
|
file_gourmet_gourmet_db_proto_init()
|
|
file_user_user_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_gourmet_gourmet_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetCreateFoodReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetCreateFoodResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetActivateAtlasReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetActivateAtlasResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetAtlasReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetAtlasResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetGetListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetGetListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetCreateOrderReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetCreateOrderResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetGetRewardReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetGetRewardResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetSkillLvReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetSkillLvResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetGetRandUserReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GourmetGetRandUserResp); 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_gourmet_gourmet_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 19,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_gourmet_gourmet_msg_proto_goTypes,
|
|
DependencyIndexes: file_gourmet_gourmet_msg_proto_depIdxs,
|
|
MessageInfos: file_gourmet_gourmet_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_gourmet_gourmet_msg_proto = out.File
|
|
file_gourmet_gourmet_msg_proto_rawDesc = nil
|
|
file_gourmet_gourmet_msg_proto_goTypes = nil
|
|
file_gourmet_gourmet_msg_proto_depIdxs = nil
|
|
}
|