Hooks
static bool BeforeCvPlotManager_AddUnit(CvPlotManager* self, const IDInfo& kInfo, int iX, int iY, uint uiLayerID);static void AfterCvPlotManager_AddUnit(CvPlotManager* self, const IDInfo& kInfo, int iX, int iY, uint uiLayerID);static void ReplaceCvPlotManager_AddUnit(void (*original)(CvPlotManager*, const IDInfo&, int, int, uint), CvPlotManager* self, const IDInfo& kInfo, int iX, int iY, uint uiLayerID);CivRegisterBefore<CivHooks::CvPlotManager_AddUnit>(host, &BeforeCvPlotManager_AddUnit);CivRegisterAfter<CivHooks::CvPlotManager_AddUnit>(host, &AfterCvPlotManager_AddUnit);CivRegisterReplace<CivHooks::CvPlotManager_AddUnit>(host, &ReplaceCvPlotManager_AddUnit);