2897 lines
102 KiB
C#
2897 lines
102 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: cs.mail.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 RPG.Network.Proto {
|
|
|
|
/// <summary>Holder for reflection information generated from cs.mail.proto</summary>
|
|
public static partial class CsMailReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for cs.mail.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static CsMailReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Cg1jcy5tYWlsLnByb3RvEgVwcm90bxoPY3MuY29tbW9uLnByb3RvIjgKDEdl",
|
|
"dE1haWxDc1JlcRIUCgVzdGFydBgBIAEoDVIFc3RhcnQSEgoEc3RvcBgCIAEo",
|
|
"DVIEc3RvcCKhAgoKQ2xpZW50TWFpbBIOCgJpZBgBIAEoDVICaWQSHwoLdGVt",
|
|
"cGxhdGVfaWQYAiABKA1SCnRlbXBsYXRlSWQSFAoFdGl0bGUYAyABKAlSBXRp",
|
|
"dGxlEhgKB2NvbnRlbnQYBCABKAlSB2NvbnRlbnQSFgoGc2VuZGVyGAUgASgJ",
|
|
"UgZzZW5kZXISEgoEdGltZRgGIAEoDVIEdGltZRIvCgphdHRhY2htZW50GAcg",
|
|
"ASgLMg8ucHJvdG8uSXRlbUxpc3RSCmF0dGFjaG1lbnQSFwoHaXNfcmVhZBgI",
|
|
"IAEoCFIGaXNSZWFkEh8KC2V4cGlyZV90aW1lGAkgASgNUgpleHBpcmVUaW1l",
|
|
"EhsKCXBhcmFfbGlzdBgKIAMoCVIIcGFyYUxpc3Qi3wEKDEdldE1haWxTY1Jz",
|
|
"cBIYCgdyZXRjb2RlGAEgASgNUgdyZXRjb2RlEi4KCW1haWxfbGlzdBgCIAMo",
|
|
"CzIRLnByb3RvLkNsaWVudE1haWxSCG1haWxMaXN0EhUKBmlzX2VuZBgDIAEo",
|
|
"CFIFaXNFbmQSGwoJdG90YWxfbnVtGAQgASgNUgh0b3RhbE51bRIUCgVzdGFy",
|
|
"dBgFIAEoDVIFc3RhcnQSOwoQbm90aWNlX21haWxfbGlzdBgGIAMoCzIRLnBy",
|
|
"b3RvLkNsaWVudE1haWxSDm5vdGljZU1haWxMaXN0IiMKEU1hcmtSZWFkTWFp",
|
|
"bENzUmVxEg4KAmlkGAEgASgNUgJpZCI9ChFNYXJrUmVhZE1haWxTY1JzcBIY",
|
|
"CgdyZXRjb2RlGAEgASgNUgdyZXRjb2RlEg4KAmlkGAIgASgNUgJpZCInCgxE",
|
|
"ZWxNYWlsQ3NSZXESFwoHaWRfbGlzdBgBIAMoDVIGaWRMaXN0IkEKDERlbE1h",
|
|
"aWxTY1JzcBIYCgdyZXRjb2RlGAEgASgNUgdyZXRjb2RlEhcKB2lkX2xpc3QY",
|
|
"AiADKA1SBmlkTGlzdCI7ChdUYWtlTWFpbEF0dGFjaG1lbnRDc1JlcRIgCgxt",
|
|
"YWlsX2lkX2xpc3QYASADKA1SCm1haWxJZExpc3QiTAoYQ2xpZW50TWFpbEF0",
|
|
"dGFjaG1lbnRJdGVtEhcKB21haWxfaWQYASABKA1SBm1haWxJZBIXCgdpdGVt",
|
|
"X2lkGAIgASgNUgZpdGVtSWQi1gEKF1Rha2VNYWlsQXR0YWNobWVudFNjUnNw",
|
|
"EhgKB3JldGNvZGUYASABKA1SB3JldGNvZGUSKQoRc3VjY19tYWlsX2lkX2xp",
|
|
"c3QYAiADKA1SDnN1Y2NNYWlsSWRMaXN0Ei8KCmF0dGFjaG1lbnQYAyABKAsy",
|
|
"Dy5wcm90by5JdGVtTGlzdFIKYXR0YWNobWVudBJFCg5mYWlsX21haWxfbGlz",
|
|
"dBgEIAMoCzIfLnByb3RvLkNsaWVudE1haWxBdHRhY2htZW50SXRlbVIMZmFp",
|
|
"bE1haWxMaXN0IjMKD05ld01haWxTY05vdGlmeRIgCgxtYWlsX2lkX2xpc3QY",
|
|
"ASADKA1SCm1haWxJZExpc3QqiwIKC0NtZE1haWxUeXBlEhMKD0NtZE1haWxU",
|
|
"eXBlTm9uZRAAEhQKD0NtZEdldE1haWxDc1JlcRChBhIUCg9DbWRHZXRNYWls",
|
|
"U2NSc3AQogYSGQoUQ21kTWFya1JlYWRNYWlsQ3NSZXEQowYSGQoUQ21kTWFy",
|
|
"a1JlYWRNYWlsU2NSc3AQpAYSFAoPQ21kRGVsTWFpbENzUmVxEKUGEhQKD0Nt",
|
|
"ZERlbE1haWxTY1JzcBCmBhIfChpDbWRUYWtlTWFpbEF0dGFjaG1lbnRDc1Jl",
|
|
"cRCnBhIfChpDbWRUYWtlTWFpbEF0dGFjaG1lbnRTY1JzcBCoBhIXChJDbWRO",
|
|
"ZXdNYWlsU2NOb3RpZnkQqQZiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CsCommonReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdMailType), }, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetMailCsReq), global::RPG.Network.Proto.GetMailCsReq.Parser, new[]{ "Start", "Stop" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.ClientMail), global::RPG.Network.Proto.ClientMail.Parser, new[]{ "Id", "TemplateId", "Title", "Content", "Sender", "Time", "Attachment", "IsRead", "ExpireTime", "ParaList" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetMailScRsp), global::RPG.Network.Proto.GetMailScRsp.Parser, new[]{ "Retcode", "MailList", "IsEnd", "TotalNum", "Start", "NoticeMailList" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.MarkReadMailCsReq), global::RPG.Network.Proto.MarkReadMailCsReq.Parser, new[]{ "Id" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.MarkReadMailScRsp), global::RPG.Network.Proto.MarkReadMailScRsp.Parser, new[]{ "Retcode", "Id" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.DelMailCsReq), global::RPG.Network.Proto.DelMailCsReq.Parser, new[]{ "IdList" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.DelMailScRsp), global::RPG.Network.Proto.DelMailScRsp.Parser, new[]{ "Retcode", "IdList" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeMailAttachmentCsReq), global::RPG.Network.Proto.TakeMailAttachmentCsReq.Parser, new[]{ "MailIdList" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.ClientMailAttachmentItem), global::RPG.Network.Proto.ClientMailAttachmentItem.Parser, new[]{ "MailId", "ItemId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.TakeMailAttachmentScRsp), global::RPG.Network.Proto.TakeMailAttachmentScRsp.Parser, new[]{ "Retcode", "SuccMailIdList", "Attachment", "FailMailList" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.NewMailScNotify), global::RPG.Network.Proto.NewMailScNotify.Parser, new[]{ "MailIdList" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Enums
|
|
public enum CmdMailType {
|
|
[pbr::OriginalName("CmdMailTypeNone")] None = 0,
|
|
[pbr::OriginalName("CmdGetMailCsReq")] CmdGetMailCsReq = 801,
|
|
[pbr::OriginalName("CmdGetMailScRsp")] CmdGetMailScRsp = 802,
|
|
[pbr::OriginalName("CmdMarkReadMailCsReq")] CmdMarkReadMailCsReq = 803,
|
|
[pbr::OriginalName("CmdMarkReadMailScRsp")] CmdMarkReadMailScRsp = 804,
|
|
[pbr::OriginalName("CmdDelMailCsReq")] CmdDelMailCsReq = 805,
|
|
[pbr::OriginalName("CmdDelMailScRsp")] CmdDelMailScRsp = 806,
|
|
[pbr::OriginalName("CmdTakeMailAttachmentCsReq")] CmdTakeMailAttachmentCsReq = 807,
|
|
[pbr::OriginalName("CmdTakeMailAttachmentScRsp")] CmdTakeMailAttachmentScRsp = 808,
|
|
[pbr::OriginalName("CmdNewMailScNotify")] CmdNewMailScNotify = 809,
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetMailCsReq : pb::IMessage<GetMailCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetMailCsReq> _parser = new pb::MessageParser<GetMailCsReq>(() => new GetMailCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetMailCsReq> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.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 GetMailCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetMailCsReq(GetMailCsReq other) : this() {
|
|
start_ = other.start_;
|
|
stop_ = other.stop_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetMailCsReq Clone() {
|
|
return new GetMailCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "start" field.</summary>
|
|
public const int StartFieldNumber = 1;
|
|
private uint start_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Start {
|
|
get { return start_; }
|
|
set {
|
|
start_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "stop" field.</summary>
|
|
public const int StopFieldNumber = 2;
|
|
private uint stop_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Stop {
|
|
get { return stop_; }
|
|
set {
|
|
stop_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetMailCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetMailCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Start != other.Start) return false;
|
|
if (Stop != other.Stop) 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 (Start != 0) hash ^= Start.GetHashCode();
|
|
if (Stop != 0) hash ^= Stop.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 (Start != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Start);
|
|
}
|
|
if (Stop != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Stop);
|
|
}
|
|
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 (Start != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Start);
|
|
}
|
|
if (Stop != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Stop);
|
|
}
|
|
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 (Start != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Start);
|
|
}
|
|
if (Stop != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Stop);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetMailCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Start != 0) {
|
|
Start = other.Start;
|
|
}
|
|
if (other.Stop != 0) {
|
|
Stop = other.Stop;
|
|
}
|
|
_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 8: {
|
|
Start = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Stop = input.ReadUInt32();
|
|
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 8: {
|
|
Start = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Stop = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[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::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[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() {
|
|
id_ = other.id_;
|
|
templateId_ = other.templateId_;
|
|
title_ = other.title_;
|
|
content_ = other.content_;
|
|
sender_ = other.sender_;
|
|
time_ = other.time_;
|
|
attachment_ = other.attachment_ != null ? other.attachment_.Clone() : null;
|
|
isRead_ = other.isRead_;
|
|
expireTime_ = other.expireTime_;
|
|
paraList_ = other.paraList_.Clone();
|
|
_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 "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
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 "template_id" field.</summary>
|
|
public const int TemplateIdFieldNumber = 2;
|
|
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 "title" field.</summary>
|
|
public const int TitleFieldNumber = 3;
|
|
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 = 4;
|
|
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 "sender" field.</summary>
|
|
public const int SenderFieldNumber = 5;
|
|
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");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "time" field.</summary>
|
|
public const int TimeFieldNumber = 6;
|
|
private uint time_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Time {
|
|
get { return time_; }
|
|
set {
|
|
time_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "attachment" field.</summary>
|
|
public const int AttachmentFieldNumber = 7;
|
|
private global::RPG.Network.Proto.ItemList attachment_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RPG.Network.Proto.ItemList Attachment {
|
|
get { return attachment_; }
|
|
set {
|
|
attachment_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_read" field.</summary>
|
|
public const int IsReadFieldNumber = 8;
|
|
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 "expire_time" field.</summary>
|
|
public const int ExpireTimeFieldNumber = 9;
|
|
private uint expireTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ExpireTime {
|
|
get { return expireTime_; }
|
|
set {
|
|
expireTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "para_list" field.</summary>
|
|
public const int ParaListFieldNumber = 10;
|
|
private static readonly pb::FieldCodec<string> _repeated_paraList_codec
|
|
= pb::FieldCodec.ForString(82);
|
|
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_; }
|
|
}
|
|
|
|
[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 (Id != other.Id) return false;
|
|
if (TemplateId != other.TemplateId) return false;
|
|
if (Title != other.Title) return false;
|
|
if (Content != other.Content) return false;
|
|
if (Sender != other.Sender) return false;
|
|
if (Time != other.Time) return false;
|
|
if (!object.Equals(Attachment, other.Attachment)) return false;
|
|
if (IsRead != other.IsRead) return false;
|
|
if (ExpireTime != other.ExpireTime) return false;
|
|
if(!paraList_.Equals(other.paraList_)) 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 (Id != 0) hash ^= Id.GetHashCode();
|
|
if (TemplateId != 0) hash ^= TemplateId.GetHashCode();
|
|
if (Title.Length != 0) hash ^= Title.GetHashCode();
|
|
if (Content.Length != 0) hash ^= Content.GetHashCode();
|
|
if (Sender.Length != 0) hash ^= Sender.GetHashCode();
|
|
if (Time != 0) hash ^= Time.GetHashCode();
|
|
if (attachment_ != null) hash ^= Attachment.GetHashCode();
|
|
if (IsRead != false) hash ^= IsRead.GetHashCode();
|
|
if (ExpireTime != 0) hash ^= ExpireTime.GetHashCode();
|
|
hash ^= paraList_.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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (TemplateId != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(TemplateId);
|
|
}
|
|
if (Title.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Title);
|
|
}
|
|
if (Content.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Content);
|
|
}
|
|
if (Sender.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Sender);
|
|
}
|
|
if (Time != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Time);
|
|
}
|
|
if (attachment_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(Attachment);
|
|
}
|
|
if (IsRead != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsRead);
|
|
}
|
|
if (ExpireTime != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(ExpireTime);
|
|
}
|
|
paraList_.WriteTo(output, _repeated_paraList_codec);
|
|
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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (TemplateId != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(TemplateId);
|
|
}
|
|
if (Title.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Title);
|
|
}
|
|
if (Content.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Content);
|
|
}
|
|
if (Sender.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Sender);
|
|
}
|
|
if (Time != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Time);
|
|
}
|
|
if (attachment_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(Attachment);
|
|
}
|
|
if (IsRead != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsRead);
|
|
}
|
|
if (ExpireTime != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(ExpireTime);
|
|
}
|
|
paraList_.WriteTo(ref output, _repeated_paraList_codec);
|
|
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 (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
|
}
|
|
if (TemplateId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TemplateId);
|
|
}
|
|
if (Title.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
|
|
}
|
|
if (Content.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Content);
|
|
}
|
|
if (Sender.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Sender);
|
|
}
|
|
if (Time != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time);
|
|
}
|
|
if (attachment_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Attachment);
|
|
}
|
|
if (IsRead != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (ExpireTime != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExpireTime);
|
|
}
|
|
size += paraList_.CalculateSize(_repeated_paraList_codec);
|
|
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.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.TemplateId != 0) {
|
|
TemplateId = other.TemplateId;
|
|
}
|
|
if (other.Title.Length != 0) {
|
|
Title = other.Title;
|
|
}
|
|
if (other.Content.Length != 0) {
|
|
Content = other.Content;
|
|
}
|
|
if (other.Sender.Length != 0) {
|
|
Sender = other.Sender;
|
|
}
|
|
if (other.Time != 0) {
|
|
Time = other.Time;
|
|
}
|
|
if (other.attachment_ != null) {
|
|
if (attachment_ == null) {
|
|
Attachment = new global::RPG.Network.Proto.ItemList();
|
|
}
|
|
Attachment.MergeFrom(other.Attachment);
|
|
}
|
|
if (other.IsRead != false) {
|
|
IsRead = other.IsRead;
|
|
}
|
|
if (other.ExpireTime != 0) {
|
|
ExpireTime = other.ExpireTime;
|
|
}
|
|
paraList_.Add(other.paraList_);
|
|
_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 8: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
TemplateId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Title = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Content = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Sender = input.ReadString();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Time = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (attachment_ == null) {
|
|
Attachment = new global::RPG.Network.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(Attachment);
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsRead = input.ReadBool();
|
|
break;
|
|
}
|
|
case 72: {
|
|
ExpireTime = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
paraList_.AddEntriesFrom(input, _repeated_paraList_codec);
|
|
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 8: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
TemplateId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Title = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Content = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Sender = input.ReadString();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Time = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (attachment_ == null) {
|
|
Attachment = new global::RPG.Network.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(Attachment);
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsRead = input.ReadBool();
|
|
break;
|
|
}
|
|
case 72: {
|
|
ExpireTime = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
paraList_.AddEntriesFrom(ref input, _repeated_paraList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetMailScRsp : pb::IMessage<GetMailScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetMailScRsp> _parser = new pb::MessageParser<GetMailScRsp>(() => new GetMailScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetMailScRsp> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[2]; }
|
|
}
|
|
|
|
[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 GetMailScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetMailScRsp(GetMailScRsp other) : this() {
|
|
retcode_ = other.retcode_;
|
|
mailList_ = other.mailList_.Clone();
|
|
isEnd_ = other.isEnd_;
|
|
totalNum_ = other.totalNum_;
|
|
start_ = other.start_;
|
|
noticeMailList_ = other.noticeMailList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetMailScRsp Clone() {
|
|
return new GetMailScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 1;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "mail_list" field.</summary>
|
|
public const int MailListFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::RPG.Network.Proto.ClientMail> _repeated_mailList_codec
|
|
= pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.ClientMail.Parser);
|
|
private readonly pbc::RepeatedField<global::RPG.Network.Proto.ClientMail> mailList_ = new pbc::RepeatedField<global::RPG.Network.Proto.ClientMail>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::RPG.Network.Proto.ClientMail> MailList {
|
|
get { return mailList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "is_end" field.</summary>
|
|
public const int IsEndFieldNumber = 3;
|
|
private bool isEnd_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsEnd {
|
|
get { return isEnd_; }
|
|
set {
|
|
isEnd_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "total_num" field.</summary>
|
|
public const int TotalNumFieldNumber = 4;
|
|
private uint totalNum_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint TotalNum {
|
|
get { return totalNum_; }
|
|
set {
|
|
totalNum_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "start" field.</summary>
|
|
public const int StartFieldNumber = 5;
|
|
private uint start_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Start {
|
|
get { return start_; }
|
|
set {
|
|
start_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "notice_mail_list" field.</summary>
|
|
public const int NoticeMailListFieldNumber = 6;
|
|
private static readonly pb::FieldCodec<global::RPG.Network.Proto.ClientMail> _repeated_noticeMailList_codec
|
|
= pb::FieldCodec.ForMessage(50, global::RPG.Network.Proto.ClientMail.Parser);
|
|
private readonly pbc::RepeatedField<global::RPG.Network.Proto.ClientMail> noticeMailList_ = new pbc::RepeatedField<global::RPG.Network.Proto.ClientMail>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::RPG.Network.Proto.ClientMail> NoticeMailList {
|
|
get { return noticeMailList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetMailScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetMailScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Retcode != other.Retcode) return false;
|
|
if(!mailList_.Equals(other.mailList_)) return false;
|
|
if (IsEnd != other.IsEnd) return false;
|
|
if (TotalNum != other.TotalNum) return false;
|
|
if (Start != other.Start) return false;
|
|
if(!noticeMailList_.Equals(other.noticeMailList_)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= mailList_.GetHashCode();
|
|
if (IsEnd != false) hash ^= IsEnd.GetHashCode();
|
|
if (TotalNum != 0) hash ^= TotalNum.GetHashCode();
|
|
if (Start != 0) hash ^= Start.GetHashCode();
|
|
hash ^= noticeMailList_.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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
mailList_.WriteTo(output, _repeated_mailList_codec);
|
|
if (IsEnd != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsEnd);
|
|
}
|
|
if (TotalNum != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(TotalNum);
|
|
}
|
|
if (Start != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Start);
|
|
}
|
|
noticeMailList_.WriteTo(output, _repeated_noticeMailList_codec);
|
|
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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
mailList_.WriteTo(ref output, _repeated_mailList_codec);
|
|
if (IsEnd != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsEnd);
|
|
}
|
|
if (TotalNum != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(TotalNum);
|
|
}
|
|
if (Start != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Start);
|
|
}
|
|
noticeMailList_.WriteTo(ref output, _repeated_noticeMailList_codec);
|
|
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 (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
size += mailList_.CalculateSize(_repeated_mailList_codec);
|
|
if (IsEnd != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (TotalNum != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalNum);
|
|
}
|
|
if (Start != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Start);
|
|
}
|
|
size += noticeMailList_.CalculateSize(_repeated_noticeMailList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetMailScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
mailList_.Add(other.mailList_);
|
|
if (other.IsEnd != false) {
|
|
IsEnd = other.IsEnd;
|
|
}
|
|
if (other.TotalNum != 0) {
|
|
TotalNum = other.TotalNum;
|
|
}
|
|
if (other.Start != 0) {
|
|
Start = other.Start;
|
|
}
|
|
noticeMailList_.Add(other.noticeMailList_);
|
|
_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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
mailList_.AddEntriesFrom(input, _repeated_mailList_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsEnd = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
TotalNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Start = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
noticeMailList_.AddEntriesFrom(input, _repeated_noticeMailList_codec);
|
|
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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
mailList_.AddEntriesFrom(ref input, _repeated_mailList_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsEnd = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
TotalNum = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Start = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
noticeMailList_.AddEntriesFrom(ref input, _repeated_noticeMailList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MarkReadMailCsReq : pb::IMessage<MarkReadMailCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MarkReadMailCsReq> _parser = new pb::MessageParser<MarkReadMailCsReq>(() => new MarkReadMailCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MarkReadMailCsReq> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[3]; }
|
|
}
|
|
|
|
[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 MarkReadMailCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MarkReadMailCsReq(MarkReadMailCsReq other) : this() {
|
|
id_ = other.id_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MarkReadMailCsReq Clone() {
|
|
return new MarkReadMailCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
private uint id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MarkReadMailCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MarkReadMailCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) 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 (Id != 0) hash ^= Id.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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
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 (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MarkReadMailCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
_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 8: {
|
|
Id = input.ReadUInt32();
|
|
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 8: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MarkReadMailScRsp : pb::IMessage<MarkReadMailScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MarkReadMailScRsp> _parser = new pb::MessageParser<MarkReadMailScRsp>(() => new MarkReadMailScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MarkReadMailScRsp> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[4]; }
|
|
}
|
|
|
|
[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 MarkReadMailScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MarkReadMailScRsp(MarkReadMailScRsp other) : this() {
|
|
retcode_ = other.retcode_;
|
|
id_ = other.id_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MarkReadMailScRsp Clone() {
|
|
return new MarkReadMailScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 1;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 2;
|
|
private uint id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MarkReadMailScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MarkReadMailScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Retcode != other.Retcode) return false;
|
|
if (Id != other.Id) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
if (Id != 0) hash ^= Id.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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
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 (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MarkReadMailScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
_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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Id = input.ReadUInt32();
|
|
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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DelMailCsReq : pb::IMessage<DelMailCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DelMailCsReq> _parser = new pb::MessageParser<DelMailCsReq>(() => new DelMailCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DelMailCsReq> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[5]; }
|
|
}
|
|
|
|
[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 DelMailCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DelMailCsReq(DelMailCsReq other) : this() {
|
|
idList_ = other.idList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DelMailCsReq Clone() {
|
|
return new DelMailCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id_list" field.</summary>
|
|
public const int IdListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_idList_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
private readonly pbc::RepeatedField<uint> idList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> IdList {
|
|
get { return idList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DelMailCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DelMailCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!idList_.Equals(other.idList_)) 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;
|
|
hash ^= idList_.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
|
|
idList_.WriteTo(output, _repeated_idList_codec);
|
|
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) {
|
|
idList_.WriteTo(ref output, _repeated_idList_codec);
|
|
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;
|
|
size += idList_.CalculateSize(_repeated_idList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DelMailCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
idList_.Add(other.idList_);
|
|
_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:
|
|
case 8: {
|
|
idList_.AddEntriesFrom(input, _repeated_idList_codec);
|
|
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:
|
|
case 8: {
|
|
idList_.AddEntriesFrom(ref input, _repeated_idList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DelMailScRsp : pb::IMessage<DelMailScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DelMailScRsp> _parser = new pb::MessageParser<DelMailScRsp>(() => new DelMailScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DelMailScRsp> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[6]; }
|
|
}
|
|
|
|
[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 DelMailScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DelMailScRsp(DelMailScRsp other) : this() {
|
|
retcode_ = other.retcode_;
|
|
idList_ = other.idList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DelMailScRsp Clone() {
|
|
return new DelMailScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 1;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "id_list" field.</summary>
|
|
public const int IdListFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<uint> _repeated_idList_codec
|
|
= pb::FieldCodec.ForUInt32(18);
|
|
private readonly pbc::RepeatedField<uint> idList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> IdList {
|
|
get { return idList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DelMailScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DelMailScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Retcode != other.Retcode) return false;
|
|
if(!idList_.Equals(other.idList_)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= idList_.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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
idList_.WriteTo(output, _repeated_idList_codec);
|
|
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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
idList_.WriteTo(ref output, _repeated_idList_codec);
|
|
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 (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
size += idList_.CalculateSize(_repeated_idList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DelMailScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
idList_.Add(other.idList_);
|
|
_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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
idList_.AddEntriesFrom(input, _repeated_idList_codec);
|
|
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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
idList_.AddEntriesFrom(ref input, _repeated_idList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class TakeMailAttachmentCsReq : pb::IMessage<TakeMailAttachmentCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<TakeMailAttachmentCsReq> _parser = new pb::MessageParser<TakeMailAttachmentCsReq>(() => new TakeMailAttachmentCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<TakeMailAttachmentCsReq> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[7]; }
|
|
}
|
|
|
|
[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 TakeMailAttachmentCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public TakeMailAttachmentCsReq(TakeMailAttachmentCsReq other) : this() {
|
|
mailIdList_ = other.mailIdList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public TakeMailAttachmentCsReq Clone() {
|
|
return new TakeMailAttachmentCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "mail_id_list" field.</summary>
|
|
public const int MailIdListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_mailIdList_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
private readonly pbc::RepeatedField<uint> mailIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> MailIdList {
|
|
get { return mailIdList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as TakeMailAttachmentCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(TakeMailAttachmentCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!mailIdList_.Equals(other.mailIdList_)) 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;
|
|
hash ^= mailIdList_.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
|
|
mailIdList_.WriteTo(output, _repeated_mailIdList_codec);
|
|
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) {
|
|
mailIdList_.WriteTo(ref output, _repeated_mailIdList_codec);
|
|
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;
|
|
size += mailIdList_.CalculateSize(_repeated_mailIdList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(TakeMailAttachmentCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
mailIdList_.Add(other.mailIdList_);
|
|
_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:
|
|
case 8: {
|
|
mailIdList_.AddEntriesFrom(input, _repeated_mailIdList_codec);
|
|
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:
|
|
case 8: {
|
|
mailIdList_.AddEntriesFrom(ref input, _repeated_mailIdList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ClientMailAttachmentItem : pb::IMessage<ClientMailAttachmentItem>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ClientMailAttachmentItem> _parser = new pb::MessageParser<ClientMailAttachmentItem>(() => new ClientMailAttachmentItem());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ClientMailAttachmentItem> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[8]; }
|
|
}
|
|
|
|
[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 ClientMailAttachmentItem() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ClientMailAttachmentItem(ClientMailAttachmentItem other) : this() {
|
|
mailId_ = other.mailId_;
|
|
itemId_ = other.itemId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ClientMailAttachmentItem Clone() {
|
|
return new ClientMailAttachmentItem(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "mail_id" field.</summary>
|
|
public const int MailIdFieldNumber = 1;
|
|
private uint mailId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MailId {
|
|
get { return mailId_; }
|
|
set {
|
|
mailId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item_id" field.</summary>
|
|
public const int ItemIdFieldNumber = 2;
|
|
private uint itemId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ItemId {
|
|
get { return itemId_; }
|
|
set {
|
|
itemId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ClientMailAttachmentItem);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ClientMailAttachmentItem other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (MailId != other.MailId) return false;
|
|
if (ItemId != other.ItemId) 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 (MailId != 0) hash ^= MailId.GetHashCode();
|
|
if (ItemId != 0) hash ^= ItemId.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 (MailId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(MailId);
|
|
}
|
|
if (ItemId != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(ItemId);
|
|
}
|
|
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 (MailId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(MailId);
|
|
}
|
|
if (ItemId != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(ItemId);
|
|
}
|
|
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 (MailId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MailId);
|
|
}
|
|
if (ItemId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ItemId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ClientMailAttachmentItem other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.MailId != 0) {
|
|
MailId = other.MailId;
|
|
}
|
|
if (other.ItemId != 0) {
|
|
ItemId = other.ItemId;
|
|
}
|
|
_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 8: {
|
|
MailId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
ItemId = input.ReadUInt32();
|
|
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 8: {
|
|
MailId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
ItemId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class TakeMailAttachmentScRsp : pb::IMessage<TakeMailAttachmentScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<TakeMailAttachmentScRsp> _parser = new pb::MessageParser<TakeMailAttachmentScRsp>(() => new TakeMailAttachmentScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<TakeMailAttachmentScRsp> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[9]; }
|
|
}
|
|
|
|
[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 TakeMailAttachmentScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public TakeMailAttachmentScRsp(TakeMailAttachmentScRsp other) : this() {
|
|
retcode_ = other.retcode_;
|
|
succMailIdList_ = other.succMailIdList_.Clone();
|
|
attachment_ = other.attachment_ != null ? other.attachment_.Clone() : null;
|
|
failMailList_ = other.failMailList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public TakeMailAttachmentScRsp Clone() {
|
|
return new TakeMailAttachmentScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 1;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "succ_mail_id_list" field.</summary>
|
|
public const int SuccMailIdListFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<uint> _repeated_succMailIdList_codec
|
|
= pb::FieldCodec.ForUInt32(18);
|
|
private readonly pbc::RepeatedField<uint> succMailIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> SuccMailIdList {
|
|
get { return succMailIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "attachment" field.</summary>
|
|
public const int AttachmentFieldNumber = 3;
|
|
private global::RPG.Network.Proto.ItemList attachment_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RPG.Network.Proto.ItemList Attachment {
|
|
get { return attachment_; }
|
|
set {
|
|
attachment_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "fail_mail_list" field.</summary>
|
|
public const int FailMailListFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<global::RPG.Network.Proto.ClientMailAttachmentItem> _repeated_failMailList_codec
|
|
= pb::FieldCodec.ForMessage(34, global::RPG.Network.Proto.ClientMailAttachmentItem.Parser);
|
|
private readonly pbc::RepeatedField<global::RPG.Network.Proto.ClientMailAttachmentItem> failMailList_ = new pbc::RepeatedField<global::RPG.Network.Proto.ClientMailAttachmentItem>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::RPG.Network.Proto.ClientMailAttachmentItem> FailMailList {
|
|
get { return failMailList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as TakeMailAttachmentScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(TakeMailAttachmentScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Retcode != other.Retcode) return false;
|
|
if(!succMailIdList_.Equals(other.succMailIdList_)) return false;
|
|
if (!object.Equals(Attachment, other.Attachment)) return false;
|
|
if(!failMailList_.Equals(other.failMailList_)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= succMailIdList_.GetHashCode();
|
|
if (attachment_ != null) hash ^= Attachment.GetHashCode();
|
|
hash ^= failMailList_.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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
succMailIdList_.WriteTo(output, _repeated_succMailIdList_codec);
|
|
if (attachment_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(Attachment);
|
|
}
|
|
failMailList_.WriteTo(output, _repeated_failMailList_codec);
|
|
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 (Retcode != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
succMailIdList_.WriteTo(ref output, _repeated_succMailIdList_codec);
|
|
if (attachment_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(Attachment);
|
|
}
|
|
failMailList_.WriteTo(ref output, _repeated_failMailList_codec);
|
|
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 (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
size += succMailIdList_.CalculateSize(_repeated_succMailIdList_codec);
|
|
if (attachment_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Attachment);
|
|
}
|
|
size += failMailList_.CalculateSize(_repeated_failMailList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(TakeMailAttachmentScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
succMailIdList_.Add(other.succMailIdList_);
|
|
if (other.attachment_ != null) {
|
|
if (attachment_ == null) {
|
|
Attachment = new global::RPG.Network.Proto.ItemList();
|
|
}
|
|
Attachment.MergeFrom(other.Attachment);
|
|
}
|
|
failMailList_.Add(other.failMailList_);
|
|
_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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
succMailIdList_.AddEntriesFrom(input, _repeated_succMailIdList_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (attachment_ == null) {
|
|
Attachment = new global::RPG.Network.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(Attachment);
|
|
break;
|
|
}
|
|
case 34: {
|
|
failMailList_.AddEntriesFrom(input, _repeated_failMailList_codec);
|
|
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 8: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18:
|
|
case 16: {
|
|
succMailIdList_.AddEntriesFrom(ref input, _repeated_succMailIdList_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (attachment_ == null) {
|
|
Attachment = new global::RPG.Network.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(Attachment);
|
|
break;
|
|
}
|
|
case 34: {
|
|
failMailList_.AddEntriesFrom(ref input, _repeated_failMailList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class NewMailScNotify : pb::IMessage<NewMailScNotify>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<NewMailScNotify> _parser = new pb::MessageParser<NewMailScNotify>(() => new NewMailScNotify());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<NewMailScNotify> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RPG.Network.Proto.CsMailReflection.Descriptor.MessageTypes[10]; }
|
|
}
|
|
|
|
[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 NewMailScNotify() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NewMailScNotify(NewMailScNotify other) : this() {
|
|
mailIdList_ = other.mailIdList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NewMailScNotify Clone() {
|
|
return new NewMailScNotify(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "mail_id_list" field.</summary>
|
|
public const int MailIdListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<uint> _repeated_mailIdList_codec
|
|
= pb::FieldCodec.ForUInt32(10);
|
|
private readonly pbc::RepeatedField<uint> mailIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> MailIdList {
|
|
get { return mailIdList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as NewMailScNotify);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(NewMailScNotify other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!mailIdList_.Equals(other.mailIdList_)) 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;
|
|
hash ^= mailIdList_.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
|
|
mailIdList_.WriteTo(output, _repeated_mailIdList_codec);
|
|
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) {
|
|
mailIdList_.WriteTo(ref output, _repeated_mailIdList_codec);
|
|
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;
|
|
size += mailIdList_.CalculateSize(_repeated_mailIdList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(NewMailScNotify other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
mailIdList_.Add(other.mailIdList_);
|
|
_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:
|
|
case 8: {
|
|
mailIdList_.AddEntriesFrom(input, _repeated_mailIdList_codec);
|
|
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:
|
|
case 8: {
|
|
mailIdList_.AddEntriesFrom(ref input, _repeated_mailIdList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|