mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
607 lines
20 KiB
C#
607 lines
20 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ClientMail.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace EggLink.DanhengServer.Proto {
|
|
|
|
/// <summary>Holder for reflection information generated from ClientMail.proto</summary>
|
|
public static partial class ClientMailReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ClientMail.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ClientMailReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChBDbGllbnRNYWlsLnByb3RvGg5NYWlsVHlwZS5wcm90bxoOSXRlbUxpc3Qu",
|
|
"cHJvdG8i3AEKCkNsaWVudE1haWwSDQoFVGl0bGUYCiABKAkSDwoHQ29udGVu",
|
|
"dBgMIAEoCRIdCgpBdHRhY2htZW50GA8gASgLMgkuSXRlbUxpc3QSDgoGSXNS",
|
|
"ZWFkGAMgASgIEgoKAklkGAQgASgNEhsKCE1haWxUeXBlGAggASgOMgkuTWFp",
|
|
"bFR5cGUSEgoKRXhwaXJlVGltZRgOIAEoAxIQCghQYXJhTGlzdBgLIAMoCRIM",
|
|
"CgRUaW1lGAkgASgDEhIKClRlbXBsYXRlSWQYBiABKA0SDgoGU2VuZGVyGAEg",
|
|
"ASgJQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MailTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ClientMail), global::EggLink.DanhengServer.Proto.ClientMail.Parser, new[]{ "Title", "Content", "Attachment", "IsRead", "Id", "MailType", "ExpireTime", "ParaList", "Time", "TemplateId", "Sender" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ClientMail : pb::IMessage<ClientMail>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ClientMail> _parser = new pb::MessageParser<ClientMail>(() => new ClientMail());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ClientMail> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::EggLink.DanhengServer.Proto.ClientMailReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ClientMail() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ClientMail(ClientMail other) : this() {
|
|
title_ = other.title_;
|
|
content_ = other.content_;
|
|
attachment_ = other.attachment_ != null ? other.attachment_.Clone() : null;
|
|
isRead_ = other.isRead_;
|
|
id_ = other.id_;
|
|
mailType_ = other.mailType_;
|
|
expireTime_ = other.expireTime_;
|
|
paraList_ = other.paraList_.Clone();
|
|
time_ = other.time_;
|
|
templateId_ = other.templateId_;
|
|
sender_ = other.sender_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ClientMail Clone() {
|
|
return new ClientMail(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Title" field.</summary>
|
|
public const int TitleFieldNumber = 10;
|
|
private string title_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Title {
|
|
get { return title_; }
|
|
set {
|
|
title_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Content" field.</summary>
|
|
public const int ContentFieldNumber = 12;
|
|
private string content_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Content {
|
|
get { return content_; }
|
|
set {
|
|
content_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Attachment" field.</summary>
|
|
public const int AttachmentFieldNumber = 15;
|
|
private global::EggLink.DanhengServer.Proto.ItemList attachment_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ItemList Attachment {
|
|
get { return attachment_; }
|
|
set {
|
|
attachment_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "IsRead" field.</summary>
|
|
public const int IsReadFieldNumber = 3;
|
|
private bool isRead_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsRead {
|
|
get { return isRead_; }
|
|
set {
|
|
isRead_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Id" field.</summary>
|
|
public const int IdFieldNumber = 4;
|
|
private uint id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MailType" field.</summary>
|
|
public const int MailTypeFieldNumber = 8;
|
|
private global::EggLink.DanhengServer.Proto.MailType mailType_ = global::EggLink.DanhengServer.Proto.MailType.Normal;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.MailType MailType {
|
|
get { return mailType_; }
|
|
set {
|
|
mailType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ExpireTime" field.</summary>
|
|
public const int ExpireTimeFieldNumber = 14;
|
|
private long expireTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long ExpireTime {
|
|
get { return expireTime_; }
|
|
set {
|
|
expireTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ParaList" field.</summary>
|
|
public const int ParaListFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<string> _repeated_paraList_codec
|
|
= pb::FieldCodec.ForString(90);
|
|
private readonly pbc::RepeatedField<string> paraList_ = new pbc::RepeatedField<string>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<string> ParaList {
|
|
get { return paraList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "Time" field.</summary>
|
|
public const int TimeFieldNumber = 9;
|
|
private long time_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long Time {
|
|
get { return time_; }
|
|
set {
|
|
time_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "TemplateId" field.</summary>
|
|
public const int TemplateIdFieldNumber = 6;
|
|
private uint templateId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint TemplateId {
|
|
get { return templateId_; }
|
|
set {
|
|
templateId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Sender" field.</summary>
|
|
public const int SenderFieldNumber = 1;
|
|
private string sender_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Sender {
|
|
get { return sender_; }
|
|
set {
|
|
sender_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ClientMail);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ClientMail other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Title != other.Title) return false;
|
|
if (Content != other.Content) return false;
|
|
if (!object.Equals(Attachment, other.Attachment)) return false;
|
|
if (IsRead != other.IsRead) return false;
|
|
if (Id != other.Id) return false;
|
|
if (MailType != other.MailType) return false;
|
|
if (ExpireTime != other.ExpireTime) return false;
|
|
if(!paraList_.Equals(other.paraList_)) return false;
|
|
if (Time != other.Time) return false;
|
|
if (TemplateId != other.TemplateId) return false;
|
|
if (Sender != other.Sender) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Title.Length != 0) hash ^= Title.GetHashCode();
|
|
if (Content.Length != 0) hash ^= Content.GetHashCode();
|
|
if (attachment_ != null) hash ^= Attachment.GetHashCode();
|
|
if (IsRead != false) hash ^= IsRead.GetHashCode();
|
|
if (Id != 0) hash ^= Id.GetHashCode();
|
|
if (MailType != global::EggLink.DanhengServer.Proto.MailType.Normal) hash ^= MailType.GetHashCode();
|
|
if (ExpireTime != 0L) hash ^= ExpireTime.GetHashCode();
|
|
hash ^= paraList_.GetHashCode();
|
|
if (Time != 0L) hash ^= Time.GetHashCode();
|
|
if (TemplateId != 0) hash ^= TemplateId.GetHashCode();
|
|
if (Sender.Length != 0) hash ^= Sender.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (Sender.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Sender);
|
|
}
|
|
if (IsRead != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsRead);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (TemplateId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(TemplateId);
|
|
}
|
|
if (MailType != global::EggLink.DanhengServer.Proto.MailType.Normal) {
|
|
output.WriteRawTag(64);
|
|
output.WriteEnum((int) MailType);
|
|
}
|
|
if (Time != 0L) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt64(Time);
|
|
}
|
|
if (Title.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(Title);
|
|
}
|
|
paraList_.WriteTo(output, _repeated_paraList_codec);
|
|
if (Content.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Content);
|
|
}
|
|
if (ExpireTime != 0L) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt64(ExpireTime);
|
|
}
|
|
if (attachment_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(Attachment);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (Sender.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Sender);
|
|
}
|
|
if (IsRead != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsRead);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (TemplateId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(TemplateId);
|
|
}
|
|
if (MailType != global::EggLink.DanhengServer.Proto.MailType.Normal) {
|
|
output.WriteRawTag(64);
|
|
output.WriteEnum((int) MailType);
|
|
}
|
|
if (Time != 0L) {
|
|
output.WriteRawTag(72);
|
|
output.WriteInt64(Time);
|
|
}
|
|
if (Title.Length != 0) {
|
|
output.WriteRawTag(82);
|
|
output.WriteString(Title);
|
|
}
|
|
paraList_.WriteTo(ref output, _repeated_paraList_codec);
|
|
if (Content.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Content);
|
|
}
|
|
if (ExpireTime != 0L) {
|
|
output.WriteRawTag(112);
|
|
output.WriteInt64(ExpireTime);
|
|
}
|
|
if (attachment_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(Attachment);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Title.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
|
|
}
|
|
if (Content.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Content);
|
|
}
|
|
if (attachment_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Attachment);
|
|
}
|
|
if (IsRead != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
|
}
|
|
if (MailType != global::EggLink.DanhengServer.Proto.MailType.Normal) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MailType);
|
|
}
|
|
if (ExpireTime != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExpireTime);
|
|
}
|
|
size += paraList_.CalculateSize(_repeated_paraList_codec);
|
|
if (Time != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Time);
|
|
}
|
|
if (TemplateId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TemplateId);
|
|
}
|
|
if (Sender.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Sender);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ClientMail other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Title.Length != 0) {
|
|
Title = other.Title;
|
|
}
|
|
if (other.Content.Length != 0) {
|
|
Content = other.Content;
|
|
}
|
|
if (other.attachment_ != null) {
|
|
if (attachment_ == null) {
|
|
Attachment = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
Attachment.MergeFrom(other.Attachment);
|
|
}
|
|
if (other.IsRead != false) {
|
|
IsRead = other.IsRead;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.MailType != global::EggLink.DanhengServer.Proto.MailType.Normal) {
|
|
MailType = other.MailType;
|
|
}
|
|
if (other.ExpireTime != 0L) {
|
|
ExpireTime = other.ExpireTime;
|
|
}
|
|
paraList_.Add(other.paraList_);
|
|
if (other.Time != 0L) {
|
|
Time = other.Time;
|
|
}
|
|
if (other.TemplateId != 0) {
|
|
TemplateId = other.TemplateId;
|
|
}
|
|
if (other.Sender.Length != 0) {
|
|
Sender = other.Sender;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
Sender = input.ReadString();
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsRead = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
TemplateId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
MailType = (global::EggLink.DanhengServer.Proto.MailType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Time = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 82: {
|
|
Title = input.ReadString();
|
|
break;
|
|
}
|
|
case 90: {
|
|
paraList_.AddEntriesFrom(input, _repeated_paraList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
Content = input.ReadString();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ExpireTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (attachment_ == null) {
|
|
Attachment = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(Attachment);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10: {
|
|
Sender = input.ReadString();
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsRead = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
TemplateId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
MailType = (global::EggLink.DanhengServer.Proto.MailType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 72: {
|
|
Time = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 82: {
|
|
Title = input.ReadString();
|
|
break;
|
|
}
|
|
case 90: {
|
|
paraList_.AddEntriesFrom(ref input, _repeated_paraList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
Content = input.ReadString();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ExpireTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (attachment_ == null) {
|
|
Attachment = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(Attachment);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|