Bazaar developer reference

CvVictoryInfo::getTotalCultureRatio() const

Defined in
CvInfos.cpp, line 2544
Class
CvVictoryInfo
Hook name
CivHooks::CvVictoryInfo_getTotalCultureRatio

Hooks

static bool BeforeCvVictoryInfo_getTotalCultureRatio(const CvVictoryInfo* self, int& result);static void AfterCvVictoryInfo_getTotalCultureRatio(const CvVictoryInfo* self, int& result);static int ReplaceCvVictoryInfo_getTotalCultureRatio(int (*original)(const CvVictoryInfo*), const CvVictoryInfo* self);CivRegisterBefore<CivHooks::CvVictoryInfo_getTotalCultureRatio>(host, &BeforeCvVictoryInfo_getTotalCultureRatio);CivRegisterAfter<CivHooks::CvVictoryInfo_getTotalCultureRatio>(host, &AfterCvVictoryInfo_getTotalCultureRatio);CivRegisterReplace<CivHooks::CvVictoryInfo_getTotalCultureRatio>(host, &ReplaceCvVictoryInfo_getTotalCultureRatio);

Code

2544int CvVictoryInfo::getTotalCultureRatio() const2545{2546	return m_iTotalCultureRatio;2547}