Bazaar developer reference

CvPlayer::getConscriptCount() const

Defined in
CvPlayer.cpp, line 15894
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getConscriptCount

Hooks

static bool BeforeCvPlayer_getConscriptCount(const CvPlayer* self, int& result);static void AfterCvPlayer_getConscriptCount(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getConscriptCount(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getConscriptCount>(host, &BeforeCvPlayer_getConscriptCount);CivRegisterAfter<CivHooks::CvPlayer_getConscriptCount>(host, &AfterCvPlayer_getConscriptCount);CivRegisterReplace<CivHooks::CvPlayer_getConscriptCount>(host, &ReplaceCvPlayer_getConscriptCount);

Code

15894int CvPlayer::getConscriptCount() const15895{15896	return m_iConscriptCount;15897}

Calls

Called by