Bazaar developer reference

CvVoteInfo::isSecretaryGeneral() const

Defined in
CvInfos.cpp, line 6469
Class
CvVoteInfo
Hook name
CivHooks::CvVoteInfo_isSecretaryGeneral

Hooks

static bool BeforeCvVoteInfo_isSecretaryGeneral(const CvVoteInfo* self, bool& result);static void AfterCvVoteInfo_isSecretaryGeneral(const CvVoteInfo* self, bool& result);static bool ReplaceCvVoteInfo_isSecretaryGeneral(bool (*original)(const CvVoteInfo*), const CvVoteInfo* self);CivRegisterBefore<CivHooks::CvVoteInfo_isSecretaryGeneral>(host, &BeforeCvVoteInfo_isSecretaryGeneral);CivRegisterAfter<CivHooks::CvVoteInfo_isSecretaryGeneral>(host, &AfterCvVoteInfo_isSecretaryGeneral);CivRegisterReplace<CivHooks::CvVoteInfo_isSecretaryGeneral>(host, &ReplaceCvVoteInfo_isSecretaryGeneral);

Code

6469bool CvVoteInfo::isSecretaryGeneral() const6470{6471	return m_bSecretaryGeneral;6472}