Bazaar developer reference

CvVoteInfo::isDefensivePact() const

Defined in
CvInfos.cpp, line 6494
Class
CvVoteInfo
Hook name
CivHooks::CvVoteInfo_isDefensivePact

Hooks

static bool BeforeCvVoteInfo_isDefensivePact(const CvVoteInfo* self, bool& result);static void AfterCvVoteInfo_isDefensivePact(const CvVoteInfo* self, bool& result);static bool ReplaceCvVoteInfo_isDefensivePact(bool (*original)(const CvVoteInfo*), const CvVoteInfo* self);CivRegisterBefore<CivHooks::CvVoteInfo_isDefensivePact>(host, &BeforeCvVoteInfo_isDefensivePact);CivRegisterAfter<CivHooks::CvVoteInfo_isDefensivePact>(host, &AfterCvVoteInfo_isDefensivePact);CivRegisterReplace<CivHooks::CvVoteInfo_isDefensivePact>(host, &ReplaceCvVoteInfo_isDefensivePact);

Code

6494bool CvVoteInfo::isDefensivePact() const6495{6496	return m_bDefensivePact;6497}