// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: oldtimes/oldtimes_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 OldtimesGetallReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *OldtimesGetallReq) Reset() { *x = OldtimesGetallReq{} if protoimpl.UnsafeEnabled { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OldtimesGetallReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*OldtimesGetallReq) ProtoMessage() {} func (x *OldtimesGetallReq) ProtoReflect() protoreflect.Message { mi := &file_oldtimes_oldtimes_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 OldtimesGetallReq.ProtoReflect.Descriptor instead. func (*OldtimesGetallReq) Descriptor() ([]byte, []int) { return file_oldtimes_oldtimes_msg_proto_rawDescGZIP(), []int{0} } type OldtimesGetallResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Data *DBOldtimes `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` } func (x *OldtimesGetallResp) Reset() { *x = OldtimesGetallResp{} if protoimpl.UnsafeEnabled { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OldtimesGetallResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*OldtimesGetallResp) ProtoMessage() {} func (x *OldtimesGetallResp) ProtoReflect() protoreflect.Message { mi := &file_oldtimes_oldtimes_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 OldtimesGetallResp.ProtoReflect.Descriptor instead. func (*OldtimesGetallResp) Descriptor() ([]byte, []int) { return file_oldtimes_oldtimes_msg_proto_rawDescGZIP(), []int{1} } func (x *OldtimesGetallResp) GetData() *DBOldtimes { if x != nil { return x.Data } return nil } //进入关卡 type OldtimesEnterReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ChapterId int32 `protobuf:"varint,1,opt,name=chapterId,proto3" json:"chapterId"` LevelId int32 `protobuf:"varint,2,opt,name=levelId,proto3" json:"levelId"` } func (x *OldtimesEnterReq) Reset() { *x = OldtimesEnterReq{} if protoimpl.UnsafeEnabled { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OldtimesEnterReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*OldtimesEnterReq) ProtoMessage() {} func (x *OldtimesEnterReq) ProtoReflect() protoreflect.Message { mi := &file_oldtimes_oldtimes_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 OldtimesEnterReq.ProtoReflect.Descriptor instead. func (*OldtimesEnterReq) Descriptor() ([]byte, []int) { return file_oldtimes_oldtimes_msg_proto_rawDescGZIP(), []int{2} } func (x *OldtimesEnterReq) GetChapterId() int32 { if x != nil { return x.ChapterId } return 0 } func (x *OldtimesEnterReq) GetLevelId() int32 { if x != nil { return x.LevelId } return 0 } type OldtimesEnterResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code"` } func (x *OldtimesEnterResp) Reset() { *x = OldtimesEnterResp{} if protoimpl.UnsafeEnabled { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OldtimesEnterResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*OldtimesEnterResp) ProtoMessage() {} func (x *OldtimesEnterResp) ProtoReflect() protoreflect.Message { mi := &file_oldtimes_oldtimes_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 OldtimesEnterResp.ProtoReflect.Descriptor instead. func (*OldtimesEnterResp) Descriptor() ([]byte, []int) { return file_oldtimes_oldtimes_msg_proto_rawDescGZIP(), []int{3} } func (x *OldtimesEnterResp) GetCode() int32 { if x != nil { return x.Code } return 0 } //关卡通过 type OldtimesFinishReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ChapterId int32 `protobuf:"varint,1,opt,name=chapterId,proto3" json:"chapterId"` //章节ID LevelId int32 `protobuf:"varint,2,opt,name=levelId,proto3" json:"levelId"` //关卡ID } func (x *OldtimesFinishReq) Reset() { *x = OldtimesFinishReq{} if protoimpl.UnsafeEnabled { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OldtimesFinishReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*OldtimesFinishReq) ProtoMessage() {} func (x *OldtimesFinishReq) ProtoReflect() protoreflect.Message { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use OldtimesFinishReq.ProtoReflect.Descriptor instead. func (*OldtimesFinishReq) Descriptor() ([]byte, []int) { return file_oldtimes_oldtimes_msg_proto_rawDescGZIP(), []int{4} } func (x *OldtimesFinishReq) GetChapterId() int32 { if x != nil { return x.ChapterId } return 0 } func (x *OldtimesFinishReq) GetLevelId() int32 { if x != nil { return x.LevelId } return 0 } type OldtimesFinishResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code"` } func (x *OldtimesFinishResp) Reset() { *x = OldtimesFinishResp{} if protoimpl.UnsafeEnabled { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OldtimesFinishResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*OldtimesFinishResp) ProtoMessage() {} func (x *OldtimesFinishResp) ProtoReflect() protoreflect.Message { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use OldtimesFinishResp.ProtoReflect.Descriptor instead. func (*OldtimesFinishResp) Descriptor() ([]byte, []int) { return file_oldtimes_oldtimes_msg_proto_rawDescGZIP(), []int{5} } func (x *OldtimesFinishResp) GetCode() int32 { if x != nil { return x.Code } return 0 } //领取章节奖励 type OldtimesReceiveReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ChapterId int32 `protobuf:"varint,1,opt,name=chapterId,proto3" json:"chapterId"` //章节ID } func (x *OldtimesReceiveReq) Reset() { *x = OldtimesReceiveReq{} if protoimpl.UnsafeEnabled { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OldtimesReceiveReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*OldtimesReceiveReq) ProtoMessage() {} func (x *OldtimesReceiveReq) ProtoReflect() protoreflect.Message { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use OldtimesReceiveReq.ProtoReflect.Descriptor instead. func (*OldtimesReceiveReq) Descriptor() ([]byte, []int) { return file_oldtimes_oldtimes_msg_proto_rawDescGZIP(), []int{6} } func (x *OldtimesReceiveReq) GetChapterId() int32 { if x != nil { return x.ChapterId } return 0 } type OldtimesReceiveResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code"` } func (x *OldtimesReceiveResp) Reset() { *x = OldtimesReceiveResp{} if protoimpl.UnsafeEnabled { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OldtimesReceiveResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*OldtimesReceiveResp) ProtoMessage() {} func (x *OldtimesReceiveResp) ProtoReflect() protoreflect.Message { mi := &file_oldtimes_oldtimes_msg_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use OldtimesReceiveResp.ProtoReflect.Descriptor instead. func (*OldtimesReceiveResp) Descriptor() ([]byte, []int) { return file_oldtimes_oldtimes_msg_proto_rawDescGZIP(), []int{7} } func (x *OldtimesReceiveResp) GetCode() int32 { if x != nil { return x.Code } return 0 } var File_oldtimes_oldtimes_msg_proto protoreflect.FileDescriptor var file_oldtimes_oldtimes_msg_proto_rawDesc = []byte{ 0x0a, 0x1b, 0x6f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x2f, 0x6f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x6f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x2f, 0x6f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x4f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x47, 0x65, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x22, 0x35, 0x0a, 0x12, 0x4f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x47, 0x65, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x4f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4a, 0x0a, 0x10, 0x4f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x22, 0x27, 0x0a, 0x11, 0x4f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x4b, 0x0a, 0x11, 0x4f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x22, 0x28, 0x0a, 0x12, 0x4f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x32, 0x0a, 0x12, 0x4f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x29, 0x0a, 0x13, 0x4f, 0x6c, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_oldtimes_oldtimes_msg_proto_rawDescOnce sync.Once file_oldtimes_oldtimes_msg_proto_rawDescData = file_oldtimes_oldtimes_msg_proto_rawDesc ) func file_oldtimes_oldtimes_msg_proto_rawDescGZIP() []byte { file_oldtimes_oldtimes_msg_proto_rawDescOnce.Do(func() { file_oldtimes_oldtimes_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_oldtimes_oldtimes_msg_proto_rawDescData) }) return file_oldtimes_oldtimes_msg_proto_rawDescData } var file_oldtimes_oldtimes_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_oldtimes_oldtimes_msg_proto_goTypes = []interface{}{ (*OldtimesGetallReq)(nil), // 0: OldtimesGetallReq (*OldtimesGetallResp)(nil), // 1: OldtimesGetallResp (*OldtimesEnterReq)(nil), // 2: OldtimesEnterReq (*OldtimesEnterResp)(nil), // 3: OldtimesEnterResp (*OldtimesFinishReq)(nil), // 4: OldtimesFinishReq (*OldtimesFinishResp)(nil), // 5: OldtimesFinishResp (*OldtimesReceiveReq)(nil), // 6: OldtimesReceiveReq (*OldtimesReceiveResp)(nil), // 7: OldtimesReceiveResp (*DBOldtimes)(nil), // 8: DBOldtimes } var file_oldtimes_oldtimes_msg_proto_depIdxs = []int32{ 8, // 0: OldtimesGetallResp.data:type_name -> DBOldtimes 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_oldtimes_oldtimes_msg_proto_init() } func file_oldtimes_oldtimes_msg_proto_init() { if File_oldtimes_oldtimes_msg_proto != nil { return } file_oldtimes_oldtimes_db_proto_init() if !protoimpl.UnsafeEnabled { file_oldtimes_oldtimes_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OldtimesGetallReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_oldtimes_oldtimes_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OldtimesGetallResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_oldtimes_oldtimes_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OldtimesEnterReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_oldtimes_oldtimes_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OldtimesEnterResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_oldtimes_oldtimes_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OldtimesFinishReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_oldtimes_oldtimes_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OldtimesFinishResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_oldtimes_oldtimes_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OldtimesReceiveReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_oldtimes_oldtimes_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OldtimesReceiveResp); 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_oldtimes_oldtimes_msg_proto_rawDesc, NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 0, }, GoTypes: file_oldtimes_oldtimes_msg_proto_goTypes, DependencyIndexes: file_oldtimes_oldtimes_msg_proto_depIdxs, MessageInfos: file_oldtimes_oldtimes_msg_proto_msgTypes, }.Build() File_oldtimes_oldtimes_msg_proto = out.File file_oldtimes_oldtimes_msg_proto_rawDesc = nil file_oldtimes_oldtimes_msg_proto_goTypes = nil file_oldtimes_oldtimes_msg_proto_depIdxs = nil }