Bazaar developer reference

CvTeam::getGoldTradingCount() const

Defined in
CvTeam.cpp, line 2984
Class
CvTeam
Hook name
CivHooks::CvTeam_getGoldTradingCount

Hooks

static bool BeforeCvTeam_getGoldTradingCount(const CvTeam* self, int& result);static void AfterCvTeam_getGoldTradingCount(const CvTeam* self, int& result);static int ReplaceCvTeam_getGoldTradingCount(int (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_getGoldTradingCount>(host, &BeforeCvTeam_getGoldTradingCount);CivRegisterAfter<CivHooks::CvTeam_getGoldTradingCount>(host, &AfterCvTeam_getGoldTradingCount);CivRegisterReplace<CivHooks::CvTeam_getGoldTradingCount>(host, &ReplaceCvTeam_getGoldTradingCount);

Code

2984int CvTeam::getGoldTradingCount() const2985{2986	return m_iGoldTradingCount;2987}

Called by