/// Unique names for individual units (for great people) const char* CvUnitEntry::GetUnitNames(int i) const { CvAssertMsg(i < GetNumUnitNames(), "Index out of bounds"); CvAssertMsg(i > -1, "Index out of bounds"); return (m_paszUnitNames) ? m_paszUnitNames[i] : NULL; }
/// Unique great works created by individual units. GreatWorkType CvUnitEntry::GetGreatWorks(int i) const { CvAssertMsg(i < GetNumUnitNames(), "Index out of bounds"); CvAssertMsg(i > -1, "Index out of bounds"); return (m_paeGreatWorks) ? m_paeGreatWorks[i] : NO_GREAT_WORK; }