Bazaar developer reference

CvPlayer::getMaxConscript() const

Defined in
CvPlayer.cpp, line 15879
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getMaxConscript

Hooks

static bool BeforeCvPlayer_getMaxConscript(const CvPlayer* self, int& result);static void AfterCvPlayer_getMaxConscript(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getMaxConscript(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getMaxConscript>(host, &BeforeCvPlayer_getMaxConscript);CivRegisterAfter<CivHooks::CvPlayer_getMaxConscript>(host, &AfterCvPlayer_getMaxConscript);CivRegisterReplace<CivHooks::CvPlayer_getMaxConscript>(host, &ReplaceCvPlayer_getMaxConscript);

Code

15879int CvPlayer::getMaxConscript() const15880{15881	return m_iMaxConscript;15882}

Calls

Called by