// Code generated by protoc-gen-go. DO NOT EDIT.
// source: model/open_server_active_task.proto

package proto

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// 轨迹数据
type Track struct {
	// 编号(见设计文档枚举)
	No int32 `protobuf:"zigzag32,1,opt,name=no,proto3" json:"no,omitempty"`
	// 名字(玩家名、联盟名、英雄ID、伴侣ID等）
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 数量
	Num                  string   `protobuf:"bytes,3,opt,name=num,proto3" json:"num,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Track) Reset()         { *m = Track{} }
func (m *Track) String() string { return proto.CompactTextString(m) }
func (*Track) ProtoMessage()    {}
func (*Track) Descriptor() ([]byte, []int) {
	return fileDescriptor_9073a79400dbda8b, []int{0}
}

func (m *Track) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Track.Unmarshal(m, b)
}
func (m *Track) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Track.Marshal(b, m, deterministic)
}
func (m *Track) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Track.Merge(m, src)
}
func (m *Track) XXX_Size() int {
	return xxx_messageInfo_Track.Size(m)
}
func (m *Track) XXX_DiscardUnknown() {
	xxx_messageInfo_Track.DiscardUnknown(m)
}

var xxx_messageInfo_Track proto.InternalMessageInfo

func (m *Track) GetNo() int32 {
	if m != nil {
		return m.No
	}
	return 0
}

func (m *Track) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *Track) GetNum() string {
	if m != nil {
		return m.Num
	}
	return ""
}

// 任务规则信息
type TaskInfo struct {
	// 任务类型(见设计文档枚举)
	Typ int32 `protobuf:"zigzag32,1,opt,name=typ,proto3" json:"typ,omitempty"`
	// 任务详情
	Task                 []*OpenServerTask `protobuf:"bytes,2,rep,name=task,proto3" json:"task,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *TaskInfo) Reset()         { *m = TaskInfo{} }
func (m *TaskInfo) String() string { return proto.CompactTextString(m) }
func (*TaskInfo) ProtoMessage()    {}
func (*TaskInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_9073a79400dbda8b, []int{1}
}

func (m *TaskInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_TaskInfo.Unmarshal(m, b)
}
func (m *TaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_TaskInfo.Marshal(b, m, deterministic)
}
func (m *TaskInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_TaskInfo.Merge(m, src)
}
func (m *TaskInfo) XXX_Size() int {
	return xxx_messageInfo_TaskInfo.Size(m)
}
func (m *TaskInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_TaskInfo.DiscardUnknown(m)
}

var xxx_messageInfo_TaskInfo proto.InternalMessageInfo

func (m *TaskInfo) GetTyp() int32 {
	if m != nil {
		return m.Typ
	}
	return 0
}

func (m *TaskInfo) GetTask() []*OpenServerTask {
	if m != nil {
		return m.Task
	}
	return nil
}

type OpenServerTask struct {
	// 任务档位
	No int32 `protobuf:"zigzag32,1,opt,name=no,proto3" json:"no,omitempty"`
	// 目标完成人数
	Target int32 `protobuf:"zigzag32,2,opt,name=target,proto3" json:"target,omitempty"`
	// 任务奖励
	Awards               []*GameObjectCount `protobuf:"bytes,3,rep,name=awards,proto3" json:"awards,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (m *OpenServerTask) Reset()         { *m = OpenServerTask{} }
func (m *OpenServerTask) String() string { return proto.CompactTextString(m) }
func (*OpenServerTask) ProtoMessage()    {}
func (*OpenServerTask) Descriptor() ([]byte, []int) {
	return fileDescriptor_9073a79400dbda8b, []int{2}
}

func (m *OpenServerTask) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_OpenServerTask.Unmarshal(m, b)
}
func (m *OpenServerTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_OpenServerTask.Marshal(b, m, deterministic)
}
func (m *OpenServerTask) XXX_Merge(src proto.Message) {
	xxx_messageInfo_OpenServerTask.Merge(m, src)
}
func (m *OpenServerTask) XXX_Size() int {
	return xxx_messageInfo_OpenServerTask.Size(m)
}
func (m *OpenServerTask) XXX_DiscardUnknown() {
	xxx_messageInfo_OpenServerTask.DiscardUnknown(m)
}

var xxx_messageInfo_OpenServerTask proto.InternalMessageInfo

func (m *OpenServerTask) GetNo() int32 {
	if m != nil {
		return m.No
	}
	return 0
}

func (m *OpenServerTask) GetTarget() int32 {
	if m != nil {
		return m.Target
	}
	return 0
}

func (m *OpenServerTask) GetAwards() []*GameObjectCount {
	if m != nil {
		return m.Awards
	}
	return nil
}

// 任务进度信息
type TaskProgressInfo struct {
	// 任务类型(见设计文档枚举)
	Typ int32 `protobuf:"zigzag32,1,opt,name=typ,proto3" json:"typ,omitempty"`
	// 任务类型状态(0:已领取,1:可领取,2:未完成)
	Status int32 `protobuf:"zigzag32,2,opt,name=status,proto3" json:"status,omitempty"`
	// 玩家是否在领奖期之前完成任务
	HasFinished bool `protobuf:"varint,3,opt,name=has_finished,json=hasFinished,proto3" json:"has_finished,omitempty"`
	// 任务进度，会突破原进度
	Progress int64 `protobuf:"zigzag64,4,opt,name=progress,proto3" json:"progress,omitempty"`
	// 是否领取了奖励
	HasReceived []*HasReceived `protobuf:"bytes,5,rep,name=has_received,json=hasReceived,proto3" json:"has_received,omitempty"`
	// 玩家是否在领奖期完成任务
	HasFinishedInAwardTime bool     `protobuf:"varint,6,opt,name=has_finished_in_award_time,json=hasFinishedInAwardTime,proto3" json:"has_finished_in_award_time,omitempty"`
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

func (m *TaskProgressInfo) Reset()         { *m = TaskProgressInfo{} }
func (m *TaskProgressInfo) String() string { return proto.CompactTextString(m) }
func (*TaskProgressInfo) ProtoMessage()    {}
func (*TaskProgressInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_9073a79400dbda8b, []int{3}
}

func (m *TaskProgressInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_TaskProgressInfo.Unmarshal(m, b)
}
func (m *TaskProgressInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_TaskProgressInfo.Marshal(b, m, deterministic)
}
func (m *TaskProgressInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_TaskProgressInfo.Merge(m, src)
}
func (m *TaskProgressInfo) XXX_Size() int {
	return xxx_messageInfo_TaskProgressInfo.Size(m)
}
func (m *TaskProgressInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_TaskProgressInfo.DiscardUnknown(m)
}

var xxx_messageInfo_TaskProgressInfo proto.InternalMessageInfo

func (m *TaskProgressInfo) GetTyp() int32 {
	if m != nil {
		return m.Typ
	}
	return 0
}

func (m *TaskProgressInfo) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

func (m *TaskProgressInfo) GetHasFinished() bool {
	if m != nil {
		return m.HasFinished
	}
	return false
}

func (m *TaskProgressInfo) GetProgress() int64 {
	if m != nil {
		return m.Progress
	}
	return 0
}

func (m *TaskProgressInfo) GetHasReceived() []*HasReceived {
	if m != nil {
		return m.HasReceived
	}
	return nil
}

func (m *TaskProgressInfo) GetHasFinishedInAwardTime() bool {
	if m != nil {
		return m.HasFinishedInAwardTime
	}
	return false
}

// 是否领取了奖励
type HasReceived struct {
	// 任务档位
	No int32 `protobuf:"zigzag32,1,opt,name=no,proto3" json:"no,omitempty"`
	// 是否领取了奖励
	HasReceived          bool     `protobuf:"varint,2,opt,name=has_received,json=hasReceived,proto3" json:"has_received,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *HasReceived) Reset()         { *m = HasReceived{} }
func (m *HasReceived) String() string { return proto.CompactTextString(m) }
func (*HasReceived) ProtoMessage()    {}
func (*HasReceived) Descriptor() ([]byte, []int) {
	return fileDescriptor_9073a79400dbda8b, []int{4}
}

func (m *HasReceived) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_HasReceived.Unmarshal(m, b)
}
func (m *HasReceived) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_HasReceived.Marshal(b, m, deterministic)
}
func (m *HasReceived) XXX_Merge(src proto.Message) {
	xxx_messageInfo_HasReceived.Merge(m, src)
}
func (m *HasReceived) XXX_Size() int {
	return xxx_messageInfo_HasReceived.Size(m)
}
func (m *HasReceived) XXX_DiscardUnknown() {
	xxx_messageInfo_HasReceived.DiscardUnknown(m)
}

var xxx_messageInfo_HasReceived proto.InternalMessageInfo

func (m *HasReceived) GetNo() int32 {
	if m != nil {
		return m.No
	}
	return 0
}

func (m *HasReceived) GetHasReceived() bool {
	if m != nil {
		return m.HasReceived
	}
	return false
}

func init() {
	proto.RegisterType((*Track)(nil), "proto.Track")
	proto.RegisterType((*TaskInfo)(nil), "proto.TaskInfo")
	proto.RegisterType((*OpenServerTask)(nil), "proto.OpenServerTask")
	proto.RegisterType((*TaskProgressInfo)(nil), "proto.TaskProgressInfo")
	proto.RegisterType((*HasReceived)(nil), "proto.HasReceived")
}

func init() {
	proto.RegisterFile("model/open_server_active_task.proto", fileDescriptor_9073a79400dbda8b)
}

var fileDescriptor_9073a79400dbda8b = []byte{
	// 369 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xdf, 0xaf, 0xd2, 0x30,
	0x14, 0xc7, 0xb3, 0x0d, 0x16, 0x3c, 0x18, 0x02, 0x4d, 0x9c, 0x0d, 0x4f, 0x63, 0xbe, 0xcc, 0x17,
	0x4c, 0x34, 0xbe, 0x98, 0x98, 0x68, 0x4c, 0x44, 0x9e, 0x30, 0x95, 0xf7, 0xa6, 0x6c, 0x07, 0x36,
	0x71, 0xed, 0xd2, 0x16, 0x8c, 0xff, 0xb4, 0x7f, 0xc3, 0xcd, 0xba, 0x42, 0xb8, 0x97, 0xdc, 0xa7,
	0x9e, 0x9f, 0xdf, 0xef, 0xe7, 0x14, 0xde, 0x34, 0xaa, 0xc4, 0x3f, 0xef, 0x54, 0x8b, 0x92, 0x1b,
	0xd4, 0x67, 0xd4, 0x5c, 0x14, 0xb6, 0x3e, 0x23, 0xb7, 0xc2, 0x1c, 0x97, 0xad, 0x56, 0x56, 0x91,
	0xa1, 0x7b, 0xe6, 0xaf, 0xfb, 0xd9, 0x83, 0x68, 0x90, 0xab, 0xdd, 0x6f, 0x2c, 0x6c, 0xdf, 0xcf,
	0x3e, 0xc3, 0x70, 0xab, 0x45, 0x71, 0x24, 0x13, 0x08, 0xa5, 0xa2, 0x41, 0x1a, 0xe4, 0x33, 0x16,
	0x4a, 0x45, 0x08, 0x0c, 0xa4, 0x68, 0x90, 0x86, 0x69, 0x90, 0xbf, 0x60, 0x2e, 0x26, 0x53, 0x88,
	0xe4, 0xa9, 0xa1, 0x91, 0x2b, 0x75, 0x61, 0xb6, 0x82, 0xd1, 0x56, 0x98, 0xe3, 0x5a, 0xee, 0x55,
	0xd7, 0xb5, 0xff, 0x5a, 0x2f, 0xd1, 0x85, 0xe4, 0x2d, 0x0c, 0x3a, 0x14, 0x1a, 0xa6, 0x51,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