Bazaar developer reference

CvPlayer::changeSpaceProductionModifier(int)

Defined in
CvPlayer.cpp, line 15213
Class
CvPlayer
Hook name
CivHooks::CvPlayer_changeSpaceProductionModifier

Hooks

static bool BeforeCvPlayer_changeSpaceProductionModifier(CvPlayer* self, int iChange);static void AfterCvPlayer_changeSpaceProductionModifier(CvPlayer* self, int iChange);static void ReplaceCvPlayer_changeSpaceProductionModifier(void (*original)(CvPlayer*, int), CvPlayer* self, int iChange);CivRegisterBefore<CivHooks::CvPlayer_changeSpaceProductionModifier>(host, &BeforeCvPlayer_changeSpaceProductionModifier);CivRegisterAfter<CivHooks::CvPlayer_changeSpaceProductionModifier>(host, &AfterCvPlayer_changeSpaceProductionModifier);CivRegisterReplace<CivHooks::CvPlayer_changeSpaceProductionModifier>(host, &ReplaceCvPlayer_changeSpaceProductionModifier);

Code

15213void CvPlayer::changeSpaceProductionModifier(int iChange)15214{15215	m_iSpaceProductionModifier = (m_iSpaceProductionModifier + iChange);15216}

Calls

Called by