// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: worldtask/worldtask_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 WorldtaskStoryReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"` //任务ID } func (x *WorldtaskStoryReq) Reset() { *x = WorldtaskStoryReq{} if protoimpl.UnsafeEnabled { mi := &file_worldtask_worldtask_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *WorldtaskStoryReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*WorldtaskStoryReq) ProtoMessage() {} func (x *WorldtaskStoryReq) ProtoReflect() protoreflect.Message { mi := &file_worldtask_worldtask_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 WorldtaskStoryReq.ProtoReflect.Descriptor instead. func (*WorldtaskStoryReq) Descriptor() ([]byte, []int) { return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{0} } func (x *WorldtaskStoryReq) GetTaskId() int32 { if x != nil { return x.TaskId } return 0 } type WorldtaskStoryResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NextTaskId int32 `protobuf:"varint,1,opt,name=nextTaskId,proto3" json:"nextTaskId"` //任务ID } func (x *WorldtaskStoryResp) Reset() { *x = WorldtaskStoryResp{} if protoimpl.UnsafeEnabled { mi := &file_worldtask_worldtask_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *WorldtaskStoryResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*WorldtaskStoryResp) ProtoMessage() {} func (x *WorldtaskStoryResp) ProtoReflect() protoreflect.Message { mi := &file_worldtask_worldtask_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 WorldtaskStoryResp.ProtoReflect.Descriptor instead. func (*WorldtaskStoryResp) Descriptor() ([]byte, []int) { return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{1} } func (x *WorldtaskStoryResp) GetNextTaskId() int32 { if x != nil { return x.NextTaskId } return 0 } // 战斗完成 type WorldtaskBattleFinishReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"` //任务ID RtaskSubId int32 `protobuf:"varint,2,opt,name=rtaskSubId,proto3" json:"rtaskSubId"` //支线任务ID ChooseId int32 `protobuf:"varint,3,opt,name=chooseId,proto3" json:"chooseId"` //选项配置ID } func (x *WorldtaskBattleFinishReq) Reset() { *x = WorldtaskBattleFinishReq{} if protoimpl.UnsafeEnabled { mi := &file_worldtask_worldtask_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *WorldtaskBattleFinishReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*WorldtaskBattleFinishReq) ProtoMessage() {} func (x *WorldtaskBattleFinishReq) ProtoReflect() protoreflect.Message { mi := &file_worldtask_worldtask_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 WorldtaskBattleFinishReq.ProtoReflect.Descriptor instead. func (*WorldtaskBattleFinishReq) Descriptor() ([]byte, []int) { return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{2} } func (x *WorldtaskBattleFinishReq) GetRtaskId() int32 { if x != nil { return x.RtaskId } return 0 } func (x *WorldtaskBattleFinishReq) GetRtaskSubId() int32 { if x != nil { return x.RtaskSubId } return 0 } func (x *WorldtaskBattleFinishReq) GetChooseId() int32 { if x != nil { return x.ChooseId } return 0 } type WorldtaskBattleFinishResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"` //任务ID RtaskSubId int32 `protobuf:"varint,2,opt,name=rtaskSubId,proto3" json:"rtaskSubId"` //支线任务ID } func (x *WorldtaskBattleFinishResp) Reset() { *x = WorldtaskBattleFinishResp{} if protoimpl.UnsafeEnabled { mi := &file_worldtask_worldtask_msg_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *WorldtaskBattleFinishResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*WorldtaskBattleFinishResp) ProtoMessage() {} func (x *WorldtaskBattleFinishResp) ProtoReflect() protoreflect.Message { mi := &file_worldtask_worldtask_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 WorldtaskBattleFinishResp.ProtoReflect.Descriptor instead. func (*WorldtaskBattleFinishResp) Descriptor() ([]byte, []int) { return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{3} } func (x *WorldtaskBattleFinishResp) GetRtaskId() int32 { if x != nil { return x.RtaskId } return 0 } func (x *WorldtaskBattleFinishResp) GetRtaskSubId() int32 { if x != nil { return x.RtaskSubId } return 0 } var File_worldtask_worldtask_msg_proto protoreflect.FileDescriptor var file_worldtask_worldtask_msg_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x11, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x34, 0x0a, 0x12, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x75, 0x62, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x75, 0x62, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x19, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x75, 0x62, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x75, 0x62, 0x49, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_worldtask_worldtask_msg_proto_rawDescOnce sync.Once file_worldtask_worldtask_msg_proto_rawDescData = file_worldtask_worldtask_msg_proto_rawDesc ) func file_worldtask_worldtask_msg_proto_rawDescGZIP() []byte { file_worldtask_worldtask_msg_proto_rawDescOnce.Do(func() { file_worldtask_worldtask_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_worldtask_worldtask_msg_proto_rawDescData) }) return file_worldtask_worldtask_msg_proto_rawDescData } var file_worldtask_worldtask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_worldtask_worldtask_msg_proto_goTypes = []interface{}{ (*WorldtaskStoryReq)(nil), // 0: WorldtaskStoryReq (*WorldtaskStoryResp)(nil), // 1: WorldtaskStoryResp (*WorldtaskBattleFinishReq)(nil), // 2: WorldtaskBattleFinishReq (*WorldtaskBattleFinishResp)(nil), // 3: WorldtaskBattleFinishResp } var file_worldtask_worldtask_msg_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_worldtask_worldtask_msg_proto_init() } func file_worldtask_worldtask_msg_proto_init() { if File_worldtask_worldtask_msg_proto != nil { return } if !protoimpl.UnsafeEnabled { file_worldtask_worldtask_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorldtaskStoryReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_worldtask_worldtask_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorldtaskStoryResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_worldtask_worldtask_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorldtaskBattleFinishReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_worldtask_worldtask_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorldtaskBattleFinishResp); 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_worldtask_worldtask_msg_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, GoTypes: file_worldtask_worldtask_msg_proto_goTypes, DependencyIndexes: file_worldtask_worldtask_msg_proto_depIdxs, MessageInfos: file_worldtask_worldtask_msg_proto_msgTypes, }.Build() File_worldtask_worldtask_msg_proto = out.File file_worldtask_worldtask_msg_proto_rawDesc = nil file_worldtask_worldtask_msg_proto_goTypes = nil file_worldtask_worldtask_msg_proto_depIdxs = nil }