Bazaar developer reference

CvPromotionEntry::IsIgnoreZOC() const

Defined in
CvPromotionClasses.cpp, line 1728
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsIgnoreZOC

Hooks

static bool BeforeCvPromotionEntry_IsIgnoreZOC(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsIgnoreZOC(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsIgnoreZOC(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsIgnoreZOC>(host, &BeforeCvPromotionEntry_IsIgnoreZOC);CivRegisterAfter<CivHooks::CvPromotionEntry_IsIgnoreZOC>(host, &AfterCvPromotionEntry_IsIgnoreZOC);CivRegisterReplace<CivHooks::CvPromotionEntry_IsIgnoreZOC>(host, &ReplaceCvPromotionEntry_IsIgnoreZOC);

Code

1727/// Accessor: Can this unit ignore ZOC when moving?1728bool CvPromotionEntry::IsIgnoreZOC() const1729{1730	return m_bIgnoreZOC;1731}

Called by