// // 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", "VGFyZ2V0LnByb3RvItABChRFdm9sdmVCdWlsZExldmVsSW5mbxInCgthdmF0", "YXJfbGlzdBgGIAMoCzISLkV2b2x2ZUJ1aWxkQXZhdGFyEhQKDFBlcmlvZElk", "TGlzdBgIIAMoDRIqCgpCYXR0bGVJbmZvGAMgASgLMhYuRXZvbHZlQnVpbGRC", "YXR0bGVJbmZvEhIKCkN1ckdhbWVFeHAYDSABKA0SEAoIUm91bmRDbnQYAiAB", "KA0SJwoQQmF0dGxlVGFyZ2V0TGlzdBgFIAMoCzINLkJhdHRsZVRhcmdldEIe", "qgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); 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[]{ "AvatarList", "PeriodIdList", "BattleInfo", "CurGameExp", "RoundCnt", "BattleTargetList" }, 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() { avatarList_ = other.avatarList_.Clone(); periodIdList_ = other.periodIdList_.Clone(); battleInfo_ = other.battleInfo_ != null ? other.battleInfo_.Clone() : null; curGameExp_ = other.curGameExp_; roundCnt_ = other.roundCnt_; battleTargetList_ = other.battleTargetList_.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 "avatar_list" field. public const int AvatarListFieldNumber = 6; private static readonly pb::FieldCodec _repeated_avatarList_codec = pb::FieldCodec.ForMessage(50, 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 "PeriodIdList" field. public const int PeriodIdListFieldNumber = 8; private static readonly pb::FieldCodec _repeated_periodIdList_codec = pb::FieldCodec.ForUInt32(66); 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 "BattleInfo" field. public const int BattleInfoFieldNumber = 3; 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 "CurGameExp" field. public const int CurGameExpFieldNumber = 13; 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 "RoundCnt" field. public const int RoundCntFieldNumber = 2; 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 "BattleTargetList" field. public const int BattleTargetListFieldNumber = 5; private static readonly pb::FieldCodec _repeated_battleTargetList_codec = pb::FieldCodec.ForMessage(42, 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_; } } [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(!avatarList_.Equals(other.avatarList_)) return false; if(!periodIdList_.Equals(other.periodIdList_)) return false; if (!object.Equals(BattleInfo, other.BattleInfo)) return false; if (CurGameExp != other.CurGameExp) return false; if (RoundCnt != other.RoundCnt) return false; if(!battleTargetList_.Equals(other.battleTargetList_)) 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 ^= avatarList_.GetHashCode(); hash ^= periodIdList_.GetHashCode(); if (battleInfo_ != null) hash ^= BattleInfo.GetHashCode(); if (CurGameExp != 0) hash ^= CurGameExp.GetHashCode(); if (RoundCnt != 0) hash ^= RoundCnt.GetHashCode(); hash ^= battleTargetList_.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 (RoundCnt != 0) { output.WriteRawTag(16); output.WriteUInt32(RoundCnt); } if (battleInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(BattleInfo); } battleTargetList_.WriteTo(output, _repeated_battleTargetList_codec); avatarList_.WriteTo(output, _repeated_avatarList_codec); periodIdList_.WriteTo(output, _repeated_periodIdList_codec); if (CurGameExp != 0) { output.WriteRawTag(104); output.WriteUInt32(CurGameExp); } 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 (RoundCnt != 0) { output.WriteRawTag(16); output.WriteUInt32(RoundCnt); } if (battleInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(BattleInfo); } battleTargetList_.WriteTo(ref output, _repeated_battleTargetList_codec); avatarList_.WriteTo(ref output, _repeated_avatarList_codec); periodIdList_.WriteTo(ref output, _repeated_periodIdList_codec); if (CurGameExp != 0) { output.WriteRawTag(104); output.WriteUInt32(CurGameExp); } 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 += avatarList_.CalculateSize(_repeated_avatarList_codec); size += periodIdList_.CalculateSize(_repeated_periodIdList_codec); if (battleInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleInfo); } if (CurGameExp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurGameExp); } if (RoundCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoundCnt); } size += battleTargetList_.CalculateSize(_repeated_battleTargetList_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; } avatarList_.Add(other.avatarList_); periodIdList_.Add(other.periodIdList_); if (other.battleInfo_ != null) { if (battleInfo_ == null) { BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo(); } BattleInfo.MergeFrom(other.BattleInfo); } if (other.CurGameExp != 0) { CurGameExp = other.CurGameExp; } if (other.RoundCnt != 0) { RoundCnt = other.RoundCnt; } battleTargetList_.Add(other.battleTargetList_); _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: { RoundCnt = input.ReadUInt32(); break; } case 26: { if (battleInfo_ == null) { BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo(); } input.ReadMessage(BattleInfo); break; } case 42: { battleTargetList_.AddEntriesFrom(input, _repeated_battleTargetList_codec); break; } case 50: { avatarList_.AddEntriesFrom(input, _repeated_avatarList_codec); break; } case 66: case 64: { periodIdList_.AddEntriesFrom(input, _repeated_periodIdList_codec); break; } case 104: { CurGameExp = 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 16: { RoundCnt = input.ReadUInt32(); break; } case 26: { if (battleInfo_ == null) { BattleInfo = new global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo(); } input.ReadMessage(BattleInfo); break; } case 42: { battleTargetList_.AddEntriesFrom(ref input, _repeated_battleTargetList_codec); break; } case 50: { avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec); break; } case 66: case 64: { periodIdList_.AddEntriesFrom(ref input, _repeated_periodIdList_codec); break; } case 104: { CurGameExp = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code