diff --git a/pb/gourmet_db.pb.go b/pb/gourmet_db.pb.go index 2194acb69..327756164 100644 --- a/pb/gourmet_db.pb.go +++ b/pb/gourmet_db.pb.go @@ -20,6 +20,69 @@ const ( _ = 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 @@ -34,7 +97,7 @@ type Cooking struct { func (x *Cooking) Reset() { *x = Cooking{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_db_proto_msgTypes[0] + mi := &file_gourmet_gourmet_db_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +110,7 @@ func (x *Cooking) String() string { func (*Cooking) ProtoMessage() {} func (x *Cooking) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_db_proto_msgTypes[0] + mi := &file_gourmet_gourmet_db_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +123,7 @@ func (x *Cooking) ProtoReflect() protoreflect.Message { // Deprecated: Use Cooking.ProtoReflect.Descriptor instead. func (*Cooking) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{0} + return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{1} } func (x *Cooking) GetFoodType() int32 { @@ -98,7 +161,7 @@ type OrderCook struct { func (x *OrderCook) Reset() { *x = OrderCook{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_db_proto_msgTypes[1] + mi := &file_gourmet_gourmet_db_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -111,7 +174,7 @@ func (x *OrderCook) String() string { func (*OrderCook) ProtoMessage() {} func (x *OrderCook) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_db_proto_msgTypes[1] + mi := &file_gourmet_gourmet_db_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -124,7 +187,7 @@ func (x *OrderCook) ProtoReflect() protoreflect.Message { // Deprecated: Use OrderCook.ProtoReflect.Descriptor instead. func (*OrderCook) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{1} + return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{2} } func (x *OrderCook) GetFoodType() int32 { @@ -168,7 +231,7 @@ type DBGourmet struct { func (x *DBGourmet) Reset() { *x = DBGourmet{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_db_proto_msgTypes[2] + mi := &file_gourmet_gourmet_db_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -181,7 +244,7 @@ func (x *DBGourmet) String() string { func (*DBGourmet) ProtoMessage() {} func (x *DBGourmet) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_db_proto_msgTypes[2] + mi := &file_gourmet_gourmet_db_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -194,7 +257,7 @@ func (x *DBGourmet) ProtoReflect() protoreflect.Message { // Deprecated: Use DBGourmet.ProtoReflect.Descriptor instead. func (*DBGourmet) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{2} + return file_gourmet_gourmet_db_proto_rawDescGZIP(), []int{3} } func (x *DBGourmet) GetId() string { @@ -272,50 +335,60 @@ 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, 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, + 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 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 ( @@ -330,26 +403,29 @@ func file_gourmet_gourmet_db_proto_rawDescGZIP() []byte { return file_gourmet_gourmet_db_proto_rawDescData } -var file_gourmet_gourmet_db_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_gourmet_gourmet_db_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_gourmet_gourmet_db_proto_goTypes = []interface{}{ - (*Cooking)(nil), // 0: Cooking - (*OrderCook)(nil), // 1: OrderCook - (*DBGourmet)(nil), // 2: DBGourmet - nil, // 3: DBGourmet.SkillEntry - nil, // 4: DBGourmet.SpecialSkillEntry - (*UserAssets)(nil), // 5: UserAssets + (*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{ - 0, // 0: DBGourmet.cookingFood:type_name -> Cooking - 1, // 1: DBGourmet.foods:type_name -> OrderCook - 5, // 2: DBGourmet.items:type_name -> UserAssets - 3, // 3: DBGourmet.skill:type_name -> DBGourmet.SkillEntry - 4, // 4: DBGourmet.specialSkill:type_name -> DBGourmet.SpecialSkillEntry - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name + 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() } @@ -360,7 +436,7 @@ func file_gourmet_gourmet_db_proto_init() { file_comm_proto_init() if !protoimpl.UnsafeEnabled { file_gourmet_gourmet_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Cooking); i { + switch v := v.(*DBGourmetAtlas); i { case 0: return &v.state case 1: @@ -372,7 +448,7 @@ func file_gourmet_gourmet_db_proto_init() { } } file_gourmet_gourmet_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrderCook); i { + switch v := v.(*Cooking); i { case 0: return &v.state case 1: @@ -384,6 +460,18 @@ func file_gourmet_gourmet_db_proto_init() { } } 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 @@ -402,7 +490,7 @@ func file_gourmet_gourmet_db_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_gourmet_gourmet_db_proto_rawDesc, NumEnums: 0, - NumMessages: 5, + NumMessages: 7, NumExtensions: 0, NumServices: 0, }, diff --git a/pb/gourmet_msg.pb.go b/pb/gourmet_msg.pb.go index af8c6b20f..571e7e259 100644 --- a/pb/gourmet_msg.pb.go +++ b/pb/gourmet_msg.pb.go @@ -20,7 +20,202 @@ const ( _ = 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"` + 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 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[2] + 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[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 GourmetAtlasReq.ProtoReflect.Descriptor instead. +func (*GourmetAtlasReq) Descriptor() ([]byte, []int) { + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{2} +} + +type GourmetAtlasResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Atlas *DBGourmetAtlas `protobuf:"bytes,1,opt,name=atlas,proto3" json:"atlas"` +} + +func (x *GourmetAtlasResp) Reset() { + *x = GourmetAtlasResp{} + if protoimpl.UnsafeEnabled { + mi := &file_gourmet_gourmet_msg_proto_msgTypes[3] + 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[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 GourmetAtlasResp.ProtoReflect.Descriptor instead. +func (*GourmetAtlasResp) Descriptor() ([]byte, []int) { + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{3} +} + +func (x *GourmetAtlasResp) GetAtlas() *DBGourmetAtlas { + if x != nil { + return x.Atlas + } + return nil +} + type GourmetGetListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -30,7 +225,7 @@ type GourmetGetListReq struct { func (x *GourmetGetListReq) Reset() { *x = GourmetGetListReq{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[0] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -43,7 +238,7 @@ func (x *GourmetGetListReq) String() string { func (*GourmetGetListReq) ProtoMessage() {} func (x *GourmetGetListReq) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[0] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -56,7 +251,7 @@ func (x *GourmetGetListReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetGetListReq.ProtoReflect.Descriptor instead. func (*GourmetGetListReq) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{0} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{4} } // 返回进度信息 @@ -71,7 +266,7 @@ type GourmetGetListResp struct { func (x *GourmetGetListResp) Reset() { *x = GourmetGetListResp{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[1] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -84,7 +279,7 @@ func (x *GourmetGetListResp) String() string { func (*GourmetGetListResp) ProtoMessage() {} func (x *GourmetGetListResp) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[1] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -97,7 +292,7 @@ func (x *GourmetGetListResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetGetListResp.ProtoReflect.Descriptor instead. func (*GourmetGetListResp) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{1} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{5} } func (x *GourmetGetListResp) GetData() *DBGourmet { @@ -119,7 +314,7 @@ type GourmetCreateOrderReq struct { func (x *GourmetCreateOrderReq) Reset() { *x = GourmetCreateOrderReq{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[2] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -132,7 +327,7 @@ func (x *GourmetCreateOrderReq) String() string { func (*GourmetCreateOrderReq) ProtoMessage() {} func (x *GourmetCreateOrderReq) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[2] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -145,7 +340,7 @@ func (x *GourmetCreateOrderReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetCreateOrderReq.ProtoReflect.Descriptor instead. func (*GourmetCreateOrderReq) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{2} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{6} } func (x *GourmetCreateOrderReq) GetOrder() []*OrderCook { @@ -166,7 +361,7 @@ type GourmetCreateOrderResp struct { func (x *GourmetCreateOrderResp) Reset() { *x = GourmetCreateOrderResp{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[3] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -179,7 +374,7 @@ func (x *GourmetCreateOrderResp) String() string { func (*GourmetCreateOrderResp) ProtoMessage() {} func (x *GourmetCreateOrderResp) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[3] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -192,7 +387,7 @@ func (x *GourmetCreateOrderResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetCreateOrderResp.ProtoReflect.Descriptor instead. func (*GourmetCreateOrderResp) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{3} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{7} } func (x *GourmetCreateOrderResp) GetData() *DBGourmet { @@ -212,7 +407,7 @@ type GourmetGetRewardReq struct { func (x *GourmetGetRewardReq) Reset() { *x = GourmetGetRewardReq{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[4] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -225,7 +420,7 @@ func (x *GourmetGetRewardReq) String() string { func (*GourmetGetRewardReq) ProtoMessage() {} func (x *GourmetGetRewardReq) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[4] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -238,7 +433,7 @@ func (x *GourmetGetRewardReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetGetRewardReq.ProtoReflect.Descriptor instead. func (*GourmetGetRewardReq) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{4} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{8} } type GourmetGetRewardResp struct { @@ -252,7 +447,7 @@ type GourmetGetRewardResp struct { func (x *GourmetGetRewardResp) Reset() { *x = GourmetGetRewardResp{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[5] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -265,7 +460,7 @@ func (x *GourmetGetRewardResp) String() string { func (*GourmetGetRewardResp) ProtoMessage() {} func (x *GourmetGetRewardResp) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[5] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -278,7 +473,7 @@ func (x *GourmetGetRewardResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetGetRewardResp.ProtoReflect.Descriptor instead. func (*GourmetGetRewardResp) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{5} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{9} } func (x *GourmetGetRewardResp) GetData() *DBGourmet { @@ -300,7 +495,7 @@ type GourmetSkillLvReq struct { func (x *GourmetSkillLvReq) Reset() { *x = GourmetSkillLvReq{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[6] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -313,7 +508,7 @@ func (x *GourmetSkillLvReq) String() string { func (*GourmetSkillLvReq) ProtoMessage() {} func (x *GourmetSkillLvReq) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[6] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -326,7 +521,7 @@ func (x *GourmetSkillLvReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetSkillLvReq.ProtoReflect.Descriptor instead. func (*GourmetSkillLvReq) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{6} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{10} } func (x *GourmetSkillLvReq) GetSkillType() int32 { @@ -347,7 +542,7 @@ type GourmetSkillLvResp struct { func (x *GourmetSkillLvResp) Reset() { *x = GourmetSkillLvResp{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[7] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -360,7 +555,7 @@ func (x *GourmetSkillLvResp) String() string { func (*GourmetSkillLvResp) ProtoMessage() {} func (x *GourmetSkillLvResp) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[7] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -373,7 +568,7 @@ func (x *GourmetSkillLvResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetSkillLvResp.ProtoReflect.Descriptor instead. func (*GourmetSkillLvResp) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{7} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{11} } func (x *GourmetSkillLvResp) GetData() *DBGourmet { @@ -394,7 +589,7 @@ type GourmetGetRandUserReq struct { func (x *GourmetGetRandUserReq) Reset() { *x = GourmetGetRandUserReq{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[8] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -407,7 +602,7 @@ func (x *GourmetGetRandUserReq) String() string { func (*GourmetGetRandUserReq) ProtoMessage() {} func (x *GourmetGetRandUserReq) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[8] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -420,7 +615,7 @@ func (x *GourmetGetRandUserReq) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetGetRandUserReq.ProtoReflect.Descriptor instead. func (*GourmetGetRandUserReq) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{8} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{12} } func (x *GourmetGetRandUserReq) GetPeople() int32 { @@ -441,7 +636,7 @@ type GourmetGetRandUserResp struct { func (x *GourmetGetRandUserResp) Reset() { *x = GourmetGetRandUserResp{} if protoimpl.UnsafeEnabled { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[9] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -454,7 +649,7 @@ func (x *GourmetGetRandUserResp) String() string { func (*GourmetGetRandUserResp) ProtoMessage() {} func (x *GourmetGetRandUserResp) ProtoReflect() protoreflect.Message { - mi := &file_gourmet_gourmet_msg_proto_msgTypes[9] + mi := &file_gourmet_gourmet_msg_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -467,7 +662,7 @@ func (x *GourmetGetRandUserResp) ProtoReflect() protoreflect.Message { // Deprecated: Use GourmetGetRandUserResp.ProtoReflect.Descriptor instead. func (*GourmetGetRandUserResp) Descriptor() ([]byte, []int) { - return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{9} + return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{13} } func (x *GourmetGetRandUserResp) GetUser() []*DBUser { @@ -484,38 +679,58 @@ var file_gourmet_gourmet_msg_proto_rawDesc = []byte{ 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, 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, + 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, 0x11, 0x0a, 0x0f, 0x47, 0x6f, 0x75, + 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x71, 0x22, 0x39, 0x0a, 0x10, + 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x25, 0x0a, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, + 0x52, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 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 ( @@ -530,34 +745,42 @@ func file_gourmet_gourmet_msg_proto_rawDescGZIP() []byte { return file_gourmet_gourmet_msg_proto_rawDescData } -var file_gourmet_gourmet_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_gourmet_gourmet_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_gourmet_gourmet_msg_proto_goTypes = []interface{}{ - (*GourmetGetListReq)(nil), // 0: GourmetGetListReq - (*GourmetGetListResp)(nil), // 1: GourmetGetListResp - (*GourmetCreateOrderReq)(nil), // 2: GourmetCreateOrderReq - (*GourmetCreateOrderResp)(nil), // 3: GourmetCreateOrderResp - (*GourmetGetRewardReq)(nil), // 4: GourmetGetRewardReq - (*GourmetGetRewardResp)(nil), // 5: GourmetGetRewardResp - (*GourmetSkillLvReq)(nil), // 6: GourmetSkillLvReq - (*GourmetSkillLvResp)(nil), // 7: GourmetSkillLvResp - (*GourmetGetRandUserReq)(nil), // 8: GourmetGetRandUserReq - (*GourmetGetRandUserResp)(nil), // 9: GourmetGetRandUserResp - (*DBGourmet)(nil), // 10: DBGourmet - (*OrderCook)(nil), // 11: OrderCook - (*DBUser)(nil), // 12: DBUser + (*GourmetCreateFoodReq)(nil), // 0: GourmetCreateFoodReq + (*GourmetCreateFoodResp)(nil), // 1: GourmetCreateFoodResp + (*GourmetAtlasReq)(nil), // 2: GourmetAtlasReq + (*GourmetAtlasResp)(nil), // 3: GourmetAtlasResp + (*GourmetGetListReq)(nil), // 4: GourmetGetListReq + (*GourmetGetListResp)(nil), // 5: GourmetGetListResp + (*GourmetCreateOrderReq)(nil), // 6: GourmetCreateOrderReq + (*GourmetCreateOrderResp)(nil), // 7: GourmetCreateOrderResp + (*GourmetGetRewardReq)(nil), // 8: GourmetGetRewardReq + (*GourmetGetRewardResp)(nil), // 9: GourmetGetRewardResp + (*GourmetSkillLvReq)(nil), // 10: GourmetSkillLvReq + (*GourmetSkillLvResp)(nil), // 11: GourmetSkillLvResp + (*GourmetGetRandUserReq)(nil), // 12: GourmetGetRandUserReq + (*GourmetGetRandUserResp)(nil), // 13: GourmetGetRandUserResp + nil, // 14: GourmetCreateFoodReq.MaterialEntry + (*DBGourmetAtlas)(nil), // 15: DBGourmetAtlas + (*DBGourmet)(nil), // 16: DBGourmet + (*OrderCook)(nil), // 17: OrderCook + (*DBUser)(nil), // 18: DBUser } var file_gourmet_gourmet_msg_proto_depIdxs = []int32{ - 10, // 0: GourmetGetListResp.data:type_name -> DBGourmet - 11, // 1: GourmetCreateOrderReq.order:type_name -> OrderCook - 10, // 2: GourmetCreateOrderResp.data:type_name -> DBGourmet - 10, // 3: GourmetGetRewardResp.data:type_name -> DBGourmet - 10, // 4: GourmetSkillLvResp.data:type_name -> DBGourmet - 12, // 5: GourmetGetRandUserResp.user:type_name -> DBUser - 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 + 14, // 0: GourmetCreateFoodReq.material:type_name -> GourmetCreateFoodReq.MaterialEntry + 15, // 1: GourmetAtlasResp.atlas:type_name -> DBGourmetAtlas + 16, // 2: GourmetGetListResp.data:type_name -> DBGourmet + 17, // 3: GourmetCreateOrderReq.order:type_name -> OrderCook + 16, // 4: GourmetCreateOrderResp.data:type_name -> DBGourmet + 16, // 5: GourmetGetRewardResp.data:type_name -> DBGourmet + 16, // 6: GourmetSkillLvResp.data:type_name -> DBGourmet + 18, // 7: GourmetGetRandUserResp.user:type_name -> DBUser + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name } func init() { file_gourmet_gourmet_msg_proto_init() } @@ -569,7 +792,7 @@ func file_gourmet_gourmet_msg_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.(*GourmetGetListReq); i { + switch v := v.(*GourmetCreateFoodReq); i { case 0: return &v.state case 1: @@ -581,7 +804,7 @@ func file_gourmet_gourmet_msg_proto_init() { } } file_gourmet_gourmet_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GourmetGetListResp); i { + switch v := v.(*GourmetCreateFoodResp); i { case 0: return &v.state case 1: @@ -593,7 +816,7 @@ func file_gourmet_gourmet_msg_proto_init() { } } file_gourmet_gourmet_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GourmetCreateOrderReq); i { + switch v := v.(*GourmetAtlasReq); i { case 0: return &v.state case 1: @@ -605,7 +828,7 @@ func file_gourmet_gourmet_msg_proto_init() { } } file_gourmet_gourmet_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GourmetCreateOrderResp); i { + switch v := v.(*GourmetAtlasResp); i { case 0: return &v.state case 1: @@ -617,7 +840,7 @@ func file_gourmet_gourmet_msg_proto_init() { } } file_gourmet_gourmet_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GourmetGetRewardReq); i { + switch v := v.(*GourmetGetListReq); i { case 0: return &v.state case 1: @@ -629,7 +852,7 @@ func file_gourmet_gourmet_msg_proto_init() { } } file_gourmet_gourmet_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GourmetGetRewardResp); i { + switch v := v.(*GourmetGetListResp); i { case 0: return &v.state case 1: @@ -641,7 +864,7 @@ func file_gourmet_gourmet_msg_proto_init() { } } file_gourmet_gourmet_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GourmetSkillLvReq); i { + switch v := v.(*GourmetCreateOrderReq); i { case 0: return &v.state case 1: @@ -653,7 +876,7 @@ func file_gourmet_gourmet_msg_proto_init() { } } file_gourmet_gourmet_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GourmetSkillLvResp); i { + switch v := v.(*GourmetCreateOrderResp); i { case 0: return &v.state case 1: @@ -665,7 +888,7 @@ func file_gourmet_gourmet_msg_proto_init() { } } file_gourmet_gourmet_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GourmetGetRandUserReq); i { + switch v := v.(*GourmetGetRewardReq); i { case 0: return &v.state case 1: @@ -677,6 +900,54 @@ func file_gourmet_gourmet_msg_proto_init() { } } file_gourmet_gourmet_msg_proto_msgTypes[9].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[10].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[11].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[12].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[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GourmetGetRandUserResp); i { case 0: return &v.state @@ -695,7 +966,7 @@ func file_gourmet_gourmet_msg_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_gourmet_gourmet_msg_proto_rawDesc, NumEnums: 0, - NumMessages: 10, + NumMessages: 15, NumExtensions: 0, NumServices: 0, },