Hooks
static bool BeforeCvGame_AnyoneHasUnit(const CvGame* self, UnitTypes iUnitType, bool& result);static void AfterCvGame_AnyoneHasUnit(const CvGame* self, UnitTypes iUnitType, bool& result);static bool ReplaceCvGame_AnyoneHasUnit(bool (*original)(const CvGame*, UnitTypes), const CvGame* self, UnitTypes iUnitType);CivRegisterBefore<CivHooks::CvGame_AnyoneHasUnit>(host, &BeforeCvGame_AnyoneHasUnit);CivRegisterAfter<CivHooks::CvGame_AnyoneHasUnit>(host, &AfterCvGame_AnyoneHasUnit);CivRegisterReplace<CivHooks::CvGame_AnyoneHasUnit>(host, &ReplaceCvGame_AnyoneHasUnit);