Bazaar developer reference

CvPlayer::ChangeUprisingCounter(int)

Defined in
CvPlayer.cpp, line 11616
Class
CvPlayer
Hook name
CivHooks::CvPlayer_ChangeUprisingCounter

Hooks

static bool BeforeCvPlayer_ChangeUprisingCounter(CvPlayer* self, int iChange);static void AfterCvPlayer_ChangeUprisingCounter(CvPlayer* self, int iChange);static void ReplaceCvPlayer_ChangeUprisingCounter(void (*original)(CvPlayer*, int), CvPlayer* self, int iChange);CivRegisterBefore<CivHooks::CvPlayer_ChangeUprisingCounter>(host, &BeforeCvPlayer_ChangeUprisingCounter);CivRegisterAfter<CivHooks::CvPlayer_ChangeUprisingCounter>(host, &AfterCvPlayer_ChangeUprisingCounter);CivRegisterReplace<CivHooks::CvPlayer_ChangeUprisingCounter>(host, &ReplaceCvPlayer_ChangeUprisingCounter);

Code

11615/// Uprising countdown - change11616void CvPlayer::ChangeUprisingCounter(int iChange)11617{11618	SetUprisingCounter(GetUprisingCounter() + iChange);11619}

Calls

Called by