Bazaar developer reference

CvPlayer::GetFaith() const

Defined in
CvPlayer.cpp, line 11390
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetFaith

Hooks

static bool BeforeCvPlayer_GetFaith(const CvPlayer* self, int& result);static void AfterCvPlayer_GetFaith(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetFaith(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetFaith>(host, &BeforeCvPlayer_GetFaith);CivRegisterAfter<CivHooks::CvPlayer_GetFaith>(host, &AfterCvPlayer_GetFaith);CivRegisterReplace<CivHooks::CvPlayer_GetFaith>(host, &ReplaceCvPlayer_GetFaith);

Code

11390int CvPlayer::GetFaith() const11391{11392	return m_iFaith;11393}

Called by