Bazaar developer reference

CvPlayer::getSpaceProductionModifier() const

Defined in
CvPlayer.cpp, line 15206
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getSpaceProductionModifier

Hooks

static bool BeforeCvPlayer_getSpaceProductionModifier(const CvPlayer* self, int& result);static void AfterCvPlayer_getSpaceProductionModifier(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getSpaceProductionModifier(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getSpaceProductionModifier>(host, &BeforeCvPlayer_getSpaceProductionModifier);CivRegisterAfter<CivHooks::CvPlayer_getSpaceProductionModifier>(host, &AfterCvPlayer_getSpaceProductionModifier);CivRegisterReplace<CivHooks::CvPlayer_getSpaceProductionModifier>(host, &ReplaceCvPlayer_getSpaceProductionModifier);

Code

15206int CvPlayer::getSpaceProductionModifier() const15207{15208	return m_iSpaceProductionModifier;15209}

Calls

Called by