CvCity::getAutomatons() const
- Defined in
- CvCity.cpp, line 7968
- Class
- CvCity
- Hook name
CivHooks::CvCity_getAutomatons
Hooks
static bool BeforeCvCity_getAutomatons(const CvCity* self, int& result);static void AfterCvCity_getAutomatons(const CvCity* self, int& result);static int ReplaceCvCity_getAutomatons(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getAutomatons>(host, &BeforeCvCity_getAutomatons);CivRegisterAfter<CivHooks::CvCity_getAutomatons>(host, &AfterCvCity_getAutomatons);CivRegisterReplace<CivHooks::CvCity_getAutomatons>(host, &ReplaceCvCity_getAutomatons);
Code
7968int CvCity::getAutomatons() const7969{7970 VALIDATE_OBJECT7971 return m_iAutomatons;7972}