Hooks
static bool BeforeCvPlot_cpp_isPotentialEnemy(const CvUnit* pUnit, TeamTypes eOtherTeam, bool bAlwaysHostile, bool& result);static void AfterCvPlot_cpp_isPotentialEnemy(const CvUnit* pUnit, TeamTypes eOtherTeam, bool bAlwaysHostile, bool& result);static bool ReplaceCvPlot_cpp_isPotentialEnemy(bool (*original)(const CvUnit*, TeamTypes, bool), const CvUnit* pUnit, TeamTypes eOtherTeam, bool bAlwaysHostile);CivRegisterBefore<CivHooks::CvPlot_cpp_isPotentialEnemy>(host, &BeforeCvPlot_cpp_isPotentialEnemy);CivRegisterAfter<CivHooks::CvPlot_cpp_isPotentialEnemy>(host, &AfterCvPlot_cpp_isPotentialEnemy);CivRegisterReplace<CivHooks::CvPlot_cpp_isPotentialEnemy>(host, &ReplaceCvPlot_cpp_isPotentialEnemy);