// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: CellInfo.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace EggLink.DanhengServer.Proto { /// Holder for reflection information generated from CellInfo.proto public static partial class CellInfoReflection { #region Descriptor /// File descriptor for CellInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static CellInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg5DZWxsSW5mby5wcm90bxoUQ2hlc3NSb2d1ZUNlbGwucHJvdG8ihAEKCENl", "bGxJbmZvEhMKC2VuZF9jZWxsX2lkGAogASgNEiIKCWNlbGxfbGlzdBgOIAMo", "CzIPLkNoZXNzUm9ndWVDZWxsEhMKC0VQT0VMRkpEUE5JGAkgASgNEhUKDXN0", "YXJ0X2NlbGxfaWQYByABKA0SEwoLRkdFT0VPUExNQ1AYBSABKA1CHqoCG0Vn", "Z0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueCellReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.CellInfo), global::EggLink.DanhengServer.Proto.CellInfo.Parser, new[]{ "EndCellId", "CellList", "EPOELFJDPNI", "StartCellId", "FGEOEOPLMCP" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class CellInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CellInfo()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::EggLink.DanhengServer.Proto.CellInfoReflection.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 CellInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CellInfo(CellInfo other) : this() { endCellId_ = other.endCellId_; cellList_ = other.cellList_.Clone(); ePOELFJDPNI_ = other.ePOELFJDPNI_; startCellId_ = other.startCellId_; fGEOEOPLMCP_ = other.fGEOEOPLMCP_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CellInfo Clone() { return new CellInfo(this); } /// Field number for the "end_cell_id" field. public const int EndCellIdFieldNumber = 10; private uint endCellId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint EndCellId { get { return endCellId_; } set { endCellId_ = value; } } /// Field number for the "cell_list" field. public const int CellListFieldNumber = 14; private static readonly pb::FieldCodec _repeated_cellList_codec = pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.ChessRogueCell.Parser); private readonly pbc::RepeatedField cellList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField CellList { get { return cellList_; } } /// Field number for the "EPOELFJDPNI" field. public const int EPOELFJDPNIFieldNumber = 9; private uint ePOELFJDPNI_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint EPOELFJDPNI { get { return ePOELFJDPNI_; } set { ePOELFJDPNI_ = value; } } /// Field number for the "start_cell_id" field. public const int StartCellIdFieldNumber = 7; private uint startCellId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint StartCellId { get { return startCellId_; } set { startCellId_ = value; } } /// Field number for the "FGEOEOPLMCP" field. public const int FGEOEOPLMCPFieldNumber = 5; private uint fGEOEOPLMCP_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint FGEOEOPLMCP { get { return fGEOEOPLMCP_; } set { fGEOEOPLMCP_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CellInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CellInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (EndCellId != other.EndCellId) return false; if(!cellList_.Equals(other.cellList_)) return false; if (EPOELFJDPNI != other.EPOELFJDPNI) return false; if (StartCellId != other.StartCellId) return false; if (FGEOEOPLMCP != other.FGEOEOPLMCP) 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 (EndCellId != 0) hash ^= EndCellId.GetHashCode(); hash ^= cellList_.GetHashCode(); if (EPOELFJDPNI != 0) hash ^= EPOELFJDPNI.GetHashCode(); if (StartCellId != 0) hash ^= StartCellId.GetHashCode(); if (FGEOEOPLMCP != 0) hash ^= FGEOEOPLMCP.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 (FGEOEOPLMCP != 0) { output.WriteRawTag(40); output.WriteUInt32(FGEOEOPLMCP); } if (StartCellId != 0) { output.WriteRawTag(56); output.WriteUInt32(StartCellId); } if (EPOELFJDPNI != 0) { output.WriteRawTag(72); output.WriteUInt32(EPOELFJDPNI); } if (EndCellId != 0) { output.WriteRawTag(80); output.WriteUInt32(EndCellId); } cellList_.WriteTo(output, _repeated_cellList_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 (FGEOEOPLMCP != 0) { output.WriteRawTag(40); output.WriteUInt32(FGEOEOPLMCP); } if (StartCellId != 0) { output.WriteRawTag(56); output.WriteUInt32(StartCellId); } if (EPOELFJDPNI != 0) { output.WriteRawTag(72); output.WriteUInt32(EPOELFJDPNI); } if (EndCellId != 0) { output.WriteRawTag(80); output.WriteUInt32(EndCellId); } cellList_.WriteTo(ref output, _repeated_cellList_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 (EndCellId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EndCellId); } size += cellList_.CalculateSize(_repeated_cellList_codec); if (EPOELFJDPNI != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EPOELFJDPNI); } if (StartCellId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StartCellId); } if (FGEOEOPLMCP != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FGEOEOPLMCP); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CellInfo other) { if (other == null) { return; } if (other.EndCellId != 0) { EndCellId = other.EndCellId; } cellList_.Add(other.cellList_); if (other.EPOELFJDPNI != 0) { EPOELFJDPNI = other.EPOELFJDPNI; } if (other.StartCellId != 0) { StartCellId = other.StartCellId; } if (other.FGEOEOPLMCP != 0) { FGEOEOPLMCP = other.FGEOEOPLMCP; } _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 40: { FGEOEOPLMCP = input.ReadUInt32(); break; } case 56: { StartCellId = input.ReadUInt32(); break; } case 72: { EPOELFJDPNI = input.ReadUInt32(); break; } case 80: { EndCellId = input.ReadUInt32(); break; } case 114: { cellList_.AddEntriesFrom(input, _repeated_cellList_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 40: { FGEOEOPLMCP = input.ReadUInt32(); break; } case 56: { StartCellId = input.ReadUInt32(); break; } case 72: { EPOELFJDPNI = input.ReadUInt32(); break; } case 80: { EndCellId = input.ReadUInt32(); break; } case 114: { cellList_.AddEntriesFrom(ref input, _repeated_cellList_codec); break; } } } } #endif } #endregion } #endregion Designer generated code