Bazaar developer reference

CvTraitEntry::IsNoAnnexing() const

Defined in
CvTraitClasses.cpp, line 762
Class
CvTraitEntry
Hook name
CivHooks::CvTraitEntry_IsNoAnnexing

Hooks

static bool BeforeCvTraitEntry_IsNoAnnexing(const CvTraitEntry* self, bool& result);static void AfterCvTraitEntry_IsNoAnnexing(const CvTraitEntry* self, bool& result);static bool ReplaceCvTraitEntry_IsNoAnnexing(bool (*original)(const CvTraitEntry*), const CvTraitEntry* self);CivRegisterBefore<CivHooks::CvTraitEntry_IsNoAnnexing>(host, &BeforeCvTraitEntry_IsNoAnnexing);CivRegisterAfter<CivHooks::CvTraitEntry_IsNoAnnexing>(host, &AfterCvTraitEntry_IsNoAnnexing);CivRegisterReplace<CivHooks::CvTraitEntry_IsNoAnnexing>(host, &ReplaceCvTraitEntry_IsNoAnnexing);

Code

761/// Accessor: is this civ prevented from annexing cities?762bool CvTraitEntry::IsNoAnnexing() const763{764	return m_bNoAnnexing;765}

Called by