Hooks
static bool BeforePUF_canDefend(const CvUnit* pUnit, int arg1, int arg2, bool& result);static void AfterPUF_canDefend(const CvUnit* pUnit, int arg1, int arg2, bool& result);static bool ReplacePUF_canDefend(bool (*original)(const CvUnit*, int, int), const CvUnit* pUnit, int arg1, int arg2);CivRegisterBefore<CivHooks::PUF_canDefend>(host, &BeforePUF_canDefend);CivRegisterAfter<CivHooks::PUF_canDefend>(host, &AfterPUF_canDefend);CivRegisterReplace<CivHooks::PUF_canDefend>(host, &ReplacePUF_canDefend);