Hooks
static bool BeforeCvPlayer_getBuyPlotDistance(const CvPlayer* self, int& result);static void AfterCvPlayer_getBuyPlotDistance(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getBuyPlotDistance(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getBuyPlotDistance>(host, &BeforeCvPlayer_getBuyPlotDistance);CivRegisterAfter<CivHooks::CvPlayer_getBuyPlotDistance>(host, &AfterCvPlayer_getBuyPlotDistance);CivRegisterReplace<CivHooks::CvPlayer_getBuyPlotDistance>(host, &ReplaceCvPlayer_getBuyPlotDistance);