Files
DanhengServer-OpenSource/Proto/RogueCommonBuffSelectInfo.cs
2025-05-31 21:42:06 +08:00

670 lines
26 KiB
C#

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