Hooks
static bool BeforeCvPlotManager_GetNumUnits(const CvPlotManager* self, int iX, int iY, uint uiLayerID, int& result);static void AfterCvPlotManager_GetNumUnits(const CvPlotManager* self, int iX, int iY, uint uiLayerID, int& result);static int ReplaceCvPlotManager_GetNumUnits(int (*original)(const CvPlotManager*, int, int, uint), const CvPlotManager* self, int iX, int iY, uint uiLayerID);CivRegisterBefore<CivHooks::CvPlotManager_GetNumUnits>(host, &BeforeCvPlotManager_GetNumUnits);CivRegisterAfter<CivHooks::CvPlotManager_GetNumUnits>(host, &AfterCvPlotManager_GetNumUnits);CivRegisterReplace<CivHooks::CvPlotManager_GetNumUnits>(host, &ReplaceCvPlotManager_GetNumUnits);