Bazaar developer reference

CvPlayer::changeFeatureProductionModifier(int)

Defined in
CvPlayer.cpp, line 15129
Class
CvPlayer
Hook name
CivHooks::CvPlayer_changeFeatureProductionModifier

Hooks

static bool BeforeCvPlayer_changeFeatureProductionModifier(CvPlayer* self, int iChange);static void AfterCvPlayer_changeFeatureProductionModifier(CvPlayer* self, int iChange);static void ReplaceCvPlayer_changeFeatureProductionModifier(void (*original)(CvPlayer*, int), CvPlayer* self, int iChange);CivRegisterBefore<CivHooks::CvPlayer_changeFeatureProductionModifier>(host, &BeforeCvPlayer_changeFeatureProductionModifier);CivRegisterAfter<CivHooks::CvPlayer_changeFeatureProductionModifier>(host, &AfterCvPlayer_changeFeatureProductionModifier);CivRegisterReplace<CivHooks::CvPlayer_changeFeatureProductionModifier>(host, &ReplaceCvPlayer_changeFeatureProductionModifier);

Code

15129void CvPlayer::changeFeatureProductionModifier(int iChange)15130{15131	m_iFeatureProductionModifier = (m_iFeatureProductionModifier + iChange);15132}

Calls

Called by