// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GridFightLevelInfo.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 GridFightLevelInfo.proto public static partial class GridFightLevelInfoReflection { #region Descriptor /// File descriptor for GridFightLevelInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GridFightLevelInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChhHcmlkRmlnaHRMZXZlbEluZm8ucHJvdG8aG0dyaWRGaWdodEdhbWVDYW1w", "SW5mby5wcm90bxoaR3JpZEZpZ2h0Q2hhcHRlckluZm8ucHJvdG8aF0dyaWRG", "aWdodEJvc3NJbmZvLnByb3RvGhhHcmlkRmlnaHRMYXllckluZm8ucHJvdG8a", "IUdyaWRGaWdodEdhbWVQb3J0YWxCdWZmSW5mby5wcm90bxobR3JpZEZpZ2h0", "TGV2ZWxTdHRJbmZvLnByb3RvIqMDChJHcmlkRmlnaHRMZXZlbEluZm8SEgoK", "c2VjdGlvbl9pZBgNIAEoDRIuCg5sZXZlbF9zdHRfaW5mbxgDIAEoCzIWLkdy", "aWRGaWdodExldmVsU3R0SW5mbxIwChFncmlkX2NoYXB0ZXJfaW5mbxgPIAEo", "CzIVLkdyaWRGaWdodENoYXB0ZXJJbmZvEiUKCWJvc3NfaW5mbxgKIAEoCzIS", "LkdyaWRGaWdodEJvc3NJbmZvEh0KFWdyaWRfZmlnaHRfYWZmaXhfbGlzdBgB", "IAMoDRIyChVncmlkX2ZpZ2h0X2xheWVyX2luZm8YAiABKAsyEy5HcmlkRmln", "aHRMYXllckluZm8SNAoUZ3JpZF9maWdodF9jYW1wX2xpc3QYCyADKAsyFi5H", "cmlkRmlnaHRHYW1lQ2FtcEluZm8SEgoKY2hhcHRlcl9pZBgFIAEoDRIQCghy", "b3V0ZV9pZBgEIAEoDRJBChtncmlkX2ZpZ2h0X3BvcnRhbF9idWZmX2xpc3QY", "DCADKAsyHC5HcmlkRmlnaHRHYW1lUG9ydGFsQnVmZkluZm9CHqoCG0VnZ0xp", "bmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightGameCampInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightChapterInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightBossInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightLayerInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightGamePortalBuffInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightLevelSttInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightLevelInfo), global::EggLink.DanhengServer.Proto.GridFightLevelInfo.Parser, new[]{ "SectionId", "LevelSttInfo", "GridChapterInfo", "BossInfo", "GridFightAffixList", "GridFightLayerInfo", "GridFightCampList", "ChapterId", "RouteId", "GridFightPortalBuffList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GridFightLevelInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightLevelInfo()); 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.GridFightLevelInfoReflection.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 GridFightLevelInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightLevelInfo(GridFightLevelInfo other) : this() { sectionId_ = other.sectionId_; levelSttInfo_ = other.levelSttInfo_ != null ? other.levelSttInfo_.Clone() : null; gridChapterInfo_ = other.gridChapterInfo_ != null ? other.gridChapterInfo_.Clone() : null; bossInfo_ = other.bossInfo_ != null ? other.bossInfo_.Clone() : null; gridFightAffixList_ = other.gridFightAffixList_.Clone(); gridFightLayerInfo_ = other.gridFightLayerInfo_ != null ? other.gridFightLayerInfo_.Clone() : null; gridFightCampList_ = other.gridFightCampList_.Clone(); chapterId_ = other.chapterId_; routeId_ = other.routeId_; gridFightPortalBuffList_ = other.gridFightPortalBuffList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GridFightLevelInfo Clone() { return new GridFightLevelInfo(this); } /// Field number for the "section_id" field. public const int SectionIdFieldNumber = 13; private uint sectionId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SectionId { get { return sectionId_; } set { sectionId_ = value; } } /// Field number for the "level_stt_info" field. public const int LevelSttInfoFieldNumber = 3; private global::EggLink.DanhengServer.Proto.GridFightLevelSttInfo levelSttInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GridFightLevelSttInfo LevelSttInfo { get { return levelSttInfo_; } set { levelSttInfo_ = value; } } /// Field number for the "grid_chapter_info" field. public const int GridChapterInfoFieldNumber = 15; private global::EggLink.DanhengServer.Proto.GridFightChapterInfo gridChapterInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GridFightChapterInfo GridChapterInfo { get { return gridChapterInfo_; } set { gridChapterInfo_ = value; } } /// Field number for the "boss_info" field. public const int BossInfoFieldNumber = 10; private global::EggLink.DanhengServer.Proto.GridFightBossInfo bossInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GridFightBossInfo BossInfo { get { return bossInfo_; } set { bossInfo_ = value; } } /// Field number for the "grid_fight_affix_list" field. public const int GridFightAffixListFieldNumber = 1; private static readonly pb::FieldCodec _repeated_gridFightAffixList_codec = pb::FieldCodec.ForUInt32(10); private readonly pbc::RepeatedField gridFightAffixList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GridFightAffixList { get { return gridFightAffixList_; } } /// Field number for the "grid_fight_layer_info" field. public const int GridFightLayerInfoFieldNumber = 2; private global::EggLink.DanhengServer.Proto.GridFightLayerInfo gridFightLayerInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.GridFightLayerInfo GridFightLayerInfo { get { return gridFightLayerInfo_; } set { gridFightLayerInfo_ = value; } } /// Field number for the "grid_fight_camp_list" field. public const int GridFightCampListFieldNumber = 11; private static readonly pb::FieldCodec _repeated_gridFightCampList_codec = pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.GridFightGameCampInfo.Parser); private readonly pbc::RepeatedField gridFightCampList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GridFightCampList { get { return gridFightCampList_; } } /// Field number for the "chapter_id" field. public const int ChapterIdFieldNumber = 5; private uint chapterId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ChapterId { get { return chapterId_; } set { chapterId_ = value; } } /// Field number for the "route_id" field. public const int RouteIdFieldNumber = 4; private uint routeId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RouteId { get { return routeId_; } set { routeId_ = value; } } /// Field number for the "grid_fight_portal_buff_list" field. public const int GridFightPortalBuffListFieldNumber = 12; private static readonly pb::FieldCodec _repeated_gridFightPortalBuffList_codec = pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.GridFightGamePortalBuffInfo.Parser); private readonly pbc::RepeatedField gridFightPortalBuffList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GridFightPortalBuffList { get { return gridFightPortalBuffList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GridFightLevelInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GridFightLevelInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (SectionId != other.SectionId) return false; if (!object.Equals(LevelSttInfo, other.LevelSttInfo)) return false; if (!object.Equals(GridChapterInfo, other.GridChapterInfo)) return false; if (!object.Equals(BossInfo, other.BossInfo)) return false; if(!gridFightAffixList_.Equals(other.gridFightAffixList_)) return false; if (!object.Equals(GridFightLayerInfo, other.GridFightLayerInfo)) return false; if(!gridFightCampList_.Equals(other.gridFightCampList_)) return false; if (ChapterId != other.ChapterId) return false; if (RouteId != other.RouteId) return false; if(!gridFightPortalBuffList_.Equals(other.gridFightPortalBuffList_)) 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 (SectionId != 0) hash ^= SectionId.GetHashCode(); if (levelSttInfo_ != null) hash ^= LevelSttInfo.GetHashCode(); if (gridChapterInfo_ != null) hash ^= GridChapterInfo.GetHashCode(); if (bossInfo_ != null) hash ^= BossInfo.GetHashCode(); hash ^= gridFightAffixList_.GetHashCode(); if (gridFightLayerInfo_ != null) hash ^= GridFightLayerInfo.GetHashCode(); hash ^= gridFightCampList_.GetHashCode(); if (ChapterId != 0) hash ^= ChapterId.GetHashCode(); if (RouteId != 0) hash ^= RouteId.GetHashCode(); hash ^= gridFightPortalBuffList_.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 gridFightAffixList_.WriteTo(output, _repeated_gridFightAffixList_codec); if (gridFightLayerInfo_ != null) { output.WriteRawTag(18); output.WriteMessage(GridFightLayerInfo); } if (levelSttInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(LevelSttInfo); } if (RouteId != 0) { output.WriteRawTag(32); output.WriteUInt32(RouteId); } if (ChapterId != 0) { output.WriteRawTag(40); output.WriteUInt32(ChapterId); } if (bossInfo_ != null) { output.WriteRawTag(82); output.WriteMessage(BossInfo); } gridFightCampList_.WriteTo(output, _repeated_gridFightCampList_codec); gridFightPortalBuffList_.WriteTo(output, _repeated_gridFightPortalBuffList_codec); if (SectionId != 0) { output.WriteRawTag(104); output.WriteUInt32(SectionId); } if (gridChapterInfo_ != null) { output.WriteRawTag(122); output.WriteMessage(GridChapterInfo); } 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) { gridFightAffixList_.WriteTo(ref output, _repeated_gridFightAffixList_codec); if (gridFightLayerInfo_ != null) { output.WriteRawTag(18); output.WriteMessage(GridFightLayerInfo); } if (levelSttInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(LevelSttInfo); } if (RouteId != 0) { output.WriteRawTag(32); output.WriteUInt32(RouteId); } if (ChapterId != 0) { output.WriteRawTag(40); output.WriteUInt32(ChapterId); } if (bossInfo_ != null) { output.WriteRawTag(82); output.WriteMessage(BossInfo); } gridFightCampList_.WriteTo(ref output, _repeated_gridFightCampList_codec); gridFightPortalBuffList_.WriteTo(ref output, _repeated_gridFightPortalBuffList_codec); if (SectionId != 0) { output.WriteRawTag(104); output.WriteUInt32(SectionId); } if (gridChapterInfo_ != null) { output.WriteRawTag(122); output.WriteMessage(GridChapterInfo); } 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 (SectionId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SectionId); } if (levelSttInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(LevelSttInfo); } if (gridChapterInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridChapterInfo); } if (bossInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BossInfo); } size += gridFightAffixList_.CalculateSize(_repeated_gridFightAffixList_codec); if (gridFightLayerInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridFightLayerInfo); } size += gridFightCampList_.CalculateSize(_repeated_gridFightCampList_codec); if (ChapterId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChapterId); } if (RouteId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RouteId); } size += gridFightPortalBuffList_.CalculateSize(_repeated_gridFightPortalBuffList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GridFightLevelInfo other) { if (other == null) { return; } if (other.SectionId != 0) { SectionId = other.SectionId; } if (other.levelSttInfo_ != null) { if (levelSttInfo_ == null) { LevelSttInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelSttInfo(); } LevelSttInfo.MergeFrom(other.LevelSttInfo); } if (other.gridChapterInfo_ != null) { if (gridChapterInfo_ == null) { GridChapterInfo = new global::EggLink.DanhengServer.Proto.GridFightChapterInfo(); } GridChapterInfo.MergeFrom(other.GridChapterInfo); } if (other.bossInfo_ != null) { if (bossInfo_ == null) { BossInfo = new global::EggLink.DanhengServer.Proto.GridFightBossInfo(); } BossInfo.MergeFrom(other.BossInfo); } gridFightAffixList_.Add(other.gridFightAffixList_); if (other.gridFightLayerInfo_ != null) { if (gridFightLayerInfo_ == null) { GridFightLayerInfo = new global::EggLink.DanhengServer.Proto.GridFightLayerInfo(); } GridFightLayerInfo.MergeFrom(other.GridFightLayerInfo); } gridFightCampList_.Add(other.gridFightCampList_); if (other.ChapterId != 0) { ChapterId = other.ChapterId; } if (other.RouteId != 0) { RouteId = other.RouteId; } gridFightPortalBuffList_.Add(other.gridFightPortalBuffList_); _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: { gridFightAffixList_.AddEntriesFrom(input, _repeated_gridFightAffixList_codec); break; } case 18: { if (gridFightLayerInfo_ == null) { GridFightLayerInfo = new global::EggLink.DanhengServer.Proto.GridFightLayerInfo(); } input.ReadMessage(GridFightLayerInfo); break; } case 26: { if (levelSttInfo_ == null) { LevelSttInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelSttInfo(); } input.ReadMessage(LevelSttInfo); break; } case 32: { RouteId = input.ReadUInt32(); break; } case 40: { ChapterId = input.ReadUInt32(); break; } case 82: { if (bossInfo_ == null) { BossInfo = new global::EggLink.DanhengServer.Proto.GridFightBossInfo(); } input.ReadMessage(BossInfo); break; } case 90: { gridFightCampList_.AddEntriesFrom(input, _repeated_gridFightCampList_codec); break; } case 98: { gridFightPortalBuffList_.AddEntriesFrom(input, _repeated_gridFightPortalBuffList_codec); break; } case 104: { SectionId = input.ReadUInt32(); break; } case 122: { if (gridChapterInfo_ == null) { GridChapterInfo = new global::EggLink.DanhengServer.Proto.GridFightChapterInfo(); } input.ReadMessage(GridChapterInfo); 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: { gridFightAffixList_.AddEntriesFrom(ref input, _repeated_gridFightAffixList_codec); break; } case 18: { if (gridFightLayerInfo_ == null) { GridFightLayerInfo = new global::EggLink.DanhengServer.Proto.GridFightLayerInfo(); } input.ReadMessage(GridFightLayerInfo); break; } case 26: { if (levelSttInfo_ == null) { LevelSttInfo = new global::EggLink.DanhengServer.Proto.GridFightLevelSttInfo(); } input.ReadMessage(LevelSttInfo); break; } case 32: { RouteId = input.ReadUInt32(); break; } case 40: { ChapterId = input.ReadUInt32(); break; } case 82: { if (bossInfo_ == null) { BossInfo = new global::EggLink.DanhengServer.Proto.GridFightBossInfo(); } input.ReadMessage(BossInfo); break; } case 90: { gridFightCampList_.AddEntriesFrom(ref input, _repeated_gridFightCampList_codec); break; } case 98: { gridFightPortalBuffList_.AddEntriesFrom(ref input, _repeated_gridFightPortalBuffList_codec); break; } case 104: { SectionId = input.ReadUInt32(); break; } case 122: { if (gridChapterInfo_ == null) { GridChapterInfo = new global::EggLink.DanhengServer.Proto.GridFightChapterInfo(); } input.ReadMessage(GridChapterInfo); break; } } } } #endif } #endregion } #endregion Designer generated code