Bazaar developer reference

CvPlayer::GetConversionModifier() const

Defined in
CvPlayer.cpp, line 13150
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetConversionModifier

Hooks

static bool BeforeCvPlayer_GetConversionModifier(const CvPlayer* self, int& result);static void AfterCvPlayer_GetConversionModifier(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetConversionModifier(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetConversionModifier>(host, &BeforeCvPlayer_GetConversionModifier);CivRegisterAfter<CivHooks::CvPlayer_GetConversionModifier>(host, &AfterCvPlayer_GetConversionModifier);CivRegisterReplace<CivHooks::CvPlayer_GetConversionModifier>(host, &ReplaceCvPlayer_GetConversionModifier);

Code

13149/// Get the global modifier on the conversion progress rate13150int CvPlayer::GetConversionModifier() const13151{13152	return m_iConversionModifier;13153}

Called by