1288 lines
38 KiB
Go
1288 lines
38 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 RtaskApplyReq 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 *RtaskApplyReq) Reset() {
|
|
*x = RtaskApplyReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskApplyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskApplyReq) ProtoMessage() {}
|
|
|
|
func (x *RtaskApplyReq) 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 RtaskApplyReq.ProtoReflect.Descriptor instead.
|
|
func (*RtaskApplyReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *RtaskApplyReq) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskApplyReq) GetRtaskSubId() int32 {
|
|
if x != nil {
|
|
return x.RtaskSubId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RtaskApplyResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"`
|
|
}
|
|
|
|
func (x *RtaskApplyResp) Reset() {
|
|
*x = RtaskApplyResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskApplyResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskApplyResp) ProtoMessage() {}
|
|
|
|
func (x *RtaskApplyResp) 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 RtaskApplyResp.ProtoReflect.Descriptor instead.
|
|
func (*RtaskApplyResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *RtaskApplyResp) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 任务列表
|
|
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[2]
|
|
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[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 RtasklistReq.ProtoReflect.Descriptor instead.
|
|
func (*RtasklistReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
func (x *RtasklistResp) Reset() {
|
|
*x = RtasklistResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[3]
|
|
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[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 RtasklistResp.ProtoReflect.Descriptor instead.
|
|
func (*RtasklistResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RtasklistResp) GetRtaskIds() []int32 {
|
|
if x != nil {
|
|
return x.RtaskIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 对话选项
|
|
type RtaskChooseReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"` //任务ID
|
|
ChooseId int32 `protobuf:"varint,2,opt,name=chooseId,proto3" json:"chooseId"` //选项配置ID
|
|
RtaskSubId int32 `protobuf:"varint,3,opt,name=rtaskSubId,proto3" json:"rtaskSubId"` //支线任务ID
|
|
}
|
|
|
|
func (x *RtaskChooseReq) Reset() {
|
|
*x = RtaskChooseReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskChooseReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskChooseReq) ProtoMessage() {}
|
|
|
|
func (x *RtaskChooseReq) 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 RtaskChooseReq.ProtoReflect.Descriptor instead.
|
|
func (*RtaskChooseReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *RtaskChooseReq) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskChooseReq) GetChooseId() int32 {
|
|
if x != nil {
|
|
return x.ChooseId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskChooseReq) GetRtaskSubId() int32 {
|
|
if x != nil {
|
|
return x.RtaskSubId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RtaskChooseResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"` //任务ID
|
|
ChooseId int32 `protobuf:"varint,2,opt,name=chooseId,proto3" json:"chooseId"` //选项配置ID
|
|
RtaskSubId int32 `protobuf:"varint,3,opt,name=rtaskSubId,proto3" json:"rtaskSubId"` //支线任务ID
|
|
}
|
|
|
|
func (x *RtaskChooseResp) Reset() {
|
|
*x = RtaskChooseResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskChooseResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskChooseResp) ProtoMessage() {}
|
|
|
|
func (x *RtaskChooseResp) 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 RtaskChooseResp.ProtoReflect.Descriptor instead.
|
|
func (*RtaskChooseResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *RtaskChooseResp) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskChooseResp) GetChooseId() int32 {
|
|
if x != nil {
|
|
return x.ChooseId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskChooseResp) GetRtaskSubId() int32 {
|
|
if x != nil {
|
|
return x.RtaskSubId
|
|
}
|
|
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[6]
|
|
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[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 RtaskFinishPush.ProtoReflect.Descriptor instead.
|
|
func (*RtaskFinishPush) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *RtaskFinishPush) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 领奖
|
|
type RtaskGetRewardReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"`
|
|
RtaskSubId int32 `protobuf:"varint,2,opt,name=rtaskSubId,proto3" json:"rtaskSubId"` //支线任务ID
|
|
}
|
|
|
|
func (x *RtaskGetRewardReq) Reset() {
|
|
*x = RtaskGetRewardReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskGetRewardReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskGetRewardReq) ProtoMessage() {}
|
|
|
|
func (x *RtaskGetRewardReq) 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 RtaskGetRewardReq.ProtoReflect.Descriptor instead.
|
|
func (*RtaskGetRewardReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *RtaskGetRewardReq) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskGetRewardReq) GetRtaskSubId() int32 {
|
|
if x != nil {
|
|
return x.RtaskSubId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RtaskGetRewardResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"`
|
|
RtaskSubId int32 `protobuf:"varint,2,opt,name=rtaskSubId,proto3" json:"rtaskSubId"` //支线任务ID
|
|
}
|
|
|
|
func (x *RtaskGetRewardResp) Reset() {
|
|
*x = RtaskGetRewardResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskGetRewardResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskGetRewardResp) ProtoMessage() {}
|
|
|
|
func (x *RtaskGetRewardResp) 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 RtaskGetRewardResp.ProtoReflect.Descriptor instead.
|
|
func (*RtaskGetRewardResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *RtaskGetRewardResp) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskGetRewardResp) GetRtaskSubId() int32 {
|
|
if x != nil {
|
|
return x.RtaskSubId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 开始战斗
|
|
type RtaskBattleStartReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
BattleConfId int32 `protobuf:"varint,1,opt,name=battleConfId,proto3" json:"battleConfId"` //战斗配表ID
|
|
Leadpos int32 `protobuf:"varint,3,opt,name=leadpos,proto3" json:"leadpos"` //队长位置
|
|
Teamids []string `protobuf:"bytes,4,rep,name=teamids,proto3" json:"teamids"` //阵容信息
|
|
}
|
|
|
|
func (x *RtaskBattleStartReq) Reset() {
|
|
*x = RtaskBattleStartReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskBattleStartReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskBattleStartReq) ProtoMessage() {}
|
|
|
|
func (x *RtaskBattleStartReq) 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 RtaskBattleStartReq.ProtoReflect.Descriptor instead.
|
|
func (*RtaskBattleStartReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *RtaskBattleStartReq) GetBattleConfId() int32 {
|
|
if x != nil {
|
|
return x.BattleConfId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskBattleStartReq) GetLeadpos() int32 {
|
|
if x != nil {
|
|
return x.Leadpos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskBattleStartReq) GetTeamids() []string {
|
|
if x != nil {
|
|
return x.Teamids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RtaskBattleStartResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *BattleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` //战斗信息
|
|
}
|
|
|
|
func (x *RtaskBattleStartResp) Reset() {
|
|
*x = RtaskBattleStartResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskBattleStartResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskBattleStartResp) ProtoMessage() {}
|
|
|
|
func (x *RtaskBattleStartResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[10]
|
|
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 RtaskBattleStartResp.ProtoReflect.Descriptor instead.
|
|
func (*RtaskBattleStartResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *RtaskBattleStartResp) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 战斗完成
|
|
type RtaskBattleFinishReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"` //任务ID
|
|
Report *BattleReport `protobuf:"bytes,4,opt,name=report,proto3" json:"report"` //战报
|
|
}
|
|
|
|
func (x *RtaskBattleFinishReq) Reset() {
|
|
*x = RtaskBattleFinishReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskBattleFinishReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskBattleFinishReq) ProtoMessage() {}
|
|
|
|
func (x *RtaskBattleFinishReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[11]
|
|
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 RtaskBattleFinishReq.ProtoReflect.Descriptor instead.
|
|
func (*RtaskBattleFinishReq) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *RtaskBattleFinishReq) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskBattleFinishReq) GetReport() *BattleReport {
|
|
if x != nil {
|
|
return x.Report
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RtaskBattleFinishResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RtaskId int32 `protobuf:"varint,1,opt,name=rtaskId,proto3" json:"rtaskId"` //任务ID
|
|
IsWin bool `protobuf:"varint,2,opt,name=isWin,proto3" json:"isWin"` //战斗结果
|
|
}
|
|
|
|
func (x *RtaskBattleFinishResp) Reset() {
|
|
*x = RtaskBattleFinishResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RtaskBattleFinishResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RtaskBattleFinishResp) ProtoMessage() {}
|
|
|
|
func (x *RtaskBattleFinishResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[12]
|
|
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 RtaskBattleFinishResp.ProtoReflect.Descriptor instead.
|
|
func (*RtaskBattleFinishResp) Descriptor() ([]byte, []int) {
|
|
return file_rtask_rtask_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *RtaskBattleFinishResp) GetRtaskId() int32 {
|
|
if x != nil {
|
|
return x.RtaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RtaskBattleFinishResp) GetIsWin() bool {
|
|
if x != nil {
|
|
return x.IsWin
|
|
}
|
|
return false
|
|
}
|
|
|
|
//获取玩家任务记录
|
|
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[13]
|
|
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[13]
|
|
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{13}
|
|
}
|
|
|
|
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[14]
|
|
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[14]
|
|
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{14}
|
|
}
|
|
|
|
func (x *RtaskGetrecordResp) GetRecord() *DBRtaskRecord {
|
|
if x != nil {
|
|
return x.Record
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 测试使用
|
|
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
|
|
}
|
|
|
|
func (x *RtaskTestReq) Reset() {
|
|
*x = RtaskTestReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[15]
|
|
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[15]
|
|
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{15}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type RtaskTestResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Flag bool `protobuf:"varint,1,opt,name=flag,proto3" json:"flag"`
|
|
}
|
|
|
|
func (x *RtaskTestResp) Reset() {
|
|
*x = RtaskTestResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rtask_rtask_msg_proto_msgTypes[16]
|
|
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[16]
|
|
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{16}
|
|
}
|
|
|
|
func (x *RtaskTestResp) GetFlag() bool {
|
|
if x != nil {
|
|
return x.Flag
|
|
}
|
|
return false
|
|
}
|
|
|
|
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, 0x49, 0x0a, 0x0d, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x41,
|
|
0x70, 0x70, 0x6c, 0x79, 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, 0x22, 0x2a, 0x0a, 0x0e, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x41, 0x70, 0x70, 0x6c, 0x79, 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, 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, 0x2b, 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, 0x22, 0x66, 0x0a, 0x0e, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x68, 0x6f,
|
|
0x6f, 0x73, 0x65, 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, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x08, 0x63, 0x68, 0x6f, 0x6f, 0x73, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a,
|
|
0x72, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x75, 0x62, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x0a, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x75, 0x62, 0x49, 0x64, 0x22, 0x67, 0x0a, 0x0f,
|
|
0x52, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x68, 0x6f, 0x6f, 0x73, 0x65, 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, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x6f,
|
|
0x6f, 0x73, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x68, 0x6f,
|
|
0x6f, 0x73, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x75,
|
|
0x62, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x74, 0x61, 0x73, 0x6b,
|
|
0x53, 0x75, 0x62, 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, 0x4d, 0x0a, 0x11, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x65, 0x74, 0x52, 0x65,
|
|
0x77, 0x61, 0x72, 0x64, 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, 0x22, 0x4e, 0x0a, 0x12, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77,
|
|
0x61, 0x72, 0x64, 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, 0x22, 0x6d, 0x0a, 0x13, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
|
0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74,
|
|
0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c,
|
|
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07,
|
|
0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c,
|
|
0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x69, 0x64,
|
|
0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x69, 0x64, 0x73,
|
|
0x22, 0x37, 0x0a, 0x14, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53,
|
|
0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x57, 0x0a, 0x14, 0x52, 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, 0x25, 0x0a, 0x06, 0x72,
|
|
0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61,
|
|
0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f,
|
|
0x72, 0x74, 0x22, 0x47, 0x0a, 0x15, 0x52, 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, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x57, 0x69, 0x6e, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x57, 0x69, 0x6e, 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, 0x5e,
|
|
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, 0x22, 0x23,
|
|
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, 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, 17)
|
|
var file_rtask_rtask_msg_proto_goTypes = []interface{}{
|
|
(*RtaskApplyReq)(nil), // 0: RtaskApplyReq
|
|
(*RtaskApplyResp)(nil), // 1: RtaskApplyResp
|
|
(*RtasklistReq)(nil), // 2: RtasklistReq
|
|
(*RtasklistResp)(nil), // 3: RtasklistResp
|
|
(*RtaskChooseReq)(nil), // 4: RtaskChooseReq
|
|
(*RtaskChooseResp)(nil), // 5: RtaskChooseResp
|
|
(*RtaskFinishPush)(nil), // 6: RtaskFinishPush
|
|
(*RtaskGetRewardReq)(nil), // 7: RtaskGetRewardReq
|
|
(*RtaskGetRewardResp)(nil), // 8: RtaskGetRewardResp
|
|
(*RtaskBattleStartReq)(nil), // 9: RtaskBattleStartReq
|
|
(*RtaskBattleStartResp)(nil), // 10: RtaskBattleStartResp
|
|
(*RtaskBattleFinishReq)(nil), // 11: RtaskBattleFinishReq
|
|
(*RtaskBattleFinishResp)(nil), // 12: RtaskBattleFinishResp
|
|
(*RtaskGetrecordReq)(nil), // 13: RtaskGetrecordReq
|
|
(*RtaskGetrecordResp)(nil), // 14: RtaskGetrecordResp
|
|
(*RtaskTestReq)(nil), // 15: RtaskTestReq
|
|
(*RtaskTestResp)(nil), // 16: RtaskTestResp
|
|
(*BattleInfo)(nil), // 17: BattleInfo
|
|
(*BattleReport)(nil), // 18: BattleReport
|
|
(*DBRtaskRecord)(nil), // 19: DBRtaskRecord
|
|
}
|
|
var file_rtask_rtask_msg_proto_depIdxs = []int32{
|
|
17, // 0: RtaskBattleStartResp.info:type_name -> BattleInfo
|
|
18, // 1: RtaskBattleFinishReq.report:type_name -> BattleReport
|
|
19, // 2: RtaskGetrecordResp.record:type_name -> DBRtaskRecord
|
|
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_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.(*RtaskApplyReq); 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.(*RtaskApplyResp); 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.(*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[3].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[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskChooseReq); 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.(*RtaskChooseResp); 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.(*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[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskGetRewardReq); 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.(*RtaskGetRewardResp); 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.(*RtaskBattleStartReq); 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[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskBattleStartResp); 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[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskBattleFinishReq); 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[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RtaskBattleFinishResp); 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[13].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[14].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[15].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[16].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: 17,
|
|
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
|
|
}
|