Bazaar developer reference

CvTeam::getMapTradingCount() const

Defined in
CvTeam.cpp, line 2940
Class
CvTeam
Hook name
CivHooks::CvTeam_getMapTradingCount

Hooks

static bool BeforeCvTeam_getMapTradingCount(const CvTeam* self, int& result);static void AfterCvTeam_getMapTradingCount(const CvTeam* self, int& result);static int ReplaceCvTeam_getMapTradingCount(int (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_getMapTradingCount>(host, &BeforeCvTeam_getMapTradingCount);CivRegisterAfter<CivHooks::CvTeam_getMapTradingCount>(host, &AfterCvTeam_getMapTradingCount);CivRegisterReplace<CivHooks::CvTeam_getMapTradingCount>(host, &ReplaceCvTeam_getMapTradingCount);

Code

2940int CvTeam::getMapTradingCount() const2941{2942	return m_iMapTradingCount;2943}

Called by