// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: EvolveBuildBattleInfo.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 EvolveBuildBattleInfo.proto public static partial class EvolveBuildBattleInfoReflection { #region Descriptor /// File descriptor for EvolveBuildBattleInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static EvolveBuildBattleInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChtFdm9sdmVCdWlsZEJhdHRsZUluZm8ucHJvdG8aEUJIR0JPT0pFT1BGLnBy", "b3RvGhFNRU9JRklPQUVDRi5wcm90bxoRTEdJRkVETktIT04ucHJvdG8aH0V2", "b2x2ZUJ1aWxkR2VhckRhbWFnZUluZm8ucHJvdG8aEVBNTkhNQU1IR0FJLnBy", "b3RvIqIFChVFdm9sdmVCdWlsZEJhdHRsZUluZm8SFAoMY3VyX2xldmVsX2lk", "GAEgASgNEhIKCmN1cl9wZXJpb2QYAiABKA0SEAoIY3VyX2NvaW4YAyABKA0S", "JgoQd2VhcG9uX3Nsb3RfbGlzdBgEIAMoCzIMLk1FT0lGSU9BRUNGEikKE2Fj", "Y2Vzc29yeV9zbG90X2xpc3QYBSADKAsyDC5NRU9JRklPQUVDRhIVCg1iYW5f", "Z2Vhcl9saXN0GAYgAygNEiAKCmNvbGxlY3Rpb24YByABKAsyDC5MR0lGRURO", "S0hPThIZChFhbGxvd2VkX2dlYXJfbGlzdBgIIAMoDRIPCgdjdXJfZXhwGAkg", "ASgNEhIKCmN1cl9yZXJvbGwYCiABKA0SHQoVY3VyX3RyZWFzdXJlX21pc3Nf", "Y250GAsgASgNEhYKDnBlcmlvZF9pZF9saXN0GAwgAygNEhkKEWN1cl9nZWFy", "X2xvc3RfY250GA0gASgNEhAKCGN1cl93YXZlGA4gASgNEh0KFWlzX3VubG9j", "a19nZWFyX3Jlcm9sbBgPIAEoCBIaChJpc191bmxvY2tfZ2Vhcl9iYW4YECAB", "KAgSHwoJY2FyZF9saXN0GBEgAygLMgwuQkhHQk9PSkVPUEYSNAoQZ2Vhcl9k", "YW1hZ2VfbGlzdBgSIAMoCzIaLkV2b2x2ZUJ1aWxkR2VhckRhbWFnZUluZm8S", "EwoLc3RhdF9wYXJhbXMYEyADKA0SEQoJaXNfZ2l2ZXVwGBQgASgIEhwKFGN1", "cl91bnVzZWRfcm91bmRfY250GBUgASgNEiMKDXN0YXRfbG9nX2luZm8YFiAB", "KAsyDC5QTU5ITUFNSEdBSRIgChhwZXJpb2RfZmlyc3RfcmFuZG9tX3NlZWQY", "FyABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BHGBOOJEOPFReflection.Descriptor, global::EggLink.DanhengServer.Proto.MEOIFIOAECFReflection.Descriptor, global::EggLink.DanhengServer.Proto.LGIFEDNKHONReflection.Descriptor, global::EggLink.DanhengServer.Proto.EvolveBuildGearDamageInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.PMNHMAMHGAIReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo), global::EggLink.DanhengServer.Proto.EvolveBuildBattleInfo.Parser, new[]{ "CurLevelId", "CurPeriod", "CurCoin", "WeaponSlotList", "AccessorySlotList", "BanGearList", "Collection", "AllowedGearList", "CurExp", "CurReroll", "CurTreasureMissCnt", "PeriodIdList", "CurGearLostCnt", "CurWave", "IsUnlockGearReroll", "IsUnlockGearBan", "CardList", "GearDamageList", "StatParams", "IsGiveup", "CurUnusedRoundCnt", "StatLogInfo", "PeriodFirstRandomSeed" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class EvolveBuildBattleInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EvolveBuildBattleInfo()); 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.EvolveBuildBattleInfoReflection.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 EvolveBuildBattleInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EvolveBuildBattleInfo(EvolveBuildBattleInfo other) : this() { curLevelId_ = other.curLevelId_; curPeriod_ = other.curPeriod_; curCoin_ = other.curCoin_; weaponSlotList_ = other.weaponSlotList_.Clone(); accessorySlotList_ = other.accessorySlotList_.Clone(); banGearList_ = other.banGearList_.Clone(); collection_ = other.collection_ != null ? other.collection_.Clone() : null; allowedGearList_ = other.allowedGearList_.Clone(); curExp_ = other.curExp_; curReroll_ = other.curReroll_; curTreasureMissCnt_ = other.curTreasureMissCnt_; periodIdList_ = other.periodIdList_.Clone(); curGearLostCnt_ = other.curGearLostCnt_; curWave_ = other.curWave_; isUnlockGearReroll_ = other.isUnlockGearReroll_; isUnlockGearBan_ = other.isUnlockGearBan_; cardList_ = other.cardList_.Clone(); gearDamageList_ = other.gearDamageList_.Clone(); statParams_ = other.statParams_.Clone(); isGiveup_ = other.isGiveup_; curUnusedRoundCnt_ = other.curUnusedRoundCnt_; statLogInfo_ = other.statLogInfo_ != null ? other.statLogInfo_.Clone() : null; periodFirstRandomSeed_ = other.periodFirstRandomSeed_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EvolveBuildBattleInfo Clone() { return new EvolveBuildBattleInfo(this); } /// Field number for the "cur_level_id" field. public const int CurLevelIdFieldNumber = 1; private uint curLevelId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurLevelId { get { return curLevelId_; } set { curLevelId_ = value; } } /// Field number for the "cur_period" field. public const int CurPeriodFieldNumber = 2; private uint curPeriod_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurPeriod { get { return curPeriod_; } set { curPeriod_ = value; } } /// Field number for the "cur_coin" field. public const int CurCoinFieldNumber = 3; private uint curCoin_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurCoin { get { return curCoin_; } set { curCoin_ = value; } } /// Field number for the "weapon_slot_list" field. public const int WeaponSlotListFieldNumber = 4; private static readonly pb::FieldCodec _repeated_weaponSlotList_codec = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.MEOIFIOAECF.Parser); private readonly pbc::RepeatedField weaponSlotList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField WeaponSlotList { get { return weaponSlotList_; } } /// Field number for the "accessory_slot_list" field. public const int AccessorySlotListFieldNumber = 5; private static readonly pb::FieldCodec _repeated_accessorySlotList_codec = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.MEOIFIOAECF.Parser); private readonly pbc::RepeatedField accessorySlotList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AccessorySlotList { get { return accessorySlotList_; } } /// Field number for the "ban_gear_list" field. public const int BanGearListFieldNumber = 6; private static readonly pb::FieldCodec _repeated_banGearList_codec = pb::FieldCodec.ForUInt32(50); private readonly pbc::RepeatedField banGearList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField BanGearList { get { return banGearList_; } } /// Field number for the "collection" field. public const int CollectionFieldNumber = 7; private global::EggLink.DanhengServer.Proto.LGIFEDNKHON collection_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.LGIFEDNKHON Collection { get { return collection_; } set { collection_ = value; } } /// Field number for the "allowed_gear_list" field. public const int AllowedGearListFieldNumber = 8; private static readonly pb::FieldCodec _repeated_allowedGearList_codec = pb::FieldCodec.ForUInt32(66); private readonly pbc::RepeatedField allowedGearList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AllowedGearList { get { return allowedGearList_; } } /// Field number for the "cur_exp" field. public const int CurExpFieldNumber = 9; private uint curExp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurExp { get { return curExp_; } set { curExp_ = value; } } /// Field number for the "cur_reroll" field. public const int CurRerollFieldNumber = 10; private uint curReroll_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurReroll { get { return curReroll_; } set { curReroll_ = value; } } /// Field number for the "cur_treasure_miss_cnt" field. public const int CurTreasureMissCntFieldNumber = 11; private uint curTreasureMissCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurTreasureMissCnt { get { return curTreasureMissCnt_; } set { curTreasureMissCnt_ = value; } } /// Field number for the "period_id_list" field. public const int PeriodIdListFieldNumber = 12; private static readonly pb::FieldCodec _repeated_periodIdList_codec = pb::FieldCodec.ForUInt32(98); 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 "cur_gear_lost_cnt" field. public const int CurGearLostCntFieldNumber = 13; private uint curGearLostCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurGearLostCnt { get { return curGearLostCnt_; } set { curGearLostCnt_ = value; } } /// Field number for the "cur_wave" field. public const int CurWaveFieldNumber = 14; private uint curWave_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurWave { get { return curWave_; } set { curWave_ = value; } } /// Field number for the "is_unlock_gear_reroll" field. public const int IsUnlockGearRerollFieldNumber = 15; private bool isUnlockGearReroll_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsUnlockGearReroll { get { return isUnlockGearReroll_; } set { isUnlockGearReroll_ = value; } } /// Field number for the "is_unlock_gear_ban" field. public const int IsUnlockGearBanFieldNumber = 16; private bool isUnlockGearBan_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsUnlockGearBan { get { return isUnlockGearBan_; } set { isUnlockGearBan_ = value; } } /// Field number for the "card_list" field. public const int CardListFieldNumber = 17; private static readonly pb::FieldCodec _repeated_cardList_codec = pb::FieldCodec.ForMessage(138, global::EggLink.DanhengServer.Proto.BHGBOOJEOPF.Parser); private readonly pbc::RepeatedField cardList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField CardList { get { return cardList_; } } /// Field number for the "gear_damage_list" field. public const int GearDamageListFieldNumber = 18; private static readonly pb::FieldCodec _repeated_gearDamageList_codec = pb::FieldCodec.ForMessage(146, global::EggLink.DanhengServer.Proto.EvolveBuildGearDamageInfo.Parser); private readonly pbc::RepeatedField gearDamageList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField GearDamageList { get { return gearDamageList_; } } /// Field number for the "stat_params" field. public const int StatParamsFieldNumber = 19; private static readonly pb::FieldCodec _repeated_statParams_codec = pb::FieldCodec.ForUInt32(154); private readonly pbc::RepeatedField statParams_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField StatParams { get { return statParams_; } } /// Field number for the "is_giveup" field. public const int IsGiveupFieldNumber = 20; private bool isGiveup_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsGiveup { get { return isGiveup_; } set { isGiveup_ = value; } } /// Field number for the "cur_unused_round_cnt" field. public const int CurUnusedRoundCntFieldNumber = 21; private uint curUnusedRoundCnt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurUnusedRoundCnt { get { return curUnusedRoundCnt_; } set { curUnusedRoundCnt_ = value; } } /// Field number for the "stat_log_info" field. public const int StatLogInfoFieldNumber = 22; private global::EggLink.DanhengServer.Proto.PMNHMAMHGAI statLogInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.PMNHMAMHGAI StatLogInfo { get { return statLogInfo_; } set { statLogInfo_ = value; } } /// Field number for the "period_first_random_seed" field. public const int PeriodFirstRandomSeedFieldNumber = 23; private uint periodFirstRandomSeed_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint PeriodFirstRandomSeed { get { return periodFirstRandomSeed_; } set { periodFirstRandomSeed_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as EvolveBuildBattleInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(EvolveBuildBattleInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (CurLevelId != other.CurLevelId) return false; if (CurPeriod != other.CurPeriod) return false; if (CurCoin != other.CurCoin) return false; if(!weaponSlotList_.Equals(other.weaponSlotList_)) return false; if(!accessorySlotList_.Equals(other.accessorySlotList_)) return false; if(!banGearList_.Equals(other.banGearList_)) return false; if (!object.Equals(Collection, other.Collection)) return false; if(!allowedGearList_.Equals(other.allowedGearList_)) return false; if (CurExp != other.CurExp) return false; if (CurReroll != other.CurReroll) return false; if (CurTreasureMissCnt != other.CurTreasureMissCnt) return false; if(!periodIdList_.Equals(other.periodIdList_)) return false; if (CurGearLostCnt != other.CurGearLostCnt) return false; if (CurWave != other.CurWave) return false; if (IsUnlockGearReroll != other.IsUnlockGearReroll) return false; if (IsUnlockGearBan != other.IsUnlockGearBan) return false; if(!cardList_.Equals(other.cardList_)) return false; if(!gearDamageList_.Equals(other.gearDamageList_)) return false; if(!statParams_.Equals(other.statParams_)) return false; if (IsGiveup != other.IsGiveup) return false; if (CurUnusedRoundCnt != other.CurUnusedRoundCnt) return false; if (!object.Equals(StatLogInfo, other.StatLogInfo)) return false; if (PeriodFirstRandomSeed != other.PeriodFirstRandomSeed) 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 (CurLevelId != 0) hash ^= CurLevelId.GetHashCode(); if (CurPeriod != 0) hash ^= CurPeriod.GetHashCode(); if (CurCoin != 0) hash ^= CurCoin.GetHashCode(); hash ^= weaponSlotList_.GetHashCode(); hash ^= accessorySlotList_.GetHashCode(); hash ^= banGearList_.GetHashCode(); if (collection_ != null) hash ^= Collection.GetHashCode(); hash ^= allowedGearList_.GetHashCode(); if (CurExp != 0) hash ^= CurExp.GetHashCode(); if (CurReroll != 0) hash ^= CurReroll.GetHashCode(); if (CurTreasureMissCnt != 0) hash ^= CurTreasureMissCnt.GetHashCode(); hash ^= periodIdList_.GetHashCode(); if (CurGearLostCnt != 0) hash ^= CurGearLostCnt.GetHashCode(); if (CurWave != 0) hash ^= CurWave.GetHashCode(); if (IsUnlockGearReroll != false) hash ^= IsUnlockGearReroll.GetHashCode(); if (IsUnlockGearBan != false) hash ^= IsUnlockGearBan.GetHashCode(); hash ^= cardList_.GetHashCode(); hash ^= gearDamageList_.GetHashCode(); hash ^= statParams_.GetHashCode(); if (IsGiveup != false) hash ^= IsGiveup.GetHashCode(); if (CurUnusedRoundCnt != 0) hash ^= CurUnusedRoundCnt.GetHashCode(); if (statLogInfo_ != null) hash ^= StatLogInfo.GetHashCode(); if (PeriodFirstRandomSeed != 0) hash ^= PeriodFirstRandomSeed.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 (CurLevelId != 0) { output.WriteRawTag(8); output.WriteUInt32(CurLevelId); } if (CurPeriod != 0) { output.WriteRawTag(16); output.WriteUInt32(CurPeriod); } if (CurCoin != 0) { output.WriteRawTag(24); output.WriteUInt32(CurCoin); } weaponSlotList_.WriteTo(output, _repeated_weaponSlotList_codec); accessorySlotList_.WriteTo(output, _repeated_accessorySlotList_codec); banGearList_.WriteTo(output, _repeated_banGearList_codec); if (collection_ != null) { output.WriteRawTag(58); output.WriteMessage(Collection); } allowedGearList_.WriteTo(output, _repeated_allowedGearList_codec); if (CurExp != 0) { output.WriteRawTag(72); output.WriteUInt32(CurExp); } if (CurReroll != 0) { output.WriteRawTag(80); output.WriteUInt32(CurReroll); } if (CurTreasureMissCnt != 0) { output.WriteRawTag(88); output.WriteUInt32(CurTreasureMissCnt); } periodIdList_.WriteTo(output, _repeated_periodIdList_codec); if (CurGearLostCnt != 0) { output.WriteRawTag(104); output.WriteUInt32(CurGearLostCnt); } if (CurWave != 0) { output.WriteRawTag(112); output.WriteUInt32(CurWave); } if (IsUnlockGearReroll != false) { output.WriteRawTag(120); output.WriteBool(IsUnlockGearReroll); } if (IsUnlockGearBan != false) { output.WriteRawTag(128, 1); output.WriteBool(IsUnlockGearBan); } cardList_.WriteTo(output, _repeated_cardList_codec); gearDamageList_.WriteTo(output, _repeated_gearDamageList_codec); statParams_.WriteTo(output, _repeated_statParams_codec); if (IsGiveup != false) { output.WriteRawTag(160, 1); output.WriteBool(IsGiveup); } if (CurUnusedRoundCnt != 0) { output.WriteRawTag(168, 1); output.WriteUInt32(CurUnusedRoundCnt); } if (statLogInfo_ != null) { output.WriteRawTag(178, 1); output.WriteMessage(StatLogInfo); } if (PeriodFirstRandomSeed != 0) { output.WriteRawTag(184, 1); output.WriteUInt32(PeriodFirstRandomSeed); } 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 (CurLevelId != 0) { output.WriteRawTag(8); output.WriteUInt32(CurLevelId); } if (CurPeriod != 0) { output.WriteRawTag(16); output.WriteUInt32(CurPeriod); } if (CurCoin != 0) { output.WriteRawTag(24); output.WriteUInt32(CurCoin); } weaponSlotList_.WriteTo(ref output, _repeated_weaponSlotList_codec); accessorySlotList_.WriteTo(ref output, _repeated_accessorySlotList_codec); banGearList_.WriteTo(ref output, _repeated_banGearList_codec); if (collection_ != null) { output.WriteRawTag(58); output.WriteMessage(Collection); } allowedGearList_.WriteTo(ref output, _repeated_allowedGearList_codec); if (CurExp != 0) { output.WriteRawTag(72); output.WriteUInt32(CurExp); } if (CurReroll != 0) { output.WriteRawTag(80); output.WriteUInt32(CurReroll); } if (CurTreasureMissCnt != 0) { output.WriteRawTag(88); output.WriteUInt32(CurTreasureMissCnt); } periodIdList_.WriteTo(ref output, _repeated_periodIdList_codec); if (CurGearLostCnt != 0) { output.WriteRawTag(104); output.WriteUInt32(CurGearLostCnt); } if (CurWave != 0) { output.WriteRawTag(112); output.WriteUInt32(CurWave); } if (IsUnlockGearReroll != false) { output.WriteRawTag(120); output.WriteBool(IsUnlockGearReroll); } if (IsUnlockGearBan != false) { output.WriteRawTag(128, 1); output.WriteBool(IsUnlockGearBan); } cardList_.WriteTo(ref output, _repeated_cardList_codec); gearDamageList_.WriteTo(ref output, _repeated_gearDamageList_codec); statParams_.WriteTo(ref output, _repeated_statParams_codec); if (IsGiveup != false) { output.WriteRawTag(160, 1); output.WriteBool(IsGiveup); } if (CurUnusedRoundCnt != 0) { output.WriteRawTag(168, 1); output.WriteUInt32(CurUnusedRoundCnt); } if (statLogInfo_ != null) { output.WriteRawTag(178, 1); output.WriteMessage(StatLogInfo); } if (PeriodFirstRandomSeed != 0) { output.WriteRawTag(184, 1); output.WriteUInt32(PeriodFirstRandomSeed); } 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 (CurLevelId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurLevelId); } if (CurPeriod != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurPeriod); } if (CurCoin != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurCoin); } size += weaponSlotList_.CalculateSize(_repeated_weaponSlotList_codec); size += accessorySlotList_.CalculateSize(_repeated_accessorySlotList_codec); size += banGearList_.CalculateSize(_repeated_banGearList_codec); if (collection_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Collection); } size += allowedGearList_.CalculateSize(_repeated_allowedGearList_codec); if (CurExp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurExp); } if (CurReroll != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurReroll); } if (CurTreasureMissCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurTreasureMissCnt); } size += periodIdList_.CalculateSize(_repeated_periodIdList_codec); if (CurGearLostCnt != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurGearLostCnt); } if (CurWave != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurWave); } if (IsUnlockGearReroll != false) { size += 1 + 1; } if (IsUnlockGearBan != false) { size += 2 + 1; } size += cardList_.CalculateSize(_repeated_cardList_codec); size += gearDamageList_.CalculateSize(_repeated_gearDamageList_codec); size += statParams_.CalculateSize(_repeated_statParams_codec); if (IsGiveup != false) { size += 2 + 1; } if (CurUnusedRoundCnt != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(CurUnusedRoundCnt); } if (statLogInfo_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(StatLogInfo); } if (PeriodFirstRandomSeed != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(PeriodFirstRandomSeed); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(EvolveBuildBattleInfo other) { if (other == null) { return; } if (other.CurLevelId != 0) { CurLevelId = other.CurLevelId; } if (other.CurPeriod != 0) { CurPeriod = other.CurPeriod; } if (other.CurCoin != 0) { CurCoin = other.CurCoin; } weaponSlotList_.Add(other.weaponSlotList_); accessorySlotList_.Add(other.accessorySlotList_); banGearList_.Add(other.banGearList_); if (other.collection_ != null) { if (collection_ == null) { Collection = new global::EggLink.DanhengServer.Proto.LGIFEDNKHON(); } Collection.MergeFrom(other.Collection); } allowedGearList_.Add(other.allowedGearList_); if (other.CurExp != 0) { CurExp = other.CurExp; } if (other.CurReroll != 0) { CurReroll = other.CurReroll; } if (other.CurTreasureMissCnt != 0) { CurTreasureMissCnt = other.CurTreasureMissCnt; } periodIdList_.Add(other.periodIdList_); if (other.CurGearLostCnt != 0) { CurGearLostCnt = other.CurGearLostCnt; } if (other.CurWave != 0) { CurWave = other.CurWave; } if (other.IsUnlockGearReroll != false) { IsUnlockGearReroll = other.IsUnlockGearReroll; } if (other.IsUnlockGearBan != false) { IsUnlockGearBan = other.IsUnlockGearBan; } cardList_.Add(other.cardList_); gearDamageList_.Add(other.gearDamageList_); statParams_.Add(other.statParams_); if (other.IsGiveup != false) { IsGiveup = other.IsGiveup; } if (other.CurUnusedRoundCnt != 0) { CurUnusedRoundCnt = other.CurUnusedRoundCnt; } if (other.statLogInfo_ != null) { if (statLogInfo_ == null) { StatLogInfo = new global::EggLink.DanhengServer.Proto.PMNHMAMHGAI(); } StatLogInfo.MergeFrom(other.StatLogInfo); } if (other.PeriodFirstRandomSeed != 0) { PeriodFirstRandomSeed = other.PeriodFirstRandomSeed; } _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 8: { CurLevelId = input.ReadUInt32(); break; } case 16: { CurPeriod = input.ReadUInt32(); break; } case 24: { CurCoin = input.ReadUInt32(); break; } case 34: { weaponSlotList_.AddEntriesFrom(input, _repeated_weaponSlotList_codec); break; } case 42: { accessorySlotList_.AddEntriesFrom(input, _repeated_accessorySlotList_codec); break; } case 50: case 48: { banGearList_.AddEntriesFrom(input, _repeated_banGearList_codec); break; } case 58: { if (collection_ == null) { Collection = new global::EggLink.DanhengServer.Proto.LGIFEDNKHON(); } input.ReadMessage(Collection); break; } case 66: case 64: { allowedGearList_.AddEntriesFrom(input, _repeated_allowedGearList_codec); break; } case 72: { CurExp = input.ReadUInt32(); break; } case 80: { CurReroll = input.ReadUInt32(); break; } case 88: { CurTreasureMissCnt = input.ReadUInt32(); break; } case 98: case 96: { periodIdList_.AddEntriesFrom(input, _repeated_periodIdList_codec); break; } case 104: { CurGearLostCnt = input.ReadUInt32(); break; } case 112: { CurWave = input.ReadUInt32(); break; } case 120: { IsUnlockGearReroll = input.ReadBool(); break; } case 128: { IsUnlockGearBan = input.ReadBool(); break; } case 138: { cardList_.AddEntriesFrom(input, _repeated_cardList_codec); break; } case 146: { gearDamageList_.AddEntriesFrom(input, _repeated_gearDamageList_codec); break; } case 154: case 152: { statParams_.AddEntriesFrom(input, _repeated_statParams_codec); break; } case 160: { IsGiveup = input.ReadBool(); break; } case 168: { CurUnusedRoundCnt = input.ReadUInt32(); break; } case 178: { if (statLogInfo_ == null) { StatLogInfo = new global::EggLink.DanhengServer.Proto.PMNHMAMHGAI(); } input.ReadMessage(StatLogInfo); break; } case 184: { PeriodFirstRandomSeed = 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 8: { CurLevelId = input.ReadUInt32(); break; } case 16: { CurPeriod = input.ReadUInt32(); break; } case 24: { CurCoin = input.ReadUInt32(); break; } case 34: { weaponSlotList_.AddEntriesFrom(ref input, _repeated_weaponSlotList_codec); break; } case 42: { accessorySlotList_.AddEntriesFrom(ref input, _repeated_accessorySlotList_codec); break; } case 50: case 48: { banGearList_.AddEntriesFrom(ref input, _repeated_banGearList_codec); break; } case 58: { if (collection_ == null) { Collection = new global::EggLink.DanhengServer.Proto.LGIFEDNKHON(); } input.ReadMessage(Collection); break; } case 66: case 64: { allowedGearList_.AddEntriesFrom(ref input, _repeated_allowedGearList_codec); break; } case 72: { CurExp = input.ReadUInt32(); break; } case 80: { CurReroll = input.ReadUInt32(); break; } case 88: { CurTreasureMissCnt = input.ReadUInt32(); break; } case 98: case 96: { periodIdList_.AddEntriesFrom(ref input, _repeated_periodIdList_codec); break; } case 104: { CurGearLostCnt = input.ReadUInt32(); break; } case 112: { CurWave = input.ReadUInt32(); break; } case 120: { IsUnlockGearReroll = input.ReadBool(); break; } case 128: { IsUnlockGearBan = input.ReadBool(); break; } case 138: { cardList_.AddEntriesFrom(ref input, _repeated_cardList_codec); break; } case 146: { gearDamageList_.AddEntriesFrom(ref input, _repeated_gearDamageList_codec); break; } case 154: case 152: { statParams_.AddEntriesFrom(ref input, _repeated_statParams_codec); break; } case 160: { IsGiveup = input.ReadBool(); break; } case 168: { CurUnusedRoundCnt = input.ReadUInt32(); break; } case 178: { if (statLogInfo_ == null) { StatLogInfo = new global::EggLink.DanhengServer.Proto.PMNHMAMHGAI(); } input.ReadMessage(StatLogInfo); break; } case 184: { PeriodFirstRandomSeed = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code