예제 #1
0
        public string PlanetDescription(bool prefix, bool spoken = false)
        {
            if (planetEntry == null)
            {
                return(Planet);
            }

            string planet = spoken ? planetEntry.GetPronunciation() : planetEntry.GetDisplay();

            return(prefix ? $"{planetEntry.EntryPrefix} {planet}" : planet);
        }
예제 #2
0
        public string SectorDescription(bool prefix, bool spoken = false)
        {
            if (sectorEntry == null)
            {
                return(Sector);
            }

            string sector = spoken ? sectorEntry.GetPronunciation() : sectorEntry.GetDisplay();

            return(prefix ? $"{sectorEntry.EntryPrefix} {sector}" : sector);
        }