Bazaar developer reference

CvPlayer::changeConscriptCount(int)

Defined in
CvPlayer.cpp, line 15909
Class
CvPlayer
Hook name
CivHooks::CvPlayer_changeConscriptCount

Hooks

static bool BeforeCvPlayer_changeConscriptCount(CvPlayer* self, int iChange);static void AfterCvPlayer_changeConscriptCount(CvPlayer* self, int iChange);static void ReplaceCvPlayer_changeConscriptCount(void (*original)(CvPlayer*, int), CvPlayer* self, int iChange);CivRegisterBefore<CivHooks::CvPlayer_changeConscriptCount>(host, &BeforeCvPlayer_changeConscriptCount);CivRegisterAfter<CivHooks::CvPlayer_changeConscriptCount>(host, &AfterCvPlayer_changeConscriptCount);CivRegisterReplace<CivHooks::CvPlayer_changeConscriptCount>(host, &ReplaceCvPlayer_changeConscriptCount);

Code

15909void CvPlayer::changeConscriptCount(int iChange)15910{15911	setConscriptCount(getConscriptCount() + iChange);15912}

Calls

Called by