Bazaar developer reference

CvPlayer::getFeatureProductionModifier() const

Defined in
CvPlayer.cpp, line 15122
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getFeatureProductionModifier

Hooks

static bool BeforeCvPlayer_getFeatureProductionModifier(const CvPlayer* self, int& result);static void AfterCvPlayer_getFeatureProductionModifier(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getFeatureProductionModifier(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getFeatureProductionModifier>(host, &BeforeCvPlayer_getFeatureProductionModifier);CivRegisterAfter<CivHooks::CvPlayer_getFeatureProductionModifier>(host, &AfterCvPlayer_getFeatureProductionModifier);CivRegisterReplace<CivHooks::CvPlayer_getFeatureProductionModifier>(host, &ReplaceCvPlayer_getFeatureProductionModifier);

Code

15122int CvPlayer::getFeatureProductionModifier() const15123{15124	return m_iFeatureProductionModifier;15125}

Calls

Called by