public override int GetHashCode() { int hash = 1; if (Status != 0) { hash ^= Status.GetHashCode(); } if (portkeyRewards_ != null) { hash ^= PortkeyRewards.GetHashCode(); } hash ^= allBonusNodesRewards_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(UsePortkeyResponse other) { if (other == null) { return; } if (other.Status != 0) { Status = other.Status; } if (other.portkeyRewards_ != null) { if (portkeyRewards_ == null) { PortkeyRewards = new global::WUProtos.Data.Loot.LootCollection(); } PortkeyRewards.MergeFrom(other.PortkeyRewards); } allBonusNodesRewards_.Add(other.allBonusNodesRewards_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }