CvCity::isHuman() const
- Defined in
- CvCity.cpp, line 7159
- Class
- CvCity
- Hook name
CivHooks::CvCity_isHuman
Hooks
static bool BeforeCvCity_isHuman(const CvCity* self, bool& result);static void AfterCvCity_isHuman(const CvCity* self, bool& result);static bool ReplaceCvCity_isHuman(bool (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_isHuman>(host, &BeforeCvCity_isHuman);CivRegisterAfter<CivHooks::CvCity_isHuman>(host, &AfterCvCity_isHuman);CivRegisterReplace<CivHooks::CvCity_isHuman>(host, &ReplaceCvCity_isHuman);
Code
7159bool CvCity::isHuman() const7160{7161 VALIDATE_OBJECT7162 return GET_PLAYER(getOwner()).isHuman();7163}
Calls
Called by
- CvCityBuildings::SetNumRealBuildingTimed(BuildingTypes, int, bool, PlayerTypes, int)
- CvCity::GetFaithPurchaseCost(BuildingTypes)
- CvCity::GetFaithPurchaseCost(UnitTypes, bool)
- CvCity::doCheckProduction()
- CvCity::doDecay()
- CvCity::doProduction(bool)
- CvCity::init(int, PlayerTypes, int, int, bool, bool, ReligionTypes, const char *)
- CvCity::isBuildingsMaxed() const
- CvCity::isNationalWondersMaxed() const
- CvCity::isTeamWondersMaxed() const
- CvCity::isWorldWondersMaxed() const
- CvCity::popOrder(int, bool, bool)
- CvCityAI::AI_doTurn()
- CvPlot::changeVisibilityCount(TeamTypes, int, InvisibleTypes, bool, bool, CvUnit *)
- CvLuaCity::lIsHuman(lua_State *)