Hooks
static bool BeforeJoinArea(CvAStarNode* parent, CvAStarNode* node, int data, const void* pointer, CvAStar* finder, int& result);static void AfterJoinArea(CvAStarNode* parent, CvAStarNode* node, int data, const void* pointer, CvAStar* finder, int& result);static int ReplaceJoinArea(int (*original)(CvAStarNode*, CvAStarNode*, int, const void*, CvAStar*), CvAStarNode* parent, CvAStarNode* node, int data, const void* pointer, CvAStar* finder);CivRegisterBefore<CivHooks::JoinArea>(host, &BeforeJoinArea);CivRegisterAfter<CivHooks::JoinArea>(host, &AfterJoinArea);CivRegisterReplace<CivHooks::JoinArea>(host, &ReplaceJoinArea);