Hooks
static bool BeforeInfluenceValid(CvAStarNode* parent, CvAStarNode* node, int data, const void* pointer, CvAStar* finder, int& result);static void AfterInfluenceValid(CvAStarNode* parent, CvAStarNode* node, int data, const void* pointer, CvAStar* finder, int& result);static int ReplaceInfluenceValid(int (*original)(CvAStarNode*, CvAStarNode*, int, const void*, CvAStar*), CvAStarNode* parent, CvAStarNode* node, int data, const void* pointer, CvAStar* finder);CivRegisterBefore<CivHooks::InfluenceValid>(host, &BeforeInfluenceValid);CivRegisterAfter<CivHooks::InfluenceValid>(host, &AfterInfluenceValid);CivRegisterReplace<CivHooks::InfluenceValid>(host, &ReplaceInfluenceValid);