Bazaar developer reference

CvVoteInfo::isForcePeace() const

Defined in
CvInfos.cpp, line 6504
Class
CvVoteInfo
Hook name
CivHooks::CvVoteInfo_isForcePeace

Hooks

static bool BeforeCvVoteInfo_isForcePeace(const CvVoteInfo* self, bool& result);static void AfterCvVoteInfo_isForcePeace(const CvVoteInfo* self, bool& result);static bool ReplaceCvVoteInfo_isForcePeace(bool (*original)(const CvVoteInfo*), const CvVoteInfo* self);CivRegisterBefore<CivHooks::CvVoteInfo_isForcePeace>(host, &BeforeCvVoteInfo_isForcePeace);CivRegisterAfter<CivHooks::CvVoteInfo_isForcePeace>(host, &AfterCvVoteInfo_isForcePeace);CivRegisterReplace<CivHooks::CvVoteInfo_isForcePeace>(host, &ReplaceCvVoteInfo_isForcePeace);

Code

6504bool CvVoteInfo::isForcePeace() const6505{6506	return m_bForcePeace;6507}