public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Icon.Length != 0) { hash ^= Icon.GetHashCode(); } hash ^= levels_.GetHashCode(); if (UnlockDesc.Length != 0) { hash ^= UnlockDesc.GetHashCode(); } if (CompletedDesc.Length != 0) { hash ^= CompletedDesc.GetHashCode(); } if (CompletedIcon.Length != 0) { hash ^= CompletedIcon.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ItemId != 0) { hash ^= ItemId.GetHashCode(); } if (ItemType != 0) { hash ^= ItemType.GetHashCode(); } if (Player != 0) { hash ^= Player.GetHashCode(); } hash ^= MoneyClaim.GetHashCode(); if (clothesGoal_ != null) { hash ^= ClothesGoal.GetHashCode(); } if (UnlockDesc.Length != 0) { hash ^= UnlockDesc.GetHashCode(); } if (MornImage.Length != 0) { hash ^= MornImage.GetHashCode(); } if (NoonImage.Length != 0) { hash ^= NoonImage.GetHashCode(); } if (AfternoonImage.Length != 0) { hash ^= AfternoonImage.GetHashCode(); } return(hash); }