Bazaar developer reference

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