// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: EvolveBuildLevelInfo.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 EvolveBuildLevelInfo.proto public static partial class EvolveBuildLevelInfoReflection { #region Descriptor /// File descriptor for EvolveBuildLevelInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static EvolveBuildLevelInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChpFdm9sdmVCdWlsZExldmVsSW5mby5wcm90bxobRXZvbHZlQnVpbGRCYXR0", "bGVJbmZvLnByb3RvGhdFdm9sdmVCdWlsZEF2YXRhci5wcm90bxoSQmF0dGxl", "VGFyZ2V0LnByb3RvItgBChRFdm9sdmVCdWlsZExldmVsSW5mbxIWCg5wZXJp", "b2RfaWRfbGlzdBgBIAMoDRInCgthdmF0YXJfbGlzdBgCIAMoCzISLkV2b2x2", "ZUJ1aWxkQXZhdGFyEhQKDGN1cl9nYW1lX2V4cBgHIAEoDRIpChJiYXR0bGVf", "dGFyZ2V0X2xpc3QYDSADKAsyDS5CYXR0bGVUYXJnZXQSEQoJcm91bmRfY250", "GA8gASgNEisKC2JhdHRsZV9pbmZvGA4gASgLMhYuRXZvbHZlQnVpbGRCYXR0", "bGVJbmZvQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv", "Mw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.EvolveBuildAvatarReflection.Descriptor, global::EggLink.DanhengServer.Proto.BattleTargetReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo), global::EggLink.DanhengServer.Proto.EvolveBuildLevelInfo.Parser, new[]{ "PeriodIdList", "AvatarList", "CurGameExp", "BattleTargetList", "RoundCnt", "BattleInfo" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class EvolveBuildLevelInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EvolveBuildLevelInfo()); 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.EvolveBuildLevelInfoReflection.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 EvolveBuildLevelInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EvolveBuildLevelInfo(EvolveBuildLevelInfo other) : this() { periodIdList_ = other.periodIdList_.Clone(); avatarList_ = other.avatarList_.Clone(); curGameExp_ = other.curGameExp_; battleTargetList_ = other.battleTargetList_.Clone(); roundCnt_ = other.roundCnt_; battleInfo_ = other.battleInfo_ != null ? other.battleInfo_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EvolveBuildLevelInfo Clone() { return new EvolveBuildLevelInfo(this); } /// Field number for the "period_id_list" field. public const int PeriodIdListFieldNumber = 1; private static readonly pb::FieldCodec _repeated_periodIdList_codec = pb::FieldCodec.ForUInt32(10); private readonly pbc::RepeatedField periodIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField PeriodIdList { get { return periodIdList_; } } /// Field number for the "avatar_list" field. public const int AvatarListFieldNumber = 2; private static readonly pb::FieldCodec _repeated_avatarList_codec = pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.EvolveBuildAvatar.Parser); private readonly pbc::RepeatedField avatarList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AvatarList { get { return avatarList_; } } /// Field number for the "cur_game_exp" field. public const int CurGameExpFieldNumber = 7; private uint curGameExp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurGameExp { get { return curGameExp_; } set { curGameExp_ = value; } } /// Field number for the "battle_target_list" field. public const int BattleTargetListFieldNumber = 13; private static readonly pb::FieldCodec _repeated_battleTargetList_codec = pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.BattleTarget.Parser); private readonly pbc::RepeatedField battleTargetList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField BattleTargetList { get { return battleTargetList_; } } /// Field number for the "round_cnt" field. public const int RoundCntFieldNumber = 15; private uint roundCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RoundCnt { get { return roundCnt_; } set { roundCnt_ = value; } } /// Field number for the "battle_info" field. public const int BattleInfoFieldNumber = 14; private global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo battleInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo BattleInfo { get { return battleInfo_; } set { battleInfo_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as EvolveBuildLevelInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(EvolveBuildLevelInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!periodIdList_.Equals(other.periodIdList_)) return false; if(!avatarList_.Equals(other.avatarList_)) return false; if (CurGameExp != other.CurGameExp) return false; if(!battleTargetList_.Equals(other.battleTargetList_)) return false; if (RoundCnt != other.RoundCnt) return false; if (!object.Equals(BattleInfo, other.BattleInfo)) 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 ^= periodIdList_.GetHashCode(); hash ^= avatarList_.GetHashCode(); if (CurGameExp != 0) hash ^= CurGameExp.GetHashCode(); hash ^= battleTargetList_.GetHashCode(); if (RoundCnt != 0) hash ^= RoundCnt.GetHashCode(); if (battleInfo_ != null) hash ^= BattleInfo.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 periodIdList_.WriteTo(output, _repeated_periodIdList_codec); avatarList_.WriteTo(output, _repeated_avatarList_codec); if (CurGameExp != 0) { output.WriteRawTag(56); output.WriteUInt32(CurGameExp); } battleTargetList_.WriteTo(output, _repeated_battleTargetList_codec); if (battleInfo_ != null) { output.WriteRawTag(114); output.WriteMessage(BattleInfo); } if (RoundCnt != 0) { output.WriteRawTag(120); output.WriteUInt32(RoundCnt); } 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) { periodIdList_.WriteTo(ref output, _repeated_periodIdList_codec); avatarList_.WriteTo(ref output, _repeated_avatarList_codec); if (CurGameExp != 0) { output.WriteRawTag(56); output.WriteUInt32(CurGameExp); } battleTargetList_.WriteTo(ref output, _repeated_battleTargetList_codec); if (battleInfo_ != null) { output.WriteRawTag(114); output.WriteMessage(BattleInfo); } if (RoundCnt != 0) { output.WriteRawTag(120); output.WriteUInt32(RoundCnt); } 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 += periodIdList_.CalculateSize(_repeated_periodIdList_codec); size += avatarList_.CalculateSize(_repeated_avatarList_codec); if (CurGameExp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurGameExp); } size += battleTargetList_.CalculateSize(_repeated_battleTargetList_codec); if (RoundCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoundCnt); } if (battleInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleInfo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(EvolveBuildLevelInfo other) { if (other == null) { return; } periodIdList_.Add(other.periodIdList_); avatarList_.Add(other.avatarList_); if (other.CurGameExp != 0) { CurGameExp = other.CurGameExp; } battleTargetList_.Add(other.battleTargetList_); if (other.RoundCnt != 0) { RoundCnt = other.RoundCnt; } if (other.battleInfo_ != null) { if (battleInfo_ == null) { BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo(); } BattleInfo.MergeFrom(other.BattleInfo); } _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: { periodIdList_.AddEntriesFrom(input, _repeated_periodIdList_codec); break; } case 18: { avatarList_.AddEntriesFrom(input, _repeated_avatarList_codec); break; } case 56: { CurGameExp = input.ReadUInt32(); break; } case 106: { battleTargetList_.AddEntriesFrom(input, _repeated_battleTargetList_codec); break; } case 114: { if (battleInfo_ == null) { BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo(); } input.ReadMessage(BattleInfo); break; } case 120: { RoundCnt = 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 10: case 8: { periodIdList_.AddEntriesFrom(ref input, _repeated_periodIdList_codec); break; } case 18: { avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec); break; } case 56: { CurGameExp = input.ReadUInt32(); break; } case 106: { battleTargetList_.AddEntriesFrom(ref input, _repeated_battleTargetList_codec); break; } case 114: { if (battleInfo_ == null) { BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo(); } input.ReadMessage(BattleInfo); break; } case 120: { RoundCnt = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code