// // 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( "ChpFdm9sdmVCdWlsZExldmVsSW5mby5wcm90bxoXRXZvbHZlQnVpbGRBdmF0", "YXIucHJvdG8aEUtMTklQTkpDTk1KLnByb3RvGhJCYXR0bGVUYXJnZXQucHJv", "dG8aG0V2b2x2ZUJ1aWxkQmF0dGxlSW5mby5wcm90byL2AQoURXZvbHZlQnVp", "bGRMZXZlbEluZm8SFAoMY3VyX2dhbWVfZXhwGAIgASgNEikKEmJhdHRsZV90", "YXJnZXRfbGlzdBgJIAMoCzINLkJhdHRsZVRhcmdldBIcCgZzZWFzb24YDSAB", "KA4yDC5LTE5JUE5KQ05NShIRCglyb3VuZF9jbnQYCCABKA0SKwoLYmF0dGxl", "X2luZm8YCyABKAsyFi5Fdm9sdmVCdWlsZEJhdHRsZUluZm8SFgoOcGVyaW9k", "X2lkX2xpc3QYBCADKA0SJwoLYXZhdGFyX2xpc3QYBSADKAsyEi5Fdm9sdmVC", "dWlsZEF2YXRhckIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZw", "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EvolveBuildAvatarReflection.Descriptor, global::EggLink.DanhengServer.Proto.KLNIPNJCNMJReflection.Descriptor, global::EggLink.DanhengServer.Proto.BattleTargetReflection.Descriptor, global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfoReflection.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[]{ "CurGameExp", "BattleTargetList", "Season", "RoundCnt", "BattleInfo", "PeriodIdList", "AvatarList" }, 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() { curGameExp_ = other.curGameExp_; battleTargetList_ = other.battleTargetList_.Clone(); season_ = other.season_; roundCnt_ = other.roundCnt_; battleInfo_ = other.battleInfo_ != null ? other.battleInfo_.Clone() : null; periodIdList_ = other.periodIdList_.Clone(); avatarList_ = other.avatarList_.Clone(); _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 "cur_game_exp" field. public const int CurGameExpFieldNumber = 2; 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 = 9; private static readonly pb::FieldCodec _repeated_battleTargetList_codec = pb::FieldCodec.ForMessage(74, 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 "season" field. public const int SeasonFieldNumber = 13; private global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ season_ = global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ.EvolveBuildSeasonNone; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ Season { get { return season_; } set { season_ = value; } } /// Field number for the "round_cnt" field. public const int RoundCntFieldNumber = 8; 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 = 11; 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; } } /// Field number for the "period_id_list" field. public const int PeriodIdListFieldNumber = 4; private static readonly pb::FieldCodec _repeated_periodIdList_codec = pb::FieldCodec.ForUInt32(34); 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 = 5; private static readonly pb::FieldCodec _repeated_avatarList_codec = pb::FieldCodec.ForMessage(42, 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_; } } [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 (CurGameExp != other.CurGameExp) return false; if(!battleTargetList_.Equals(other.battleTargetList_)) return false; if (Season != other.Season) return false; if (RoundCnt != other.RoundCnt) return false; if (!object.Equals(BattleInfo, other.BattleInfo)) return false; if(!periodIdList_.Equals(other.periodIdList_)) return false; if(!avatarList_.Equals(other.avatarList_)) 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 (CurGameExp != 0) hash ^= CurGameExp.GetHashCode(); hash ^= battleTargetList_.GetHashCode(); if (Season != global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ.EvolveBuildSeasonNone) hash ^= Season.GetHashCode(); if (RoundCnt != 0) hash ^= RoundCnt.GetHashCode(); if (battleInfo_ != null) hash ^= BattleInfo.GetHashCode(); hash ^= periodIdList_.GetHashCode(); hash ^= avatarList_.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 (CurGameExp != 0) { output.WriteRawTag(16); output.WriteUInt32(CurGameExp); } periodIdList_.WriteTo(output, _repeated_periodIdList_codec); avatarList_.WriteTo(output, _repeated_avatarList_codec); if (RoundCnt != 0) { output.WriteRawTag(64); output.WriteUInt32(RoundCnt); } battleTargetList_.WriteTo(output, _repeated_battleTargetList_codec); if (battleInfo_ != null) { output.WriteRawTag(90); output.WriteMessage(BattleInfo); } if (Season != global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ.EvolveBuildSeasonNone) { output.WriteRawTag(104); output.WriteEnum((int) Season); } 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 (CurGameExp != 0) { output.WriteRawTag(16); output.WriteUInt32(CurGameExp); } periodIdList_.WriteTo(ref output, _repeated_periodIdList_codec); avatarList_.WriteTo(ref output, _repeated_avatarList_codec); if (RoundCnt != 0) { output.WriteRawTag(64); output.WriteUInt32(RoundCnt); } battleTargetList_.WriteTo(ref output, _repeated_battleTargetList_codec); if (battleInfo_ != null) { output.WriteRawTag(90); output.WriteMessage(BattleInfo); } if (Season != global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ.EvolveBuildSeasonNone) { output.WriteRawTag(104); output.WriteEnum((int) Season); } 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 (CurGameExp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurGameExp); } size += battleTargetList_.CalculateSize(_repeated_battleTargetList_codec); if (Season != global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ.EvolveBuildSeasonNone) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Season); } if (RoundCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoundCnt); } if (battleInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleInfo); } size += periodIdList_.CalculateSize(_repeated_periodIdList_codec); size += avatarList_.CalculateSize(_repeated_avatarList_codec); 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; } if (other.CurGameExp != 0) { CurGameExp = other.CurGameExp; } battleTargetList_.Add(other.battleTargetList_); if (other.Season != global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ.EvolveBuildSeasonNone) { Season = other.Season; } 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); } periodIdList_.Add(other.periodIdList_); avatarList_.Add(other.avatarList_); _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 16: { CurGameExp = input.ReadUInt32(); break; } case 34: case 32: { periodIdList_.AddEntriesFrom(input, _repeated_periodIdList_codec); break; } case 42: { avatarList_.AddEntriesFrom(input, _repeated_avatarList_codec); break; } case 64: { RoundCnt = input.ReadUInt32(); break; } case 74: { battleTargetList_.AddEntriesFrom(input, _repeated_battleTargetList_codec); break; } case 90: { if (battleInfo_ == null) { BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo(); } input.ReadMessage(BattleInfo); break; } case 104: { Season = (global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ) input.ReadEnum(); 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 16: { CurGameExp = input.ReadUInt32(); break; } case 34: case 32: { periodIdList_.AddEntriesFrom(ref input, _repeated_periodIdList_codec); break; } case 42: { avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec); break; } case 64: { RoundCnt = input.ReadUInt32(); break; } case 74: { battleTargetList_.AddEntriesFrom(ref input, _repeated_battleTargetList_codec); break; } case 90: { if (battleInfo_ == null) { BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo(); } input.ReadMessage(BattleInfo); break; } case 104: { Season = (global::EggLink.DanhengServer.Proto.KLNIPNJCNMJ) input.ReadEnum(); break; } } } } #endif } #endregion } #endregion Designer generated code