Bazaar developer reference

CvPlayer::isHuman() const

Defined in
CvPlayer.cpp, line 4311
Class
CvPlayer
Hook name
CivHooks::CvPlayer_isHuman

Hooks

static bool BeforeCvPlayer_isHuman(const CvPlayer* self, bool& result);static void AfterCvPlayer_isHuman(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_isHuman(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_isHuman>(host, &BeforeCvPlayer_isHuman);CivRegisterAfter<CivHooks::CvPlayer_isHuman>(host, &AfterCvPlayer_isHuman);CivRegisterReplace<CivHooks::CvPlayer_isHuman>(host, &ReplaceCvPlayer_isHuman);

Code

4311bool CvPlayer::isHuman() const4312{4313	if(GetID() == NO_PLAYER)4314	{4315		return false;4316	}43174318	return CvPreGame::isHuman(GetID());4319}

Calls

Called by

199 functions in 35 files