Hooks
static bool BeforeCvUnit_ChangeGreatGeneralCount(CvUnit* self, int iChange);static void AfterCvUnit_ChangeGreatGeneralCount(CvUnit* self, int iChange);static void ReplaceCvUnit_ChangeGreatGeneralCount(void (*original)(CvUnit*, int), CvUnit* self, int iChange);CivRegisterBefore<CivHooks::CvUnit_ChangeGreatGeneralCount>(host, &BeforeCvUnit_ChangeGreatGeneralCount);CivRegisterAfter<CivHooks::CvUnit_ChangeGreatGeneralCount>(host, &AfterCvUnit_ChangeGreatGeneralCount);CivRegisterReplace<CivHooks::CvUnit_ChangeGreatGeneralCount>(host, &ReplaceCvUnit_ChangeGreatGeneralCount);