506 lines
18 KiB
Go
506 lines
18 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_db.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 DBGourmetAtlas struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID
|
|
Atlas map[string]int32 `protobuf:"bytes,3,rep,name=atlas,proto3" json:"atlas" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3" bson:"atlas"`
|
|
}
|
|
|
|
func (x *DBGourmetAtlas) Reset() {
|
|
*x = DBGourmetAtlas{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBGourmetAtlas) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBGourmetAtlas) ProtoMessage() {}
|
|
|
|
func (x *DBGourmetAtlas) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_db_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 DBGourmetAtlas.ProtoReflect.Descriptor instead.
|
|
func (*DBGourmetAtlas) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *DBGourmetAtlas) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBGourmetAtlas) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBGourmetAtlas) GetAtlas() map[string]int32 {
|
|
if x != nil {
|
|
return x.Atlas
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 正在烹饪的食物
|
|
type Cooking struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FoodType int32 `protobuf:"varint,1,opt,name=foodType,proto3" json:"foodType"` // 料理类型
|
|
ETime int64 `protobuf:"varint,2,opt,name=eTime,proto3" json:"eTime"` // 结束时间戳
|
|
STime int64 `protobuf:"varint,3,opt,name=sTime,proto3" json:"sTime"` // 开始时间戳
|
|
}
|
|
|
|
func (x *Cooking) Reset() {
|
|
*x = Cooking{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Cooking) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Cooking) ProtoMessage() {}
|
|
|
|
func (x *Cooking) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_db_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 Cooking.ProtoReflect.Descriptor instead.
|
|
func (*Cooking) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Cooking) GetFoodType() int32 {
|
|
if x != nil {
|
|
return x.FoodType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Cooking) GetETime() int64 {
|
|
if x != nil {
|
|
return x.ETime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Cooking) GetSTime() int64 {
|
|
if x != nil {
|
|
return x.STime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 队列里的烹饪食品
|
|
type OrderCook struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FoodType int32 `protobuf:"varint,1,opt,name=foodType,proto3" json:"foodType"` // 料理类型
|
|
FoodCount int32 `protobuf:"varint,2,opt,name=foodCount,proto3" json:"foodCount"` // 料理数量
|
|
CookTime int32 `protobuf:"varint,3,opt,name=cookTime,proto3" json:"cookTime"` // 剩余烹饪时间
|
|
}
|
|
|
|
func (x *OrderCook) Reset() {
|
|
*x = OrderCook{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OrderCook) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OrderCook) ProtoMessage() {}
|
|
|
|
func (x *OrderCook) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_db_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 OrderCook.ProtoReflect.Descriptor instead.
|
|
func (*OrderCook) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *OrderCook) GetFoodType() int32 {
|
|
if x != nil {
|
|
return x.FoodType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderCook) GetFoodCount() int32 {
|
|
if x != nil {
|
|
return x.FoodCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderCook) GetCookTime() int32 {
|
|
if x != nil {
|
|
return x.CookTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DBGourmet struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID
|
|
CookingFood *Cooking `protobuf:"bytes,3,opt,name=cookingFood,proto3" json:"cookingFood" bson:"cookingFood"` //正在烹饪的食品
|
|
Foods []*OrderCook `protobuf:"bytes,4,rep,name=foods,proto3" json:"foods" bson:"foods"` //等待烹饪的食品
|
|
Items []*UserAssets `protobuf:"bytes,5,rep,name=items,proto3" json:"items" bson:"items"` //已经做好的食品
|
|
Skill map[int32]int32 `protobuf:"bytes,6,rep,name=skill,proto3" json:"skill" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3" bson:"skill"` //技能ID
|
|
SpecialSkill map[int32]int32 `protobuf:"bytes,7,rep,name=specialSkill,proto3" json:"specialSkill" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3" bson:"specialSkill"` //通用技能
|
|
OrderCostTime int32 `protobuf:"varint,8,opt,name=orderCostTime,proto3" json:"orderCostTime" bson:"orderCostTime"` //订单消耗的时常
|
|
Ctime int64 `protobuf:"varint,9,opt,name=ctime,proto3" json:"ctime"` // 订单创建时间
|
|
TotalTime int32 `protobuf:"varint,10,opt,name=totalTime,proto3" json:"totalTime" bson:"totalTime"`
|
|
}
|
|
|
|
func (x *DBGourmet) Reset() {
|
|
*x = DBGourmet{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gourmet_gourmet_db_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBGourmet) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBGourmet) ProtoMessage() {}
|
|
|
|
func (x *DBGourmet) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gourmet_gourmet_db_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 DBGourmet.ProtoReflect.Descriptor instead.
|
|
func (*DBGourmet) Descriptor() ([]byte, []int) {
|
|
return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DBGourmet) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBGourmet) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBGourmet) GetCookingFood() *Cooking {
|
|
if x != nil {
|
|
return x.CookingFood
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBGourmet) GetFoods() []*OrderCook {
|
|
if x != nil {
|
|
return x.Foods
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBGourmet) GetItems() []*UserAssets {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBGourmet) GetSkill() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Skill
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBGourmet) GetSpecialSkill() map[int32]int32 {
|
|
if x != nil {
|
|
return x.SpecialSkill
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBGourmet) GetOrderCostTime() int32 {
|
|
if x != nil {
|
|
return x.OrderCostTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBGourmet) GetCtime() int64 {
|
|
if x != nil {
|
|
return x.Ctime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBGourmet) GetTotalTime() int32 {
|
|
if x != nil {
|
|
return x.TotalTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_gourmet_gourmet_db_proto protoreflect.FileDescriptor
|
|
|
|
var file_gourmet_gourmet_db_proto_rawDesc = []byte{
|
|
0x0a, 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, 0x0a, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x0e, 0x44, 0x42, 0x47, 0x6f, 0x75,
|
|
0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x05, 0x61,
|
|
0x74, 0x6c, 0x61, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x44, 0x42, 0x47,
|
|
0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 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, 0x51, 0x0a, 0x07, 0x43, 0x6f, 0x6f, 0x6b, 0x69,
|
|
0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x6f, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14,
|
|
0x0a, 0x05, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65,
|
|
0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x61, 0x0a, 0x09, 0x4f, 0x72,
|
|
0x64, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6f, 0x64, 0x54,
|
|
0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x6f, 0x6f, 0x64, 0x54,
|
|
0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x6f, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x6f, 0x6f, 0x64, 0x43, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6f, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x6f, 0x6f, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xe2, 0x03,
|
|
0x0a, 0x09, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75,
|
|
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2a, 0x0a,
|
|
0x0b, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x08, 0x2e, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x63, 0x6f,
|
|
0x6f, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x6f, 0x64, 0x12, 0x20, 0x0a, 0x05, 0x66, 0x6f, 0x6f,
|
|
0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
|
0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x05, 0x66, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x05, 0x69,
|
|
0x74, 0x65, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65,
|
|
0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x2b,
|
|
0x0a, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e,
|
|
0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45,
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x40, 0x0a, 0x0c, 0x73,
|
|
0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x1c, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x2e, 0x53, 0x70,
|
|
0x65, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
0x0c, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x24, 0x0a,
|
|
0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x73, 0x74, 0x54,
|
|
0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74,
|
|
0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f,
|
|
0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x6b, 0x69, 0x6c, 0x6c,
|
|
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, 0x1a, 0x3f, 0x0a, 0x11, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x53, 0x6b, 0x69, 0x6c,
|
|
0x6c, 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_gourmet_gourmet_db_proto_rawDescOnce sync.Once
|
|
file_gourmet_gourmet_db_proto_rawDescData = file_gourmet_gourmet_db_proto_rawDesc
|
|
)
|
|
|
|
func file_gourmet_gourmet_db_proto_rawDescGZIP() []byte {
|
|
file_gourmet_gourmet_db_proto_rawDescOnce.Do(func() {
|
|
file_gourmet_gourmet_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_gourmet_gourmet_db_proto_rawDescData)
|
|
})
|
|
return file_gourmet_gourmet_db_proto_rawDescData
|
|
}
|
|
|
|
var file_gourmet_gourmet_db_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
var file_gourmet_gourmet_db_proto_goTypes = []interface{}{
|
|
(*DBGourmetAtlas)(nil), // 0: DBGourmetAtlas
|
|
(*Cooking)(nil), // 1: Cooking
|
|
(*OrderCook)(nil), // 2: OrderCook
|
|
(*DBGourmet)(nil), // 3: DBGourmet
|
|
nil, // 4: DBGourmetAtlas.AtlasEntry
|
|
nil, // 5: DBGourmet.SkillEntry
|
|
nil, // 6: DBGourmet.SpecialSkillEntry
|
|
(*UserAssets)(nil), // 7: UserAssets
|
|
}
|
|
var file_gourmet_gourmet_db_proto_depIdxs = []int32{
|
|
4, // 0: DBGourmetAtlas.atlas:type_name -> DBGourmetAtlas.AtlasEntry
|
|
1, // 1: DBGourmet.cookingFood:type_name -> Cooking
|
|
2, // 2: DBGourmet.foods:type_name -> OrderCook
|
|
7, // 3: DBGourmet.items:type_name -> UserAssets
|
|
5, // 4: DBGourmet.skill:type_name -> DBGourmet.SkillEntry
|
|
6, // 5: DBGourmet.specialSkill:type_name -> DBGourmet.SpecialSkillEntry
|
|
6, // [6:6] is the sub-list for method output_type
|
|
6, // [6:6] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_gourmet_gourmet_db_proto_init() }
|
|
func file_gourmet_gourmet_db_proto_init() {
|
|
if File_gourmet_gourmet_db_proto != nil {
|
|
return
|
|
}
|
|
file_comm_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_gourmet_gourmet_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBGourmetAtlas); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Cooking); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OrderCook); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gourmet_gourmet_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBGourmet); 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_db_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 7,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_gourmet_gourmet_db_proto_goTypes,
|
|
DependencyIndexes: file_gourmet_gourmet_db_proto_depIdxs,
|
|
MessageInfos: file_gourmet_gourmet_db_proto_msgTypes,
|
|
}.Build()
|
|
File_gourmet_gourmet_db_proto = out.File
|
|
file_gourmet_gourmet_db_proto_rawDesc = nil
|
|
file_gourmet_gourmet_db_proto_goTypes = nil
|
|
file_gourmet_gourmet_db_proto_depIdxs = nil
|
|
}
|