Bazaar developer reference

CvPlayer::GetAnarchyNumTurns() const

Defined in
CvPlayer.cpp, line 13455
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetAnarchyNumTurns

Hooks

static bool BeforeCvPlayer_GetAnarchyNumTurns(const CvPlayer* self, int& result);static void AfterCvPlayer_GetAnarchyNumTurns(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetAnarchyNumTurns(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetAnarchyNumTurns>(host, &BeforeCvPlayer_GetAnarchyNumTurns);CivRegisterAfter<CivHooks::CvPlayer_GetAnarchyNumTurns>(host, &AfterCvPlayer_GetAnarchyNumTurns);CivRegisterReplace<CivHooks::CvPlayer_GetAnarchyNumTurns>(host, &ReplaceCvPlayer_GetAnarchyNumTurns);

Code

13454/// Empire in Anarchy?13455int CvPlayer::GetAnarchyNumTurns() const13456{13457	return m_iAnarchyNumTurns;13458}

Calls

Called by