Hooks
static bool BeforeCvUnit_GetGreatGeneralCount(const CvUnit* self, int& result);static void AfterCvUnit_GetGreatGeneralCount(const CvUnit* self, int& result);static int ReplaceCvUnit_GetGreatGeneralCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetGreatGeneralCount>(host, &BeforeCvUnit_GetGreatGeneralCount);CivRegisterAfter<CivHooks::CvUnit_GetGreatGeneralCount>(host, &AfterCvUnit_GetGreatGeneralCount);CivRegisterReplace<CivHooks::CvUnit_GetGreatGeneralCount>(host, &ReplaceCvUnit_GetGreatGeneralCount);