Hooks
static bool BeforeCvUnit_IsAdjacentToFeature(const CvUnit* self, FeatureTypes iFeatureType, bool& result);static void AfterCvUnit_IsAdjacentToFeature(const CvUnit* self, FeatureTypes iFeatureType, bool& result);static bool ReplaceCvUnit_IsAdjacentToFeature(bool (*original)(const CvUnit*, FeatureTypes), const CvUnit* self, FeatureTypes iFeatureType);CivRegisterBefore<CivHooks::CvUnit_IsAdjacentToFeature>(host, &BeforeCvUnit_IsAdjacentToFeature);CivRegisterAfter<CivHooks::CvUnit_IsAdjacentToFeature>(host, &AfterCvUnit_IsAdjacentToFeature);CivRegisterReplace<CivHooks::CvUnit_IsAdjacentToFeature>(host, &ReplaceCvUnit_IsAdjacentToFeature);