Bazaar developer reference

CvPlayer::getSpecialistProductionModifier() const

Defined in
CvPlayer.cpp, line 15178
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getSpecialistProductionModifier

Hooks

static bool BeforeCvPlayer_getSpecialistProductionModifier(const CvPlayer* self, int& result);static void AfterCvPlayer_getSpecialistProductionModifier(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getSpecialistProductionModifier(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getSpecialistProductionModifier>(host, &BeforeCvPlayer_getSpecialistProductionModifier);CivRegisterAfter<CivHooks::CvPlayer_getSpecialistProductionModifier>(host, &AfterCvPlayer_getSpecialistProductionModifier);CivRegisterReplace<CivHooks::CvPlayer_getSpecialistProductionModifier>(host, &ReplaceCvPlayer_getSpecialistProductionModifier);

Code

15178int CvPlayer::getSpecialistProductionModifier() const15179{15180	return m_iSpecialistProductionModifier;15181}

Calls

Called by