// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: capturesheep/capturesheep_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 CapturesheepInfoReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *CapturesheepInfoReq) Reset() { *x = CapturesheepInfoReq{} if protoimpl.UnsafeEnabled { mi := &file_capturesheep_capturesheep_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CapturesheepInfoReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CapturesheepInfoReq) ProtoMessage() {} func (x *CapturesheepInfoReq) ProtoReflect() protoreflect.Message { mi := &file_capturesheep_capturesheep_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 CapturesheepInfoReq.ProtoReflect.Descriptor instead. func (*CapturesheepInfoReq) Descriptor() ([]byte, []int) { return file_capturesheep_capturesheep_msg_proto_rawDescGZIP(), []int{0} } //竞技场信息 回应 type CapturesheepInfoResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Info *DBCaptureSheep `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` } func (x *CapturesheepInfoResp) Reset() { *x = CapturesheepInfoResp{} if protoimpl.UnsafeEnabled { mi := &file_capturesheep_capturesheep_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CapturesheepInfoResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*CapturesheepInfoResp) ProtoMessage() {} func (x *CapturesheepInfoResp) ProtoReflect() protoreflect.Message { mi := &file_capturesheep_capturesheep_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 CapturesheepInfoResp.ProtoReflect.Descriptor instead. func (*CapturesheepInfoResp) Descriptor() ([]byte, []int) { return file_capturesheep_capturesheep_msg_proto_rawDescGZIP(), []int{1} } func (x *CapturesheepInfoResp) GetInfo() *DBCaptureSheep { if x != nil { return x.Info } return nil } type CapturesheepMatcheReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *CapturesheepMatcheReq) Reset() { *x = CapturesheepMatcheReq{} if protoimpl.UnsafeEnabled { mi := &file_capturesheep_capturesheep_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CapturesheepMatcheReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CapturesheepMatcheReq) ProtoMessage() {} func (x *CapturesheepMatcheReq) ProtoReflect() protoreflect.Message { mi := &file_capturesheep_capturesheep_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 CapturesheepMatcheReq.ProtoReflect.Descriptor instead. func (*CapturesheepMatcheReq) Descriptor() ([]byte, []int) { return file_capturesheep_capturesheep_msg_proto_rawDescGZIP(), []int{2} } //竞技场信息 回应 type CapturesheepMatcheResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Red []*DBCaptureSheep `protobuf:"bytes,1,rep,name=red,proto3" json:"red"` Blue []*DBCaptureSheep `protobuf:"bytes,2,rep,name=blue,proto3" json:"blue"` } func (x *CapturesheepMatcheResp) Reset() { *x = CapturesheepMatcheResp{} if protoimpl.UnsafeEnabled { mi := &file_capturesheep_capturesheep_msg_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CapturesheepMatcheResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*CapturesheepMatcheResp) ProtoMessage() {} func (x *CapturesheepMatcheResp) ProtoReflect() protoreflect.Message { mi := &file_capturesheep_capturesheep_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 CapturesheepMatcheResp.ProtoReflect.Descriptor instead. func (*CapturesheepMatcheResp) Descriptor() ([]byte, []int) { return file_capturesheep_capturesheep_msg_proto_rawDescGZIP(), []int{3} } func (x *CapturesheepMatcheResp) GetRed() []*DBCaptureSheep { if x != nil { return x.Red } return nil } func (x *CapturesheepMatcheResp) GetBlue() []*DBCaptureSheep { if x != nil { return x.Blue } return nil } var File_capturesheep_capturesheep_msg_proto protoreflect.FileDescriptor var file_capturesheep_capturesheep_msg_proto_rawDesc = []byte{ 0x0a, 0x23, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x2f, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x2f, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x3b, 0x0a, 0x14, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x53, 0x68, 0x65, 0x65, 0x70, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x22, 0x60, 0x0a, 0x16, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x53, 0x68, 0x65, 0x65, 0x70, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x53, 0x68, 0x65, 0x65, 0x70, 0x52, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_capturesheep_capturesheep_msg_proto_rawDescOnce sync.Once file_capturesheep_capturesheep_msg_proto_rawDescData = file_capturesheep_capturesheep_msg_proto_rawDesc ) func file_capturesheep_capturesheep_msg_proto_rawDescGZIP() []byte { file_capturesheep_capturesheep_msg_proto_rawDescOnce.Do(func() { file_capturesheep_capturesheep_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_capturesheep_capturesheep_msg_proto_rawDescData) }) return file_capturesheep_capturesheep_msg_proto_rawDescData } var file_capturesheep_capturesheep_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_capturesheep_capturesheep_msg_proto_goTypes = []interface{}{ (*CapturesheepInfoReq)(nil), // 0: CapturesheepInfoReq (*CapturesheepInfoResp)(nil), // 1: CapturesheepInfoResp (*CapturesheepMatcheReq)(nil), // 2: CapturesheepMatcheReq (*CapturesheepMatcheResp)(nil), // 3: CapturesheepMatcheResp (*DBCaptureSheep)(nil), // 4: DBCaptureSheep } var file_capturesheep_capturesheep_msg_proto_depIdxs = []int32{ 4, // 0: CapturesheepInfoResp.info:type_name -> DBCaptureSheep 4, // 1: CapturesheepMatcheResp.red:type_name -> DBCaptureSheep 4, // 2: CapturesheepMatcheResp.blue:type_name -> DBCaptureSheep 3, // [3:3] is the sub-list for method output_type 3, // [3:3] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_capturesheep_capturesheep_msg_proto_init() } func file_capturesheep_capturesheep_msg_proto_init() { if File_capturesheep_capturesheep_msg_proto != nil { return } file_capturesheep_capturesheep_db_proto_init() if !protoimpl.UnsafeEnabled { file_capturesheep_capturesheep_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CapturesheepInfoReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_capturesheep_capturesheep_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CapturesheepInfoResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_capturesheep_capturesheep_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CapturesheepMatcheReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_capturesheep_capturesheep_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CapturesheepMatcheResp); 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_capturesheep_capturesheep_msg_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, GoTypes: file_capturesheep_capturesheep_msg_proto_goTypes, DependencyIndexes: file_capturesheep_capturesheep_msg_proto_depIdxs, MessageInfos: file_capturesheep_capturesheep_msg_proto_msgTypes, }.Build() File_capturesheep_capturesheep_msg_proto = out.File file_capturesheep_capturesheep_msg_proto_rawDesc = nil file_capturesheep_capturesheep_msg_proto_goTypes = nil file_capturesheep_capturesheep_msg_proto_depIdxs = nil }