788 lines
23 KiB
Go
788 lines
23 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: rtask/rtask_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 RtasklistReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GroupId int32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId"` //分组ID
|
|
}
|
|
|
|
func (x *RtasklistReq) Reset() {
|
|
*x = RtasklistReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtasklistReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtasklistReq) ProtoMessage() {}
|
|
|
|
func (x *RtasklistReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_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 RtasklistReq.ProtoReflect.Descriptor instead.
|
|
func (*RtasklistReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *RtasklistReq) GetGroupId() int32 {
|
|
if x != nil {
|
|
return x.GroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RtasklistResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskIds []int32 `protobuf:"varint,1,rep,packed,name=rtaskIds,proto3" json:"rtaskIds"`
|
|
GroupId int32 `protobuf:"varint,2,opt,name=groupId,proto3" json:"groupId"`
|
|
}
|
|
|
|
func (x *RtasklistResp) Reset() {
|
|
*x = RtasklistResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtasklistResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtasklistResp) ProtoMessage() {}
|
|
|
|
func (x *RtasklistResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_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 RtasklistResp.ProtoReflect.Descriptor instead.
|
|
func (*RtasklistResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *RtasklistResp) GetRtaskIds() []int32 {
|
|
if x != nil {
|
|
return x.RtaskIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RtasklistResp) GetGroupId() int32 {
|
|
if x != nil {
|
|
return x.GroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 任务完成推送
|
|
type RtaskFinishPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"`
|
|
}
|
|
|
|
func (x *RtaskFinishPush) Reset() {
|
|
*x = RtaskFinishPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskFinishPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskFinishPush) ProtoMessage() {}
|
|
|
|
func (x *RtaskFinishPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_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 RtaskFinishPush.ProtoReflect.Descriptor instead.
|
|
func (*RtaskFinishPush) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *RtaskFinishPush) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 当前完成的任务列表推送
|
|
type RtaskFinishIdsPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskId []int32 `protobuf:"varint,1,rep,packed,name=rtaskId,proto3" json:"rtaskId"`
|
|
GroupId int32 `protobuf:"varint,2,opt,name=groupId,proto3" json:"groupId"`
|
|
}
|
|
|
|
func (x *RtaskFinishIdsPush) Reset() {
|
|
*x = RtaskFinishIdsPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskFinishIdsPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskFinishIdsPush) ProtoMessage() {}
|
|
|
|
func (x *RtaskFinishIdsPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_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 RtaskFinishIdsPush.ProtoReflect.Descriptor instead.
|
|
func (*RtaskFinishIdsPush) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RtaskFinishIdsPush) GetRtaskId() []int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RtaskFinishIdsPush) GetGroupId() int32 {
|
|
if x != nil {
|
|
return x.GroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//获取玩家任务记录
|
|
type RtaskGetrecordReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *RtaskGetrecordReq) Reset() {
|
|
*x = RtaskGetrecordReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskGetrecordReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskGetrecordReq) ProtoMessage() {}
|
|
|
|
func (x *RtaskGetrecordReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_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 RtaskGetrecordReq.ProtoReflect.Descriptor instead.
|
|
func (*RtaskGetrecordReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type RtaskGetrecordResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Record *DBRtaskRecord `protobuf:"bytes,1,opt,name=record,proto3" json:"record"`
|
|
}
|
|
|
|
func (x *RtaskGetrecordResp) Reset() {
|
|
*x = RtaskGetrecordResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskGetrecordResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskGetrecordResp) ProtoMessage() {}
|
|
|
|
func (x *RtaskGetrecordResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_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 RtaskGetrecordResp.ProtoReflect.Descriptor instead.
|
|
func (*RtaskGetrecordResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *RtaskGetrecordResp) GetRecord() *DBRtaskRecord {
|
|
if x != nil {
|
|
return x.Record
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//任务触发
|
|
type RtaskSendReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskType int32 `protobuf:"varint,1,opt,name=taskType,proto3" json:"taskType"` //任务类型
|
|
Params []int32 `protobuf:"varint,2,rep,packed,name=params,proto3" json:"params"` //任务参数
|
|
}
|
|
|
|
func (x *RtaskSendReq) Reset() {
|
|
*x = RtaskSendReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskSendReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskSendReq) ProtoMessage() {}
|
|
|
|
func (x *RtaskSendReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_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 RtaskSendReq.ProtoReflect.Descriptor instead.
|
|
func (*RtaskSendReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *RtaskSendReq) GetTaskType() int32 {
|
|
if x != nil {
|
|
return x.TaskType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskSendReq) GetParams() []int32 {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RtaskSendResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IsSucc bool `protobuf:"varint,1,opt,name=isSucc,proto3" json:"isSucc"`
|
|
}
|
|
|
|
func (x *RtaskSendResp) Reset() {
|
|
*x = RtaskSendResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskSendResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskSendResp) ProtoMessage() {}
|
|
|
|
func (x *RtaskSendResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_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 RtaskSendResp.ProtoReflect.Descriptor instead.
|
|
func (*RtaskSendResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *RtaskSendResp) GetIsSucc() bool {
|
|
if x != nil {
|
|
return x.IsSucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 测试使用
|
|
type RtaskTestReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskType int32 `protobuf:"varint,1,opt,name=rtaskType,proto3" json:"rtaskType"` //任务类型
|
|
Params []int32 `protobuf:"varint,2,rep,packed,name=params,proto3" json:"params"` //参数
|
|
CondiId int32 `protobuf:"varint,3,opt,name=condiId,proto3" json:"condiId"` //条件ID
|
|
GroupId int32 `protobuf:"varint,4,opt,name=groupId,proto3" json:"groupId"` //分组编号
|
|
RtaskIds string `protobuf:"bytes,5,opt,name=rtaskIds,proto3" json:"rtaskIds"` //已完成的任务ids
|
|
}
|
|
|
|
func (x *RtaskTestReq) Reset() {
|
|
*x = RtaskTestReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskTestReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskTestReq) ProtoMessage() {}
|
|
|
|
func (x *RtaskTestReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[8]
|
|
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 RtaskTestReq.ProtoReflect.Descriptor instead.
|
|
func (*RtaskTestReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *RtaskTestReq) GetRtaskType() int32 {
|
|
if x != nil {
|
|
return x.RtaskType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskTestReq) GetParams() []int32 {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RtaskTestReq) GetCondiId() int32 {
|
|
if x != nil {
|
|
return x.CondiId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskTestReq) GetGroupId() int32 {
|
|
if x != nil {
|
|
return x.GroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskTestReq) GetRtaskIds() string {
|
|
if x != nil {
|
|
return x.RtaskIds
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RtaskTestResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Flag bool `protobuf:"varint,1,opt,name=flag,proto3" json:"flag"`
|
|
RtaskIds []int32 `protobuf:"varint,2,rep,packed,name=rtaskIds,proto3" json:"rtaskIds"`
|
|
}
|
|
|
|
func (x *RtaskTestResp) Reset() {
|
|
*x = RtaskTestResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskTestResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskTestResp) ProtoMessage() {}
|
|
|
|
func (x *RtaskTestResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[9]
|
|
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 RtaskTestResp.ProtoReflect.Descriptor instead.
|
|
func (*RtaskTestResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *RtaskTestResp) GetFlag() bool {
|
|
if x != nil {
|
|
return x.Flag
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RtaskTestResp) GetRtaskIds() []int32 {
|
|
if x != nil {
|
|
return x.RtaskIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_rtask_rtask_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_rtask_rtask_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x15, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6d, 0x73,
|
|
0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f,
|
|
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x1a, 0x14, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x62,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x0c, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x6c,
|
|
0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64,
|
|
0x22, 0x45, 0x0a, 0x0d, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
|
|
0x70, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x12, 0x18, 0x0a,
|
|
0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
|
0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x2b, 0x0a, 0x0f, 0x52, 0x74, 0x61, 0x73, 0x6b,
|
|
0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x50, 0x75, 0x73, 0x68, 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, 0x22, 0x48, 0x0a, 0x12, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e,
|
|
0x69, 0x73, 0x68, 0x49, 0x64, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x74,
|
|
0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x72, 0x74, 0x61,
|
|
0x73, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x13,
|
|
0x0a, 0x11, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x65, 0x74, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
0x52, 0x65, 0x71, 0x22, 0x3c, 0x0a, 0x12, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x65, 0x74, 0x72,
|
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x06, 0x72, 0x65, 0x63,
|
|
0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x52, 0x74,
|
|
0x61, 0x73, 0x6b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72,
|
|
0x64, 0x22, 0x42, 0x0a, 0x0c, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65,
|
|
0x71, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a,
|
|
0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x70,
|
|
0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x27, 0x0a, 0x0d, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x65,
|
|
0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x22, 0x94,
|
|
0x01, 0x0a, 0x0c, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x09, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a,
|
|
0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x70,
|
|
0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x12,
|
|
0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x74, 0x61,
|
|
0x73, 0x6b, 0x49, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x74, 0x61,
|
|
0x73, 0x6b, 0x49, 0x64, 0x73, 0x22, 0x3f, 0x0a, 0x0d, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65,
|
|
0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x74,
|
|
0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x74,
|
|
0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_rtask_rtask_msg_proto_rawDescOnce sync.Once
|
|
file_rtask_rtask_msg_proto_rawDescData = file_rtask_rtask_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_rtask_rtask_msg_proto_rawDescGZIP() []byte {
|
|
file_rtask_rtask_msg_proto_rawDescOnce.Do(func() {
|
|
file_rtask_rtask_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_rtask_rtask_msg_proto_rawDescData)
|
|
})
|
|
return file_rtask_rtask_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_rtask_rtask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_rtask_rtask_msg_proto_goTypes = []interface{}{
|
|
(*RtasklistReq)(nil), // 0: RtasklistReq
|
|
(*RtasklistResp)(nil), // 1: RtasklistResp
|
|
(*RtaskFinishPush)(nil), // 2: RtaskFinishPush
|
|
(*RtaskFinishIdsPush)(nil), // 3: RtaskFinishIdsPush
|
|
(*RtaskGetrecordReq)(nil), // 4: RtaskGetrecordReq
|
|
(*RtaskGetrecordResp)(nil), // 5: RtaskGetrecordResp
|
|
(*RtaskSendReq)(nil), // 6: RtaskSendReq
|
|
(*RtaskSendResp)(nil), // 7: RtaskSendResp
|
|
(*RtaskTestReq)(nil), // 8: RtaskTestReq
|
|
(*RtaskTestResp)(nil), // 9: RtaskTestResp
|
|
(*DBRtaskRecord)(nil), // 10: DBRtaskRecord
|
|
}
|
|
var file_rtask_rtask_msg_proto_depIdxs = []int32{
|
|
10, // 0: RtaskGetrecordResp.record:type_name -> DBRtaskRecord
|
|
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_rtask_rtask_msg_proto_init() }
|
|
func file_rtask_rtask_msg_proto_init() {
|
|
if File_rtask_rtask_msg_proto != nil {
|
|
return
|
|
}
|
|
file_battle_battle_msg_proto_init()
|
|
file_rtask_rtask_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_rtask_rtask_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtasklistReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rtask_rtask_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtasklistResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rtask_rtask_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskFinishPush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rtask_rtask_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskFinishIdsPush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rtask_rtask_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskGetrecordReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rtask_rtask_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskGetrecordResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rtask_rtask_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskSendReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rtask_rtask_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskSendResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rtask_rtask_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskTestReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_rtask_rtask_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskTestResp); 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_rtask_rtask_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_rtask_rtask_msg_proto_goTypes,
|
|
DependencyIndexes: file_rtask_rtask_msg_proto_depIdxs,
|
|
MessageInfos: file_rtask_rtask_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_rtask_rtask_msg_proto = out.File
|
|
file_rtask_rtask_msg_proto_rawDesc = nil
|
|
file_rtask_rtask_msg_proto_goTypes = nil
|
|
file_rtask_rtask_msg_proto_depIdxs = nil
|
|
}
|