public void MergeFrom(MobRewardFocus other) { if (other == null) { return; } if (other.Quantity != 0) { Quantity = other.Quantity; } if (other.Recipient != 0) { Recipient = other.Recipient; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Quantity = input.ReadInt32(); break; } case 16: { Recipient = (global::WUProtos.Enums.MobRewardRecipient)input.ReadEnum(); break; } } } }