CvCity::isProduction() const
- Defined in
- CvCity.cpp, line 3815
- Class
- CvCity
- Hook name
CivHooks::CvCity_isProduction
Hooks
static bool BeforeCvCity_isProduction(const CvCity* self, bool& result);static void AfterCvCity_isProduction(const CvCity* self, bool& result);static bool ReplaceCvCity_isProduction(bool (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_isProduction>(host, &BeforeCvCity_isProduction);CivRegisterAfter<CivHooks::CvCity_isProduction>(host, &AfterCvCity_isProduction);CivRegisterReplace<CivHooks::CvCity_isProduction>(host, &ReplaceCvCity_isProduction);
Code
3815bool CvCity::isProduction() const3816{3817 VALIDATE_OBJECT3818 return (headOrderQueueNode() != NULL);3819}