// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RogueCommonBuffSelectInfo.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 RogueCommonBuffSelectInfo.proto public static partial class RogueCommonBuffSelectInfoReflection { #region Descriptor /// File descriptor for RogueCommonBuffSelectInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RogueCommonBuffSelectInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch9Sb2d1ZUNvbW1vbkJ1ZmZTZWxlY3RJbmZvLnByb3RvGhVSb2d1ZUNvbW1v", "bkJ1ZmYucHJvdG8aJVJvZ3VlQ29tbW9uQnVmZlNlbGVjdFNvdXJjZVR5cGUu", "cHJvdG8aEkl0ZW1Db3N0RGF0YS5wcm90byLHAwoZUm9ndWVDb21tb25CdWZm", "U2VsZWN0SW5mbxIWCg5zb3VyY2VfaGludF9pZBgGIAEoDRIaChJzb3VyY2Vf", "dG90YWxfY291bnQYCSABKA0SEAoIY2FuX3JvbGwYBCABKAgSJgoMc2VsZWN0", "X2J1ZmZzGAggAygLMhAuUm9ndWVDb21tb25CdWZmEioKE3JvbGxfYnVmZl9j", "b3N0X2RhdGEYBSABKAsyDS5JdGVtQ29zdERhdGESGwoTcm9sbF9idWZmX21h", "eF9jb3VudBgNIAEoDRI+ChRtb2RpZmllcl9zb3VyY2VfdHlwZRgOIAEoDjIg", "LlJvZ3VlQ29tbW9uQnVmZlNlbGVjdFNvdXJjZVR5cGUSHAoUZmlyc3RfYnVm", "Zl90eXBlX2xpc3QYCiADKA0SGAoQc291cmNlX2N1cl9jb3VudBgDIAEoDRIe", "ChZjZXJ0YWluX3NlbGVjdF9idWZmX2lkGAsgASgNEiQKHGhhbmRib29rX3Vu", "bG9ja19idWZmX2lkX2xpc3QYASADKA0SFwoPcm9sbF9idWZmX2NvdW50GAcg", "ASgNEhwKFHJvbGxfYnVmZl9mcmVlX2NvdW50GA8gASgNQh6qAhtFZ2dMaW5r", "LkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueCommonBuffReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.ItemCostDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectInfo), global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectInfo.Parser, new[]{ "SourceHintId", "SourceTotalCount", "CanRoll", "SelectBuffs", "RollBuffCostData", "RollBuffMaxCount", "ModifierSourceType", "FirstBuffTypeList", "SourceCurCount", "CertainSelectBuffId", "HandbookUnlockBuffIdList", "RollBuffCount", "RollBuffFreeCount" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RogueCommonBuffSelectInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueCommonBuffSelectInfo()); 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.RogueCommonBuffSelectInfoReflection.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 RogueCommonBuffSelectInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueCommonBuffSelectInfo(RogueCommonBuffSelectInfo other) : this() { sourceHintId_ = other.sourceHintId_; sourceTotalCount_ = other.sourceTotalCount_; canRoll_ = other.canRoll_; selectBuffs_ = other.selectBuffs_.Clone(); rollBuffCostData_ = other.rollBuffCostData_ != null ? other.rollBuffCostData_.Clone() : null; rollBuffMaxCount_ = other.rollBuffMaxCount_; modifierSourceType_ = other.modifierSourceType_; firstBuffTypeList_ = other.firstBuffTypeList_.Clone(); sourceCurCount_ = other.sourceCurCount_; certainSelectBuffId_ = other.certainSelectBuffId_; handbookUnlockBuffIdList_ = other.handbookUnlockBuffIdList_.Clone(); rollBuffCount_ = other.rollBuffCount_; rollBuffFreeCount_ = other.rollBuffFreeCount_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueCommonBuffSelectInfo Clone() { return new RogueCommonBuffSelectInfo(this); } /// Field number for the "source_hint_id" field. public const int SourceHintIdFieldNumber = 6; private uint sourceHintId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SourceHintId { get { return sourceHintId_; } set { sourceHintId_ = value; } } /// Field number for the "source_total_count" field. public const int SourceTotalCountFieldNumber = 9; private uint sourceTotalCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SourceTotalCount { get { return sourceTotalCount_; } set { sourceTotalCount_ = value; } } /// Field number for the "can_roll" field. public const int CanRollFieldNumber = 4; private bool canRoll_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool CanRoll { get { return canRoll_; } set { canRoll_ = value; } } /// Field number for the "select_buffs" field. public const int SelectBuffsFieldNumber = 8; private static readonly pb::FieldCodec _repeated_selectBuffs_codec = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.RogueCommonBuff.Parser); private readonly pbc::RepeatedField selectBuffs_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField SelectBuffs { get { return selectBuffs_; } } /// Field number for the "roll_buff_cost_data" field. public const int RollBuffCostDataFieldNumber = 5; private global::EggLink.DanhengServer.Proto.ItemCostData rollBuffCostData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ItemCostData RollBuffCostData { get { return rollBuffCostData_; } set { rollBuffCostData_ = value; } } /// Field number for the "roll_buff_max_count" field. public const int RollBuffMaxCountFieldNumber = 13; private uint rollBuffMaxCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RollBuffMaxCount { get { return rollBuffMaxCount_; } set { rollBuffMaxCount_ = value; } } /// Field number for the "modifier_source_type" field. public const int ModifierSourceTypeFieldNumber = 14; private global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType modifierSourceType_ = global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType ModifierSourceType { get { return modifierSourceType_; } set { modifierSourceType_ = value; } } /// Field number for the "first_buff_type_list" field. public const int FirstBuffTypeListFieldNumber = 10; private static readonly pb::FieldCodec _repeated_firstBuffTypeList_codec = pb::FieldCodec.ForUInt32(82); private readonly pbc::RepeatedField firstBuffTypeList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField FirstBuffTypeList { get { return firstBuffTypeList_; } } /// Field number for the "source_cur_count" field. public const int SourceCurCountFieldNumber = 3; private uint sourceCurCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint SourceCurCount { get { return sourceCurCount_; } set { sourceCurCount_ = value; } } /// Field number for the "certain_select_buff_id" field. public const int CertainSelectBuffIdFieldNumber = 11; private uint certainSelectBuffId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CertainSelectBuffId { get { return certainSelectBuffId_; } set { certainSelectBuffId_ = value; } } /// Field number for the "handbook_unlock_buff_id_list" field. public const int HandbookUnlockBuffIdListFieldNumber = 1; private static readonly pb::FieldCodec _repeated_handbookUnlockBuffIdList_codec = pb::FieldCodec.ForUInt32(10); private readonly pbc::RepeatedField handbookUnlockBuffIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField HandbookUnlockBuffIdList { get { return handbookUnlockBuffIdList_; } } /// Field number for the "roll_buff_count" field. public const int RollBuffCountFieldNumber = 7; private uint rollBuffCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RollBuffCount { get { return rollBuffCount_; } set { rollBuffCount_ = value; } } /// Field number for the "roll_buff_free_count" field. public const int RollBuffFreeCountFieldNumber = 15; private uint rollBuffFreeCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint RollBuffFreeCount { get { return rollBuffFreeCount_; } set { rollBuffFreeCount_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RogueCommonBuffSelectInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RogueCommonBuffSelectInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (SourceHintId != other.SourceHintId) return false; if (SourceTotalCount != other.SourceTotalCount) return false; if (CanRoll != other.CanRoll) return false; if(!selectBuffs_.Equals(other.selectBuffs_)) return false; if (!object.Equals(RollBuffCostData, other.RollBuffCostData)) return false; if (RollBuffMaxCount != other.RollBuffMaxCount) return false; if (ModifierSourceType != other.ModifierSourceType) return false; if(!firstBuffTypeList_.Equals(other.firstBuffTypeList_)) return false; if (SourceCurCount != other.SourceCurCount) return false; if (CertainSelectBuffId != other.CertainSelectBuffId) return false; if(!handbookUnlockBuffIdList_.Equals(other.handbookUnlockBuffIdList_)) return false; if (RollBuffCount != other.RollBuffCount) return false; if (RollBuffFreeCount != other.RollBuffFreeCount) 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 (SourceHintId != 0) hash ^= SourceHintId.GetHashCode(); if (SourceTotalCount != 0) hash ^= SourceTotalCount.GetHashCode(); if (CanRoll != false) hash ^= CanRoll.GetHashCode(); hash ^= selectBuffs_.GetHashCode(); if (rollBuffCostData_ != null) hash ^= RollBuffCostData.GetHashCode(); if (RollBuffMaxCount != 0) hash ^= RollBuffMaxCount.GetHashCode(); if (ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) hash ^= ModifierSourceType.GetHashCode(); hash ^= firstBuffTypeList_.GetHashCode(); if (SourceCurCount != 0) hash ^= SourceCurCount.GetHashCode(); if (CertainSelectBuffId != 0) hash ^= CertainSelectBuffId.GetHashCode(); hash ^= handbookUnlockBuffIdList_.GetHashCode(); if (RollBuffCount != 0) hash ^= RollBuffCount.GetHashCode(); if (RollBuffFreeCount != 0) hash ^= RollBuffFreeCount.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 handbookUnlockBuffIdList_.WriteTo(output, _repeated_handbookUnlockBuffIdList_codec); if (SourceCurCount != 0) { output.WriteRawTag(24); output.WriteUInt32(SourceCurCount); } if (CanRoll != false) { output.WriteRawTag(32); output.WriteBool(CanRoll); } if (rollBuffCostData_ != null) { output.WriteRawTag(42); output.WriteMessage(RollBuffCostData); } if (SourceHintId != 0) { output.WriteRawTag(48); output.WriteUInt32(SourceHintId); } if (RollBuffCount != 0) { output.WriteRawTag(56); output.WriteUInt32(RollBuffCount); } selectBuffs_.WriteTo(output, _repeated_selectBuffs_codec); if (SourceTotalCount != 0) { output.WriteRawTag(72); output.WriteUInt32(SourceTotalCount); } firstBuffTypeList_.WriteTo(output, _repeated_firstBuffTypeList_codec); if (CertainSelectBuffId != 0) { output.WriteRawTag(88); output.WriteUInt32(CertainSelectBuffId); } if (RollBuffMaxCount != 0) { output.WriteRawTag(104); output.WriteUInt32(RollBuffMaxCount); } if (ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) { output.WriteRawTag(112); output.WriteEnum((int) ModifierSourceType); } if (RollBuffFreeCount != 0) { output.WriteRawTag(120); output.WriteUInt32(RollBuffFreeCount); } 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) { handbookUnlockBuffIdList_.WriteTo(ref output, _repeated_handbookUnlockBuffIdList_codec); if (SourceCurCount != 0) { output.WriteRawTag(24); output.WriteUInt32(SourceCurCount); } if (CanRoll != false) { output.WriteRawTag(32); output.WriteBool(CanRoll); } if (rollBuffCostData_ != null) { output.WriteRawTag(42); output.WriteMessage(RollBuffCostData); } if (SourceHintId != 0) { output.WriteRawTag(48); output.WriteUInt32(SourceHintId); } if (RollBuffCount != 0) { output.WriteRawTag(56); output.WriteUInt32(RollBuffCount); } selectBuffs_.WriteTo(ref output, _repeated_selectBuffs_codec); if (SourceTotalCount != 0) { output.WriteRawTag(72); output.WriteUInt32(SourceTotalCount); } firstBuffTypeList_.WriteTo(ref output, _repeated_firstBuffTypeList_codec); if (CertainSelectBuffId != 0) { output.WriteRawTag(88); output.WriteUInt32(CertainSelectBuffId); } if (RollBuffMaxCount != 0) { output.WriteRawTag(104); output.WriteUInt32(RollBuffMaxCount); } if (ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) { output.WriteRawTag(112); output.WriteEnum((int) ModifierSourceType); } if (RollBuffFreeCount != 0) { output.WriteRawTag(120); output.WriteUInt32(RollBuffFreeCount); } 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 (SourceHintId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceHintId); } if (SourceTotalCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceTotalCount); } if (CanRoll != false) { size += 1 + 1; } size += selectBuffs_.CalculateSize(_repeated_selectBuffs_codec); if (rollBuffCostData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RollBuffCostData); } if (RollBuffMaxCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollBuffMaxCount); } if (ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ModifierSourceType); } size += firstBuffTypeList_.CalculateSize(_repeated_firstBuffTypeList_codec); if (SourceCurCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SourceCurCount); } if (CertainSelectBuffId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CertainSelectBuffId); } size += handbookUnlockBuffIdList_.CalculateSize(_repeated_handbookUnlockBuffIdList_codec); if (RollBuffCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollBuffCount); } if (RollBuffFreeCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RollBuffFreeCount); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RogueCommonBuffSelectInfo other) { if (other == null) { return; } if (other.SourceHintId != 0) { SourceHintId = other.SourceHintId; } if (other.SourceTotalCount != 0) { SourceTotalCount = other.SourceTotalCount; } if (other.CanRoll != false) { CanRoll = other.CanRoll; } selectBuffs_.Add(other.selectBuffs_); if (other.rollBuffCostData_ != null) { if (rollBuffCostData_ == null) { RollBuffCostData = new global::EggLink.DanhengServer.Proto.ItemCostData(); } RollBuffCostData.MergeFrom(other.RollBuffCostData); } if (other.RollBuffMaxCount != 0) { RollBuffMaxCount = other.RollBuffMaxCount; } if (other.ModifierSourceType != global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType.None) { ModifierSourceType = other.ModifierSourceType; } firstBuffTypeList_.Add(other.firstBuffTypeList_); if (other.SourceCurCount != 0) { SourceCurCount = other.SourceCurCount; } if (other.CertainSelectBuffId != 0) { CertainSelectBuffId = other.CertainSelectBuffId; } handbookUnlockBuffIdList_.Add(other.handbookUnlockBuffIdList_); if (other.RollBuffCount != 0) { RollBuffCount = other.RollBuffCount; } if (other.RollBuffFreeCount != 0) { RollBuffFreeCount = other.RollBuffFreeCount; } _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: { handbookUnlockBuffIdList_.AddEntriesFrom(input, _repeated_handbookUnlockBuffIdList_codec); break; } case 24: { SourceCurCount = input.ReadUInt32(); break; } case 32: { CanRoll = input.ReadBool(); break; } case 42: { if (rollBuffCostData_ == null) { RollBuffCostData = new global::EggLink.DanhengServer.Proto.ItemCostData(); } input.ReadMessage(RollBuffCostData); break; } case 48: { SourceHintId = input.ReadUInt32(); break; } case 56: { RollBuffCount = input.ReadUInt32(); break; } case 66: { selectBuffs_.AddEntriesFrom(input, _repeated_selectBuffs_codec); break; } case 72: { SourceTotalCount = input.ReadUInt32(); break; } case 82: case 80: { firstBuffTypeList_.AddEntriesFrom(input, _repeated_firstBuffTypeList_codec); break; } case 88: { CertainSelectBuffId = input.ReadUInt32(); break; } case 104: { RollBuffMaxCount = input.ReadUInt32(); break; } case 112: { ModifierSourceType = (global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType) input.ReadEnum(); break; } case 120: { RollBuffFreeCount = 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: { handbookUnlockBuffIdList_.AddEntriesFrom(ref input, _repeated_handbookUnlockBuffIdList_codec); break; } case 24: { SourceCurCount = input.ReadUInt32(); break; } case 32: { CanRoll = input.ReadBool(); break; } case 42: { if (rollBuffCostData_ == null) { RollBuffCostData = new global::EggLink.DanhengServer.Proto.ItemCostData(); } input.ReadMessage(RollBuffCostData); break; } case 48: { SourceHintId = input.ReadUInt32(); break; } case 56: { RollBuffCount = input.ReadUInt32(); break; } case 66: { selectBuffs_.AddEntriesFrom(ref input, _repeated_selectBuffs_codec); break; } case 72: { SourceTotalCount = input.ReadUInt32(); break; } case 82: case 80: { firstBuffTypeList_.AddEntriesFrom(ref input, _repeated_firstBuffTypeList_codec); break; } case 88: { CertainSelectBuffId = input.ReadUInt32(); break; } case 104: { RollBuffMaxCount = input.ReadUInt32(); break; } case 112: { ModifierSourceType = (global::EggLink.DanhengServer.Proto.RogueCommonBuffSelectSourceType) input.ReadEnum(); break; } case 120: { RollBuffFreeCount = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code