Bazaar developer reference

CvPlayer::getCapitalSettlerProductionModifier() const

Defined in
CvPlayer.cpp, line 15284
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getCapitalSettlerProductionModifier

Hooks

static bool BeforeCvPlayer_getCapitalSettlerProductionModifier(const CvPlayer* self, int& result);static void AfterCvPlayer_getCapitalSettlerProductionModifier(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getCapitalSettlerProductionModifier(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getCapitalSettlerProductionModifier>(host, &BeforeCvPlayer_getCapitalSettlerProductionModifier);CivRegisterAfter<CivHooks::CvPlayer_getCapitalSettlerProductionModifier>(host, &AfterCvPlayer_getCapitalSettlerProductionModifier);CivRegisterReplace<CivHooks::CvPlayer_getCapitalSettlerProductionModifier>(host, &ReplaceCvPlayer_getCapitalSettlerProductionModifier);

Code

15284int CvPlayer::getCapitalSettlerProductionModifier() const15285{15286	return m_iCapitalSettlerProductionModifier;15287}

Calls

Called by