Bazaar developer reference

CvGoodyInfo::getGold() const

Defined in
CvInfos.cpp, line 4075
Class
CvGoodyInfo
Hook name
CivHooks::CvGoodyInfo_getGold

Hooks

static bool BeforeCvGoodyInfo_getGold(const CvGoodyInfo* self, int& result);static void AfterCvGoodyInfo_getGold(const CvGoodyInfo* self, int& result);static int ReplaceCvGoodyInfo_getGold(int (*original)(const CvGoodyInfo*), const CvGoodyInfo* self);CivRegisterBefore<CivHooks::CvGoodyInfo_getGold>(host, &BeforeCvGoodyInfo_getGold);CivRegisterAfter<CivHooks::CvGoodyInfo_getGold>(host, &AfterCvGoodyInfo_getGold);CivRegisterReplace<CivHooks::CvGoodyInfo_getGold>(host, &ReplaceCvGoodyInfo_getGold);

Code

4075int CvGoodyInfo::getGold() const4076{4077	return m_iGold;4078}

Called by