// Code generated by protoc-gen-go. DO NOT EDIT.
// source: model/chat.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 ChatMessage struct {
	// ids
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// 大类
	Typ int32 `protobuf:"zigzag32,2,opt,name=typ,proto3" json:"typ,omitempty"`
	// 文本
	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// 发送者信息
	Sender *ChatRole `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	// 拓展字段
	Extra *ChatExtra `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
	// 发送时间
	SendTime             int64    `protobuf:"zigzag64,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ChatMessage proto.InternalMessageInfo

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

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

func (m *ChatMessage) GetText() string {
	if m != nil {
		return m.Text
	}
	return ""
}

func (m *ChatMessage) GetSender() *ChatRole {
	if m != nil {
		return m.Sender
	}
	return nil
}

func (m *ChatMessage) GetExtra() *ChatExtra {
	if m != nil {
		return m.Extra
	}
	return nil
}

func (m *ChatMessage) GetSendTime() int64 {
	if m != nil {
		return m.SendTime
	}
	return 0
}

//聊天角色1
type ChatRole struct {
	// 角色id
	RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// 角色名
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 头像
	HeadNo int32 `protobuf:"zigzag32,3,opt,name=head_no,json=headNo,proto3" json:"head_no,omitempty"`
	// 头像框
	HeadFrameNo int32 `protobuf:"zigzag32,4,opt,name=head_frame_no,json=headFrameNo,proto3" json:"head_frame_no,omitempty"`
	// vip等级
	VipLv int32 `protobuf:"zigzag32,5,opt,name=vip_lv,json=vipLv,proto3" json:"vip_lv,omitempty"`
	// 称号
	TitleNo int32 `protobuf:"zigzag32,6,opt,name=title_no,json=titleNo,proto3" json:"title_no,omitempty"`
	// 角色形象
	RoleCharacter string `protobuf:"bytes,7,opt,name=role_character,json=roleCharacter,proto3" json:"role_character,omitempty"`
	// 区服编号
	ServerId int32 `protobuf:"zigzag32,8,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	// 联盟职位
	UnionPosition int32 `protobuf:"zigzag32,9,opt,name=union_position,json=unionPosition,proto3" json:"union_position,omitempty"`
	// 称号
	TitleNos             []uint32 `protobuf:"varint,10,rep,packed,name=title_nos,json=titleNos,proto3" json:"title_nos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ChatRole proto.InternalMessageInfo

func (m *ChatRole) GetRoleId() string {
	if m != nil {
		return m.RoleId
	}
	return ""
}

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

func (m *ChatRole) GetHeadNo() int32 {
	if m != nil {
		return m.HeadNo
	}
	return 0
}

func (m *ChatRole) GetHeadFrameNo() int32 {
	if m != nil {
		return m.HeadFrameNo
	}
	return 0
}

func (m *ChatRole) GetVipLv() int32 {
	if m != nil {
		return m.VipLv
	}
	return 0
}

func (m *ChatRole) GetTitleNo() int32 {
	if m != nil {
		return m.TitleNo
	}
	return 0
}

func (m *ChatRole) GetRoleCharacter() string {
	if m != nil {
		return m.RoleCharacter
	}
	return ""
}

func (m *ChatRole) GetServerId() int32 {
	if m != nil {
		return m.ServerId
	}
	return 0
}

func (m *ChatRole) GetUnionPosition() int32 {
	if m != nil {
		return m.UnionPosition
	}
	return 0
}

func (m *ChatRole) GetTitleNos() []uint32 {
	if m != nil {
		return m.TitleNos
	}
	return nil
}

type ChatAnnouncement struct {
	// 频道类型
	Channel int32 `protobuf:"zigzag32,1,opt,name=channel,proto3" json:"channel,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 *ChatAnnouncement) Reset()         { *m = ChatAnnouncement{} }
func (m *ChatAnnouncement) String() string { return proto.CompactTextString(m) }
func (*ChatAnnouncement) ProtoMessage()    {}
func (*ChatAnnouncement) Descriptor() ([]byte, []int) {
	return fileDescriptor_b94c6f0fa9aad759, []int{2}
}

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

var xxx_messageInfo_ChatAnnouncement proto.InternalMessageInfo

func (m *ChatAnnouncement) GetChannel() int32 {
	if m != nil {
		return m.Channel
	}
	return 0
}

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

type PrivateChat struct {
	// id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// 大类
	Typ int32 `protobuf:"zigzag32,2,opt,name=typ,proto3" json:"typ,omitempty"`
	// 文本
	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// 私聊对象
	Target *ChatRole `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
	// 拓展字段
	Extra *ChatExtra `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
	// 发送时间
	SendTime int64 `protobuf:"zigzag64,6,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"`
	// 上次查看私聊内容时间
	LastViewTime         int64    `protobuf:"zigzag64,7,opt,name=last_view_time,json=lastViewTime,proto3" json:"last_view_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_PrivateChat proto.InternalMessageInfo

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

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

func (m *PrivateChat) GetText() string {
	if m != nil {
		return m.Text
	}
	return ""
}

func (m *PrivateChat) GetTarget() *ChatRole {
	if m != nil {
		return m.Target
	}
	return nil
}

func (m *PrivateChat) GetExtra() *ChatExtra {
	if m != nil {
		return m.Extra
	}
	return nil
}

func (m *PrivateChat) GetSendTime() int64 {
	if m != nil {
		return m.SendTime
	}
	return 0
}

func (m *PrivateChat) GetLastViewTime() int64 {
	if m != nil {
		return m.LastViewTime
	}
	return 0
}

type ChatExtra struct {
	// 小类
	SubTyp int32 `protobuf:"varint,1,opt,name=sub_typ,json=subTyp,proto3" json:"sub_typ,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 *ChatExtra) Reset()         { *m = ChatExtra{} }
func (m *ChatExtra) String() string { return proto.CompactTextString(m) }
func (*ChatExtra) ProtoMessage()    {}
func (*ChatExtra) Descriptor() ([]byte, []int) {
	return fileDescriptor_b94c6f0fa9aad759, []int{4}
}

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

var xxx_messageInfo_ChatExtra proto.InternalMessageInfo

func (m *ChatExtra) GetSubTyp() int32 {
	if m != nil {
		return m.SubTyp
	}
	return 0
}

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

func init() {
	proto.RegisterType((*ChatMessage)(nil), "proto.ChatMessage")
	proto.RegisterType((*ChatRole)(nil), "proto.ChatRole")
	proto.RegisterType((*ChatAnnouncement)(nil), "proto.ChatAnnouncement")
	proto.RegisterType((*PrivateChat)(nil), "proto.PrivateChat")
	proto.RegisterType((*ChatExtra)(nil), "proto.ChatExtra")
}

func init() { proto.RegisterFile("model/chat.proto", fileDescriptor_b94c6f0fa9aad759) }

var fileDescriptor_b94c6f0fa9aad759 = []byte{
	// 463 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x52, 0x4d, 0x6b, 0xdb, 0x40,
	0x10, 0x45, 0xfe, 0x90, 0xe5, 0x71, 0xed, 0xda, 0x0b, 0xa5, 0x5b, 0x7a, 0x31, 0xa6, 0x1f, 0x3e,
	0xa5, 0xd0, 0xde, 0x0b, 0x25, 0x34, 0x10, 0x68, 0x4d, 0x58, 0x42, 0xaf, 0x62, 0x6d, 0x4d, 0xe3,
	0x05, 0x69, 0x57, 0xac, 0xc6, 0x4a, 0xf2, 0xa7, 0x0a, 0xfd, 0x35, 0xfd, 0x3b, 0x65, 0x46, 0x76,
	0xe8, 0x25, 0x97, 0x92, 0x93, 0x66, 0xde, 0x7b, 0xfb, 0xf4, 0x66, 0x18, 0x98, 0x57, 0xa1, 0xc0,
	0xf2, 0xc3, 0x6e, 0x6f, 0xe9, 0xac, 0x8e, 0x81, 0x82, 0x1a, 0xca, 0x67, 0xf5, 0x3b, 0x81, 0xc9,
	0xf9, 0xde, 0xd2, 0x77, 0x6c, 0x1a, 0x7b, 0x83, 0x6a, 0x06, 0x3d, 0x57, 0xe8, 0x64, 0x99, 0xac,
	0xc7, 0xa6, 0xe7, 0x0a, 0x35, 0x87, 0x3e, 0xdd, 0xd7, 0xba, 0xb7, 0x4c, 0xd6, 0x0b, 0xc3, 0xa5,
	0x52, 0x30, 0x20, 0xbc, 0x23, 0xdd, 0x17, 0x8d, 0xd4, 0xea, 0x3d, 0xa4, 0x0d, 0xfa, 0x02, 0xa3,
	0x1e, 0x2c, 0x93, 0xf5, 0xe4, 0xe3, 0xf3, 0xee, 0x27, 0x67, 0xec, 0x6c, 0x42, 0x89, 0xe6, 0x48,
	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