CvMap::updateCenterUnit()
- Defined in
- CvMap.cpp, line 637
- Class
- CvMap
- Hook name
CivHooks::CvMap_updateCenterUnit
Hooks
static bool BeforeCvMap_updateCenterUnit(CvMap* self);static void AfterCvMap_updateCenterUnit(CvMap* self);static void ReplaceCvMap_updateCenterUnit(void (*original)(CvMap*), CvMap* self);CivRegisterBefore<CivHooks::CvMap_updateCenterUnit>(host, &BeforeCvMap_updateCenterUnit);CivRegisterAfter<CivHooks::CvMap_updateCenterUnit>(host, &AfterCvMap_updateCenterUnit);CivRegisterReplace<CivHooks::CvMap_updateCenterUnit>(host, &ReplaceCvMap_updateCenterUnit);
Code
637void CvMap::updateCenterUnit()638{639 int iI;640641 for(iI = 0; iI < numPlots(); iI++)642 {643 plotByIndexUnchecked(iI)->updateCenterUnit();644 }645}