Bazaar developer reference

CvPlayer::GetUprisingCounter() const

Defined in
CvPlayer.cpp, line 11602
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetUprisingCounter

Hooks

static bool BeforeCvPlayer_GetUprisingCounter(const CvPlayer* self, int& result);static void AfterCvPlayer_GetUprisingCounter(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetUprisingCounter(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetUprisingCounter>(host, &BeforeCvPlayer_GetUprisingCounter);CivRegisterAfter<CivHooks::CvPlayer_GetUprisingCounter>(host, &AfterCvPlayer_GetUprisingCounter);CivRegisterReplace<CivHooks::CvPlayer_GetUprisingCounter>(host, &ReplaceCvPlayer_GetUprisingCounter);

Code

11601/// Uprising countdown - get11602int CvPlayer::GetUprisingCounter() const11603{11604	return m_iUprisingCounter;11605}

Calls

Called by