Bazaar developer reference

isPotentialEnemy(TeamTypes, TeamTypes)

Defined in
CvGameCoreUtils.cpp, line 170
Hook name
CivHooks::isPotentialEnemy

Hooks

static bool BeforeisPotentialEnemy(TeamTypes arg0, TeamTypes arg1, bool& result);static void AfterisPotentialEnemy(TeamTypes arg0, TeamTypes arg1, bool& result);static bool ReplaceisPotentialEnemy(bool (*original)(TeamTypes, TeamTypes), TeamTypes arg0, TeamTypes arg1);CivRegisterBefore<CivHooks::isPotentialEnemy>(host, &BeforeisPotentialEnemy);CivRegisterAfter<CivHooks::isPotentialEnemy>(host, &AfterisPotentialEnemy);CivRegisterReplace<CivHooks::isPotentialEnemy>(host, &ReplaceisPotentialEnemy);

Code

170bool isPotentialEnemy(TeamTypes, TeamTypes)171{172	return false;173}

Called by