Hooks
static bool BeforeCvUnit_canAdvance(const CvUnit* self, const CvPlot& plot, int iThreshold, bool& result);static void AfterCvUnit_canAdvance(const CvUnit* self, const CvPlot& plot, int iThreshold, bool& result);static bool ReplaceCvUnit_canAdvance(bool (*original)(const CvUnit*, const CvPlot&, int), const CvUnit* self, const CvPlot& plot, int iThreshold);CivRegisterBefore<CivHooks::CvUnit_canAdvance>(host, &BeforeCvUnit_canAdvance);CivRegisterAfter<CivHooks::CvUnit_canAdvance>(host, &AfterCvUnit_canAdvance);CivRegisterReplace<CivHooks::CvUnit_canAdvance>(host, &ReplaceCvUnit_canAdvance);