Bazaar developer reference

CvPlayer::changeWonderProductionModifier(int)

Defined in
CvPlayer.cpp, line 15264
Class
CvPlayer
Hook name
CivHooks::CvPlayer_changeWonderProductionModifier

Hooks

static bool BeforeCvPlayer_changeWonderProductionModifier(CvPlayer* self, int iChange);static void AfterCvPlayer_changeWonderProductionModifier(CvPlayer* self, int iChange);static void ReplaceCvPlayer_changeWonderProductionModifier(void (*original)(CvPlayer*, int), CvPlayer* self, int iChange);CivRegisterBefore<CivHooks::CvPlayer_changeWonderProductionModifier>(host, &BeforeCvPlayer_changeWonderProductionModifier);CivRegisterAfter<CivHooks::CvPlayer_changeWonderProductionModifier>(host, &AfterCvPlayer_changeWonderProductionModifier);CivRegisterReplace<CivHooks::CvPlayer_changeWonderProductionModifier>(host, &ReplaceCvPlayer_changeWonderProductionModifier);

Code

15264void CvPlayer::changeWonderProductionModifier(int iChange)15265{15266	m_iWonderProductionModifier = (m_iWonderProductionModifier + iChange);15267}

Calls

Called by