Hooks
static bool BeforeCvPlotManager_GetNumUnitsByIndex(const CvPlotManager* self, int iX, int iY, int iLayerIndex, int& result);static void AfterCvPlotManager_GetNumUnitsByIndex(const CvPlotManager* self, int iX, int iY, int iLayerIndex, int& result);static int ReplaceCvPlotManager_GetNumUnitsByIndex(int (*original)(const CvPlotManager*, int, int, int), const CvPlotManager* self, int iX, int iY, int iLayerIndex);CivRegisterBefore<CivHooks::CvPlotManager_GetNumUnitsByIndex>(host, &BeforeCvPlotManager_GetNumUnitsByIndex);CivRegisterAfter<CivHooks::CvPlotManager_GetNumUnitsByIndex>(host, &AfterCvPlotManager_GetNumUnitsByIndex);CivRegisterReplace<CivHooks::CvPlotManager_GetNumUnitsByIndex>(host, &ReplaceCvPlotManager_GetNumUnitsByIndex);