Bazaar developer reference

CvPlayer::getSettlerProductionModifier() const

Defined in
CvPlayer.cpp, line 15271
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getSettlerProductionModifier

Hooks

static bool BeforeCvPlayer_getSettlerProductionModifier(const CvPlayer* self, int& result);static void AfterCvPlayer_getSettlerProductionModifier(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getSettlerProductionModifier(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getSettlerProductionModifier>(host, &BeforeCvPlayer_getSettlerProductionModifier);CivRegisterAfter<CivHooks::CvPlayer_getSettlerProductionModifier>(host, &AfterCvPlayer_getSettlerProductionModifier);CivRegisterReplace<CivHooks::CvPlayer_getSettlerProductionModifier>(host, &ReplaceCvPlayer_getSettlerProductionModifier);

Code

15271int CvPlayer::getSettlerProductionModifier() const15272{15273	return m_iSettlerProductionModifier;15274}

Calls

Called by