Hooks
static bool BeforeCvUnit_getAlwaysHostileCount(const CvUnit* self, int& result);static void AfterCvUnit_getAlwaysHostileCount(const CvUnit* self, int& result);static int ReplaceCvUnit_getAlwaysHostileCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_getAlwaysHostileCount>(host, &BeforeCvUnit_getAlwaysHostileCount);CivRegisterAfter<CivHooks::CvUnit_getAlwaysHostileCount>(host, &AfterCvUnit_getAlwaysHostileCount);CivRegisterReplace<CivHooks::CvUnit_getAlwaysHostileCount>(host, &ReplaceCvUnit_getAlwaysHostileCount);