Bazaar developer reference

CvCity::getGameTurnLastExpanded() const

Defined in
CvCity.cpp, line 7801
Class
CvCity
Hook name
CivHooks::CvCity_getGameTurnLastExpanded

Hooks

static bool BeforeCvCity_getGameTurnLastExpanded(const CvCity* self, int& result);static void AfterCvCity_getGameTurnLastExpanded(const CvCity* self, int& result);static int ReplaceCvCity_getGameTurnLastExpanded(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getGameTurnLastExpanded>(host, &BeforeCvCity_getGameTurnLastExpanded);CivRegisterAfter<CivHooks::CvCity_getGameTurnLastExpanded>(host, &AfterCvCity_getGameTurnLastExpanded);CivRegisterReplace<CivHooks::CvCity_getGameTurnLastExpanded>(host, &ReplaceCvCity_getGameTurnLastExpanded);

Code

7801int CvCity::getGameTurnLastExpanded() const7802{7803	VALIDATE_OBJECT7804	return m_iGameTurnLastExpanded;7805}

Calls

Called by