Bazaar developer reference

CvGoodyInfo::getProphetPercent() const

Defined in
CvInfos.cpp, line 4130
Class
CvGoodyInfo
Hook name
CivHooks::CvGoodyInfo_getProphetPercent

Hooks

static bool BeforeCvGoodyInfo_getProphetPercent(const CvGoodyInfo* self, int& result);static void AfterCvGoodyInfo_getProphetPercent(const CvGoodyInfo* self, int& result);static int ReplaceCvGoodyInfo_getProphetPercent(int (*original)(const CvGoodyInfo*), const CvGoodyInfo* self);CivRegisterBefore<CivHooks::CvGoodyInfo_getProphetPercent>(host, &BeforeCvGoodyInfo_getProphetPercent);CivRegisterAfter<CivHooks::CvGoodyInfo_getProphetPercent>(host, &AfterCvGoodyInfo_getProphetPercent);CivRegisterReplace<CivHooks::CvGoodyInfo_getProphetPercent>(host, &ReplaceCvGoodyInfo_getProphetPercent);

Code

4130int CvGoodyInfo::getProphetPercent() const4131{4132	return m_iProphetPercent;4133}

Called by