Bazaar developer reference

CvPlayer::SetUprisingCounter(int)

Defined in
CvPlayer.cpp, line 11609
Class
CvPlayer
Hook name
CivHooks::CvPlayer_SetUprisingCounter

Hooks

static bool BeforeCvPlayer_SetUprisingCounter(CvPlayer* self, int iValue);static void AfterCvPlayer_SetUprisingCounter(CvPlayer* self, int iValue);static void ReplaceCvPlayer_SetUprisingCounter(void (*original)(CvPlayer*, int), CvPlayer* self, int iValue);CivRegisterBefore<CivHooks::CvPlayer_SetUprisingCounter>(host, &BeforeCvPlayer_SetUprisingCounter);CivRegisterAfter<CivHooks::CvPlayer_SetUprisingCounter>(host, &AfterCvPlayer_SetUprisingCounter);CivRegisterReplace<CivHooks::CvPlayer_SetUprisingCounter>(host, &ReplaceCvPlayer_SetUprisingCounter);

Code

11608/// Uprising countdown - set11609void CvPlayer::SetUprisingCounter(int iValue)11610{11611	m_iUprisingCounter = iValue;11612}

Calls

Called by