Hooks
static bool BeforePUF_cannotDefend(const CvUnit* pUnit, int arg1, int arg2, bool& result);static void AfterPUF_cannotDefend(const CvUnit* pUnit, int arg1, int arg2, bool& result);static bool ReplacePUF_cannotDefend(bool (*original)(const CvUnit*, int, int), const CvUnit* pUnit, int arg1, int arg2);CivRegisterBefore<CivHooks::PUF_cannotDefend>(host, &BeforePUF_cannotDefend);CivRegisterAfter<CivHooks::PUF_cannotDefend>(host, &AfterPUF_cannotDefend);CivRegisterReplace<CivHooks::PUF_cannotDefend>(host, &ReplacePUF_cannotDefend);