// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.30.0 // protoc v4.23.2 // source: service_fish_api.proto package service_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 CheckCatchFishReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // *游戏ID GameType string `protobuf:"bytes,1,opt,name=GameType,proto3" json:"GameType,omitempty"` // *押注额 Bet float64 `protobuf:"fixed64,2,opt,name=Bet,proto3" json:"Bet,omitempty"` // 鱼倍率 Times float64 `protobuf:"fixed64,3,opt,name=Times,proto3" json:"Times,omitempty"` // 运营商 Ops string `protobuf:"bytes,4,opt,name=Ops,proto3" json:"Ops,omitempty"` } func (x *CheckCatchFishReq) Reset() { *x = CheckCatchFishReq{} if protoimpl.UnsafeEnabled { mi := &file_service_fish_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CheckCatchFishReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckCatchFishReq) ProtoMessage() {} func (x *CheckCatchFishReq) ProtoReflect() protoreflect.Message { mi := &file_service_fish_api_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 CheckCatchFishReq.ProtoReflect.Descriptor instead. func (*CheckCatchFishReq) Descriptor() ([]byte, []int) { return file_service_fish_api_proto_rawDescGZIP(), []int{0} } func (x *CheckCatchFishReq) GetGameType() string { if x != nil { return x.GameType } return "" } func (x *CheckCatchFishReq) GetBet() float64 { if x != nil { return x.Bet } return 0 } func (x *CheckCatchFishReq) GetTimes() float64 { if x != nil { return x.Times } return 0 } func (x *CheckCatchFishReq) GetOps() string { if x != nil { return x.Ops } return "" } type CheckCatchFishResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Win int32 `protobuf:"varint,1,opt,name=win,proto3" json:"win,omitempty"` // 是否抓到鱼 } func (x *CheckCatchFishResp) Reset() { *x = CheckCatchFishResp{} if protoimpl.UnsafeEnabled { mi := &file_service_fish_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CheckCatchFishResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckCatchFishResp) ProtoMessage() {} func (x *CheckCatchFishResp) ProtoReflect() protoreflect.Message { mi := &file_service_fish_api_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 CheckCatchFishResp.ProtoReflect.Descriptor instead. func (*CheckCatchFishResp) Descriptor() ([]byte, []int) { return file_service_fish_api_proto_rawDescGZIP(), []int{1} } func (x *CheckCatchFishResp) GetWin() int32 { if x != nil { return x.Win } return 0 } // 抓鱼记录 type PushFishSpinLogReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields OrderId int32 `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Bet float64 `protobuf:"fixed64,3,opt,name=bet,proto3" json:"bet,omitempty"` Win float64 `protobuf:"fixed64,4,opt,name=win,proto3" json:"win,omitempty"` Ops string `protobuf:"bytes,5,opt,name=ops,proto3" json:"ops,omitempty"` Opid string `protobuf:"bytes,6,opt,name=opid,proto3" json:"opid,omitempty"` GameType string `protobuf:"bytes,7,opt,name=gameType,proto3" json:"gameType,omitempty"` IsRobot int32 `protobuf:"varint,8,opt,name=isRobot,proto3" json:"isRobot,omitempty"` Balance float64 `protobuf:"fixed64,9,opt,name=balance,proto3" json:"balance,omitempty"` Time string `protobuf:"bytes,10,opt,name=time,proto3" json:"time,omitempty"` OrdID string `protobuf:"bytes,11,opt,name=ordID,proto3" json:"ordID,omitempty"` } func (x *PushFishSpinLogReq) Reset() { *x = PushFishSpinLogReq{} if protoimpl.UnsafeEnabled { mi := &file_service_fish_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PushFishSpinLogReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*PushFishSpinLogReq) ProtoMessage() {} func (x *PushFishSpinLogReq) ProtoReflect() protoreflect.Message { mi := &file_service_fish_api_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 PushFishSpinLogReq.ProtoReflect.Descriptor instead. func (*PushFishSpinLogReq) Descriptor() ([]byte, []int) { return file_service_fish_api_proto_rawDescGZIP(), []int{2} } func (x *PushFishSpinLogReq) GetOrderId() int32 { if x != nil { return x.OrderId } return 0 } func (x *PushFishSpinLogReq) GetUid() string { if x != nil { return x.Uid } return "" } func (x *PushFishSpinLogReq) GetBet() float64 { if x != nil { return x.Bet } return 0 } func (x *PushFishSpinLogReq) GetWin() float64 { if x != nil { return x.Win } return 0 } func (x *PushFishSpinLogReq) GetOps() string { if x != nil { return x.Ops } return "" } func (x *PushFishSpinLogReq) GetOpid() string { if x != nil { return x.Opid } return "" } func (x *PushFishSpinLogReq) GetGameType() string { if x != nil { return x.GameType } return "" } func (x *PushFishSpinLogReq) GetIsRobot() int32 { if x != nil { return x.IsRobot } return 0 } func (x *PushFishSpinLogReq) GetBalance() float64 { if x != nil { return x.Balance } return 0 } func (x *PushFishSpinLogReq) GetTime() string { if x != nil { return x.Time } return "" } func (x *PushFishSpinLogReq) GetOrdID() string { if x != nil { return x.OrdID } return "" } var File_service_fish_api_proto protoreflect.FileDescriptor var file_service_fish_api_proto_rawDesc = []byte{ 0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x73, 0x68, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x62, 0x22, 0x69, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x61, 0x74, 0x63, 0x68, 0x46, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x47, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x42, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x42, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x4f, 0x70, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4f, 0x70, 0x73, 0x22, 0x26, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x61, 0x74, 0x63, 0x68, 0x46, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x77, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x77, 0x69, 0x6e, 0x22, 0x84, 0x02, 0x0a, 0x12, 0x50, 0x75, 0x73, 0x68, 0x46, 0x69, 0x73, 0x68, 0x53, 0x70, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x62, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x77, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x77, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x70, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x70, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x70, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6f, 0x70, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x73, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x49, 0x44, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x49, 0x44, 0x42, 0x0f, 0x5a, 0x0d, 0x70, 0x62, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_service_fish_api_proto_rawDescOnce sync.Once file_service_fish_api_proto_rawDescData = file_service_fish_api_proto_rawDesc ) func file_service_fish_api_proto_rawDescGZIP() []byte { file_service_fish_api_proto_rawDescOnce.Do(func() { file_service_fish_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_fish_api_proto_rawDescData) }) return file_service_fish_api_proto_rawDescData } var file_service_fish_api_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_service_fish_api_proto_goTypes = []interface{}{ (*CheckCatchFishReq)(nil), // 0: service_pb.CheckCatchFishReq (*CheckCatchFishResp)(nil), // 1: service_pb.CheckCatchFishResp (*PushFishSpinLogReq)(nil), // 2: service_pb.PushFishSpinLogReq } var file_service_fish_api_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_service_fish_api_proto_init() } func file_service_fish_api_proto_init() { if File_service_fish_api_proto != nil { return } if !protoimpl.UnsafeEnabled { file_service_fish_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckCatchFishReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_fish_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckCatchFishResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_fish_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PushFishSpinLogReq); 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_service_fish_api_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, GoTypes: file_service_fish_api_proto_goTypes, DependencyIndexes: file_service_fish_api_proto_depIdxs, MessageInfos: file_service_fish_api_proto_msgTypes, }.Build() File_service_fish_api_proto = out.File file_service_fish_api_proto_rawDesc = nil file_service_fish_api_proto_goTypes = nil file_service_fish_api_proto_depIdxs = nil }