Bazaar developer reference

CvCity::GetWeLoveTheKingDayCounter() const

Defined in
CvCity.cpp, line 10147
Class
CvCity
Hook name
CivHooks::CvCity_GetWeLoveTheKingDayCounter

Hooks

static bool BeforeCvCity_GetWeLoveTheKingDayCounter(const CvCity* self, int& result);static void AfterCvCity_GetWeLoveTheKingDayCounter(const CvCity* self, int& result);static int ReplaceCvCity_GetWeLoveTheKingDayCounter(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_GetWeLoveTheKingDayCounter>(host, &BeforeCvCity_GetWeLoveTheKingDayCounter);CivRegisterAfter<CivHooks::CvCity_GetWeLoveTheKingDayCounter>(host, &AfterCvCity_GetWeLoveTheKingDayCounter);CivRegisterReplace<CivHooks::CvCity_GetWeLoveTheKingDayCounter>(host, &ReplaceCvCity_GetWeLoveTheKingDayCounter);

Code

10146/// Amount of turns left in WLTKD10147int CvCity::GetWeLoveTheKingDayCounter() const10148{10149	VALIDATE_OBJECT10150	return m_iWeLoveTheKingDayCounter;10151}

Calls

Called by