Hooks
static bool BeforePUF_isSelected(const CvUnit* pUnit, int arg1, int arg2, bool& result);static void AfterPUF_isSelected(const CvUnit* pUnit, int arg1, int arg2, bool& result);static bool ReplacePUF_isSelected(bool (*original)(const CvUnit*, int, int), const CvUnit* pUnit, int arg1, int arg2);CivRegisterBefore<CivHooks::PUF_isSelected>(host, &BeforePUF_isSelected);CivRegisterAfter<CivHooks::PUF_isSelected>(host, &AfterPUF_isSelected);CivRegisterReplace<CivHooks::PUF_isSelected>(host, &ReplacePUF_isSelected);