Bazaar developer reference

CvFeatureInfo::getMovementCost() const

Defined in
CvInfos.cpp, line 4922
Class
CvFeatureInfo
Hook name
CivHooks::CvFeatureInfo_getMovementCost

Hooks

static bool BeforeCvFeatureInfo_getMovementCost(const CvFeatureInfo* self, int& result);static void AfterCvFeatureInfo_getMovementCost(const CvFeatureInfo* self, int& result);static int ReplaceCvFeatureInfo_getMovementCost(int (*original)(const CvFeatureInfo*), const CvFeatureInfo* self);CivRegisterBefore<CivHooks::CvFeatureInfo_getMovementCost>(host, &BeforeCvFeatureInfo_getMovementCost);CivRegisterAfter<CivHooks::CvFeatureInfo_getMovementCost>(host, &AfterCvFeatureInfo_getMovementCost);CivRegisterReplace<CivHooks::CvFeatureInfo_getMovementCost>(host, &ReplaceCvFeatureInfo_getMovementCost);

Code

4922int CvFeatureInfo::getMovementCost() const4923{4924	return m_iMovementCost;4925}

Called by