/// <summary> /// Returns the localized name of the fish for the given type. /// </summary> private string GetName(FishSize size, FishRarity rarity, FishModifier modifier) { return(String.Format(Resources.FishName, Resources.ResourceManager.GetString(modifier.ToString(), Resources.Culture), Resources.ResourceManager.GetString(size.ToString() + rarity.ToString(), Resources.Culture), Resources.ResourceManager.GetString(rarity.ToString(), Resources.Culture))); }
private string SetName() { string prefix = FishSize.ToString(); string result = ($"{prefix} {Species}"); return(result); }