// Code generated by protoc-gen-go. DO NOT EDIT.
// source: model/cross_internal_announcement.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 CrossInternalAnnouncement struct {
	//公告id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	//涉及区服
	ServerIds []int32 `protobuf:"zigzag32,2,rep,packed,name=server_ids,json=serverIds,proto3" json:"server_ids,omitempty"`
	//是否是全服
	IsAllServer bool `protobuf:"varint,3,opt,name=is_all_server,json=isAllServer,proto3" json:"is_all_server,omitempty"`
	//开始时间
	StartTime int64 `protobuf:"zigzag64,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	//结束时间
	EndTime int64 `protobuf:"zigzag64,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	//公告详情
	Articles map[string]*Article `protobuf:"bytes,6,rep,name=articles,proto3" json:"articles,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	//优先级
	Priority int32 `protobuf:"zigzag32,7,opt,name=priority,proto3" json:"priority,omitempty"`
	//是否醒目
	IsImportant bool `protobuf:"varint,8,opt,name=is_important,json=isImportant,proto3" json:"is_important,omitempty"`
	//是否强制进入
	ConstraintEnter bool `protobuf:"varint,9,opt,name=constraint_enter,json=constraintEnter,proto3" json:"constraint_enter,omitempty"`
	//创建时间
	CreateTime int64 `protobuf:"zigzag64,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	//最后更新时间
	LastUpdateTime int64 `protobuf:"zigzag64,11,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
	//首次生效时间
	FirstEffectiveTime   int64    `protobuf:"zigzag64,12,opt,name=first_effective_time,json=firstEffectiveTime,proto3" json:"first_effective_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CrossInternalAnnouncement proto.InternalMessageInfo

func (m *CrossInternalAnnouncement) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *CrossInternalAnnouncement) GetServerIds() []int32 {
	if m != nil {
		return m.ServerIds
	}
	return nil
}

func (m *CrossInternalAnnouncement) GetIsAllServer() bool {
	if m != nil {
		return m.IsAllServer
	}
	return false
}

func (m *CrossInternalAnnouncement) GetStartTime() int64 {
	if m != nil {
		return m.StartTime
	}
	return 0
}

func (m *CrossInternalAnnouncement) GetEndTime() int64 {
	if m != nil {
		return m.EndTime
	}
	return 0
}

func (m *CrossInternalAnnouncement) GetArticles() map[string]*Article {
	if m != nil {
		return m.Articles
	}
	return nil
}

func (m *CrossInternalAnnouncement) GetPriority() int32 {
	if m != nil {
		return m.Priority
	}
	return 0
}

func (m *CrossInternalAnnouncement) GetIsImportant() bool {
	if m != nil {
		return m.IsImportant
	}
	return false
}

func (m *CrossInternalAnnouncement) GetConstraintEnter() bool {
	if m != nil {
		return m.ConstraintEnter
	}
	return false
}

func (m *CrossInternalAnnouncement) GetCreateTime() int64 {
	if m != nil {
		return m.CreateTime
	}
	return 0
}

func (m *CrossInternalAnnouncement) GetLastUpdateTime() int64 {
	if m != nil {
		return m.LastUpdateTime
	}
	return 0
}

func (m *CrossInternalAnnouncement) GetFirstEffectiveTime() int64 {
	if m != nil {
		return m.FirstEffectiveTime
	}
	return 0
}

type Article struct {
	//标题
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	//内容
	Content              string   `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_Article proto.InternalMessageInfo

func (m *Article) GetTitle() string {
	if m != nil {
		return m.Title
	}
	return ""
}

func (m *Article) GetContent() string {
	if m != nil {
		return m.Content
	}
	return ""
}

func init() {
	proto.RegisterType((*CrossInternalAnnouncement)(nil), "proto.CrossInternalAnnouncement")
	proto.RegisterMapType((map[string]*Article)(nil), "proto.CrossInternalAnnouncement.ArticlesEntry")
	proto.RegisterType((*Article)(nil), "proto.Article")
}

func init() {
	proto.RegisterFile("model/cross_internal_announcement.proto", fileDescriptor_5096d9241c49de90)
}

var fileDescriptor_5096d9241c49de90 = []byte{
	// 412 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x41, 0x8f, 0xd3, 0x3c,
	0x10, 0x86, 0x95, 0x74, 0xbb, 0x4d, 0x26, 0xbb, 0xfd, 0xba, 0xd6, 0x1e, 0xbc, 0x2b, 0x7d, 0x22,
	0x54, 0x48, 0x84, 0x4b, 0x41, 0xcb, 0x05, 0xb8, 0x55, 0xa8, 0x87, 0xc2, 0x2d, 0xc0, 0xd9, 0x32,
	0xc9, 0x54, 0x1a, 0xe1, 0xd8, 0x95, 0x3d, 0xad, 0xd4, 0x7f, 0xc4, 0xcf, 0x44, 0x71, 0xd2, 0x02,
	0x07, 0x4e, 0x89, 0x9f, 0xf7, 0x99, 0x89, 0x5e, 0x07, 0x5e, 0x76, 0xae, 0x45, 0xf3, 0xba, 0xf1,
	0x2e, 0x04, 0x45, 0x96, 0xd1, 0x5b, 0x6d, 0x94, 0xb6, 0xd6, 0x1d, 0x6c, 0x83, 0x1d, 0x5a, 0x5e,
	0xed, 0xbd, 0x63, 0x27, 0xa6, 0xf1, 0xb1, 0xfc, 0x79, 0x05, 0x0f, 0x1f, 0x7b, 0x79, 0x3b, 0xba,
	0xeb, 0x3f, 0x54, 0x31, 0x87, 0x94, 0x5a, 0x99, 0x94, 0x49, 0x95, 0xd7, 0x29, 0xb5, 0xe2, 0x7f,
	0x80, 0x80, 0xfe, 0x88, 0x5e, 0x51, 0x1b, 0x64, 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