Bazaar developer reference

CvFeatureInfo::getGrowthTerrainType() const

Defined in
CvInfos.cpp, line 4947
Class
CvFeatureInfo
Hook name
CivHooks::CvFeatureInfo_getGrowthTerrainType

Hooks

static bool BeforeCvFeatureInfo_getGrowthTerrainType(const CvFeatureInfo* self, int& result);static void AfterCvFeatureInfo_getGrowthTerrainType(const CvFeatureInfo* self, int& result);static int ReplaceCvFeatureInfo_getGrowthTerrainType(int (*original)(const CvFeatureInfo*), const CvFeatureInfo* self);CivRegisterBefore<CivHooks::CvFeatureInfo_getGrowthTerrainType>(host, &BeforeCvFeatureInfo_getGrowthTerrainType);CivRegisterAfter<CivHooks::CvFeatureInfo_getGrowthTerrainType>(host, &AfterCvFeatureInfo_getGrowthTerrainType);CivRegisterReplace<CivHooks::CvFeatureInfo_getGrowthTerrainType>(host, &ReplaceCvFeatureInfo_getGrowthTerrainType);

Code

4947int CvFeatureInfo::getGrowthTerrainType() const4948{4949	return m_iGrowthTerrainType;4950}