Bazaar developer reference

CvPlot::isPlayerCityRadius(PlayerTypes) const

Defined in
CvPlot.cpp, line 8716
Class
CvPlot
Hook name
CivHooks::CvPlot_isPlayerCityRadius

Hooks

static bool BeforeCvPlot_isPlayerCityRadius(const CvPlot* self, PlayerTypes eIndex, bool& result);static void AfterCvPlot_isPlayerCityRadius(const CvPlot* self, PlayerTypes eIndex, bool& result);static bool ReplaceCvPlot_isPlayerCityRadius(bool (*original)(const CvPlot*, PlayerTypes), const CvPlot* self, PlayerTypes eIndex);CivRegisterBefore<CivHooks::CvPlot_isPlayerCityRadius>(host, &BeforeCvPlot_isPlayerCityRadius);CivRegisterAfter<CivHooks::CvPlot_isPlayerCityRadius>(host, &AfterCvPlot_isPlayerCityRadius);CivRegisterReplace<CivHooks::CvPlot_isPlayerCityRadius>(host, &ReplaceCvPlot_isPlayerCityRadius);

Code

8716bool CvPlot::isPlayerCityRadius(PlayerTypes eIndex) const8717{8718	return (getPlayerCityRadiusCount(eIndex) > 0);8719}

Calls

Called by