Bazaar developer reference

CvVoteInfo::isVictory() const

Defined in
CvInfos.cpp, line 6474
Class
CvVoteInfo
Hook name
CivHooks::CvVoteInfo_isVictory

Hooks

static bool BeforeCvVoteInfo_isVictory(const CvVoteInfo* self, bool& result);static void AfterCvVoteInfo_isVictory(const CvVoteInfo* self, bool& result);static bool ReplaceCvVoteInfo_isVictory(bool (*original)(const CvVoteInfo*), const CvVoteInfo* self);CivRegisterBefore<CivHooks::CvVoteInfo_isVictory>(host, &BeforeCvVoteInfo_isVictory);CivRegisterAfter<CivHooks::CvVoteInfo_isVictory>(host, &AfterCvVoteInfo_isVictory);CivRegisterReplace<CivHooks::CvVoteInfo_isVictory>(host, &ReplaceCvVoteInfo_isVictory);

Code

6474bool CvVoteInfo::isVictory() const6475{6476	return m_bVictory;6477}