Bazaar developer reference

CvVoteInfo::isForceWar() const

Defined in
CvInfos.cpp, line 6514
Class
CvVoteInfo
Hook name
CivHooks::CvVoteInfo_isForceWar

Hooks

static bool BeforeCvVoteInfo_isForceWar(const CvVoteInfo* self, bool& result);static void AfterCvVoteInfo_isForceWar(const CvVoteInfo* self, bool& result);static bool ReplaceCvVoteInfo_isForceWar(bool (*original)(const CvVoteInfo*), const CvVoteInfo* self);CivRegisterBefore<CivHooks::CvVoteInfo_isForceWar>(host, &BeforeCvVoteInfo_isForceWar);CivRegisterAfter<CivHooks::CvVoteInfo_isForceWar>(host, &AfterCvVoteInfo_isForceWar);CivRegisterReplace<CivHooks::CvVoteInfo_isForceWar>(host, &ReplaceCvVoteInfo_isForceWar);

Code

6514bool CvVoteInfo::isForceWar() const6515{6516	return m_bForceWar;6517}