Hooks
static bool BeforeCvPlayer_GetMinorScienceAlliesCount(const CvPlayer* self, int& result);static void AfterCvPlayer_GetMinorScienceAlliesCount(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetMinorScienceAlliesCount(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetMinorScienceAlliesCount>(host, &BeforeCvPlayer_GetMinorScienceAlliesCount);CivRegisterAfter<CivHooks::CvPlayer_GetMinorScienceAlliesCount>(host, &AfterCvPlayer_GetMinorScienceAlliesCount);CivRegisterReplace<CivHooks::CvPlayer_GetMinorScienceAlliesCount>(host, &ReplaceCvPlayer_GetMinorScienceAlliesCount);