Hooks
static bool BeforeCvCity_getBuyPlotDistance(const CvCity* self, int& result);static void AfterCvCity_getBuyPlotDistance(const CvCity* self, int& result);static int ReplaceCvCity_getBuyPlotDistance(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getBuyPlotDistance>(host, &BeforeCvCity_getBuyPlotDistance);CivRegisterAfter<CivHooks::CvCity_getBuyPlotDistance>(host, &AfterCvCity_getBuyPlotDistance);CivRegisterReplace<CivHooks::CvCity_getBuyPlotDistance>(host, &ReplaceCvCity_getBuyPlotDistance);