Hooks
static bool BeforeCvPlayer_HasUnit(CvPlayer* self, UnitTypes iUnitType, bool& result);static void AfterCvPlayer_HasUnit(CvPlayer* self, UnitTypes iUnitType, bool& result);static bool ReplaceCvPlayer_HasUnit(bool (*original)(CvPlayer*, UnitTypes), CvPlayer* self, UnitTypes iUnitType);CivRegisterBefore<CivHooks::CvPlayer_HasUnit>(host, &BeforeCvPlayer_HasUnit);CivRegisterAfter<CivHooks::CvPlayer_HasUnit>(host, &AfterCvPlayer_HasUnit);CivRegisterReplace<CivHooks::CvPlayer_HasUnit>(host, &ReplaceCvPlayer_HasUnit);