Bazaar developer reference

CvTeam::getDefensivePactTradingAllowedCount() const

Defined in
CvTeam.cpp, line 3076
Class
CvTeam
Hook name
CivHooks::CvTeam_getDefensivePactTradingAllowedCount

Hooks

static bool BeforeCvTeam_getDefensivePactTradingAllowedCount(const CvTeam* self, int& result);static void AfterCvTeam_getDefensivePactTradingAllowedCount(const CvTeam* self, int& result);static int ReplaceCvTeam_getDefensivePactTradingAllowedCount(int (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_getDefensivePactTradingAllowedCount>(host, &BeforeCvTeam_getDefensivePactTradingAllowedCount);CivRegisterAfter<CivHooks::CvTeam_getDefensivePactTradingAllowedCount>(host, &AfterCvTeam_getDefensivePactTradingAllowedCount);CivRegisterReplace<CivHooks::CvTeam_getDefensivePactTradingAllowedCount>(host, &ReplaceCvTeam_getDefensivePactTradingAllowedCount);

Code

3076int CvTeam::getDefensivePactTradingAllowedCount() const3077{3078	return m_iDefensivePactTradingAllowedCount;3079}

Called by