Bazaar developer reference

CvVoteInfo::isForceNoTrade() const

Defined in
CvInfos.cpp, line 6509
Class
CvVoteInfo
Hook name
CivHooks::CvVoteInfo_isForceNoTrade

Hooks

static bool BeforeCvVoteInfo_isForceNoTrade(const CvVoteInfo* self, bool& result);static void AfterCvVoteInfo_isForceNoTrade(const CvVoteInfo* self, bool& result);static bool ReplaceCvVoteInfo_isForceNoTrade(bool (*original)(const CvVoteInfo*), const CvVoteInfo* self);CivRegisterBefore<CivHooks::CvVoteInfo_isForceNoTrade>(host, &BeforeCvVoteInfo_isForceNoTrade);CivRegisterAfter<CivHooks::CvVoteInfo_isForceNoTrade>(host, &AfterCvVoteInfo_isForceNoTrade);CivRegisterReplace<CivHooks::CvVoteInfo_isForceNoTrade>(host, &ReplaceCvVoteInfo_isForceNoTrade);

Code

6509bool CvVoteInfo::isForceNoTrade() const6510{6511	return m_bForceNoTrade;6512}