Bazaar developer reference

CvGame::addDestroyedCityName(const CvString &)

Defined in
CvGame.cpp, line 7555
Class
CvGame
Hook name
CivHooks::CvGame_addDestroyedCityName

Hooks

static bool BeforeCvGame_addDestroyedCityName(CvGame* self, const CvString& szName);static void AfterCvGame_addDestroyedCityName(CvGame* self, const CvString& szName);static void ReplaceCvGame_addDestroyedCityName(void (*original)(CvGame*, const CvString&), CvGame* self, const CvString& szName);CivRegisterBefore<CivHooks::CvGame_addDestroyedCityName>(host, &BeforeCvGame_addDestroyedCityName);CivRegisterAfter<CivHooks::CvGame_addDestroyedCityName>(host, &AfterCvGame_addDestroyedCityName);CivRegisterReplace<CivHooks::CvGame_addDestroyedCityName>(host, &ReplaceCvGame_addDestroyedCityName);

Code

7555void CvGame::addDestroyedCityName(const CvString& szName)7556{7557	m_aszDestroyedCities.push_back(szName);7558}

Calls

Called by