Hooks
static bool BeforeCvUnit_ChangeSapperCount(CvUnit* self, int iChange);static void AfterCvUnit_ChangeSapperCount(CvUnit* self, int iChange);static void ReplaceCvUnit_ChangeSapperCount(void (*original)(CvUnit*, int), CvUnit* self, int iChange);CivRegisterBefore<CivHooks::CvUnit_ChangeSapperCount>(host, &BeforeCvUnit_ChangeSapperCount);CivRegisterAfter<CivHooks::CvUnit_ChangeSapperCount>(host, &AfterCvUnit_ChangeSapperCount);CivRegisterReplace<CivHooks::CvUnit_ChangeSapperCount>(host, &ReplaceCvUnit_ChangeSapperCount);