Bazaar developer reference

CvPromotionEntry::IsBlitz() const

Defined in
CvPromotionClasses.cpp, line 1436
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_IsBlitz

Hooks

static bool BeforeCvPromotionEntry_IsBlitz(const CvPromotionEntry* self, bool& result);static void AfterCvPromotionEntry_IsBlitz(const CvPromotionEntry* self, bool& result);static bool ReplaceCvPromotionEntry_IsBlitz(bool (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_IsBlitz>(host, &BeforeCvPromotionEntry_IsBlitz);CivRegisterAfter<CivHooks::CvPromotionEntry_IsBlitz>(host, &AfterCvPromotionEntry_IsBlitz);CivRegisterReplace<CivHooks::CvPromotionEntry_IsBlitz>(host, &ReplaceCvPromotionEntry_IsBlitz);

Code

1435/// Accessor: Can this unit attack multiple times a turn?1436bool CvPromotionEntry::IsBlitz() const1437{1438	return m_bBlitz;1439}

Called by