Hooks
static bool BeforeCvPlayer_hasAutoUnit(const CvPlayer* self, bool& result);static void AfterCvPlayer_hasAutoUnit(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_hasAutoUnit(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_hasAutoUnit>(host, &BeforeCvPlayer_hasAutoUnit);CivRegisterAfter<CivHooks::CvPlayer_hasAutoUnit>(host, &AfterCvPlayer_hasAutoUnit);CivRegisterReplace<CivHooks::CvPlayer_hasAutoUnit>(host, &ReplaceCvPlayer_hasAutoUnit);